public class VariableSimpleAdapter extends java.lang.Object implements VariableSimpleIF
Constructor and Description |
---|
VariableSimpleAdapter(StructureMembers.Member m)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VariableSimpleIF o)
Sort by name
|
static java.util.List<VariableSimpleIF> |
convert(StructureMembers sm) |
Attribute |
findAttributeIgnoreCase(java.lang.String attName)
find the attribute for the variable with the given name, ignoring case.
|
java.util.List<Attribute> |
getAttributes()
Attributes for the variable.
|
DataType |
getDataType()
Variable's data type
|
java.lang.String |
getDescription()
description of the Variable
|
java.util.List<Dimension> |
getDimensions()
Dimension List.
|
java.lang.String |
getFullName()
full, backslash escaped name of the data Variable
|
java.lang.String |
getName()
Name of the data Variable.
|
int |
getRank()
Variable rank
|
int[] |
getShape()
Variable shape
|
java.lang.String |
getShortName()
short name of the data Variable
|
java.lang.String |
getUnitsString()
Units of the Variable.
|
java.lang.String |
toString() |
public VariableSimpleAdapter(StructureMembers.Member m)
m
- adapt this Memberpublic static java.util.List<VariableSimpleIF> convert(StructureMembers sm)
public java.lang.String getFullName()
VariableSimpleIF
getFullName
in interface VariableSimpleIF
public java.lang.String getName()
VariableSimpleIF
getName
in interface VariableSimpleIF
public java.lang.String getShortName()
VariableSimpleIF
getShortName
in interface VariableSimpleIF
public DataType getDataType()
VariableSimpleIF
getDataType
in interface VariableSimpleIF
public java.lang.String getDescription()
VariableSimpleIF
getDescription
in interface VariableSimpleIF
public java.lang.String getUnitsString()
VariableSimpleIF
getUnitsString
in interface VariableSimpleIF
public int getRank()
VariableSimpleIF
getRank
in interface VariableSimpleIF
public int[] getShape()
VariableSimpleIF
getShape
in interface VariableSimpleIF
public java.util.List<Dimension> getDimensions()
VariableSimpleIF
getDimensions
in interface VariableSimpleIF
public java.util.List<Attribute> getAttributes()
VariableSimpleIF
getAttributes
in interface VariableSimpleIF
public Attribute findAttributeIgnoreCase(java.lang.String attName)
VariableSimpleIF
findAttributeIgnoreCase
in interface VariableSimpleIF
attName
- attribute namepublic java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(VariableSimpleIF o)
compareTo
in interface java.lang.Comparable<VariableSimpleIF>