|
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.pladiff.AddInterfaceImpl
DOM-Based implementation of the IAddInterface interface.
| Field Summary | |
static String |
ELEMENT_DESCRIPTION_ELT_NAME
Tag name for elementDescriptions in this object. |
protected Element |
elt
|
static String |
INTERFACE_ELT_NAME
Tag name for interfaces in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.pladiff.IAddInterface |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
AddInterfaceImpl(Element elt)
|
|
| Method Summary | |
void |
clearElementDescription()
Clear the elementDescription from this AddInterface. |
void |
clearInterface()
Clear the interface from this AddInterface. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
IDescription |
getElementDescription()
Get the elementDescription from this AddInterface. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
IInterface |
getInterface()
Get the interface from this AddInterface. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasElementDescription(IDescription value)
Determine if this AddInterface has the given elementDescription |
int |
hashCode()
|
boolean |
hasInterface(IInterface value)
Determine if this AddInterface has the given interface |
boolean |
isEquivalent(IAddInterface c)
Determine if another AddInterface is equivalent to this one, ignoring ID's. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setElementDescription(IDescription value)
Set the elementDescription for this AddInterface. |
void |
setInterface(IInterface value)
Set the interface for this AddInterface. |
void |
setXArch(IXArch xArch)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
public static final String ELEMENT_DESCRIPTION_ELT_NAME
public static final String INTERFACE_ELT_NAME
protected Element elt
| Constructor Detail |
public AddInterfaceImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodeprotected static SequenceOrder getSequenceOrder()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementpublic IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic boolean equals(Object o)
public int hashCode()
public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementpublic void setElementDescription(IDescription value)
IAddInterface
setElementDescription in interface IAddInterfacevalue - new elementDescriptionpublic void clearElementDescription()
IAddInterface
clearElementDescription in interface IAddInterfacepublic IDescription getElementDescription()
IAddInterface
getElementDescription in interface IAddInterfacepublic boolean hasElementDescription(IDescription value)
IAddInterface
hasElementDescription in interface IAddInterfacevalue - elementDescription to compare
true if the elementDescriptions are equivalent,
false otherwisepublic void setInterface(IInterface value)
IAddInterface
setInterface in interface IAddInterfacevalue - new interfacepublic void clearInterface()
IAddInterface
clearInterface in interface IAddInterfacepublic IInterface getInterface()
IAddInterface
getInterface in interface IAddInterfacepublic boolean hasInterface(IInterface value)
IAddInterface
hasInterface in interface IAddInterfacevalue - interface to compare
true if the interfaces are equivalent,
false otherwisepublic boolean isEquivalent(IAddInterface c)
IAddInterface
isEquivalent in interface IAddInterfacec - AddInterface to compare to this one.
true if all the child elements of this
AddInterface 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 | |||||||||