xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.pladiff
Class PLADiffImpl

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

public class PLADiffImpl
extends Object
implements IPLADiff, DOMBased

DOM-Based implementation of the IPLADiff interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String DIFF_PART_ELT_NAME
          Tag name for diffParts 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.IPLADiff
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
PLADiffImpl(Element elt)
           
 
Method Summary
 void clearDiffPart()
          Clear the diffPart from this PLADiff.
 IXArchElement cloneElement(int depth)
           
 boolean equals(Object o)
           
 IDiffPart getDiffPart()
          Get the diffPart from this PLADiff.
 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 hasDiffPart(IDiffPart value)
          Determine if this PLADiff has the given diffPart
 int hashCode()
           
 boolean isEquivalent(IPLADiff c)
          Determine if another PLADiff is equivalent to this one, ignoring ID's.
 void setDiffPart(IDiffPart value)
          Set the diffPart for this PLADiff.
 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

DIFF_PART_ELT_NAME

public static final String DIFF_PART_ELT_NAME
Tag name for diffParts in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

PLADiffImpl

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

setDiffPart

public void setDiffPart(IDiffPart value)
Description copied from interface: IPLADiff
Set the diffPart for this PLADiff.

Specified by:
setDiffPart in interface IPLADiff
Parameters:
value - new diffPart

clearDiffPart

public void clearDiffPart()
Description copied from interface: IPLADiff
Clear the diffPart from this PLADiff.

Specified by:
clearDiffPart in interface IPLADiff

getDiffPart

public IDiffPart getDiffPart()
Description copied from interface: IPLADiff
Get the diffPart from this PLADiff.

Specified by:
getDiffPart in interface IPLADiff
Returns:
diffPart

hasDiffPart

public boolean hasDiffPart(IDiffPart value)
Description copied from interface: IPLADiff
Determine if this PLADiff has the given diffPart

Specified by:
hasDiffPart in interface IPLADiff
Parameters:
value - diffPart to compare
Returns:
true if the diffParts are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library