|
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
ConnectorType 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 ConnectorType. |
void |
addSignatures(Collection signatures)
Add a collection of signatures to this ConnectorType. |
void |
clearDescription()
Clear the description from this ConnectorType. |
void |
clearId()
Remove the id attribute from this ConnectorType. |
void |
clearSignatures()
Remove all signatures from this ConnectorType. |
void |
clearSubArchitecture()
Clear the subArchitecture from this ConnectorType. |
Collection |
getAllSignatures()
Get all the signatures from this ConnectorType. |
IDescription |
getDescription()
Get the description from this ConnectorType. |
String |
getId()
Get the id attribute from this ConnectorType. |
ISignature |
getSignature(String id)
Gets the signature from this ConnectorType with the given id. |
Collection |
getSignatures(Collection ids)
Gets the signatures from this ConnectorType with the given ids. |
ISubArchitecture |
getSubArchitecture()
Get the subArchitecture from this ConnectorType. |
boolean |
hasAllSignatures(Collection signaturesToCheck)
Determine if this ConnectorType contains each element in the given set of signatures. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this ConnectorType has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this ConnectorType has the given value. |
boolean |
hasSignature(ISignature signatureToCheck)
Determine if this ConnectorType contains a given signature. |
Collection |
hasSignatures(Collection signaturesToCheck)
Determine if this ConnectorType contains the given set of signatures. |
boolean |
hasSubArchitecture(ISubArchitecture subArchitectureToCheck)
Determine if this ConnectorType has the given subArchitecture |
boolean |
isEqual(IConnectorType ConnectorTypeToCheck)
Determine if another ConnectorType has the same id as this one. |
boolean |
isEquivalent(IConnectorType ConnectorTypeToCheck)
Determine if another ConnectorType is equivalent to this one, ignoring ID's. |
void |
removeSignature(ISignature signatureToRemove)
Remove the given signature from this ConnectorType. |
void |
removeSignatures(Collection signatures)
Remove all the given signatures from this ConnectorType. |
void |
setDescription(IDescription value)
Set the description for this ConnectorType. |
void |
setId(String id)
Set the id attribute on this ConnectorType. |
void |
setSubArchitecture(ISubArchitecture value)
Set the subArchitecture for this ConnectorType. |
| 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 ConnectorType 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 ConnectorType,
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(IConnectorType ConnectorTypeToCheck)
ConnectorTypeToCheck - ConnectorType to compare with this
one.public boolean isEquivalent(IConnectorType ConnectorTypeToCheck)
ConnectorTypeToCheck - ConnectorType to compare to this one.
true if all the child elements of this
ConnectorType 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 | |||||||||