|
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
LinkInstance xsi:type in the
instance 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 |
addPoint(IPoint newPoint)
Add a point to this LinkInstance. |
void |
addPoints(Collection points)
Add a collection of points to this LinkInstance. |
void |
clearDescription()
Clear the description from this LinkInstance. |
void |
clearId()
Remove the id attribute from this LinkInstance. |
void |
clearPoints()
Remove all points from this LinkInstance. |
Collection |
getAllPoints()
Get all the points from this LinkInstance. |
IDescription |
getDescription()
Get the description from this LinkInstance. |
String |
getId()
Get the id attribute from this LinkInstance. |
boolean |
hasAllPoints(Collection pointsToCheck)
Determine if this LinkInstance contains each element in the given set of points. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this LinkInstance has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this LinkInstance has the given value. |
boolean |
hasPoint(IPoint pointToCheck)
Determine if this LinkInstance contains a given point. |
Collection |
hasPoints(Collection pointsToCheck)
Determine if this LinkInstance contains the given set of points. |
boolean |
isEqual(ILinkInstance LinkInstanceToCheck)
Determine if another LinkInstance has the same id as this one. |
boolean |
isEquivalent(ILinkInstance LinkInstanceToCheck)
Determine if another LinkInstance is equivalent to this one, ignoring ID's. |
void |
removePoint(IPoint pointToRemove)
Remove the given point from this LinkInstance. |
void |
removePoints(Collection points)
Remove all the given points from this LinkInstance. |
void |
setDescription(IDescription value)
Set the description for this LinkInstance. |
void |
setId(String id)
Set the id attribute on this LinkInstance. |
| 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 setId(String id)
id - id
FixedValueException - if the attribute has a fixed value
and the value passed is not the fixed value.public void clearId()
public String getId()
public boolean hasId(String id)
id - Attribute value to compare
true if they match; false
otherwise.public void setDescription(IDescription value)
value - new descriptionpublic void clearDescription()
public IDescription getDescription()
public boolean hasDescription(IDescription descriptionToCheck)
descriptionToCheck - description to compare
true if the descriptions are equivalent,
false otherwisepublic void addPoint(IPoint newPoint)
newPoint - point to add.public void addPoints(Collection points)
points - points to add.public void clearPoints()
public void removePoint(IPoint pointToRemove)
isEquivalent(...) function.
pointToRemove - point to remove.public void removePoints(Collection points)
isEquivalent(...) function.
points - point to remove.public Collection getAllPoints()
public boolean hasPoint(IPoint pointToCheck)
true if this LinkInstance contains the given
pointToCheck, false otherwise.public Collection hasPoints(Collection pointsToCheck)
pointsToCheck - points to check for.
java.lang.Boolean. If the ith
element in points 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 hasAllPoints(Collection pointsToCheck)
pointsToCheck - points to check for.
true if every element in
points is found in this LinkInstance,
false otherwise.public boolean isEqual(ILinkInstance LinkInstanceToCheck)
LinkInstanceToCheck - LinkInstance to compare with this
one.public boolean isEquivalent(ILinkInstance LinkInstanceToCheck)
LinkInstanceToCheck - LinkInstance to compare to this one.
true if all the child elements of this
LinkInstance 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 | |||||||||