org.openrdf.sail.nativerdf.model
Class NativeLiteral
java.lang.Object
org.openrdf.model.impl.LiteralImpl
org.openrdf.sail.nativerdf.model.NativeLiteral
- All Implemented Interfaces:
- Serializable, Literal, Value, NativeValue
public class NativeLiteral
- extends LiteralImpl
- implements NativeValue
- See Also:
- Serialized Form
|
Constructor Summary |
NativeLiteral(ValueStoreRevision revision,
String label)
|
NativeLiteral(ValueStoreRevision revision,
String label,
int id)
|
NativeLiteral(ValueStoreRevision revision,
String label,
String lang)
|
NativeLiteral(ValueStoreRevision revision,
String label,
String lang,
int id)
|
NativeLiteral(ValueStoreRevision revision,
String label,
URI datatype)
|
NativeLiteral(ValueStoreRevision revision,
String label,
URI datatype,
int id)
|
| Methods inherited from class org.openrdf.model.impl.LiteralImpl |
booleanValue, byteValue, calendarValue, decimalValue, doubleValue, equals, floatValue, getDatatype, getLabel, getLanguage, hashCode, integerValue, intValue, longValue, shortValue, stringValue, toString |
NativeLiteral
public NativeLiteral(ValueStoreRevision revision,
String label)
NativeLiteral
public NativeLiteral(ValueStoreRevision revision,
String label,
int id)
NativeLiteral
public NativeLiteral(ValueStoreRevision revision,
String label,
String lang)
NativeLiteral
public NativeLiteral(ValueStoreRevision revision,
String label,
String lang,
int id)
NativeLiteral
public NativeLiteral(ValueStoreRevision revision,
String label,
URI datatype)
NativeLiteral
public NativeLiteral(ValueStoreRevision revision,
String label,
URI datatype,
int id)
setInternalID
public void setInternalID(int id,
ValueStoreRevision revision)
- Description copied from interface:
NativeValue
- Sets the ID that is used for this value in a specific revision of the
value store.
- Specified by:
setInternalID in interface NativeValue
getValueStoreRevision
public ValueStoreRevision getValueStoreRevision()
- Description copied from interface:
NativeValue
- Gets the revision of the value store that created this value. The value's
internal ID is only valid when it's value store revision is equal to the
value store's current revision.
- Specified by:
getValueStoreRevision in interface NativeValue
- Returns:
- The revision of the value store that created this value at the
time it last set the value's internal ID.
getInternalID
public int getInternalID()
- Description copied from interface:
NativeValue
- Gets the ID that is used in the native store for this Value.
- Specified by:
getInternalID in interface NativeValue
- Returns:
- The value's ID, or
NativeValue.UNKNOWN_ID if not yet set.
Copyright © 2001-2008 Aduna. All Rights Reserved.