public class NativeLiteral extends org.openrdf.model.impl.LiteralImpl implements NativeValue
UNKNOWN_ID
Modifier | Constructor and Description |
---|---|
protected |
NativeLiteral(ValueStoreRevision revision,
int internalID) |
|
NativeLiteral(ValueStoreRevision revision,
String label) |
|
NativeLiteral(ValueStoreRevision revision,
String label,
int internalID) |
|
NativeLiteral(ValueStoreRevision revision,
String label,
String lang) |
|
NativeLiteral(ValueStoreRevision revision,
String label,
String lang,
int internalID) |
|
NativeLiteral(ValueStoreRevision revision,
String label,
org.openrdf.model.URI datatype) |
|
NativeLiteral(ValueStoreRevision revision,
String label,
org.openrdf.model.URI datatype,
int internalID) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getInternalID()
Gets the ID that is used in the native store for this Value.
|
ValueStoreRevision |
getValueStoreRevision()
Gets the revision of the value store that created this value.
|
void |
setInternalID(int internalID,
ValueStoreRevision revision)
Sets the ID that is used for this value in a specific revision of the
value store.
|
booleanValue, byteValue, calendarValue, decimalValue, doubleValue, floatValue, getDatatype, getLabel, getLanguage, hashCode, integerValue, intValue, longValue, setDatatype, setLabel, setLanguage, shortValue, stringValue, toString
protected NativeLiteral(ValueStoreRevision revision, int internalID)
public NativeLiteral(ValueStoreRevision revision, String label)
public NativeLiteral(ValueStoreRevision revision, String label, int internalID)
public NativeLiteral(ValueStoreRevision revision, String label, String lang)
public NativeLiteral(ValueStoreRevision revision, String label, String lang, int internalID)
public NativeLiteral(ValueStoreRevision revision, String label, org.openrdf.model.URI datatype)
public NativeLiteral(ValueStoreRevision revision, String label, org.openrdf.model.URI datatype, int internalID)
public void setInternalID(int internalID, ValueStoreRevision revision)
NativeValue
setInternalID
in interface NativeValue
public ValueStoreRevision getValueStoreRevision()
NativeValue
getValueStoreRevision
in interface NativeValue
public int getInternalID()
NativeValue
getInternalID
in interface NativeValue
NativeValue.UNKNOWN_ID
if not yet set.public boolean equals(Object o)
equals
in interface org.openrdf.model.Literal
equals
in class org.openrdf.model.impl.LiteralImpl
Copyright © 2018 universAAL Consortium. All rights reserved.