Package org.eclipse.rdf4j.model.impl
Class LinkedHashModel.ModelStatement
java.lang.Object
org.eclipse.rdf4j.model.impl.GenericStatement<Resource,IRI,Value>
org.eclipse.rdf4j.model.impl.LinkedHashModel.ModelStatement
- All Implemented Interfaces:
Serializable
,Statement
- Enclosing class:
LinkedHashModel
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.model.impl.GenericStatement
context, object, predicate, subject
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this statement to another object.Gets the context of this statement.Gets the object of this statement.Gets the predicate of this statement.Gets the subject of this statement.Methods inherited from class org.eclipse.rdf4j.model.impl.GenericStatement
hashCode, toString
-
Method Details
-
getSubject
Description copied from interface:Statement
Gets the subject of this statement.- Specified by:
getSubject
in interfaceStatement
- Overrides:
getSubject
in classGenericStatement<Resource,
IRI, Value> - Returns:
- The statement's subject.
-
getPredicate
Description copied from interface:Statement
Gets the predicate of this statement.- Specified by:
getPredicate
in interfaceStatement
- Overrides:
getPredicate
in classGenericStatement<Resource,
IRI, Value> - Returns:
- The statement's predicate.
-
getObject
Description copied from interface:Statement
Gets the object of this statement. -
getContext
Description copied from interface:Statement
Gets the context of this statement.- Specified by:
getContext
in interfaceStatement
- Overrides:
getContext
in classGenericStatement<Resource,
IRI, Value> - Returns:
- The statement's context, or null in case of the null context or if not applicable.
-
equals
Description copied from interface:Statement
Compares this statement to another object.- Specified by:
equals
in interfaceStatement
- Overrides:
equals
in classGenericStatement<Resource,
IRI, Value> - Parameters:
other
- the object to compare this statement to- Returns:
true
if the other object is an instance ofStatement
and if their subjects, predicates, objects and contexts are equal;false
otherwise
-
getStatement
-