Package ucar.nc2
Class CDMNode
java.lang.Object
ucar.nc2.CDMNode
- Direct Known Subclasses:
Attribute,Dimension,EnumTypedef,Group,Variable
Deprecated.
Will move to Dap4 module in version 6.
Define a superclass for all the CDM node classes: Group, Dimension, etc.
Define the sort of the node
CDMSort so that we can
1. do true switching on node type
2. avoid use of instanceof
3. Use container classes that have more than one kind of node
Also move various common fields and methods to here.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.do not useannotation(Object id) Deprecated.do not useDeprecated.Do not use.Deprecated.use NetcdfFiles.makeFullName(*)Deprecated.use getFullName() when it exists in ver6.getGroup()Deprecated.Do not use.booleanDeprecated.Do not use.getName()Deprecated.Replaced bygetShortName()andgetFullName()Deprecated.Do not use for Dimension or AttributeDeprecated.Do not use.Deprecated.Get the short name of this Variable.getSort()Deprecated.do not usebooleanDeprecated.Do not use.intDeprecated.do not usevoidsetDODSName(String name) Deprecated.Do not use.Deprecated.Do not use.voidsetParentGroup(Group parent) Deprecated.Do not use.voidsetParentStructure(Structure parent) Deprecated.Do not use.voidsetShortName(String name) Deprecated.Do not use.voidDeprecated.do not usestatic CDMNodeDeprecated.Do not use.
-
Constructor Details
-
CDMNode
Deprecated.
-
-
Method Details
-
getSort
Deprecated.do not use -
setSort
Deprecated.do not use -
getShortName
Deprecated.Get the short name of this Variable. The name is unique within its parent group. -
setShortName
Deprecated.Do not use.Set the short name of this Variable. The name is unique within its parent group.- Parameters:
name- new short name
-
getParentGroup
Deprecated.Do not use for Dimension or AttributeGet its parent Group, or null if its the root group.- Returns:
- parent Group
-
getGroup
Deprecated.Do not use.Alias for getParentGroup- Returns:
- parent Group
-
setParentGroup
Deprecated.Do not use.Set the parent Group- Parameters:
parent- The new parent group
-
getParentStructure
Deprecated.Do not use.Get its parent structure, or null if not in structure- Returns:
- parent structure
-
setParentStructure
Deprecated.Do not use.Set the parent Structure- Parameters:
parent- The new parent structure
-
isMemberOfStructure
Deprecated.Do not use.Test for presence of parent Structure- Returns:
- true iff struct != null
-
getImmutable
Deprecated.Do not use.Get immutable flag As a rule, subclasses will access directly- Returns:
- Immutable flag
-
setImmutable
Deprecated.Do not use.Set the immutable flag to true. Once set, cannot be unset -
getDODSName
Deprecated.Do not use.Get the dodsname- Returns:
- the original names from the DDS or DAS; if null, then return the short name
-
setDODSName
Deprecated.Do not use.Store the original dods name- Parameters:
name- The original name from the DDS/DAS
-
getFullName
Deprecated.use NetcdfFiles.makeFullName(*)Get the Full name of this object. Certain characters are backslash escaped (see NetcdfFile)- Returns:
- full name with backslash escapes
-
getFullNameEscaped
Deprecated.use getFullName() when it exists in ver6.Alias for getFullName- Returns:
- full name with backslash escapes
-
getName
Deprecated.Replaced bygetShortName()andgetFullName()getName is deprecated because, as the code below shows, it has no consistent meaning. Sometimes it returns the short name, sometimes it returns the full name. -
localhash
public int localhash()Deprecated.do not use -
unwrap
Deprecated.Do not use.NetcdfDataset can end up wrapping a variable in multiple wrapping classes (e.g. VariableDS). Goal of this procedure is to get down to the lowest level Variable instance- Parameters:
node- possibly wrapped ode- Returns:
- the lowest level node instance
-
annotation
Deprecated.do not use -
annotate
Deprecated.do not use
-