xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.implementation
Interface IVariantConnectorTypeImpl

All Superinterfaces:
IConnectorType, IVariantConnectorType, IXArchElement
All Known Subinterfaces:
IVariantConnectorTypeImplVers, IVariantConnectorTypeImplVersSpec
All Known Implementing Classes:
VariantConnectorTypeImplImpl, VariantConnectorTypeImplVersImpl, VariantConnectorTypeImplVersSpecImpl

public interface IVariantConnectorTypeImpl
extends IVariantConnectorType, IXArchElement

Interface for accessing objects of the VariantConnectorTypeImpl xsi:type in the implementation namespace. Extends and inherits the properties of the VariantConnectorType xsi:type.

Author:
xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
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.
 Collection getAllImplementations()
          Get all the implementations from this VariantConnectorTypeImpl.
 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 VariantConnectorTypeImplToCheck)
          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 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
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch
 

Field Detail

TYPE_METADATA

public static final XArchTypeMetadata TYPE_METADATA
Method Detail

addImplementation

public void addImplementation(IImplementation newImplementation)
Add a implementation to this VariantConnectorTypeImpl.

Parameters:
newImplementation - implementation to add.

addImplementations

public void addImplementations(Collection implementations)
Add a collection of implementations to this VariantConnectorTypeImpl.

Parameters:
implementations - implementations to add.

clearImplementations

public void clearImplementations()
Remove all implementations from this VariantConnectorTypeImpl.


removeImplementation

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

Parameters:
implementationToRemove - implementation to remove.

removeImplementations

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

Parameters:
implementations - implementation to remove.

getAllImplementations

public Collection getAllImplementations()
Get all the implementations from this VariantConnectorTypeImpl.

Returns:
all implementations in this VariantConnectorTypeImpl.

hasImplementation

public boolean hasImplementation(IImplementation implementationToCheck)
Determine if this VariantConnectorTypeImpl contains a given implementation.

Returns:
true if this VariantConnectorTypeImpl contains the given implementationToCheck, false otherwise.

hasImplementations

public Collection hasImplementations(Collection implementationsToCheck)
Determine if this VariantConnectorTypeImpl contains the given set of implementations.

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)
Determine if this VariantConnectorTypeImpl contains each element in the given set of implementations.

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 VariantConnectorTypeImplToCheck)
Determine if another VariantConnectorTypeImpl is equivalent to this one, ignoring ID's.

Parameters:
VariantConnectorTypeImplToCheck - 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