Class PropertyNameMappingImpl_SingleMatchToURI
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.PropertyNameMappingImpl_SingleMatchToURI
- All Implemented Interfaces:
PropertyNameMapping
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.jena.graph.Nodeprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisPossibleResult(org.apache.jena.graph.Node node) 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 thePropertyNameMapping.map(String)function for some String.org.apache.jena.graph.NodeReturns the IRI (in the form of a JenaNodeobject) that is the result of applying this property name mapping to the given property name.unmap(org.apache.jena.graph.Node node) Returns the String that corresponds to the given RDF term.
-
Field Details
-
propertyName
-
node
protected final org.apache.jena.graph.Node node
-
-
Constructor Details
-
PropertyNameMappingImpl_SingleMatchToURI
-
-
Method Details
-
map
Description copied from interface:PropertyNameMappingReturns the IRI (in the form of a JenaNodeobject) that is the result of applying this property name mapping to the given property name.- Specified by:
mapin interfacePropertyNameMapping
-
unmap
Description copied from interface:PropertyNameMappingReturns 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:
unmapin interfacePropertyNameMapping
-
isPossibleResult
public boolean isPossibleResult(org.apache.jena.graph.Node node) Description copied from interface:PropertyNameMappingCheck if the given RDF term is in the image of this property mapping and, thus, may be one of the RDF terms returned by thePropertyNameMapping.map(String)function for some String.- Specified by:
isPossibleResultin interfacePropertyNameMapping
-