|
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.diff.DiffPartImpl
DOM-Based implementation of the IDiffPart interface.
| Field Summary | |
static String |
ADD_ELT_NAME
Tag name for adds in this object. |
protected Element |
elt
|
static String |
REMOVE_ELT_NAME
Tag name for removes in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.diff.IDiffPart |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
DiffPartImpl(Element elt)
|
|
| Method Summary | |
void |
clearAdd()
Clear the add from this DiffPart. |
void |
clearRemove()
Clear the remove from this DiffPart. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
IAdd |
getAdd()
Get the add from this DiffPart. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
IRemove |
getRemove()
Get the remove from this DiffPart. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAdd(IAdd value)
Determine if this DiffPart has the given add |
int |
hashCode()
|
boolean |
hasRemove(IRemove value)
Determine if this DiffPart has the given remove |
boolean |
isEquivalent(IDiffPart c)
Determine if another DiffPart is equivalent to this one, ignoring ID's. |
void |
setAdd(IAdd value)
Set the add for this DiffPart. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setRemove(IRemove value)
Set the remove for this DiffPart. |
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 ADD_ELT_NAME
public static final String REMOVE_ELT_NAME
protected Element elt
| Constructor Detail |
public DiffPartImpl(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 setAdd(IAdd value)
IDiffPart
setAdd in interface IDiffPartvalue - new addpublic void clearAdd()
IDiffPart
clearAdd in interface IDiffPartpublic IAdd getAdd()
IDiffPart
getAdd in interface IDiffPartpublic boolean hasAdd(IAdd value)
IDiffPart
hasAdd in interface IDiffPartvalue - add to compare
true if the adds are equivalent,
false otherwisepublic void setRemove(IRemove value)
IDiffPart
setRemove in interface IDiffPartvalue - new removepublic void clearRemove()
IDiffPart
clearRemove in interface IDiffPartpublic IRemove getRemove()
IDiffPart
getRemove in interface IDiffPartpublic boolean hasRemove(IRemove value)
IDiffPart
hasRemove in interface IDiffPartvalue - remove to compare
true if the removes are equivalent,
false otherwisepublic boolean isEquivalent(IDiffPart c)
IDiffPart
isEquivalent in interface IDiffPartc - DiffPart to compare to this one.
true if all the child elements of this
DiffPart 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 | |||||||||