Class AbstractSailConnection.WildStatement
java.lang.Object
org.eclipse.rdf4j.sail.helpers.AbstractSailConnection.WildStatement
- All Implemented Interfaces:
Serializable, Statement
- Enclosing class:
AbstractSailConnection
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWildStatement(Resource subject, IRI predicate, Value object) Creates a new Statement with the supplied subject, predicate and object.WildStatement(Resource subject, IRI predicate, Value object, Resource context) Creates a new Statement with the supplied subject, predicate and object for the specified associated context. -
Method Summary
Modifier and TypeMethodDescriptionGets the context of this statement.Gets the object of this statement.Gets the predicate of this statement.Gets the subject of this statement.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
subject
The statement's subject. -
predicate
The statement's predicate. -
object
The statement's object. -
context
The statement's context, if applicable.
-
-
Constructor Details
-
WildStatement
-
WildStatement
Creates a new Statement with the supplied subject, predicate and object for the specified associated context.- Parameters:
subject- The statement's subject, may be null.predicate- The statement's predicate, may be null.object- The statement's object, may be null.context- The statement's context, null to indicate no context is associated.
-
-
Method Details
-
getSubject
Description copied from interface:StatementGets the subject of this statement.- Specified by:
getSubjectin interfaceStatement- Returns:
- The statement's subject.
-
getPredicate
Description copied from interface:StatementGets the predicate of this statement.- Specified by:
getPredicatein interfaceStatement- Returns:
- The statement's predicate.
-
getObject
-
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.
-
toString
-