Class ReifiedStatementImpl

    • Field Detail

      • reifiedStatementFactory

        public static final Implementation reifiedStatementFactory
    • Method Detail

      • getStatement

        public Statement getStatement()
        answer [a .equals() version of] the Statement that this ReifiedStatement represents.
        Specified by:
        getStatement in interface ReifiedStatement
      • isValid

        public boolean isValid()
        Description copied from class: Polymorphic
        answer true iff this enhanced node is still underpinned in the graph by triples appropriate to its type.
        Overrides:
        isValid in class EnhNode
      • create

        public static ReifiedStatement create​(Statement s)
        factory method. answer a ReifiedStatement which encodes the Statement _s_. The mapping is remembered.
      • create

        public static ReifiedStatementImpl create​(ModelCom m,
                                                  java.lang.String uri,
                                                  Statement s)
        factory method. answer a ReifiedStatement which encodes the Statement _s_ with uri _uri_. The mapping is remembered.
      • toString

        public java.lang.String toString()
        Description copied from interface: Resource
        Return a string representation of the resource. Returns the URI of the resource unless the resource is anonymous in which case it returns the id of the resource enclosed in square brackets.
        Specified by:
        toString in interface RDFNode
        Specified by:
        toString in interface Resource
        Overrides:
        toString in class ResourceImpl
        Returns:
        Return a string representation of the resource. if it is anonymous.