Class UnboundStatement
- java.lang.Object
-
- org.eclipse.rdf4j.federated.structures.UnboundStatement
-
- All Implemented Interfaces:
Serializable,Statement
public class UnboundStatement extends Object implements Statement
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnboundStatement(Resource subj, IRI pred, Value obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcegetContext()Gets the context of this statement.ValuegetObject()Gets the object of this statement.IRIgetPredicate()Gets the predicate of this statement.ResourcegetSubject()Gets the subject of this statement.
-
-
-
Method Detail
-
getContext
public Resource getContext()
Description copied from interface:StatementGets the context of this statement.- Specified by:
getContextin interfaceStatement- Returns:
- The statement's context, or null in case of the null context or if not applicable.
-
getObject
public Value getObject()
Description copied from interface:StatementGets the object of this statement.
-
getPredicate
public IRI getPredicate()
Description copied from interface:StatementGets the predicate of this statement.- Specified by:
getPredicatein interfaceStatement- Returns:
- The statement's predicate.
-
getSubject
public Resource getSubject()
Description copied from interface:StatementGets the subject of this statement.- Specified by:
getSubjectin interfaceStatement- Returns:
- The statement's subject.
-
-