xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.implementation
Class VariantConnectorTypeImplImpl

java.lang.Object
  extended byedu.uci.isr.xarch.types.ConnectorTypeImpl
      extended byedu.uci.isr.xarch.variants.VariantConnectorTypeImpl
          extended byedu.uci.isr.xarch.implementation.VariantConnectorTypeImplImpl
All Implemented Interfaces:
DOMBased, IConnectorType, IVariantConnectorType, IVariantConnectorTypeImpl, IXArchElement
Direct Known Subclasses:
VariantConnectorTypeImplVersImpl

public class VariantConnectorTypeImplImpl
extends VariantConnectorTypeImpl
implements IVariantConnectorTypeImpl, IVariantConnectorType, DOMBased

DOM-Based implementation of the IVariantConnectorTypeImpl interface.

Author:
Automatically generated by xArch apigen.

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

XSD_TYPE_NSURI

public static final String XSD_TYPE_NSURI
See Also:
Constant Field Values

XSD_TYPE_NAME

public static final String XSD_TYPE_NAME
See Also:
Constant Field Values

IMPLEMENTATION_ELT_NAME

public static final String IMPLEMENTATION_ELT_NAME
Tag name for implementations in this object.

See Also:
Constant Field Values
Constructor Detail

VariantConnectorTypeImplImpl

public VariantConnectorTypeImplImpl(Element elt)
Method Detail

getSequenceOrder

protected static SequenceOrder getSequenceOrder()

cloneElement

public IXArchElement cloneElement(int depth)
Specified by:
cloneElement in interface IXArchElement
Overrides:
cloneElement in class VariantConnectorTypeImpl

getTypeMetadata

public XArchTypeMetadata getTypeMetadata()
Description copied from interface: IXArchElement
Gets metadata describing the xsi:type of this element.

Specified by:
getTypeMetadata in interface IXArchElement
Overrides:
getTypeMetadata in class VariantConnectorTypeImpl

getInstanceMetadata

public XArchInstanceMetadata getInstanceMetadata()
Description copied from interface: IXArchElement
Gets metadata describing the instance of this element.

Specified by:
getInstanceMetadata in interface IXArchElement
Overrides:
getInstanceMetadata in class VariantConnectorTypeImpl

addImplementation

public void addImplementation(IImplementation newImplementation)
Description copied from interface: IVariantConnectorTypeImpl
Add a implementation to this VariantConnectorTypeImpl.

Specified by:
addImplementation in interface IVariantConnectorTypeImpl
Parameters:
newImplementation - implementation to add.

addImplementations

public void addImplementations(Collection implementations)
Description copied from interface: IVariantConnectorTypeImpl
Add a collection of implementations to this VariantConnectorTypeImpl.

Specified by:
addImplementations in interface IVariantConnectorTypeImpl
Parameters:
implementations - implementations to add.

clearImplementations

public void clearImplementations()
Description copied from interface: IVariantConnectorTypeImpl
Remove all implementations from this VariantConnectorTypeImpl.

Specified by:
clearImplementations in interface IVariantConnectorTypeImpl

removeImplementation

public void removeImplementation(IImplementation implementationToRemove)
Description copied from interface: IVariantConnectorTypeImpl
Remove the given implementation from this VariantConnectorTypeImpl. Matching is done by the isEquivalent(...) function.

Specified by:
removeImplementation in interface IVariantConnectorTypeImpl
Parameters:
implementationToRemove - implementation to remove.

removeImplementations

public void removeImplementations(Collection implementations)
Description copied from interface: IVariantConnectorTypeImpl
Remove all the given implementations from this VariantConnectorTypeImpl. Matching is done by the isEquivalent(...) function.

Specified by:
removeImplementations in interface IVariantConnectorTypeImpl
Parameters:
implementations - implementation to remove.

getAllImplementations

public Collection getAllImplementations()
Description copied from interface: IVariantConnectorTypeImpl
Get all the implementations from this VariantConnectorTypeImpl.

Specified by:
getAllImplementations in interface IVariantConnectorTypeImpl
Returns:
all implementations in this VariantConnectorTypeImpl.

hasImplementation

public boolean hasImplementation(IImplementation implementationToCheck)
Description copied from interface: IVariantConnectorTypeImpl
Determine if this VariantConnectorTypeImpl contains a given implementation.

Specified by:
hasImplementation in interface IVariantConnectorTypeImpl
Returns:
true if this VariantConnectorTypeImpl contains the given implementationToCheck, false otherwise.

hasImplementations

public Collection hasImplementations(Collection implementationsToCheck)
Description copied from interface: IVariantConnectorTypeImpl
Determine if this VariantConnectorTypeImpl contains the given set of implementations.

Specified by:
hasImplementations in interface IVariantConnectorTypeImpl
Parameters:
implementationsToCheck - implementations to check for.
Returns:
Collection of 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.

hasAllImplementations

public boolean hasAllImplementations(Collection implementationsToCheck)
Description copied from interface: IVariantConnectorTypeImpl
Determine if this VariantConnectorTypeImpl contains each element in the given set of implementations.

Specified by:
hasAllImplementations in interface IVariantConnectorTypeImpl
Parameters:
implementationsToCheck - implementations to check for.
Returns:
true if every element in implementations is found in this VariantConnectorTypeImpl, false otherwise.

isEquivalent

public boolean isEquivalent(IVariantConnectorTypeImpl c)
Description copied from interface: IVariantConnectorTypeImpl
Determine if another VariantConnectorTypeImpl is equivalent to this one, ignoring ID's.

Specified by:
isEquivalent in interface IVariantConnectorTypeImpl
Parameters:
c - VariantConnectorTypeImpl to compare to this one.
Returns:
true if all the child elements of this VariantConnectorTypeImpl are equivalent, false otherwise.

xArch/xADL 2.0 Data Binding Library