java.lang.Object
org.apache.jena.enhanced.Polymorphic<RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.ResourceImpl
org.apache.jena.rdf.model.impl.ReifiedStatementImpl
- All Implemented Interfaces:
FrontsNode
,RDFNode
,ReifiedStatement
,Resource
A ReifiedStatementImpl encodes a Statement and behaves as a Resource.
-
Field Summary
FieldsFields inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
factory, rdfNodeFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReifiedStatementImpl
static ReifiedStatementImpl
factory method.static ReifiedStatement
factory method.static ReifiedStatement
createExistingReifiedStatement
(ModelCom model, Node n) answer [a .equals() version of] the Statement that this ReifiedStatement represents.boolean
isValid()
answer true iff this enhanced node is still underpinned in the graph by triples appropriate to its type.toString()
Return a string representation of the resource.Methods inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, begin, commit, getId, getLocalName, getModel, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties, visitWith
Methods inherited from class org.apache.jena.enhanced.EnhNode
as, asNode, canAs, equals, getGraph, hashCode, isAnon, isLiteral, isResource, isStmtResource, isURIResource, viewAs
Methods inherited from class org.apache.jena.enhanced.Polymorphic
addView, supports
Methods inherited from interface org.apache.jena.graph.FrontsNode
asNode
Methods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWith
Methods inherited from interface org.apache.jena.rdf.model.Resource
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getStmtTerm, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties
-
Field Details
-
reifiedStatementFactory
-
-
Method Details
-
getStatement
answer [a .equals() version of] the Statement that this ReifiedStatement represents.- Specified by:
getStatement
in interfaceReifiedStatement
-
isValid
public boolean isValid()Description copied from class:Polymorphic
answer true iff this enhanced node is still underpinned in the graph by triples appropriate to its type. -
create
factory method. answer a ReifiedStatement which encodes the Statement _s_. The mapping is remembered. -
create
factory method. answer a ReifiedStatement which encodes the Statement _s_ with uri _uri_. The mapping is remembered. -
create
-
toString
Description copied from interface:Resource
Return a string representation of the resource. Returns the URI of the resource unless the resource is anonymous in which case it returns the id of the resource enclosed in square brackets. -
createExistingReifiedStatement
-