|
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
ComponentType 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 |
addSignature(ISignature newSignature)
Add a signature to this ComponentType. |
void |
addSignatures(Collection signatures)
Add a collection of signatures to this ComponentType. |
void |
clearDescription()
Clear the description from this ComponentType. |
void |
clearId()
Remove the id attribute from this ComponentType. |
void |
clearSignatures()
Remove all signatures from this ComponentType. |
void |
clearSubArchitecture()
Clear the subArchitecture from this ComponentType. |
Collection |
getAllSignatures()
Get all the signatures from this ComponentType. |
IDescription |
getDescription()
Get the description from this ComponentType. |
String |
getId()
Get the id attribute from this ComponentType. |
ISignature |
getSignature(String id)
Gets the signature from this ComponentType with the given id. |
Collection |
getSignatures(Collection ids)
Gets the signatures from this ComponentType with the given ids. |
ISubArchitecture |
getSubArchitecture()
Get the subArchitecture from this ComponentType. |
boolean |
hasAllSignatures(Collection signaturesToCheck)
Determine if this ComponentType contains each element in the given set of signatures. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this ComponentType has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this ComponentType has the given value. |
boolean |
hasSignature(ISignature signatureToCheck)
Determine if this ComponentType contains a given signature. |
Collection |
hasSignatures(Collection signaturesToCheck)
Determine if this ComponentType contains the given set of signatures. |
boolean |
hasSubArchitecture(ISubArchitecture subArchitectureToCheck)
Determine if this ComponentType has the given subArchitecture |
boolean |
isEqual(IComponentType ComponentTypeToCheck)
Determine if another ComponentType has the same id as this one. |
boolean |
isEquivalent(IComponentType ComponentTypeToCheck)
Determine if another ComponentType is equivalent to this one, ignoring ID's. |
void |
removeSignature(ISignature signatureToRemove)
Remove the given signature from this ComponentType. |
void |
removeSignatures(Collection signatures)
Remove all the given signatures from this ComponentType. |
void |
setDescription(IDescription value)
Set the description for this ComponentType. |
void |
setId(String id)
Set the id attribute on this ComponentType. |
void |
setSubArchitecture(ISubArchitecture value)
Set the subArchitecture for this ComponentType. |
| 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 addSignature(ISignature newSignature)
newSignature - signature to add.public void addSignatures(Collection signatures)
signatures - signatures to add.public void clearSignatures()
public void removeSignature(ISignature signatureToRemove)
isEquivalent(...) function.
signatureToRemove - signature to remove.public void removeSignatures(Collection signatures)
isEquivalent(...) function.
signatures - signature to remove.public Collection getAllSignatures()
public boolean hasSignature(ISignature signatureToCheck)
true if this ComponentType contains the given
signatureToCheck, false otherwise.public Collection hasSignatures(Collection signaturesToCheck)
signaturesToCheck - signatures to check for.
java.lang.Boolean. If the ith
element in signatures 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 hasAllSignatures(Collection signaturesToCheck)
signaturesToCheck - signatures to check for.
true if every element in
signatures is found in this ComponentType,
false otherwise.public ISignature getSignature(String id)
id - ID to look for.
null if not found.public Collection getSignatures(Collection ids)
ids - ID to look for.
public void setSubArchitecture(ISubArchitecture value)
value - new subArchitecturepublic void clearSubArchitecture()
public ISubArchitecture getSubArchitecture()
public boolean hasSubArchitecture(ISubArchitecture subArchitectureToCheck)
subArchitectureToCheck - subArchitecture to compare
true if the subArchitectures are equivalent,
false otherwisepublic boolean isEqual(IComponentType ComponentTypeToCheck)
ComponentTypeToCheck - ComponentType to compare with this
one.public boolean isEquivalent(IComponentType ComponentTypeToCheck)
ComponentTypeToCheck - ComponentType to compare to this one.
true if all the child elements of this
ComponentType 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 | |||||||||