Package no.hasmac.rdf.impl
Class RdfTripleImpl
java.lang.Object
no.hasmac.rdf.impl.RdfTripleImpl
- All Implemented Interfaces:
RdfTriple
- Direct Known Subclasses:
RdfNQuadImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RdfValue
private final RdfResource
private final RdfResource
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RdfTripleImpl
(RdfResource subject, RdfResource predicate, RdfValue object) -
Method Summary
Modifier and TypeMethodDescriptionAn absolute IRI or blank node identifier orRdfLiteral
.An absolute IRI or blank node identifier denoting the predicate of the triple.An absolute IRI or blank node identifier denoting the subject of the triple.toString()
-
Field Details
-
subject
-
predicate
-
object
-
-
Constructor Details
-
RdfTripleImpl
-
-
Method Details
-
getSubject
Description copied from interface:RdfTriple
An absolute IRI or blank node identifier denoting the subject of the triple.- Specified by:
getSubject
in interfaceRdfTriple
- Returns:
- an absolute URI or blank node
-
getPredicate
Description copied from interface:RdfTriple
An absolute IRI or blank node identifier denoting the predicate of the triple.- Specified by:
getPredicate
in interfaceRdfTriple
- Returns:
- an absolute URI or blank node
-
getObject
Description copied from interface:RdfTriple
An absolute IRI or blank node identifier orRdfLiteral
. -
toString
-