Class TermMappingImpl
java.lang.Object
se.liu.ida.hefquin.base.data.mappings.impl.TermMappingImpl
- All Implemented Interfaces:
 TermMapping
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.jena.graph.Nodeprotected final Set<org.apache.jena.graph.Node> protected final org.apache.jena.graph.Node - 
Constructor Summary
ConstructorsConstructorDescriptionTermMappingImpl(org.apache.jena.graph.Node type, org.apache.jena.graph.Node globalTerm, Set<org.apache.jena.graph.Node> localTerms) TermMappingImpl(org.apache.jena.graph.Node type, org.apache.jena.graph.Node globalTerm, org.apache.jena.graph.Node... localTerms)  - 
Method Summary
Modifier and TypeMethodDescriptionorg.apache.jena.graph.NodeReturn the global term that is mapped by this mapping.Set<org.apache.jena.graph.Node> Return the local terms that this mapping maps to.org.apache.jena.graph.NodeGet the type of the mapping rule, e.g., equivalentClass, equivalentProperty, subClassOf, subPropertyOf, unionOfprotected static final Set<org.apache.jena.graph.Node> toSet(org.apache.jena.graph.Node... array)  
- 
Field Details
- 
type
protected final org.apache.jena.graph.Node type - 
globalTerm
protected final org.apache.jena.graph.Node globalTerm - 
localTerms
 
 - 
 - 
Constructor Details
- 
TermMappingImpl
public TermMappingImpl(org.apache.jena.graph.Node type, org.apache.jena.graph.Node globalTerm, Set<org.apache.jena.graph.Node> localTerms)  - 
TermMappingImpl
public TermMappingImpl(org.apache.jena.graph.Node type, org.apache.jena.graph.Node globalTerm, org.apache.jena.graph.Node... localTerms)  
 - 
 - 
Method Details
- 
toSet
 - 
getTypeOfRule
public org.apache.jena.graph.Node getTypeOfRule()Description copied from interface:TermMappingGet the type of the mapping rule, e.g., equivalentClass, equivalentProperty, subClassOf, subPropertyOf, unionOf- Specified by:
 getTypeOfRulein interfaceTermMapping
 - 
getGlobalTerm
public org.apache.jena.graph.Node getGlobalTerm()Description copied from interface:TermMappingReturn the global term that is mapped by this mapping.- Specified by:
 getGlobalTermin interfaceTermMapping
 - 
getLocalTerms
Description copied from interface:TermMappingReturn the local terms that this mapping maps to.- Specified by:
 getLocalTermsin interfaceTermMapping
 
 -