public class NativeLiteral extends 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,
URI datatype) |
|
NativeLiteral(ValueStoreRevision revision,
String label,
URI datatype,
int internalID) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares a literal object to another object.
|
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
stringValue
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, URI datatype)
public NativeLiteral(ValueStoreRevision revision, String label, 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)
Literal
equals
in interface Literal
equals
in class LiteralImpl
o
- The object to compare this literal to.Literal
and if their labels, language tags and datatypes
are equal.Copyright © 2001-2016 Aduna. All Rights Reserved.