xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.pladiff
Class AddImpl

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

public class AddImpl
extends Object
implements IAdd, DOMBased

DOM-Based implementation of the IAdd interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String ADD_STRUCTURAL_ENTITY_ELT_NAME
          Tag name for addStructuralEntitys in this object.
static String ADD_TYPE_ENTITY_ELT_NAME
          Tag name for addTypeEntitys in this object.
protected  Element elt
           
protected  IXArch xArch
           
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from interface edu.uci.isr.xarch.pladiff.IAdd
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
AddImpl(Element elt)
           
 
Method Summary
 void clearAddStructuralEntity()
          Clear the addStructuralEntity from this Add.
 void clearAddTypeEntity()
          Clear the addTypeEntity from this Add.
 IXArchElement cloneElement(int depth)
           
 boolean equals(Object o)
           
 IAddStructuralEntity getAddStructuralEntity()
          Get the addStructuralEntity from this Add.
 IAddTypeEntity getAddTypeEntity()
          Get the addTypeEntity from this Add.
 Node getDOMNode()
          Gets the DOM node on which this implementation is based.
 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.
 IXArch getXArch()
           
 boolean hasAddStructuralEntity(IAddStructuralEntity value)
          Determine if this Add has the given addStructuralEntity
 boolean hasAddTypeEntity(IAddTypeEntity value)
          Determine if this Add has the given addTypeEntity
 int hashCode()
           
 boolean isEquivalent(IAdd c)
          Determine if another Add is equivalent to this one, ignoring ID's.
 void setAddStructuralEntity(IAddStructuralEntity value)
          Set the addStructuralEntity for this Add.
 void setAddTypeEntity(IAddTypeEntity value)
          Set the addTypeEntity for this Add.
 void setDOMNode(Node node)
          Sets the DOM node on which this implementation is based.
 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

ADD_STRUCTURAL_ENTITY_ELT_NAME

public static final String ADD_STRUCTURAL_ENTITY_ELT_NAME
Tag name for addStructuralEntitys in this object.

See Also:
Constant Field Values

ADD_TYPE_ENTITY_ELT_NAME

public static final String ADD_TYPE_ENTITY_ELT_NAME
Tag name for addTypeEntitys in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

AddImpl

public AddImpl(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.

setAddStructuralEntity

public void setAddStructuralEntity(IAddStructuralEntity value)
Description copied from interface: IAdd
Set the addStructuralEntity for this Add.

Specified by:
setAddStructuralEntity in interface IAdd
Parameters:
value - new addStructuralEntity

clearAddStructuralEntity

public void clearAddStructuralEntity()
Description copied from interface: IAdd
Clear the addStructuralEntity from this Add.

Specified by:
clearAddStructuralEntity in interface IAdd

getAddStructuralEntity

public IAddStructuralEntity getAddStructuralEntity()
Description copied from interface: IAdd
Get the addStructuralEntity from this Add.

Specified by:
getAddStructuralEntity in interface IAdd
Returns:
addStructuralEntity

hasAddStructuralEntity

public boolean hasAddStructuralEntity(IAddStructuralEntity value)
Description copied from interface: IAdd
Determine if this Add has the given addStructuralEntity

Specified by:
hasAddStructuralEntity in interface IAdd
Parameters:
value - addStructuralEntity to compare
Returns:
true if the addStructuralEntitys are equivalent, false otherwise

setAddTypeEntity

public void setAddTypeEntity(IAddTypeEntity value)
Description copied from interface: IAdd
Set the addTypeEntity for this Add.

Specified by:
setAddTypeEntity in interface IAdd
Parameters:
value - new addTypeEntity

clearAddTypeEntity

public void clearAddTypeEntity()
Description copied from interface: IAdd
Clear the addTypeEntity from this Add.

Specified by:
clearAddTypeEntity in interface IAdd

getAddTypeEntity

public IAddTypeEntity getAddTypeEntity()
Description copied from interface: IAdd
Get the addTypeEntity from this Add.

Specified by:
getAddTypeEntity in interface IAdd
Returns:
addTypeEntity

hasAddTypeEntity

public boolean hasAddTypeEntity(IAddTypeEntity value)
Description copied from interface: IAdd
Determine if this Add has the given addTypeEntity

Specified by:
hasAddTypeEntity in interface IAdd
Parameters:
value - addTypeEntity to compare
Returns:
true if the addTypeEntitys are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library