public interface Vocabulary
Modifier and Type | Method and Description |
---|---|
org.openrdf.model.Value |
asValue(IV iv)
Reverse lookup of an
IV defined by this vocabulary. |
IV |
get(org.openrdf.model.Value value)
The term identifier for the pre-defined
Value . |
IConstant<IV> |
getConstant(org.openrdf.model.Value value)
Returns the
IConstant for the Value . |
String |
getNamespace()
The namespace of the owning
LexiconRelation . |
int |
size()
The #of defined
Value s. |
Iterator<? extends org.openrdf.model.Value> |
values()
The
Value s in an arbitrary order. |
String getNamespace()
LexiconRelation
.int size()
Value
s.IllegalStateException
- if the values have not been defined.Iterator<? extends org.openrdf.model.Value> values()
Value
s in an arbitrary order.IllegalStateException
- if the values have not been defined.IV get(org.openrdf.model.Value value)
Value
.value
- The value.IV
for that Value
-or- null
if
the Value
was not defined by this Vocabulary
.IConstant<IV> getConstant(org.openrdf.model.Value value)
IConstant
for the Value
.value
- The value.IConstant
.IllegalArgumentException
- if that Value
is not defined for this vocabulary.org.openrdf.model.Value asValue(IV iv)
IV
defined by this vocabulary.iv
- The IV
.BigdataValue
-or- null
if the IV
was not defined by the vocabulary.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.