Class CompositePropertyNameMappingImpl

java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.CompositePropertyNameMappingImpl
All Implemented Interfaces:
PropertyNameMapping

public class CompositePropertyNameMappingImpl extends Object implements PropertyNameMapping
  • Field Details

  • Constructor Details

    • CompositePropertyNameMappingImpl

      public CompositePropertyNameMappingImpl(List<PropertyNameMapping> propertyNameMappings)
  • 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