Class RdfTypePrimitiveBase
java.lang.Object
org.aksw.jena_sparql_api.mapper.impl.type.RdfTypeBase
org.aksw.jena_sparql_api.mapper.impl.type.RdfTypePrimitiveBase
- All Implemented Interfaces:
RdfType
- Direct Known Subclasses:
RdfTypeIriStr,RdfTypeLiteralTyped,RdfTypeNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexposeFragment(ResourceFragment out, org.apache.jena.rdf.model.Resource priorState, Object entity) voidexposeShape(org.aksw.jena_sparql_api.shape.ResourceShapeBuilder rsb) booleanA simple type is a type that does not need to emit any triples, i.e.Populates an entity from a resource RDF graph that should match the exposed shape.Methods inherited from class org.aksw.jena_sparql_api.mapper.impl.type.RdfTypeBase
resolveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jena_sparql_api.mapper.model.RdfType
createJavaObject, getEntityClass, getRootNode, hasIdentity
-
Constructor Details
-
RdfTypePrimitiveBase
public RdfTypePrimitiveBase()
-
-
Method Details
-
isSimpleType
public boolean isSimpleType()Description copied from interface:RdfTypeA simple type is a type that does not need to emit any triples, i.e. a simple type can de/serialize java objects to and from Node objects.- Returns:
-
exposeShape
public void exposeShape(org.aksw.jena_sparql_api.shape.ResourceShapeBuilder rsb) -
exposeFragment
public void exposeFragment(ResourceFragment out, org.apache.jena.rdf.model.Resource priorState, Object entity) -
populate
Description copied from interface:RdfTypePopulates an entity from a resource RDF graph that should match the exposed shape.
-