Package alps.java.api.util
Schnittstelle IIncompleteTriple
- Alle bekannten Implementierungsklassen:
IncompleteTriple
public interface IIncompleteTriple
This interface simplifies the use of
Statement
when 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 TypMethodeBeschreibungGet the object attribute of the incomplete tripleGet the object attribute + extra attribute (language tag or datatype) of the incomplete tripleGet the predicate attribute of the incomplete Tripleorg.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 triplesubjectNode
- 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
-