|
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
InRange 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 InRange. |
void |
addValues(Collection values)
Add a collection of values to this InRange. |
void |
clearSymbol()
Clear the symbol from this InRange. |
void |
clearValues()
Remove all values from this InRange. |
Collection |
getAllValues()
Get all the values from this InRange. |
ISymbol |
getSymbol()
Get the symbol from this InRange. |
boolean |
hasAllValues(Collection valuesToCheck)
Determine if this InRange contains each element in the given set of values. |
boolean |
hasSymbol(ISymbol symbolToCheck)
Determine if this InRange has the given symbol |
boolean |
hasValue(IValue valueToCheck)
Determine if this InRange contains a given value. |
Collection |
hasValues(Collection valuesToCheck)
Determine if this InRange contains the given set of values. |
boolean |
isEquivalent(IInRange InRangeToCheck)
Determine if another InRange is equivalent to this one, ignoring ID's. |
void |
removeValue(IValue valueToRemove)
Remove the given value from this InRange. |
void |
removeValues(Collection values)
Remove all the given values from this InRange. |
void |
setSymbol(ISymbol value)
Set the symbol for this InRange. |
| 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 InRange 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 InRange,
false otherwise.public boolean isEquivalent(IInRange InRangeToCheck)
InRangeToCheck - InRange to compare to this one.
true if all the child elements of this
InRange 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 | |||||||||