Package org.eclipse.rdf4j.model.base
Class AbstractValueFactory.GenericStatement
- java.lang.Object
-
- org.eclipse.rdf4j.model.base.AbstractStatement
-
- org.eclipse.rdf4j.model.base.AbstractValueFactory.GenericStatement
-
- All Implemented Interfaces:
java.io.Serializable,Statement
- Enclosing class:
- AbstractValueFactory
static class AbstractValueFactory.GenericStatement extends AbstractStatement
-
-
Constructor Summary
Constructors Constructor Description GenericStatement(Resource subject, IRI predicate, Value object, Resource context)
-
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.-
Methods inherited from class org.eclipse.rdf4j.model.base.AbstractStatement
equals, hashCode, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
subject
private final Resource subject
-
predicate
private final IRI predicate
-
object
private final Value object
-
context
private final Resource context
-
-
Method Detail
-
getSubject
public Resource getSubject()
Description copied from interface:StatementGets the subject of this statement.- Returns:
- The statement's subject.
-
getPredicate
public IRI getPredicate()
Description copied from interface:StatementGets the predicate of this statement.- Returns:
- The statement's predicate.
-
getObject
public Value getObject()
Description copied from interface:StatementGets the object of this statement.- Returns:
- The statement's object.
-
-