|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Encapsulates the standard methods of modifying a property on a DAML object, where
the value of the property is an RDF literal (as opposed to another DAML value,
see PropertyAccessor, and the literal is known to encapsulate an integer value.
| Method Summary | |
void |
addInt(int value)
Add a value to the encapsulated property. |
int |
getInt()
Answer the a value of the encapsulated property. |
boolean |
hasIntValue(int value)
Answer true if the encapsulated property has the given value as one of its values. |
void |
removeInt(int value)
Remove an integer value from the encapsulated property. |
| Methods inherited from interface com.hp.hpl.jena.daml.LiteralAccessor |
addValue, addValue, getValue, getValues, hasValue, hasValue, removeValue, removeValue |
| Methods inherited from interface com.hp.hpl.jena.daml.PropertyAccessor |
add, count, get, getAll, getDAMLValue, getProperty, hasValue, remove |
| Method Detail |
public int getInt()
{@link - java.lang.RuntimeException} if the property is not defined or cannot be
interpreted as an integer.public void addInt(int value)
value - The value to be added, as an int.public void removeInt(int value)
value - The value to be removed, as an int.public boolean hasIntValue(int value)
value - An int value to test for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||