|
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
SubArchitecture xsi:type in the
instance 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 |
addInterfaceInstanceMapping(IInterfaceInstanceMapping newInterfaceInstanceMapping)
Add a interfaceInstanceMapping to this SubArchitecture. |
void |
addInterfaceInstanceMappings(Collection interfaceInstanceMappings)
Add a collection of interfaceInstanceMappings to this SubArchitecture. |
void |
clearArchInstance()
Clear the archInstance from this SubArchitecture. |
void |
clearInterfaceInstanceMappings()
Remove all interfaceInstanceMappings from this SubArchitecture. |
Collection |
getAllInterfaceInstanceMappings()
Get all the interfaceInstanceMappings from this SubArchitecture. |
IArchInstance |
getArchInstance()
Get the archInstance from this SubArchitecture. |
IInterfaceInstanceMapping |
getInterfaceInstanceMapping(String id)
Gets the interfaceInstanceMapping from this SubArchitecture with the given id. |
Collection |
getInterfaceInstanceMappings(Collection ids)
Gets the interfaceInstanceMappings from this SubArchitecture with the given ids. |
boolean |
hasAllInterfaceInstanceMappings(Collection interfaceInstanceMappingsToCheck)
Determine if this SubArchitecture contains each element in the given set of interfaceInstanceMappings. |
boolean |
hasArchInstance(IArchInstance archInstanceToCheck)
Determine if this SubArchitecture has the given archInstance |
boolean |
hasInterfaceInstanceMapping(IInterfaceInstanceMapping interfaceInstanceMappingToCheck)
Determine if this SubArchitecture contains a given interfaceInstanceMapping. |
Collection |
hasInterfaceInstanceMappings(Collection interfaceInstanceMappingsToCheck)
Determine if this SubArchitecture contains the given set of interfaceInstanceMappings. |
boolean |
isEquivalent(ISubArchitecture SubArchitectureToCheck)
Determine if another SubArchitecture is equivalent to this one, ignoring ID's. |
void |
removeInterfaceInstanceMapping(IInterfaceInstanceMapping interfaceInstanceMappingToRemove)
Remove the given interfaceInstanceMapping from this SubArchitecture. |
void |
removeInterfaceInstanceMappings(Collection interfaceInstanceMappings)
Remove all the given interfaceInstanceMappings from this SubArchitecture. |
void |
setArchInstance(IArchInstance value)
Set the archInstance for this SubArchitecture. |
| 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 setArchInstance(IArchInstance value)
value - new archInstancepublic void clearArchInstance()
public IArchInstance getArchInstance()
public boolean hasArchInstance(IArchInstance archInstanceToCheck)
archInstanceToCheck - archInstance to compare
true if the archInstances are equivalent,
false otherwisepublic void addInterfaceInstanceMapping(IInterfaceInstanceMapping newInterfaceInstanceMapping)
newInterfaceInstanceMapping - interfaceInstanceMapping to add.public void addInterfaceInstanceMappings(Collection interfaceInstanceMappings)
interfaceInstanceMappings - interfaceInstanceMappings to add.public void clearInterfaceInstanceMappings()
public void removeInterfaceInstanceMapping(IInterfaceInstanceMapping interfaceInstanceMappingToRemove)
isEquivalent(...) function.
interfaceInstanceMappingToRemove - interfaceInstanceMapping to remove.public void removeInterfaceInstanceMappings(Collection interfaceInstanceMappings)
isEquivalent(...) function.
interfaceInstanceMappings - interfaceInstanceMapping to remove.public Collection getAllInterfaceInstanceMappings()
public boolean hasInterfaceInstanceMapping(IInterfaceInstanceMapping interfaceInstanceMappingToCheck)
true if this SubArchitecture contains the given
interfaceInstanceMappingToCheck, false otherwise.public Collection hasInterfaceInstanceMappings(Collection interfaceInstanceMappingsToCheck)
interfaceInstanceMappingsToCheck - interfaceInstanceMappings to check for.
java.lang.Boolean. If the ith
element in interfaceInstanceMappings 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 hasAllInterfaceInstanceMappings(Collection interfaceInstanceMappingsToCheck)
interfaceInstanceMappingsToCheck - interfaceInstanceMappings to check for.
true if every element in
interfaceInstanceMappings is found in this SubArchitecture,
false otherwise.public IInterfaceInstanceMapping getInterfaceInstanceMapping(String id)
id - ID to look for.
null if not found.public Collection getInterfaceInstanceMappings(Collection ids)
ids - ID to look for.
public boolean isEquivalent(ISubArchitecture SubArchitectureToCheck)
SubArchitectureToCheck - SubArchitecture to compare to this one.
true if all the child elements of this
SubArchitecture 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 | |||||||||