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 ReifiedStatementImplstatic ReifiedStatementImplfactory method.static ReifiedStatementfactory method.static ReifiedStatementcreateExistingReifiedStatement(ModelCom model, Node n) answer [a .equals() version of] the Statement that this ReifiedStatement represents.booleanisValid()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, visitWithMethods inherited from class org.apache.jena.enhanced.EnhNode
as, asNode, canAs, equals, getGraph, hashCode, isAnon, isLiteral, isResource, isStmtResource, isURIResource, viewAsMethods inherited from class org.apache.jena.enhanced.Polymorphic
addView, supportsMethods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, canAs, getModel, isAnon, isLiteral, isResource, isStmtResource, isURIResource, visitWithMethods 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:
getStatementin interfaceReifiedStatement
-
isValid
public boolean isValid()Description copied from class:Polymorphicanswer 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:ResourceReturn 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
-