|
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
VariantConnectorType xsi:type in the
variants namespace. Extends and
inherits the properties of the
ConnectorType xsi:type.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addVariant(IVariant newVariant)
Add a variant to this VariantConnectorType. |
void |
addVariants(Collection variants)
Add a collection of variants to this VariantConnectorType. |
void |
clearVariants()
Remove all variants from this VariantConnectorType. |
Collection |
getAllVariants()
Get all the variants from this VariantConnectorType. |
boolean |
hasAllVariants(Collection variantsToCheck)
Determine if this VariantConnectorType contains each element in the given set of variants. |
boolean |
hasVariant(IVariant variantToCheck)
Determine if this VariantConnectorType contains a given variant. |
Collection |
hasVariants(Collection variantsToCheck)
Determine if this VariantConnectorType contains the given set of variants. |
boolean |
isEquivalent(IVariantConnectorType VariantConnectorTypeToCheck)
Determine if another VariantConnectorType is equivalent to this one, ignoring ID's. |
void |
removeVariant(IVariant variantToRemove)
Remove the given variant from this VariantConnectorType. |
void |
removeVariants(Collection variants)
Remove all the given variants from this VariantConnectorType. |
| Methods inherited from interface edu.uci.isr.xarch.types.IConnectorType |
addSignature, addSignatures, clearDescription, clearId, clearSignatures, clearSubArchitecture, getAllSignatures, getDescription, getId, getSignature, getSignatures, getSubArchitecture, hasAllSignatures, hasDescription, hasId, hasSignature, hasSignatures, hasSubArchitecture, isEqual, isEquivalent, removeSignature, removeSignatures, setDescription, setId, setSubArchitecture |
| 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 addVariant(IVariant newVariant)
newVariant - variant to add.public void addVariants(Collection variants)
variants - variants to add.public void clearVariants()
public void removeVariant(IVariant variantToRemove)
isEquivalent(...) function.
variantToRemove - variant to remove.public void removeVariants(Collection variants)
isEquivalent(...) function.
variants - variant to remove.public Collection getAllVariants()
public boolean hasVariant(IVariant variantToCheck)
true if this VariantConnectorType contains the given
variantToCheck, false otherwise.public Collection hasVariants(Collection variantsToCheck)
variantsToCheck - variants to check for.
java.lang.Boolean. If the ith
element in variants 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 hasAllVariants(Collection variantsToCheck)
variantsToCheck - variants to check for.
true if every element in
variants is found in this VariantConnectorType,
false otherwise.public boolean isEquivalent(IVariantConnectorType VariantConnectorTypeToCheck)
VariantConnectorTypeToCheck - VariantConnectorType to compare to this one.
true if all the child elements of this
VariantConnectorType 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 | |||||||||