|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for accessing objects of the
Node xsi:type in the
versions namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addParent(IXMLLink newParent)
Add a parent to this Node. |
void |
addParents(Collection parents)
Add a collection of parents to this Node. |
void |
clearId()
Remove the id attribute from this Node. |
void |
clearImmutable()
Remove the immutable attribute from this Node. |
void |
clearParents()
Remove all parents from this Node. |
void |
clearVersionID()
Clear the versionID from this Node. |
Collection |
getAllParents()
Get all the parents from this Node. |
String |
getId()
Get the id attribute from this Node. |
String |
getImmutable()
Get the immutable attribute from this Node. |
IVersionID |
getVersionID()
Get the versionID from this Node. |
boolean |
hasAllParents(Collection parentsToCheck)
Determine if this Node contains each element in the given set of parents. |
boolean |
hasId(String id)
Determine if the id attribute on this Node has the given value. |
boolean |
hasImmutable(String immutable)
Determine if the immutable attribute on this Node has the given value. |
boolean |
hasParent(IXMLLink parentToCheck)
Determine if this Node contains a given parent. |
Collection |
hasParents(Collection parentsToCheck)
Determine if this Node contains the given set of parents. |
boolean |
hasVersionID(IVersionID versionIDToCheck)
Determine if this Node has the given versionID |
boolean |
isEqual(INode NodeToCheck)
Determine if another Node has the same id as this one. |
boolean |
isEquivalent(INode NodeToCheck)
Determine if another Node is equivalent to this one, ignoring ID's. |
void |
removeParent(IXMLLink parentToRemove)
Remove the given parent from this Node. |
void |
removeParents(Collection parents)
Remove all the given parents from this Node. |
void |
setId(String id)
Set the id attribute on this Node. |
void |
setImmutable(String immutable)
Set the immutable attribute on this Node. |
void |
setVersionID(IVersionID value)
Set the versionID for this Node. |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public void setId(String id)
id - id
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearId()
public String getId()
public boolean hasId(String id)
id - Attribute value to compare
true if they match; false
otherwise.public void setImmutable(String immutable)
immutable - immutable
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearImmutable()
public String getImmutable()
public boolean hasImmutable(String immutable)
immutable - Attribute value to compare
true if they match; false
otherwise.public void setVersionID(IVersionID value)
value - new versionIDpublic void clearVersionID()
public IVersionID getVersionID()
public boolean hasVersionID(IVersionID versionIDToCheck)
versionIDToCheck - versionID to compare
true if the versionIDs are equivalent,
false otherwisepublic void addParent(IXMLLink newParent)
newParent - parent to add.public void addParents(Collection parents)
parents - parents to add.public void clearParents()
public void removeParent(IXMLLink parentToRemove)
isEquivalent(...) function.
parentToRemove - parent to remove.public void removeParents(Collection parents)
isEquivalent(...) function.
parents - parent to remove.public Collection getAllParents()
public boolean hasParent(IXMLLink parentToCheck)
true if this Node contains the given
parentToCheck, false otherwise.public Collection hasParents(Collection parentsToCheck)
parentsToCheck - parents to check for.
java.lang.Boolean. If the ith
element in parents was found, then the ith
element of the collection will be set to true, otherwise it
will be set to false. Matching is done with the
isEquivalent(...) method.public boolean hasAllParents(Collection parentsToCheck)
parentsToCheck - parents to check for.
true if every element in
parents is found in this Node,
false otherwise.public boolean isEqual(INode NodeToCheck)
NodeToCheck - Node to compare with this
one.public boolean isEquivalent(INode NodeToCheck)
NodeToCheck - Node to compare to this one.
true if all the child elements of this
Node are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||