|
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
ConnectorTypeVersionGraph 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 |
addNode(INode newNode)
Add a node to this ConnectorTypeVersionGraph. |
void |
addNodes(Collection nodes)
Add a collection of nodes to this ConnectorTypeVersionGraph. |
void |
clearDescription()
Clear the description from this ConnectorTypeVersionGraph. |
void |
clearId()
Remove the id attribute from this ConnectorTypeVersionGraph. |
void |
clearNodes()
Remove all nodes from this ConnectorTypeVersionGraph. |
Collection |
getAllNodes()
Get all the nodes from this ConnectorTypeVersionGraph. |
IDescription |
getDescription()
Get the description from this ConnectorTypeVersionGraph. |
String |
getId()
Get the id attribute from this ConnectorTypeVersionGraph. |
INode |
getNode(String id)
Gets the node from this ConnectorTypeVersionGraph with the given id. |
Collection |
getNodes(Collection ids)
Gets the nodes from this ConnectorTypeVersionGraph with the given ids. |
boolean |
hasAllNodes(Collection nodesToCheck)
Determine if this ConnectorTypeVersionGraph contains each element in the given set of nodes. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this ConnectorTypeVersionGraph has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this ConnectorTypeVersionGraph has the given value. |
boolean |
hasNode(INode nodeToCheck)
Determine if this ConnectorTypeVersionGraph contains a given node. |
Collection |
hasNodes(Collection nodesToCheck)
Determine if this ConnectorTypeVersionGraph contains the given set of nodes. |
boolean |
isEqual(IConnectorTypeVersionGraph ConnectorTypeVersionGraphToCheck)
Determine if another ConnectorTypeVersionGraph has the same id as this one. |
boolean |
isEquivalent(IConnectorTypeVersionGraph ConnectorTypeVersionGraphToCheck)
Determine if another ConnectorTypeVersionGraph is equivalent to this one, ignoring ID's. |
void |
removeNode(INode nodeToRemove)
Remove the given node from this ConnectorTypeVersionGraph. |
void |
removeNodes(Collection nodes)
Remove all the given nodes from this ConnectorTypeVersionGraph. |
void |
setDescription(IDescription value)
Set the description for this ConnectorTypeVersionGraph. |
void |
setId(String id)
Set the id attribute on this ConnectorTypeVersionGraph. |
| 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 setDescription(IDescription value)
value - new descriptionpublic void clearDescription()
public IDescription getDescription()
public boolean hasDescription(IDescription descriptionToCheck)
descriptionToCheck - description to compare
true if the descriptions are equivalent,
false otherwisepublic void addNode(INode newNode)
newNode - node to add.public void addNodes(Collection nodes)
nodes - nodes to add.public void clearNodes()
public void removeNode(INode nodeToRemove)
isEquivalent(...) function.
nodeToRemove - node to remove.public void removeNodes(Collection nodes)
isEquivalent(...) function.
nodes - node to remove.public Collection getAllNodes()
public boolean hasNode(INode nodeToCheck)
true if this ConnectorTypeVersionGraph contains the given
nodeToCheck, false otherwise.public Collection hasNodes(Collection nodesToCheck)
nodesToCheck - nodes to check for.
java.lang.Boolean. If the ith
element in nodes 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 hasAllNodes(Collection nodesToCheck)
nodesToCheck - nodes to check for.
true if every element in
nodes is found in this ConnectorTypeVersionGraph,
false otherwise.public INode getNode(String id)
id - ID to look for.
null if not found.public Collection getNodes(Collection ids)
ids - ID to look for.
public boolean isEqual(IConnectorTypeVersionGraph ConnectorTypeVersionGraphToCheck)
ConnectorTypeVersionGraphToCheck - ConnectorTypeVersionGraph to compare with this
one.public boolean isEquivalent(IConnectorTypeVersionGraph ConnectorTypeVersionGraphToCheck)
ConnectorTypeVersionGraphToCheck - ConnectorTypeVersionGraph to compare to this one.
true if all the child elements of this
ConnectorTypeVersionGraph 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 | |||||||||