Package ucar.nc2
Class VariableSimpleAdapter
java.lang.Object
ucar.nc2.VariableSimpleAdapter
- All Implemented Interfaces:
Comparable<VariableSimpleIF>,VariableSimpleIF
@Deprecated
@Immutable
public class VariableSimpleAdapter
extends Object
implements VariableSimpleIF
Deprecated.
use VariableSimpleBuilder
Adapt a StructureMembers.Member into a VariableSimpleIF.
- Since:
- Apr 20, 2008
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Attributes for the variable.intDeprecated.Sort by namestatic List<VariableSimpleIF>Deprecated.findAttributeIgnoreCase(String attName) Deprecated.find the attribute for the variable with the given name, ignoring case.Deprecated.Attributes for the variable.Deprecated.Variable's data typeDeprecated.description of the VariableDeprecated.Dimension List.Deprecated.full, backslash escaped name of the data VariablegetName()Deprecated.Name of the data Variable.intgetRank()Deprecated.Variable rankint[]getShape()Deprecated.Variable shapeDeprecated.short name of the data VariableDeprecated.Units of the Variable.toString()Deprecated.
-
Constructor Details
-
VariableSimpleAdapter
Deprecated.Constructor- Parameters:
m- adapt this Member
-
-
Method Details
-
convert
Deprecated. -
getFullName
Deprecated.Description copied from interface:VariableSimpleIFfull, backslash escaped name of the data Variable- Specified by:
getFullNamein interfaceVariableSimpleIF- Returns:
- full, backslash escaped name of the data Variable
-
getName
Deprecated.Description copied from interface:VariableSimpleIFName of the data Variable. Not that this is technically ambiguous v-a-v short or full name; however, since this is a Variable interface, one must assume that it is intended to be getFullName().- Specified by:
getNamein interfaceVariableSimpleIF- Returns:
- name of the data Variable
-
getShortName
Deprecated.Description copied from interface:VariableSimpleIFshort name of the data Variable- Specified by:
getShortNamein interfaceVariableSimpleIF- Returns:
- short name of the data Variable
-
getDataType
Deprecated.Description copied from interface:VariableSimpleIFVariable's data type- Specified by:
getDataTypein interfaceVariableSimpleIF- Returns:
- Variable's data type
-
attributes
Deprecated.Description copied from interface:VariableSimpleIFAttributes for the variable.- Specified by:
attributesin interfaceVariableSimpleIF
-
getDescription
Deprecated.Description copied from interface:VariableSimpleIFdescription of the Variable- Specified by:
getDescriptionin interfaceVariableSimpleIF- Returns:
- description of the Variable, or null if none.
-
getUnitsString
Deprecated.Description copied from interface:VariableSimpleIFUnits of the Variable. These should be udunits compatible if possible- Specified by:
getUnitsStringin interfaceVariableSimpleIF- Returns:
- Units of the Variable, or null if none.
-
getRank
public int getRank()Deprecated.Description copied from interface:VariableSimpleIFVariable rank- Specified by:
getRankin interfaceVariableSimpleIF- Returns:
- Variable rank
-
getShape
public int[] getShape()Deprecated.Description copied from interface:VariableSimpleIFVariable shape- Specified by:
getShapein interfaceVariableSimpleIF- Returns:
- Variable shape
-
getDimensions
Deprecated.Description copied from interface:VariableSimpleIFDimension List. empty for a scalar variable.- Specified by:
getDimensionsin interfaceVariableSimpleIF- Returns:
- List of ucar.nc2.Dimension, ImmutableList in ver6
-
getAttributes
Deprecated.Description copied from interface:VariableSimpleIFAttributes for the variable.- Specified by:
getAttributesin interfaceVariableSimpleIF- Returns:
- List of type ucar.nc2.Attribute
-
findAttributeIgnoreCase
Deprecated.Description copied from interface:VariableSimpleIFfind the attribute for the variable with the given name, ignoring case.- Specified by:
findAttributeIgnoreCasein interfaceVariableSimpleIF- Parameters:
attName- attribute name- Returns:
- the attribute for the variable with the given name, or null if not found.
-
toString
Deprecated. -
compareTo
Deprecated.Sort by name- Specified by:
compareToin interfaceComparable<VariableSimpleIF>
-