|
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
InSet xsi:type in the
boolguard 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 |
addValue(IValue newValue)
Add a value to this InSet. |
void |
addValues(Collection values)
Add a collection of values to this InSet. |
void |
clearSymbol()
Clear the symbol from this InSet. |
void |
clearValues()
Remove all values from this InSet. |
Collection |
getAllValues()
Get all the values from this InSet. |
ISymbol |
getSymbol()
Get the symbol from this InSet. |
boolean |
hasAllValues(Collection valuesToCheck)
Determine if this InSet contains each element in the given set of values. |
boolean |
hasSymbol(ISymbol symbolToCheck)
Determine if this InSet has the given symbol |
boolean |
hasValue(IValue valueToCheck)
Determine if this InSet contains a given value. |
Collection |
hasValues(Collection valuesToCheck)
Determine if this InSet contains the given set of values. |
boolean |
isEquivalent(IInSet InSetToCheck)
Determine if another InSet is equivalent to this one, ignoring ID's. |
void |
removeValue(IValue valueToRemove)
Remove the given value from this InSet. |
void |
removeValues(Collection values)
Remove all the given values from this InSet. |
void |
setSymbol(ISymbol value)
Set the symbol for this InSet. |
| 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 setSymbol(ISymbol value)
value - new symbolpublic void clearSymbol()
public ISymbol getSymbol()
public boolean hasSymbol(ISymbol symbolToCheck)
symbolToCheck - symbol to compare
true if the symbols are equivalent,
false otherwisepublic void addValue(IValue newValue)
newValue - value to add.public void addValues(Collection values)
values - values to add.public void clearValues()
public void removeValue(IValue valueToRemove)
isEquivalent(...) function.
valueToRemove - value to remove.public void removeValues(Collection values)
isEquivalent(...) function.
values - value to remove.public Collection getAllValues()
public boolean hasValue(IValue valueToCheck)
true if this InSet contains the given
valueToCheck, false otherwise.public Collection hasValues(Collection valuesToCheck)
valuesToCheck - values to check for.
java.lang.Boolean. If the ith
element in values 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 hasAllValues(Collection valuesToCheck)
valuesToCheck - values to check for.
true if every element in
values is found in this InSet,
false otherwise.public boolean isEquivalent(IInSet InSetToCheck)
InSetToCheck - InSet to compare to this one.
true if all the child elements of this
InSet 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 | |||||||||