@Deprecated
public abstract class CDMNode
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Object,java.lang.Object> |
annotations
Deprecated.
|
protected java.lang.String |
dodsname
Deprecated.
|
protected Group |
group
Deprecated.
|
protected boolean |
immutable
Deprecated.
|
protected Structure |
parentstruct
Deprecated.
|
protected java.lang.String |
shortName
Deprecated.
|
protected CDMSort |
sort
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
CDMNode()
Deprecated.
|
|
CDMNode(java.lang.String name)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
annotate(java.lang.Object id,
java.lang.Object value)
Deprecated.
do not use
|
java.lang.Object |
annotation(java.lang.Object id)
Deprecated.
do not use
|
java.lang.String |
getDODSName()
Deprecated.
Do not use.
|
java.lang.String |
getFullName()
Deprecated.
use NetcdfFiles.makeFullName(*)
|
java.lang.String |
getFullNameEscaped()
Deprecated.
use getFullName() when it exists in ver6.
|
Group |
getGroup()
Deprecated.
Do not use.
|
boolean |
getImmutable()
Deprecated.
Do not use.
|
java.lang.String |
getName()
Deprecated.
Replaced by
getShortName() and getFullName() |
Group |
getParentGroup()
Deprecated.
Do not use for Dimension or Attribute
|
Structure |
getParentStructure()
Deprecated.
Do not use.
|
java.lang.String |
getShortName()
Deprecated.
Get the short name of this Variable.
|
CDMSort |
getSort()
Deprecated.
do not use
|
boolean |
isMemberOfStructure()
Deprecated.
Do not use.
|
int |
localhash()
Deprecated.
do not use
|
void |
setDODSName(java.lang.String name)
Deprecated.
Do not use.
|
CDMNode |
setImmutable()
Deprecated.
Do not use.
|
void |
setParentGroup(Group parent)
Deprecated.
Do not use.
|
void |
setParentStructure(Structure parent)
Deprecated.
Do not use.
|
void |
setShortName(java.lang.String name)
Deprecated.
Do not use.
|
void |
setSort(CDMSort sort)
Deprecated.
do not use
|
static CDMNode |
unwrap(CDMNode node)
Deprecated.
Do not use.
|
protected CDMSort sort
protected Group group
protected Structure parentstruct
protected boolean immutable
protected java.lang.String shortName
protected java.util.Map<java.lang.Object,java.lang.Object> annotations
protected java.lang.String dodsname
protected CDMNode()
public CDMNode(java.lang.String name)
@Deprecated public CDMSort getSort()
@Deprecated public void setSort(CDMSort sort)
public java.lang.String getShortName()
@Deprecated public void setShortName(java.lang.String name)
name
- new short name@Deprecated public Group getParentGroup()
@Deprecated public Group getGroup()
@Deprecated public void setParentGroup(Group parent)
parent
- The new parent group@Deprecated public Structure getParentStructure()
@Deprecated public void setParentStructure(Structure parent)
parent
- The new parent structure@Deprecated public boolean isMemberOfStructure()
@Deprecated public boolean getImmutable()
@Deprecated public CDMNode setImmutable()
@Deprecated public java.lang.String getDODSName()
@Deprecated public void setDODSName(java.lang.String name)
name
- The original name from the DDS/DAS@Deprecated public java.lang.String getFullName()
public java.lang.String getFullNameEscaped()
@Deprecated public java.lang.String getName()
getShortName()
and getFullName()
public int localhash()
@Deprecated public static CDMNode unwrap(CDMNode node)
node
- possibly wrapped ode@Deprecated public java.lang.Object annotation(java.lang.Object id)
public java.lang.Object annotate(java.lang.Object id, java.lang.Object value)