Package org.aksw.jenax.arq.dataset.impl
Class LiteralInDatasetImpl
java.lang.Object
org.apache.jena.enhanced.Polymorphic<org.apache.jena.rdf.model.RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.LiteralImpl
org.aksw.jenax.arq.dataset.impl.LiteralInDatasetImpl
- All Implemented Interfaces:
LiteralInDataset,RDFNodeInDataset,org.apache.jena.graph.FrontsNode,org.apache.jena.rdf.model.Literal,org.apache.jena.rdf.model.RDFNode
public class LiteralInDatasetImpl
extends org.apache.jena.rdf.model.impl.LiteralImpl
implements LiteralInDataset
-
Field Summary
FieldsFields inherited from class org.apache.jena.rdf.model.impl.LiteralImpl
factoryFields inherited from class org.apache.jena.enhanced.EnhNode
enhGraph, node -
Constructor Summary
ConstructorsConstructorDescriptionLiteralInDatasetImpl(org.apache.jena.query.Dataset dataset, String graphName, org.apache.jena.graph.Node node) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.query.DatasetThe named graph such that r.getDataset().getNamedGraph(r.getGraphName()).equals(r.getModel()) While the model and possibly graph instances may not be reference equal due to being different views, they should still operate on the same underlying collection of triples.inDataset(org.apache.jena.query.Dataset other) Methods inherited from class org.apache.jena.rdf.model.impl.LiteralImpl
asStatementTerm, getBaseDirection, getBoolean, getByte, getChar, getDatatype, getDatatypeURI, getDouble, getFloat, getInt, getLanguage, getLexicalForm, getLong, getModel, getShort, getString, getValue, inModel, sameValueAs, toString, visitWithMethods inherited from class org.apache.jena.enhanced.EnhNode
as, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, isValid, viewAsMethods inherited from class org.apache.jena.enhanced.Polymorphic
addView, alreadyHasView, asInternal, supportsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.apache.jena.rdf.model.Literal
equals, getBaseDirection, getBoolean, getByte, getChar, getDatatype, getDatatypeURI, getDouble, getFloat, getInt, getLanguage, getLexicalForm, getLong, getShort, getString, getTextDirection, getValue, inModel, sameValueAsMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, toString, visitWithMethods inherited from interface org.aksw.jenax.arq.dataset.api.RDFNodeInDataset
asRDFNodeInDatasetHere, mutateRDFNode
-
Field Details
-
dataset
protected org.apache.jena.query.Dataset dataset -
graphName
-
-
Constructor Details
-
LiteralInDatasetImpl
public LiteralInDatasetImpl(org.apache.jena.query.Dataset dataset, String graphName, org.apache.jena.graph.Node node)
-
-
Method Details
-
getGraphName
Description copied from interface:RDFNodeInDatasetThe named graph such that r.getDataset().getNamedGraph(r.getGraphName()).equals(r.getModel()) While the model and possibly graph instances may not be reference equal due to being different views, they should still operate on the same underlying collection of triples.- Specified by:
getGraphNamein interfaceRDFNodeInDataset- Returns:
-
getDataset
public org.apache.jena.query.Dataset getDataset()- Specified by:
getDatasetin interfaceRDFNodeInDataset
-
asLiteral
- Specified by:
asLiteralin interfaceLiteralInDataset- Specified by:
asLiteralin interfaceorg.apache.jena.rdf.model.RDFNode- Specified by:
asLiteralin interfaceRDFNodeInDataset- Overrides:
asLiteralin classorg.apache.jena.rdf.model.impl.LiteralImpl
-
inDataset
- Specified by:
inDatasetin interfaceLiteralInDataset- Specified by:
inDatasetin interfaceRDFNodeInDataset
-
asResource
- Specified by:
asResourcein interfaceorg.apache.jena.rdf.model.RDFNode- Specified by:
asResourcein interfaceRDFNodeInDataset- Overrides:
asResourcein classorg.apache.jena.rdf.model.impl.LiteralImpl
-