|
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
Group 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 |
addMember(IXMLLink newMember)
Add a member to this Group. |
void |
addMembers(Collection members)
Add a collection of members to this Group. |
void |
clearDescription()
Clear the description from this Group. |
void |
clearId()
Remove the id attribute from this Group. |
void |
clearMembers()
Remove all members from this Group. |
Collection |
getAllMembers()
Get all the members from this Group. |
IDescription |
getDescription()
Get the description from this Group. |
String |
getId()
Get the id attribute from this Group. |
boolean |
hasAllMembers(Collection membersToCheck)
Determine if this Group contains each element in the given set of members. |
boolean |
hasDescription(IDescription descriptionToCheck)
Determine if this Group has the given description |
boolean |
hasId(String id)
Determine if the id attribute on this Group has the given value. |
boolean |
hasMember(IXMLLink memberToCheck)
Determine if this Group contains a given member. |
Collection |
hasMembers(Collection membersToCheck)
Determine if this Group contains the given set of members. |
boolean |
isEqual(IGroup GroupToCheck)
Determine if another Group has the same id as this one. |
boolean |
isEquivalent(IGroup GroupToCheck)
Determine if another Group is equivalent to this one, ignoring ID's. |
void |
removeMember(IXMLLink memberToRemove)
Remove the given member from this Group. |
void |
removeMembers(Collection members)
Remove all the given members from this Group. |
void |
setDescription(IDescription value)
Set the description for this Group. |
void |
setId(String id)
Set the id attribute on this Group. |
| 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 addMember(IXMLLink newMember)
newMember - member to add.public void addMembers(Collection members)
members - members to add.public void clearMembers()
public void removeMember(IXMLLink memberToRemove)
isEquivalent(...) function.
memberToRemove - member to remove.public void removeMembers(Collection members)
isEquivalent(...) function.
members - member to remove.public Collection getAllMembers()
public boolean hasMember(IXMLLink memberToCheck)
true if this Group contains the given
memberToCheck, false otherwise.public Collection hasMembers(Collection membersToCheck)
membersToCheck - members to check for.
java.lang.Boolean. If the ith
element in members 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 hasAllMembers(Collection membersToCheck)
membersToCheck - members to check for.
true if every element in
members is found in this Group,
false otherwise.public boolean isEqual(IGroup GroupToCheck)
GroupToCheck - Group to compare with this
one.public boolean isEquivalent(IGroup GroupToCheck)
GroupToCheck - Group to compare to this one.
true if all the child elements of this
Group 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 | |||||||||