Schnittstelle IIncompleteTriple

Alle bekannten Implementierungsklassen:
IncompleteTriple

public interface IIncompleteTriple
This interface simplifies the use of Statementwhen no Model is currently given to create a real triple, or as quick mock for a real triple. An incomplete triple is only valid when bound to a class that acts as subject, because the incomplete triple does not parse subject information (only object and predicate). An IncompleteTriple might either contain information about the object, or about "objectWithExtra" (getObjectWithExtra()) Not both at the same time.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Get the object attribute of the incomplete triple
    Get the object attribute + extra attribute (language tag or datatype) of the incomplete triple
    Get the predicate attribute of the incomplete Triple
    org.apache.jena.graph.Triple
    getRealTriple(IPASSGraph graph, org.apache.jena.graph.Node subjectNode)
    Returns a real triple to the incomplete triple, therefor a subject must be provided
  • Methodendetails

    • getRealTriple

      org.apache.jena.graph.Triple getRealTriple(IPASSGraph graph, org.apache.jena.graph.Node subjectNode)
      Returns a real triple to the incomplete triple, therefor a subject must be provided
      Parameter:
      graph - The graph that is used to create the triple
      subjectNode - the subject that will be subject of the new triple
      Gibt zurück:
      The real triple
    • getPredicate

      String getPredicate()
      Get the predicate attribute of the incomplete Triple
    • getObject

      String getObject()
      Get the object attribute of the incomplete triple
    • getObjectWithExtra

      IStringWithExtra getObjectWithExtra()
      Get the object attribute + extra attribute (language tag or datatype) of the incomplete triple