public class DAPNode extends Object implements Cloneable, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
DAPNode.CloneMap
Clone interface.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
_nameClear
The name of this variable - not www enccoded
|
protected String |
_nameEncoded |
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
DAPNode()
Constructs a new
DAPNode with no name. |
DAPNode(String n)
Constructs a new
DAPNode with name n. |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Returns a clone of this
DAPNode. |
DAPNode |
cloneDAG(DAPNode.CloneMap map)
This procedure does the actual recursive clone.
|
static DAPNode |
cloneDAG(DAPNode.CloneMap map,
DAPNode src)
This version of cloneDAG() is the primary
point of cloning.
|
String |
getClearName()
Returns the unencoded name of the class instance.
|
String |
getEncodedName()
Returns the WWW encoded name of the class instance.
|
DAPNode |
getParent() |
boolean |
isProject()
Check the projection state of this variable.
|
void |
setClearName(String n)
Sets the unencoded name of the class instance.
|
void |
setEncodedName(String n)
Sets the name of the class instance.
|
void |
setParent(DAPNode bt) |
void |
setProject(boolean state)
Set the state of this variable's projection.
|
void |
setProject(boolean state,
boolean all)
Set the state of this variable's projection.
|
void |
setProjected(boolean tf) |
public static org.slf4j.Logger log
protected String _nameClear
protected String _nameEncoded
public DAPNode()
DAPNode with no name.public DAPNode(String n)
DAPNode with name n.
Name is assumed to never be DAP encodedn - the name of the variable.public void setProjected(boolean tf)
public boolean isProject()
true, otherwise it
should return false.true if the variable is part of the current
projections, false otherwise.CEEvaluatorpublic void setProject(boolean state,
boolean all)
true means
that this variable is part of the current projection as defined by
the current constraint expression, otherwise the current projection
for this variable should be false.state - true if the variable is part of the current
projection, false otherwise.all - If true, set the Project property of all the
members (and their children, and so on).CEEvaluatorpublic void setProject(boolean state)
true means
that this variable is part of the current projection as defined by
the current constraint expression, otherwise the current projection
for this variable should be false.
This is equivalent to setProjection(state,
true).
state - true if the variable is part of the current
projection, false otherwise.CEEvaluatorpublic void setParent(DAPNode bt)
public DAPNode getParent()
public final String getClearName()
public final String getEncodedName()
public final void setEncodedName(String n)
n - the name of the class instance; with escapespublic void setClearName(String n)
n - the unencoded name of the class instance.public Object clone()
DAPNode. A deep copy is performed
on all data inside the variable.public static DAPNode cloneDAG(DAPNode.CloneMap map, DAPNode src) throws CloneNotSupportedException
map - list of previously cloned nodesCloneNotSupportedExceptionpublic DAPNode cloneDAG(DAPNode.CloneMap map) throws CloneNotSupportedException
map - list of previously cloned nodesCloneNotSupportedExceptionCopyright © 1999-2012 OPeNDAP. All Rights Reserved.