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 Resource
getContext()
Gets the context of this statement.Value
getObject()
Gets the object of this statement.IRI
getPredicate()
Gets the predicate of this statement.Resource
getSubject()
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:Statement
Gets the subject of this statement.- Returns:
- The statement's subject.
-
getPredicate
public IRI getPredicate()
Description copied from interface:Statement
Gets the predicate of this statement.- Returns:
- The statement's predicate.
-
getObject
public Value getObject()
Description copied from interface:Statement
Gets the object of this statement.- Returns:
- The statement's object.
-
-