|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for accessing objects of the
Diff xsi:type in the
diff namespace.
| Field Summary | |
static XArchTypeMetadata |
TYPE_METADATA
|
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Method Summary | |
void |
addDiffPart(IDiffPart newDiffPart)
Add a diffPart to this Diff. |
void |
addDiffParts(Collection diffParts)
Add a collection of diffParts to this Diff. |
void |
clearDiffParts()
Remove all diffParts from this Diff. |
Collection |
getAllDiffParts()
Get all the diffParts from this Diff. |
boolean |
hasAllDiffParts(Collection diffPartsToCheck)
Determine if this Diff contains each element in the given set of diffParts. |
boolean |
hasDiffPart(IDiffPart diffPartToCheck)
Determine if this Diff contains a given diffPart. |
Collection |
hasDiffParts(Collection diffPartsToCheck)
Determine if this Diff contains the given set of diffParts. |
boolean |
isEquivalent(IDiff DiffToCheck)
Determine if another Diff is equivalent to this one, ignoring ID's. |
void |
removeDiffPart(IDiffPart diffPartToRemove)
Remove the given diffPart from this Diff. |
void |
removeDiffParts(Collection diffParts)
Remove all the given diffParts from this Diff. |
| Methods inherited from interface edu.uci.isr.xarch.IXArchElement |
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch |
| Field Detail |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public void addDiffPart(IDiffPart newDiffPart)
newDiffPart - diffPart to add.public void addDiffParts(Collection diffParts)
diffParts - diffParts to add.public void clearDiffParts()
public void removeDiffPart(IDiffPart diffPartToRemove)
isEquivalent(...) function.
diffPartToRemove - diffPart to remove.public void removeDiffParts(Collection diffParts)
isEquivalent(...) function.
diffParts - diffPart to remove.public Collection getAllDiffParts()
public boolean hasDiffPart(IDiffPart diffPartToCheck)
true if this Diff contains the given
diffPartToCheck, false otherwise.public Collection hasDiffParts(Collection diffPartsToCheck)
diffPartsToCheck - diffParts to check for.
java.lang.Boolean. If the ith
element in diffParts was found, then the ith
element of the collection will be set to true, otherwise it
will be set to false. Matching is done with the
isEquivalent(...) method.public boolean hasAllDiffParts(Collection diffPartsToCheck)
diffPartsToCheck - diffParts to check for.
true if every element in
diffParts is found in this Diff,
false otherwise.public boolean isEquivalent(IDiff DiffToCheck)
DiffToCheck - Diff to compare to this one.
true if all the child elements of this
Diff 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 | |||||||||