|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.types.ConnectorTypeImpl
edu.uci.isr.xarch.variants.VariantConnectorTypeImpl
edu.uci.isr.xarch.implementation.VariantConnectorTypeImplImpl
DOM-Based implementation of the IVariantConnectorTypeImpl interface.
| Field Summary | |
static String |
IMPLEMENTATION_ELT_NAME
Tag name for implementations in this object. |
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from class edu.uci.isr.xarch.variants.VariantConnectorTypeImpl |
VARIANT_ELT_NAME |
| Fields inherited from class edu.uci.isr.xarch.types.ConnectorTypeImpl |
DESCRIPTION_ELT_NAME, elt, ID_ATTR_NAME, SIGNATURE_ELT_NAME, SUB_ARCHITECTURE_ELT_NAME, xArch |
| Fields inherited from interface edu.uci.isr.xarch.implementation.IVariantConnectorTypeImpl |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
VariantConnectorTypeImplImpl(Element elt)
|
|
| Method Summary | |
void |
addImplementation(IImplementation newImplementation)
Add a implementation to this VariantConnectorTypeImpl. |
void |
addImplementations(Collection implementations)
Add a collection of implementations to this VariantConnectorTypeImpl. |
void |
clearImplementations()
Remove all implementations from this VariantConnectorTypeImpl. |
IXArchElement |
cloneElement(int depth)
|
Collection |
getAllImplementations()
Get all the implementations from this VariantConnectorTypeImpl. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
boolean |
hasAllImplementations(Collection implementationsToCheck)
Determine if this VariantConnectorTypeImpl contains each element in the given set of implementations. |
boolean |
hasImplementation(IImplementation implementationToCheck)
Determine if this VariantConnectorTypeImpl contains a given implementation. |
Collection |
hasImplementations(Collection implementationsToCheck)
Determine if this VariantConnectorTypeImpl contains the given set of implementations. |
boolean |
isEquivalent(IVariantConnectorTypeImpl c)
Determine if another VariantConnectorTypeImpl is equivalent to this one, ignoring ID's. |
void |
removeImplementation(IImplementation implementationToRemove)
Remove the given implementation from this VariantConnectorTypeImpl. |
void |
removeImplementations(Collection implementations)
Remove all the given implementations from this VariantConnectorTypeImpl. |
| Methods inherited from class edu.uci.isr.xarch.variants.VariantConnectorTypeImpl |
addVariant, addVariants, clearVariants, getAllVariants, hasAllVariants, hasVariant, hasVariants, isEquivalent, removeVariant, removeVariants |
| Methods inherited from class edu.uci.isr.xarch.types.ConnectorTypeImpl |
addSignature, addSignatures, clearDescription, clearId, clearSignatures, clearSubArchitecture, equals, getAllSignatures, getDescription, getDOMNode, getId, getSignature, getSignatures, getSubArchitecture, getXArch, hasAllSignatures, hasDescription, hashCode, hasId, hasSignature, hasSignatures, hasSubArchitecture, isEqual, isEquivalent, removeSignature, removeSignatures, setDescription, setDOMNode, setId, setSubArchitecture, setXArch |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.uci.isr.xarch.variants.IVariantConnectorType |
addVariant, addVariants, clearVariants, getAllVariants, hasAllVariants, hasVariant, hasVariants, isEquivalent, removeVariant, removeVariants |
| 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 |
getXArch, setXArch |
| Methods inherited from interface edu.uci.isr.xarch.DOMBased |
getDOMNode, setDOMNode |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
public static final String IMPLEMENTATION_ELT_NAME
| Constructor Detail |
public VariantConnectorTypeImplImpl(Element elt)
| Method Detail |
protected static SequenceOrder getSequenceOrder()
public IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementcloneElement in class VariantConnectorTypeImplpublic XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementgetTypeMetadata in class VariantConnectorTypeImplpublic XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementgetInstanceMetadata in class VariantConnectorTypeImplpublic void addImplementation(IImplementation newImplementation)
IVariantConnectorTypeImpl
addImplementation in interface IVariantConnectorTypeImplnewImplementation - implementation to add.public void addImplementations(Collection implementations)
IVariantConnectorTypeImpl
addImplementations in interface IVariantConnectorTypeImplimplementations - implementations to add.public void clearImplementations()
IVariantConnectorTypeImpl
clearImplementations in interface IVariantConnectorTypeImplpublic void removeImplementation(IImplementation implementationToRemove)
IVariantConnectorTypeImplisEquivalent(...) function.
removeImplementation in interface IVariantConnectorTypeImplimplementationToRemove - implementation to remove.public void removeImplementations(Collection implementations)
IVariantConnectorTypeImplisEquivalent(...) function.
removeImplementations in interface IVariantConnectorTypeImplimplementations - implementation to remove.public Collection getAllImplementations()
IVariantConnectorTypeImpl
getAllImplementations in interface IVariantConnectorTypeImplpublic boolean hasImplementation(IImplementation implementationToCheck)
IVariantConnectorTypeImpl
hasImplementation in interface IVariantConnectorTypeImpltrue if this VariantConnectorTypeImpl contains the given
implementationToCheck, false otherwise.public Collection hasImplementations(Collection implementationsToCheck)
IVariantConnectorTypeImpl
hasImplementations in interface IVariantConnectorTypeImplimplementationsToCheck - implementations to check for.
java.lang.Boolean. If the ith
element in implementations 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 hasAllImplementations(Collection implementationsToCheck)
IVariantConnectorTypeImpl
hasAllImplementations in interface IVariantConnectorTypeImplimplementationsToCheck - implementations to check for.
true if every element in
implementations is found in this VariantConnectorTypeImpl,
false otherwise.public boolean isEquivalent(IVariantConnectorTypeImpl c)
IVariantConnectorTypeImpl
isEquivalent in interface IVariantConnectorTypeImplc - VariantConnectorTypeImpl to compare to this one.
true if all the child elements of this
VariantConnectorTypeImpl 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 | |||||||||