xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.pladiff
Class AddInterfaceImpl

java.lang.Object
  extended byedu.uci.isr.xarch.pladiff.AddInterfaceImpl
All Implemented Interfaces:
DOMBased, IAddInterface, IXArchElement

public class AddInterfaceImpl
extends Object
implements IAddInterface, DOMBased

DOM-Based implementation of the IAddInterface interface.

Author:
Automatically generated by xArch apigen.

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

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

xArch

protected IXArch xArch

ELEMENT_DESCRIPTION_ELT_NAME

public static final String ELEMENT_DESCRIPTION_ELT_NAME
Tag name for elementDescriptions in this object.

See Also:
Constant Field Values

INTERFACE_ELT_NAME

public static final String INTERFACE_ELT_NAME
Tag name for interfaces in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

AddInterfaceImpl

public AddInterfaceImpl(Element elt)
Method Detail

getDOMNode

public Node getDOMNode()
Description copied from interface: DOMBased
Gets the DOM node on which this implementation is based.

Specified by:
getDOMNode in interface DOMBased
Returns:
DOM node

setDOMNode

public void setDOMNode(Node node)
Description copied from interface: DOMBased
Sets the DOM node on which this implementation is based.

Specified by:
setDOMNode in interface DOMBased
Parameters:
node - DOM node

getSequenceOrder

protected static SequenceOrder getSequenceOrder()

setXArch

public void setXArch(IXArch xArch)
Specified by:
setXArch in interface IXArchElement

getXArch

public IXArch getXArch()
Specified by:
getXArch in interface IXArchElement

cloneElement

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

equals

public boolean equals(Object o)

hashCode

public int hashCode()

getTypeMetadata

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

Specified by:
getTypeMetadata in interface IXArchElement
Returns:
metadata describing the xsi:type of this element.

getInstanceMetadata

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

Specified by:
getInstanceMetadata in interface IXArchElement
Returns:
metadata describing the instance of this element.

setElementDescription

public void setElementDescription(IDescription value)
Description copied from interface: IAddInterface
Set the elementDescription for this AddInterface.

Specified by:
setElementDescription in interface IAddInterface
Parameters:
value - new elementDescription

clearElementDescription

public void clearElementDescription()
Description copied from interface: IAddInterface
Clear the elementDescription from this AddInterface.

Specified by:
clearElementDescription in interface IAddInterface

getElementDescription

public IDescription getElementDescription()
Description copied from interface: IAddInterface
Get the elementDescription from this AddInterface.

Specified by:
getElementDescription in interface IAddInterface
Returns:
elementDescription

hasElementDescription

public boolean hasElementDescription(IDescription value)
Description copied from interface: IAddInterface
Determine if this AddInterface has the given elementDescription

Specified by:
hasElementDescription in interface IAddInterface
Parameters:
value - elementDescription to compare
Returns:
true if the elementDescriptions are equivalent, false otherwise

setInterface

public void setInterface(IInterface value)
Description copied from interface: IAddInterface
Set the interface for this AddInterface.

Specified by:
setInterface in interface IAddInterface
Parameters:
value - new interface

clearInterface

public void clearInterface()
Description copied from interface: IAddInterface
Clear the interface from this AddInterface.

Specified by:
clearInterface in interface IAddInterface

getInterface

public IInterface getInterface()
Description copied from interface: IAddInterface
Get the interface from this AddInterface.

Specified by:
getInterface in interface IAddInterface
Returns:
interface

hasInterface

public boolean hasInterface(IInterface value)
Description copied from interface: IAddInterface
Determine if this AddInterface has the given interface

Specified by:
hasInterface in interface IAddInterface
Parameters:
value - interface to compare
Returns:
true if the interfaces are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library