|
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
ArchTypes 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 |
addComponentType(IComponentType newComponentType)
Add a componentType to this ArchTypes. |
void |
addComponentTypes(Collection componentTypes)
Add a collection of componentTypes to this ArchTypes. |
void |
addConnectorType(IConnectorType newConnectorType)
Add a connectorType to this ArchTypes. |
void |
addConnectorTypes(Collection connectorTypes)
Add a collection of connectorTypes to this ArchTypes. |
void |
addInterfaceType(IInterfaceType newInterfaceType)
Add a interfaceType to this ArchTypes. |
void |
addInterfaceTypes(Collection interfaceTypes)
Add a collection of interfaceTypes to this ArchTypes. |
void |
clearComponentTypes()
Remove all componentTypes from this ArchTypes. |
void |
clearConnectorTypes()
Remove all connectorTypes from this ArchTypes. |
void |
clearInterfaceTypes()
Remove all interfaceTypes from this ArchTypes. |
Collection |
getAllComponentTypes()
Get all the componentTypes from this ArchTypes. |
Collection |
getAllConnectorTypes()
Get all the connectorTypes from this ArchTypes. |
Collection |
getAllInterfaceTypes()
Get all the interfaceTypes from this ArchTypes. |
IComponentType |
getComponentType(String id)
Gets the componentType from this ArchTypes with the given id. |
Collection |
getComponentTypes(Collection ids)
Gets the componentTypes from this ArchTypes with the given ids. |
IConnectorType |
getConnectorType(String id)
Gets the connectorType from this ArchTypes with the given id. |
Collection |
getConnectorTypes(Collection ids)
Gets the connectorTypes from this ArchTypes with the given ids. |
IInterfaceType |
getInterfaceType(String id)
Gets the interfaceType from this ArchTypes with the given id. |
Collection |
getInterfaceTypes(Collection ids)
Gets the interfaceTypes from this ArchTypes with the given ids. |
boolean |
hasAllComponentTypes(Collection componentTypesToCheck)
Determine if this ArchTypes contains each element in the given set of componentTypes. |
boolean |
hasAllConnectorTypes(Collection connectorTypesToCheck)
Determine if this ArchTypes contains each element in the given set of connectorTypes. |
boolean |
hasAllInterfaceTypes(Collection interfaceTypesToCheck)
Determine if this ArchTypes contains each element in the given set of interfaceTypes. |
boolean |
hasComponentType(IComponentType componentTypeToCheck)
Determine if this ArchTypes contains a given componentType. |
Collection |
hasComponentTypes(Collection componentTypesToCheck)
Determine if this ArchTypes contains the given set of componentTypes. |
boolean |
hasConnectorType(IConnectorType connectorTypeToCheck)
Determine if this ArchTypes contains a given connectorType. |
Collection |
hasConnectorTypes(Collection connectorTypesToCheck)
Determine if this ArchTypes contains the given set of connectorTypes. |
boolean |
hasInterfaceType(IInterfaceType interfaceTypeToCheck)
Determine if this ArchTypes contains a given interfaceType. |
Collection |
hasInterfaceTypes(Collection interfaceTypesToCheck)
Determine if this ArchTypes contains the given set of interfaceTypes. |
boolean |
isEquivalent(IArchTypes ArchTypesToCheck)
Determine if another ArchTypes is equivalent to this one, ignoring ID's. |
void |
removeComponentType(IComponentType componentTypeToRemove)
Remove the given componentType from this ArchTypes. |
void |
removeComponentTypes(Collection componentTypes)
Remove all the given componentTypes from this ArchTypes. |
void |
removeConnectorType(IConnectorType connectorTypeToRemove)
Remove the given connectorType from this ArchTypes. |
void |
removeConnectorTypes(Collection connectorTypes)
Remove all the given connectorTypes from this ArchTypes. |
void |
removeInterfaceType(IInterfaceType interfaceTypeToRemove)
Remove the given interfaceType from this ArchTypes. |
void |
removeInterfaceTypes(Collection interfaceTypes)
Remove all the given interfaceTypes from this ArchTypes. |
| 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 addComponentType(IComponentType newComponentType)
newComponentType - componentType to add.public void addComponentTypes(Collection componentTypes)
componentTypes - componentTypes to add.public void clearComponentTypes()
public void removeComponentType(IComponentType componentTypeToRemove)
isEquivalent(...) function.
componentTypeToRemove - componentType to remove.public void removeComponentTypes(Collection componentTypes)
isEquivalent(...) function.
componentTypes - componentType to remove.public Collection getAllComponentTypes()
public boolean hasComponentType(IComponentType componentTypeToCheck)
true if this ArchTypes contains the given
componentTypeToCheck, false otherwise.public Collection hasComponentTypes(Collection componentTypesToCheck)
componentTypesToCheck - componentTypes to check for.
java.lang.Boolean. If the ith
element in componentTypes 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 hasAllComponentTypes(Collection componentTypesToCheck)
componentTypesToCheck - componentTypes to check for.
true if every element in
componentTypes is found in this ArchTypes,
false otherwise.public IComponentType getComponentType(String id)
id - ID to look for.
null if not found.public Collection getComponentTypes(Collection ids)
ids - ID to look for.
public void addConnectorType(IConnectorType newConnectorType)
newConnectorType - connectorType to add.public void addConnectorTypes(Collection connectorTypes)
connectorTypes - connectorTypes to add.public void clearConnectorTypes()
public void removeConnectorType(IConnectorType connectorTypeToRemove)
isEquivalent(...) function.
connectorTypeToRemove - connectorType to remove.public void removeConnectorTypes(Collection connectorTypes)
isEquivalent(...) function.
connectorTypes - connectorType to remove.public Collection getAllConnectorTypes()
public boolean hasConnectorType(IConnectorType connectorTypeToCheck)
true if this ArchTypes contains the given
connectorTypeToCheck, false otherwise.public Collection hasConnectorTypes(Collection connectorTypesToCheck)
connectorTypesToCheck - connectorTypes to check for.
java.lang.Boolean. If the ith
element in connectorTypes 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 hasAllConnectorTypes(Collection connectorTypesToCheck)
connectorTypesToCheck - connectorTypes to check for.
true if every element in
connectorTypes is found in this ArchTypes,
false otherwise.public IConnectorType getConnectorType(String id)
id - ID to look for.
null if not found.public Collection getConnectorTypes(Collection ids)
ids - ID to look for.
public void addInterfaceType(IInterfaceType newInterfaceType)
newInterfaceType - interfaceType to add.public void addInterfaceTypes(Collection interfaceTypes)
interfaceTypes - interfaceTypes to add.public void clearInterfaceTypes()
public void removeInterfaceType(IInterfaceType interfaceTypeToRemove)
isEquivalent(...) function.
interfaceTypeToRemove - interfaceType to remove.public void removeInterfaceTypes(Collection interfaceTypes)
isEquivalent(...) function.
interfaceTypes - interfaceType to remove.public Collection getAllInterfaceTypes()
public boolean hasInterfaceType(IInterfaceType interfaceTypeToCheck)
true if this ArchTypes contains the given
interfaceTypeToCheck, false otherwise.public Collection hasInterfaceTypes(Collection interfaceTypesToCheck)
interfaceTypesToCheck - interfaceTypes to check for.
java.lang.Boolean. If the ith
element in interfaceTypes 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 hasAllInterfaceTypes(Collection interfaceTypesToCheck)
interfaceTypesToCheck - interfaceTypes to check for.
true if every element in
interfaceTypes is found in this ArchTypes,
false otherwise.public IInterfaceType getInterfaceType(String id)
id - ID to look for.
null if not found.public Collection getInterfaceTypes(Collection ids)
ids - ID to look for.
public boolean isEquivalent(IArchTypes ArchTypesToCheck)
ArchTypesToCheck - ArchTypes to compare to this one.
true if all the child elements of this
ArchTypes 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 | |||||||||