|
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
DiffPart xsi:type in the
pladiff 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 |
addAdd(IAdd newAdd)
Add a add to this DiffPart. |
void |
addAdds(Collection adds)
Add a collection of adds to this DiffPart. |
void |
addDiffPart(IDiffPart newDiffPart)
Add a diffPart to this DiffPart. |
void |
addDiffParts(Collection diffParts)
Add a collection of diffParts to this DiffPart. |
void |
addRemove(IRemove newRemove)
Add a remove to this DiffPart. |
void |
addRemoves(Collection removes)
Add a collection of removes to this DiffPart. |
void |
clearAdds()
Remove all adds from this DiffPart. |
void |
clearDiffLocation()
Clear the diffLocation from this DiffPart. |
void |
clearDiffParts()
Remove all diffParts from this DiffPart. |
void |
clearRemoves()
Remove all removes from this DiffPart. |
Collection |
getAllAdds()
Get all the adds from this DiffPart. |
Collection |
getAllDiffParts()
Get all the diffParts from this DiffPart. |
Collection |
getAllRemoves()
Get all the removes from this DiffPart. |
IDiffLocation |
getDiffLocation()
Get the diffLocation from this DiffPart. |
boolean |
hasAdd(IAdd addToCheck)
Determine if this DiffPart contains a given add. |
Collection |
hasAdds(Collection addsToCheck)
Determine if this DiffPart contains the given set of adds. |
boolean |
hasAllAdds(Collection addsToCheck)
Determine if this DiffPart contains each element in the given set of adds. |
boolean |
hasAllDiffParts(Collection diffPartsToCheck)
Determine if this DiffPart contains each element in the given set of diffParts. |
boolean |
hasAllRemoves(Collection removesToCheck)
Determine if this DiffPart contains each element in the given set of removes. |
boolean |
hasDiffLocation(IDiffLocation diffLocationToCheck)
Determine if this DiffPart has the given diffLocation |
boolean |
hasDiffPart(IDiffPart diffPartToCheck)
Determine if this DiffPart contains a given diffPart. |
Collection |
hasDiffParts(Collection diffPartsToCheck)
Determine if this DiffPart contains the given set of diffParts. |
boolean |
hasRemove(IRemove removeToCheck)
Determine if this DiffPart contains a given remove. |
Collection |
hasRemoves(Collection removesToCheck)
Determine if this DiffPart contains the given set of removes. |
boolean |
isEquivalent(IDiffPart DiffPartToCheck)
Determine if another DiffPart is equivalent to this one, ignoring ID's. |
void |
removeAdd(IAdd addToRemove)
Remove the given add from this DiffPart. |
void |
removeAdds(Collection adds)
Remove all the given adds from this DiffPart. |
void |
removeDiffPart(IDiffPart diffPartToRemove)
Remove the given diffPart from this DiffPart. |
void |
removeDiffParts(Collection diffParts)
Remove all the given diffParts from this DiffPart. |
void |
removeRemove(IRemove removeToRemove)
Remove the given remove from this DiffPart. |
void |
removeRemoves(Collection removes)
Remove all the given removes from this DiffPart. |
void |
setDiffLocation(IDiffLocation value)
Set the diffLocation for this DiffPart. |
| 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 setDiffLocation(IDiffLocation value)
value - new diffLocationpublic void clearDiffLocation()
public IDiffLocation getDiffLocation()
public boolean hasDiffLocation(IDiffLocation diffLocationToCheck)
diffLocationToCheck - diffLocation to compare
true if the diffLocations are equivalent,
false otherwisepublic void addAdd(IAdd newAdd)
newAdd - add to add.public void addAdds(Collection adds)
adds - adds to add.public void clearAdds()
public void removeAdd(IAdd addToRemove)
isEquivalent(...) function.
addToRemove - add to remove.public void removeAdds(Collection adds)
isEquivalent(...) function.
adds - add to remove.public Collection getAllAdds()
public boolean hasAdd(IAdd addToCheck)
true if this DiffPart contains the given
addToCheck, false otherwise.public Collection hasAdds(Collection addsToCheck)
addsToCheck - adds to check for.
java.lang.Boolean. If the ith
element in adds 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 hasAllAdds(Collection addsToCheck)
addsToCheck - adds to check for.
true if every element in
adds is found in this DiffPart,
false otherwise.public void addRemove(IRemove newRemove)
newRemove - remove to add.public void addRemoves(Collection removes)
removes - removes to add.public void clearRemoves()
public void removeRemove(IRemove removeToRemove)
isEquivalent(...) function.
removeToRemove - remove to remove.public void removeRemoves(Collection removes)
isEquivalent(...) function.
removes - remove to remove.public Collection getAllRemoves()
public boolean hasRemove(IRemove removeToCheck)
true if this DiffPart contains the given
removeToCheck, false otherwise.public Collection hasRemoves(Collection removesToCheck)
removesToCheck - removes to check for.
java.lang.Boolean. If the ith
element in removes 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 hasAllRemoves(Collection removesToCheck)
removesToCheck - removes to check for.
true if every element in
removes is found in this DiffPart,
false otherwise.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 DiffPart 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 DiffPart,
false otherwise.public boolean isEquivalent(IDiffPart DiffPartToCheck)
DiffPartToCheck - 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 | |||||||||