|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Vocabulary
Interface for a pre-defined vocabulary.
| Method Summary | |
|---|---|
Value |
asValue(IV iv)
Reverse lookup of an IV defined by this vocabulary. |
IV |
get(Value value)
The term identifier for the pre-defined Value. |
IConstant<IV> |
getConstant(Value value)
Returns the IConstant for the Value. |
String |
getNamespace()
The namespace of the owning LexiconRelation. |
int |
size()
The #of defined Values. |
Iterator<? extends Value> |
values()
The Values in an arbitrary order. |
| Method Detail |
|---|
String getNamespace()
LexiconRelation.
int size()
Values.
IllegalStateException - if the values have not been defined.Iterator<? extends Value> values()
Values in an arbitrary order.
IllegalStateException - if the values have not been defined.IV get(Value value)
Value.
value - The value.
IV for that Value -or- null if
the Value was not defined by this Vocabulary.IConstant<IV> getConstant(Value value)
IConstant for the Value.
value - The value.
IConstant.
IllegalArgumentException - if that Value is not defined for this vocabulary.Value asValue(IV iv)
IV defined by this vocabulary.
iv - The IV.
BigdataValue -or- null if the IV
was not defined by the vocabulary.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||