Class PropertyNameMappingImpl_AllToURIs

java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.PropertyNameMappingImpl_AllToURIs
All Implemented Interfaces:
PropertyNameMapping
Direct Known Subclasses:
PropertyNameMappingImpl_RegexMatchToURIs

public class PropertyNameMappingImpl_AllToURIs extends Object implements PropertyNameMapping
  • Field Details

    • NSPROPERTY

      protected final String NSPROPERTY
  • Constructor Details

    • PropertyNameMappingImpl_AllToURIs

      public PropertyNameMappingImpl_AllToURIs(String NSPROPERTY)
  • Method Details

    • map

      public org.apache.jena.graph.Node map(String propertyName)
      Description copied from interface: PropertyNameMapping
      Returns the IRI (in the form of a Jena Node object) that is the result of applying this property name mapping to the given property name.
      Specified by:
      map in interface PropertyNameMapping
    • unmap

      public String unmap(org.apache.jena.graph.Node node)
      Description copied from interface: PropertyNameMapping
      Returns the String that corresponds to the given RDF term. It applies the inverse of this property mapping to the given RDF term (which is assumed to be an IRI) in order to obtain the corresponding String.
      Specified by:
      unmap in interface PropertyNameMapping
    • isPossibleResult

      public boolean isPossibleResult(org.apache.jena.graph.Node node)
      Description copied from interface: PropertyNameMapping
      Check if the given RDF term is in the image of this property mapping and, thus, may be one of the RDF terms returned by the PropertyNameMapping.map(String) function for some String.
      Specified by:
      isPossibleResult in interface PropertyNameMapping