ucar.ma2
Class StructureMembers.Member

java.lang.Object
  extended by ucar.ma2.StructureMembers.Member
Enclosing class:
StructureMembers

public static class StructureMembers.Member
extends java.lang.Object

A member of a StructureData.


Constructor Summary
StructureMembers.Member(java.lang.String name, java.lang.String desc, java.lang.String units, DataType dtype, int[] shape)
           
StructureMembers.Member(VariableSimpleIF v2)
           
 
Method Summary
 double convertScaleOffsetMissing(double value)
           
 java.lang.Object getDataObject()
          Get an opaque data object, for use behind the scenes.
 java.lang.Object getDataObject2()
          Get an opaque data object, for use behind the scenes.
 int getDataParam()
          Get the data parameter value, for use behind the scenes.
 DataType getDataType()
          Get the DataType.
 java.lang.String getDescription()
          Get the description, if any.
 java.lang.String getName()
          Get the name.
 int[] getShape()
          Get the array shape.
 int getSize()
          Get the total array length.
 StructureMembers getStructureMembers()
           
 int getTotalSize()
          Get the total size in bytes.
 java.lang.String getUnitsString()
          Get the units string, if any.
 boolean isScalar()
          Is this a scalar (size == 1).
 void setDataObject(java.lang.Object o)
          Set an opaque data object, for use behind the scenes.
 void setDataObject2(java.lang.Object o)
          Set an opaque data object, for use behind the scenes.
 void setDataParam(int dataParam)
          Set the data parameter value, for use behind the scenes.
 void setShape(int[] shape)
           
 void setStructureMembers(StructureMembers members)
          If member is type Structure, you mest set its constituent members
 void setVariableSimple(VariableSimpleIF v2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureMembers.Member

public StructureMembers.Member(VariableSimpleIF v2)

StructureMembers.Member

public StructureMembers.Member(java.lang.String name,
                               java.lang.String desc,
                               java.lang.String units,
                               DataType dtype,
                               int[] shape)
Method Detail

setStructureMembers

public void setStructureMembers(StructureMembers members)
If member is type Structure, you mest set its constituent members


getStructureMembers

public StructureMembers getStructureMembers()

setVariableSimple

public void setVariableSimple(VariableSimpleIF v2)

setShape

public void setShape(int[] shape)

getName

public java.lang.String getName()
Get the name.


getUnitsString

public java.lang.String getUnitsString()
Get the units string, if any.


getDescription

public java.lang.String getDescription()
Get the description, if any.


getDataType

public DataType getDataType()
Get the DataType.


getShape

public int[] getShape()
Get the array shape. This does not have to match the VariableSimpleIF.


getSize

public int getSize()
Get the total array length. This does not have to match the VariableSimpleIF.


getTotalSize

public int getTotalSize()
Get the total size in bytes. This does not have to match the VariableSimpleIF.


isScalar

public boolean isScalar()
Is this a scalar (size == 1). This does not have to match the VariableSimpleIF.


convertScaleOffsetMissing

public double convertScaleOffsetMissing(double value)

getDataParam

public int getDataParam()
Get the data parameter value, for use behind the scenes.


setDataParam

public void setDataParam(int dataParam)
Set the data parameter value, for use behind the scenes.


getDataObject

public java.lang.Object getDataObject()
Get an opaque data object, for use behind the scenes. May be null


setDataObject

public void setDataObject(java.lang.Object o)
Set an opaque data object, for use behind the scenes.


getDataObject2

public java.lang.Object getDataObject2()
Get an opaque data object, for use behind the scenes. May be null


setDataObject2

public void setDataObject2(java.lang.Object o)
Set an opaque data object, for use behind the scenes.