Class CorruptIRIOrBNode

    • Constructor Detail

      • CorruptIRIOrBNode

        public CorruptIRIOrBNode​(ValueStoreRevision revision,
                                 int internalID,
                                 byte[] data)
    • Method Detail

      • getNamespace

        public String getNamespace()
        Description copied from interface: IRI
        Gets the namespace part of this IRI.

        The namespace is defined as per the algorithm described in the class documentation.

        Specified by:
        getNamespace in interface IRI
        Returns:
        the namespace of this IRI
      • getLocalName

        public String getLocalName()
        Description copied from interface: IRI
        Gets the local name part of this IRI.

        The local name is defined as per the algorithm described in the class documentation.

        Specified by:
        getLocalName in interface IRI
        Returns:
        the local name of this IRI
      • getID

        public String getID()
        Description copied from interface: BNode
        Retrieves this blank node's identifier.
        Specified by:
        getID in interface BNode
        Returns:
        A blank node identifier.
      • equals

        public boolean equals​(Object o)
        Description copied from interface: IRI
        Compares this IRI to another object.
        Specified by:
        equals in interface BNode
        Specified by:
        equals in interface IRI
        Overrides:
        equals in class CorruptValue
        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