Package no.hasmac.rdf.impl
Class RdfNQuadImpl
- java.lang.Object
-
- no.hasmac.rdf.impl.RdfTripleImpl
-
- no.hasmac.rdf.impl.RdfNQuadImpl
-
final class RdfNQuadImpl extends RdfTripleImpl implements RdfNQuad
-
-
Field Summary
Fields Modifier and Type Field Description private RdfResource
graphName
-
Constructor Summary
Constructors Modifier Constructor Description protected
RdfNQuadImpl(RdfResource subject, RdfResource predicate, RdfValue object, RdfResource graphName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<RdfResource>
getGraphName()
java.lang.String
toString()
-
Methods inherited from class no.hasmac.rdf.impl.RdfTripleImpl
getObject, getPredicate, getSubject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface no.hasmac.rdf.RdfTriple
getObject, getPredicate, getSubject
-
-
-
-
Field Detail
-
graphName
private final RdfResource graphName
-
-
Constructor Detail
-
RdfNQuadImpl
protected RdfNQuadImpl(RdfResource subject, RdfResource predicate, RdfValue object, RdfResource graphName)
-
-
Method Detail
-
getGraphName
public java.util.Optional<RdfResource> getGraphName()
- Specified by:
getGraphName
in interfaceRdfNQuad
-
toString
public java.lang.String toString()
- Overrides:
toString
in classRdfTripleImpl
-
-