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

public abstract class RdfTypePrimitiveBase extends RdfTypeBase
  • Constructor Details

    • RdfTypePrimitiveBase

      public RdfTypePrimitiveBase()
  • Method Details

    • isSimpleType

      public boolean isSimpleType()
      Description copied from interface: RdfType
      A 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(ResourceShapeBuilder rsb)
    • exposeFragment

      public void exposeFragment(ResourceFragment out, org.apache.jena.rdf.model.Resource priorState, Object entity)
    • populate

      public EntityFragment populate(org.apache.jena.rdf.model.Resource shape, Object entity)
      Description copied from interface: RdfType
      Populates an entity from a resource RDF graph that should match the exposed shape.