Class NativeIRI
java.lang.Object
org.eclipse.rdf4j.model.base.AbstractIRI
org.eclipse.rdf4j.model.impl.SimpleIRI
org.eclipse.rdf4j.sail.nativerdf.model.NativeIRI
- All Implemented Interfaces:
 Serializable, IRI, Resource, Value, NativeResource, NativeValue
- See Also:
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Value
Value.Type - 
Field Summary
Fields inherited from interface NativeValue
UNKNOWN_ID - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNativeIRI(ValueStoreRevision revision, int internalID) NativeIRI(ValueStoreRevision revision, String uri) NativeIRI(ValueStoreRevision revision, String uri, int internalID) NativeIRI(ValueStoreRevision revision, String namespace, String localname) NativeIRI(ValueStoreRevision revision, String namespace, String localname, int internalID)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this IRI to another object.intGets the ID that is used in the native store for this Value.Gets the revision of the value store that created this value.voidsetInternalID(int internalID, ValueStoreRevision revision) Sets the ID that is used for this value in a specific revision of the value store.Methods inherited from class SimpleIRI
getLocalName, getNamespace, setIRIString, setIRIString, stringValueMethods inherited from class AbstractIRI
hashCode, toStringMethods inherited from interface Resource
isResourceMethods inherited from interface Value
isBNode, isLiteral, isTriple, stringValue 
- 
Constructor Details
- 
NativeIRI
 - 
NativeIRI
 - 
NativeIRI
 - 
NativeIRI
 - 
NativeIRI
 
 - 
 - 
Method Details
- 
setInternalID
Description copied from interface:NativeValueSets the ID that is used for this value in a specific revision of the value store.- Specified by:
 setInternalIDin interfaceNativeValue
 - 
getValueStoreRevision
Description copied from interface:NativeValueGets 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:
 getValueStoreRevisionin interfaceNativeValue- 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:NativeValueGets the ID that is used in the native store for this Value.- Specified by:
 getInternalIDin interfaceNativeValue- Returns:
 - The value's ID, or 
NativeValue.UNKNOWN_IDif not yet set. 
 - 
equals
Description copied from interface:IRICompares this IRI to another object.- Specified by:
 equalsin interfaceIRI- Overrides:
 equalsin classAbstractIRI- Parameters:
 o- the object to compare this IRI to- Returns:
 true, if the other object is an instance ofIRIand their string values are equal;false, otherwise
 
 -