|
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
ArchStructure xsi:type in the
types 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 |
addComponent(IComponent newComponent)
Add a component to this ArchStructure. |
void |
addComponents(Collection components)
Add a collection of components to this ArchStructure. |
void |
addConnector(IConnector newConnector)
Add a connector to this ArchStructure. |
void |
addConnectors(Collection connectors)
Add a collection of connectors to this ArchStructure. |
void |
addGroup(IGroup newGroup)
Add a group to this ArchStructure. |
void |
addGroups(Collection groups)
Add a collection of groups to this ArchStructure. |
void |
addLink(ILink newLink)
Add a link to this ArchStructure. |
void |
addLinks(Collection links)
Add a collection of links to this ArchStructure. |
void |
clearComponents()
Remove all components from this ArchStructure. |
void |
clearConnectors()
Remove all connectors from this ArchStructure. |
void |
clearDescription()
Clear the description from this ArchStructure. |
void |
clearGroups()
Remove all groups from this ArchStructure. |
void |
clearId()
Remove the id attribute from this ArchStructure. |
void |
clearLinks()
Remove all links from this ArchStructure. |
Collection |
getAllComponents()
Get all the components from this ArchStructure. |
Collection |
getAllConnectors()
Get all the connectors from this ArchStructure. |
Collection |
getAllGroups()
Get all the groups from this ArchStructure. |
Collection |
getAllLinks()
Get all the links from this ArchStructure. |
IComponent |
getComponent(String id)
Gets the component from this ArchStructure with the given id. |
Collection |
getComponents(Collection ids)
Gets the components from this ArchStructure with the given ids. |
IConnector |
getConnector(String id)
Gets the connector from this ArchStructure with the given id. |
Collection |
getConnectors(Collection ids)
Gets the connectors from this ArchStructure with the given ids. |
IDescription |
getDescription()
Get the description from this ArchStructure. |
IGroup |
getGroup(String id)
Gets the group from this ArchStructure with the given id. |
Collection |
getGroups(Collection ids)
Gets the groups from this ArchStructure with the given ids. |
String |
getId()
Get the id attribute from this ArchStructure. |
ILink |
getLink(String id)
Gets the link from this ArchStructure with the given id. |
Collection |
getLinks(Collection ids)
Gets the links from this ArchStructure with the given ids. |
boolean |
hasAllComponents(Collection componentsToCheck)
Determine if this ArchStructure contains each element in the given set of components. |
boolean |
hasAllConnectors(Collection connectorsToCheck)
Determine if this ArchStructure contains each element in the given set of connectors. |
boolean |
hasAllGroups(Collection groupsToCheck)
Determine if this ArchStructure contains each element in the given set of groups. |
boolean |
hasAllLinks(Collection linksToCheck)
Determine if this ArchStructure contains each element in the given set of links. |
boolean |
hasComponent(IComponent componentToCheck)
Determine if this ArchStructure contains a given component. |
Collection |
hasComponents(Collection componentsToCheck)
Determine if this ArchStructure contains the given set of components. |
boolean |
hasConnector(IConnector connectorToCheck)
Determine if this ArchStructure contains a given connector. |
Collection |
hasConnectors(Collection connectorsToCheck)
Determine if this ArchStructure contains the given set of connectors. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this ArchStructure has the given description |
boolean |
hasGroup(IGroup groupToCheck)
Determine if this ArchStructure contains a given group. |
Collection |
hasGroups(Collection groupsToCheck)
Determine if this ArchStructure contains the given set of groups. |
boolean |
hasId(String id)
Determine if the id attribute on this ArchStructure has the given value. |
boolean |
hasLink(ILink linkToCheck)
Determine if this ArchStructure contains a given link. |
Collection |
hasLinks(Collection linksToCheck)
Determine if this ArchStructure contains the given set of links. |
boolean |
isEqual(IArchStructure ArchStructureToCheck)
Determine if another ArchStructure has the same id as this one. |
boolean |
isEquivalent(IArchStructure ArchStructureToCheck)
Determine if another ArchStructure is equivalent to this one, ignoring ID's. |
void |
removeComponent(IComponent componentToRemove)
Remove the given component from this ArchStructure. |
void |
removeComponents(Collection components)
Remove all the given components from this ArchStructure. |
void |
removeConnector(IConnector connectorToRemove)
Remove the given connector from this ArchStructure. |
void |
removeConnectors(Collection connectors)
Remove all the given connectors from this ArchStructure. |
void |
removeGroup(IGroup groupToRemove)
Remove the given group from this ArchStructure. |
void |
removeGroups(Collection groups)
Remove all the given groups from this ArchStructure. |
void |
removeLink(ILink linkToRemove)
Remove the given link from this ArchStructure. |
void |
removeLinks(Collection links)
Remove all the given links from this ArchStructure. |
void |
setDescription(IDescription value)
Set the description for this ArchStructure. |
void |
setId(String id)
Set the id attribute on this ArchStructure. |
| 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 addComponent(IComponent newComponent)
newComponent - component to add.public void addComponents(Collection components)
components - components to add.public void clearComponents()
public void removeComponent(IComponent componentToRemove)
isEquivalent(...) function.
componentToRemove - component to remove.public void removeComponents(Collection components)
isEquivalent(...) function.
components - component to remove.public Collection getAllComponents()
public boolean hasComponent(IComponent componentToCheck)
true if this ArchStructure contains the given
componentToCheck, false otherwise.public Collection hasComponents(Collection componentsToCheck)
componentsToCheck - components to check for.
java.lang.Boolean. If the ith
element in components 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 hasAllComponents(Collection componentsToCheck)
componentsToCheck - components to check for.
true if every element in
components is found in this ArchStructure,
false otherwise.public IComponent getComponent(String id)
id - ID to look for.
null if not found.public Collection getComponents(Collection ids)
ids - ID to look for.
public void addConnector(IConnector newConnector)
newConnector - connector to add.public void addConnectors(Collection connectors)
connectors - connectors to add.public void clearConnectors()
public void removeConnector(IConnector connectorToRemove)
isEquivalent(...) function.
connectorToRemove - connector to remove.public void removeConnectors(Collection connectors)
isEquivalent(...) function.
connectors - connector to remove.public Collection getAllConnectors()
public boolean hasConnector(IConnector connectorToCheck)
true if this ArchStructure contains the given
connectorToCheck, false otherwise.public Collection hasConnectors(Collection connectorsToCheck)
connectorsToCheck - connectors to check for.
java.lang.Boolean. If the ith
element in connectors 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 hasAllConnectors(Collection connectorsToCheck)
connectorsToCheck - connectors to check for.
true if every element in
connectors is found in this ArchStructure,
false otherwise.public IConnector getConnector(String id)
id - ID to look for.
null if not found.public Collection getConnectors(Collection ids)
ids - ID to look for.
public void addLink(ILink newLink)
newLink - link to add.public void addLinks(Collection links)
links - links to add.public void clearLinks()
public void removeLink(ILink linkToRemove)
isEquivalent(...) function.
linkToRemove - link to remove.public void removeLinks(Collection links)
isEquivalent(...) function.
links - link to remove.public Collection getAllLinks()
public boolean hasLink(ILink linkToCheck)
true if this ArchStructure contains the given
linkToCheck, false otherwise.public Collection hasLinks(Collection linksToCheck)
linksToCheck - links to check for.
java.lang.Boolean. If the ith
element in links 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 hasAllLinks(Collection linksToCheck)
linksToCheck - links to check for.
true if every element in
links is found in this ArchStructure,
false otherwise.public ILink getLink(String id)
id - ID to look for.
null if not found.public Collection getLinks(Collection ids)
ids - ID to look for.
public void addGroup(IGroup newGroup)
newGroup - group to add.public void addGroups(Collection groups)
groups - groups to add.public void clearGroups()
public void removeGroup(IGroup groupToRemove)
isEquivalent(...) function.
groupToRemove - group to remove.public void removeGroups(Collection groups)
isEquivalent(...) function.
groups - group to remove.public Collection getAllGroups()
public boolean hasGroup(IGroup groupToCheck)
true if this ArchStructure contains the given
groupToCheck, false otherwise.public Collection hasGroups(Collection groupsToCheck)
groupsToCheck - groups to check for.
java.lang.Boolean. If the ith
element in groups 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 hasAllGroups(Collection groupsToCheck)
groupsToCheck - groups to check for.
true if every element in
groups is found in this ArchStructure,
false otherwise.public IGroup getGroup(String id)
id - ID to look for.
null if not found.public Collection getGroups(Collection ids)
ids - ID to look for.
public boolean isEqual(IArchStructure ArchStructureToCheck)
ArchStructureToCheck - ArchStructure to compare with this
one.public boolean isEquivalent(IArchStructure ArchStructureToCheck)
ArchStructureToCheck - ArchStructure to compare to this one.
true if all the child elements of this
ArchStructure 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 | |||||||||