|
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.PLADiffImpl
DOM-Based implementation of the IPLADiff interface.
| 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 |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
public static final String DIFF_PART_ELT_NAME
protected Element elt
| Constructor Detail |
public PLADiffImpl(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 setDiffPart(IDiffPart value)
IPLADiff
setDiffPart in interface IPLADiffvalue - new diffPartpublic void clearDiffPart()
IPLADiff
clearDiffPart in interface IPLADiffpublic IDiffPart getDiffPart()
IPLADiff
getDiffPart in interface IPLADiffpublic boolean hasDiffPart(IDiffPart value)
IPLADiff
hasDiffPart in interface IPLADiffvalue - diffPart to compare
true if the diffParts are equivalent,
false otherwisepublic boolean isEquivalent(IPLADiff c)
IPLADiff
isEquivalent in interface IPLADiffc - PLADiff to compare to this one.
true if all the child elements of this
PLADiff 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 | |||||||||