|
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
Link xsi:type in the
types 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 Link. |
void |
addPoints(Collection points)
Add a collection of points to this Link. |
void |
clearDescription()
Clear the description from this Link. |
void |
clearId()
Remove the id attribute from this Link. |
void |
clearPoints()
Remove all points from this Link. |
Collection |
getAllPoints()
Get all the points from this Link. |
IDescription |
getDescription()
Get the description from this Link. |
String |
getId()
Get the id attribute from this Link. |
boolean |
hasAllPoints(Collection pointsToCheck)
Determine if this Link contains each element in the given set of points. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this Link has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this Link has the given value. |
boolean |
hasPoint(IPoint pointToCheck)
Determine if this Link contains a given point. |
Collection |
hasPoints(Collection pointsToCheck)
Determine if this Link contains the given set of points. |
boolean |
isEqual(ILink LinkToCheck)
Determine if another Link has the same id as this one. |
boolean |
isEquivalent(ILink LinkToCheck)
Determine if another Link is equivalent to this one, ignoring ID's. |
void |
removePoint(IPoint pointToRemove)
Remove the given point from this Link. |
void |
removePoints(Collection points)
Remove all the given points from this Link. |
void |
setDescription(IDescription value)
Set the description for this Link. |
void |
setId(String id)
Set the id attribute on this Link. |
| 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 Link 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 Link,
false otherwise.public boolean isEqual(ILink LinkToCheck)
LinkToCheck - Link to compare with this
one.public boolean isEquivalent(ILink LinkToCheck)
LinkToCheck - Link to compare to this one.
true if all the child elements of this
Link 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 | |||||||||