|
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.InterfaceTypeImpl
edu.uci.isr.xarch.implementation.InterfaceTypeImplImpl
DOM-Based implementation of the IInterfaceTypeImpl 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.types.InterfaceTypeImpl |
DESCRIPTION_ELT_NAME, elt, ID_ATTR_NAME, xArch |
| Fields inherited from interface edu.uci.isr.xarch.implementation.IInterfaceTypeImpl |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
InterfaceTypeImplImpl(Element elt)
|
|
| Method Summary | |
void |
addImplementation(IImplementation newImplementation)
Add a implementation to this InterfaceTypeImpl. |
void |
addImplementations(Collection implementations)
Add a collection of implementations to this InterfaceTypeImpl. |
void |
clearImplementations()
Remove all implementations from this InterfaceTypeImpl. |
IXArchElement |
cloneElement(int depth)
|
Collection |
getAllImplementations()
Get all the implementations from this InterfaceTypeImpl. |
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 InterfaceTypeImpl contains each element in the given set of implementations. |
boolean |
hasImplementation(IImplementation implementationToCheck)
Determine if this InterfaceTypeImpl contains a given implementation. |
Collection |
hasImplementations(Collection implementationsToCheck)
Determine if this InterfaceTypeImpl contains the given set of implementations. |
boolean |
isEquivalent(IInterfaceTypeImpl c)
Determine if another InterfaceTypeImpl is equivalent to this one, ignoring ID's. |
void |
removeImplementation(IImplementation implementationToRemove)
Remove the given implementation from this InterfaceTypeImpl. |
void |
removeImplementations(Collection implementations)
Remove all the given implementations from this InterfaceTypeImpl. |
| Methods inherited from class edu.uci.isr.xarch.types.InterfaceTypeImpl |
clearDescription, clearId, equals, getDescription, getDOMNode, getId, getXArch, hasDescription, hashCode, hasId, isEqual, isEquivalent, setDescription, setDOMNode, setId, 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.types.IInterfaceType |
clearDescription, clearId, getDescription, getId, hasDescription, hasId, isEqual, isEquivalent, setDescription, setId |
| 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 InterfaceTypeImplImpl(Element elt)
| Method Detail |
protected static SequenceOrder getSequenceOrder()
public IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementcloneElement in class InterfaceTypeImplpublic XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementgetTypeMetadata in class InterfaceTypeImplpublic XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementgetInstanceMetadata in class InterfaceTypeImplpublic void addImplementation(IImplementation newImplementation)
IInterfaceTypeImpl
addImplementation in interface IInterfaceTypeImplnewImplementation - implementation to add.public void addImplementations(Collection implementations)
IInterfaceTypeImpl
addImplementations in interface IInterfaceTypeImplimplementations - implementations to add.public void clearImplementations()
IInterfaceTypeImpl
clearImplementations in interface IInterfaceTypeImplpublic void removeImplementation(IImplementation implementationToRemove)
IInterfaceTypeImplisEquivalent(...) function.
removeImplementation in interface IInterfaceTypeImplimplementationToRemove - implementation to remove.public void removeImplementations(Collection implementations)
IInterfaceTypeImplisEquivalent(...) function.
removeImplementations in interface IInterfaceTypeImplimplementations - implementation to remove.public Collection getAllImplementations()
IInterfaceTypeImpl
getAllImplementations in interface IInterfaceTypeImplpublic boolean hasImplementation(IImplementation implementationToCheck)
IInterfaceTypeImpl
hasImplementation in interface IInterfaceTypeImpltrue if this InterfaceTypeImpl contains the given
implementationToCheck, false otherwise.public Collection hasImplementations(Collection implementationsToCheck)
IInterfaceTypeImpl
hasImplementations in interface IInterfaceTypeImplimplementationsToCheck - 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)
IInterfaceTypeImpl
hasAllImplementations in interface IInterfaceTypeImplimplementationsToCheck - implementations to check for.
true if every element in
implementations is found in this InterfaceTypeImpl,
false otherwise.public boolean isEquivalent(IInterfaceTypeImpl c)
IInterfaceTypeImpl
isEquivalent in interface IInterfaceTypeImplc - InterfaceTypeImpl to compare to this one.
true if all the child elements of this
InterfaceTypeImpl 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 | |||||||||