xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.implementation
Interface IVariantComponentTypeImpl

All Superinterfaces:
IComponentType, IVariantComponentType, IXArchElement
All Known Subinterfaces:
IVariantComponentTypeImplVers, IVariantComponentTypeImplVersSpec
All Known Implementing Classes:
VariantComponentTypeImplImpl, VariantComponentTypeImplVersImpl, VariantComponentTypeImplVersSpecImpl

public interface IVariantComponentTypeImpl
extends IVariantComponentType, IXArchElement

Interface for accessing objects of the VariantComponentTypeImpl xsi:type in the implementation namespace. Extends and inherits the properties of the VariantComponentType 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 VariantComponentTypeImpl.
 void addImplementations(Collection implementations)
          Add a collection of implementations to this VariantComponentTypeImpl.
 void clearImplementations()
          Remove all implementations from this VariantComponentTypeImpl.
 Collection getAllImplementations()
          Get all the implementations from this VariantComponentTypeImpl.
 boolean hasAllImplementations(Collection implementationsToCheck)
          Determine if this VariantComponentTypeImpl contains each element in the given set of implementations.
 boolean hasImplementation(IImplementation implementationToCheck)
          Determine if this VariantComponentTypeImpl contains a given implementation.
 Collection hasImplementations(Collection implementationsToCheck)
          Determine if this VariantComponentTypeImpl contains the given set of implementations.
 boolean isEquivalent(IVariantComponentTypeImpl VariantComponentTypeImplToCheck)
          Determine if another VariantComponentTypeImpl is equivalent to this one, ignoring ID's.
 void removeImplementation(IImplementation implementationToRemove)
          Remove the given implementation from this VariantComponentTypeImpl.
 void removeImplementations(Collection implementations)
          Remove all the given implementations from this VariantComponentTypeImpl.
 
Methods inherited from interface edu.uci.isr.xarch.variants.IVariantComponentType
addVariant, addVariants, clearVariants, getAllVariants, hasAllVariants, hasVariant, hasVariants, isEquivalent, removeVariant, removeVariants
 
Methods inherited from interface edu.uci.isr.xarch.types.IComponentType
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 VariantComponentTypeImpl.

Parameters:
newImplementation - implementation to add.

addImplementations

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

Parameters:
implementations - implementations to add.

clearImplementations

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


removeImplementation

public void removeImplementation(IImplementation implementationToRemove)
Remove the given implementation from this VariantComponentTypeImpl. 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 VariantComponentTypeImpl. Matching is done by the isEquivalent(...) function.

Parameters:
implementations - implementation to remove.

getAllImplementations

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

Returns:
all implementations in this VariantComponentTypeImpl.

hasImplementation

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

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

hasImplementations

public Collection hasImplementations(Collection implementationsToCheck)
Determine if this VariantComponentTypeImpl 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 VariantComponentTypeImpl 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 VariantComponentTypeImpl, false otherwise.

isEquivalent

public boolean isEquivalent(IVariantComponentTypeImpl VariantComponentTypeImplToCheck)
Determine if another VariantComponentTypeImpl is equivalent to this one, ignoring ID's.

Parameters:
VariantComponentTypeImplToCheck - VariantComponentTypeImpl to compare to this one.
Returns:
true if all the child elements of this VariantComponentTypeImpl are equivalent, false otherwise.

xArch/xADL 2.0 Data Binding Library