Class NativeIRI

All Implemented Interfaces:
Serializable, IRI, Resource, Value, NativeResource, NativeValue

public class NativeIRI extends SimpleIRI implements NativeResource
See Also:
  • Constructor Details

  • Method Details

    • setInternalID

      public void setInternalID(int internalID, 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.
    • equals

      public boolean equals(Object o)
      Description copied from interface: IRI
      Compares this IRI to another object.
      Specified by:
      equals in interface IRI
      Overrides:
      equals in class AbstractIRI
      Parameters:
      o - the object to compare this IRI to
      Returns:
      true, if the other object is an instance of IRI and their string values are equal; false, otherwise