Uses of Class
org.incenp.obofoundry.sssom.model.Mapping
Packages that use Mapping
Package
Description
-
Uses of Mapping in org.incenp.obofoundry.sssom
Methods in org.incenp.obofoundry.sssom that return MappingModifier and TypeMethodDescriptionYAMLConverter.convertMapping
(Map<String, Object> rawMap) Converts a generic dictionary (as may have been obtained from a YAML or JSON parser) into aMapping
object.YAMLConverter.convertMapping
(Map<String, Object> rawMap, Version targetVersion) Converts a generic dictionary (as may have been obtained from a YAML or JSON parser) into aMapping
object.Methods in org.incenp.obofoundry.sssom with parameters of type MappingModifier and TypeMethodDescriptionint
Gets a string representing the object of a mapping, that can be used for cardinality computation.Cardinalizer.getSubject
(Mapping mapping) Gets a string representing the subject of a mapping, that can be used for cardinality computation.Hashes the given mapping using the SSSOM standard hash procedure.Deprecated.Method parameters in org.incenp.obofoundry.sssom with type arguments of type MappingModifier and TypeMethodDescriptionvoid
Cardinalizer.fillCardinality
(List<Mapping> mappings) Computes the cardinality of all mappings in the given set, according to the current scope, and fills themapping_cardinality
slot and thecardinality_scope
slot accordingly. -
Uses of Mapping in org.incenp.obofoundry.sssom.checks
Methods in org.incenp.obofoundry.sssom.checks with parameters of type MappingModifier and TypeMethodDescriptionChecks a mapping for a possible post-parsing error. -
Uses of Mapping in org.incenp.obofoundry.sssom.extract
Fields in org.incenp.obofoundry.sssom.extract with type parameters of type MappingModifier and TypeFieldDescriptionprotected SlotExtractor
<Mapping> MappingSlotExtractor.slotExtractor
Methods in org.incenp.obofoundry.sssom.extract with parameters of type MappingModifier and TypeMethodDescriptionprotected Object
protected Object
protected Object
protected abstract Object
Extracts the desired value from the given mapping.Constructor parameters in org.incenp.obofoundry.sssom.extract with type arguments of type MappingModifierConstructorDescriptionMappingSlotExtractor
(int mappingNo, Slot<Mapping> slot, int itemNo) Creates a new instance. -
Uses of Mapping in org.incenp.obofoundry.sssom.model
Methods in org.incenp.obofoundry.sssom.model that return MappingModifier and TypeMethodDescriptionMapping.MappingBuilder.build()
static Mapping
Deprecated.Useinvert()
instead.Mapping.invert()
Creates an inverted version of this mapping if possible.Creates an inverted version of this mapping with an explicit predicate.Methods in org.incenp.obofoundry.sssom.model that return types with arguments of type MappingModifier and TypeMethodDescriptionMappingSet.getMappings()
MappingSet.getMappings
(boolean set) Gets the list of mappings, optionally initializing the underlying field to an empty list if needed.Methods in org.incenp.obofoundry.sssom.model with parameters of type MappingModifier and TypeMethodDescriptionstatic String
Deprecated.UseCardinalizer.getObject(Mapping)
instead.static String
MappingCardinality.getSubject
(Mapping mapping) Deprecated.UseCardinalizer.getSubject(Mapping)
instead.static Mapping
Deprecated.Useinvert()
instead.Method parameters in org.incenp.obofoundry.sssom.model with type arguments of type MappingModifier and TypeMethodDescriptionstatic void
MappingCardinality.inferCardinality
(List<Mapping> mappings) Deprecated.UseCardinalizer.fillCardinality(List)
instead.void
MappingSet.setMappings
(List<Mapping> mappings) Constructor parameters in org.incenp.obofoundry.sssom.model with type arguments of type MappingModifierConstructorDescriptionprotected
MappingSet
(Version sssomVersion, Map<String, String> curieMap, List<Mapping> mappings, String mappingSetId, String mappingSetVersion, List<String> mappingSetSource, String mappingSetTitle, String mappingSetDescription, Double mappingSetConfidence, List<String> creatorId, List<String> creatorLabel, String license, EntityType subjectType, String subjectSource, String subjectSourceVersion, EntityType objectType, String objectSource, String objectSourceVersion, EntityType predicateType, String mappingProvider, List<String> cardinalityScope, String mappingTool, String mappingToolId, String mappingToolVersion, LocalDate mappingDate, LocalDate publicationDate, List<String> subjectMatchField, List<String> objectMatchField, List<String> subjectPreprocessing, List<String> objectPreprocessing, String similarityMeasure, List<String> curationRule, List<String> curationRuleText, List<String> seeAlso, String issueTracker, String other, String comment, List<ExtensionDefinition> extensionDefinitions, Map<String, ExtensionValue> extensions) -
Uses of Mapping in org.incenp.obofoundry.sssom.owl
Methods in org.incenp.obofoundry.sssom.owl that return MappingModifier and TypeMethodDescriptionDeprecated.Deprecated.Methods in org.incenp.obofoundry.sssom.owl that return types with arguments of type MappingModifier and TypeMethodDescriptionDeprecated.Deprecated.Methods in org.incenp.obofoundry.sssom.owl with parameters of type MappingModifier and TypeMethodDescriptionboolean
boolean
org.semanticweb.owlapi.model.OWLAxiom
org.semanticweb.owlapi.model.OWLAxiom
org.semanticweb.owlapi.model.OWLAxiom
org.semanticweb.owlapi.model.OWLAxiom
org.semanticweb.owlapi.model.OWLAxiom
Deprecated.Deprecated.org.semanticweb.owlapi.model.OWLAxiom
Method parameters in org.incenp.obofoundry.sssom.owl with type arguments of type MappingModifier and TypeMethodDescriptionvoid
OWLGenerator.addRule
(IMappingFilter filter, IMappingTransformer<Mapping> preprocessor, IMappingTransformer<org.semanticweb.owlapi.model.OWLAxiom> generator) Adds a processing rule.Constructor parameters in org.incenp.obofoundry.sssom.owl with type arguments of type MappingModifierConstructorDescriptionAnnotatedAxiomGenerator
(org.semanticweb.owlapi.model.OWLOntology ontology, IMappingTransformer<org.semanticweb.owlapi.model.OWLAxiom> innerGenerator, IMetadataTransformer<Mapping, org.semanticweb.owlapi.model.IRI> slotTranslator) Creates a new instance with the specified generator and metadata transformer.AnnotatedAxiomGenerator
(org.semanticweb.owlapi.model.OWLOntology ontology, IMappingTransformer<org.semanticweb.owlapi.model.OWLAxiom> innerGenerator, IMetadataTransformer<Mapping, org.semanticweb.owlapi.model.IRI> slotTranslator, boolean onlyMetadata) Creates a new instance with the specified generator and metadata transformer.AnnotatedAxiomGenerator
(org.semanticweb.owlapi.model.OWLOntology ontology, IMappingTransformer<org.semanticweb.owlapi.model.OWLAxiom> innerGenerator, IMetadataTransformer<Mapping, org.semanticweb.owlapi.model.IRI> slotTranslator, Collection<String> slots) Creates a new instance with the specified generator and metadata transformer, and a customised list of slots to use to generate the annotations. -
Uses of Mapping in org.incenp.obofoundry.sssom.rdf
Methods in org.incenp.obofoundry.sssom.rdf that return MappingModifier and TypeMethodDescriptionRDFConverter.mappingFromRDF
(org.eclipse.rdf4j.model.Model model) Converts a RDF model to a Mapping object.RDFConverter.mappingFromRDF
(org.eclipse.rdf4j.model.Model model, Version targetVersion) Converts a RDF model to a Mapping object. -
Uses of Mapping in org.incenp.obofoundry.sssom.slots
Methods in org.incenp.obofoundry.sssom.slots that return types with arguments of type MappingModifier and TypeMethodDescriptionstatic SlotHelper
<Mapping> SlotHelper.getMappingHelper()
Gets the default helper object to manipulateMapping
slots.static SlotHelper
<Mapping> SlotHelper.getMappingHelper
(boolean newHelper) Gets a helper object to manipulateMapping
slots. -
Uses of Mapping in org.incenp.obofoundry.sssom.transform
Methods in org.incenp.obofoundry.sssom.transform that return MappingModifier and TypeMethodDescriptionMappingProcessingRule.preprocess
(Mapping mapping) Applies the preprocessing step to the given mapping.Methods in org.incenp.obofoundry.sssom.transform that return types with arguments of type MappingModifier and TypeMethodDescriptionDeprecated.ISSSOMTransformApplication.onPreprocessingAction
(String name, List<String> arguments, Map<String, String> keyedArguments) Processes a preprocessing action.SSSOMTransformApplication.onPreprocessingAction
(String name, List<String> arguments, Map<String, String> keyedArguments) Methods in org.incenp.obofoundry.sssom.transform with parameters of type MappingModifier and TypeMethodDescriptionboolean
Checks whether the rule should be applied to the given mapping.VariableManager.expandVariable
(String name, Mapping mapping) Gets the value of a variable for a given mapping.boolean
boolean
Check if a mapping satisfies a given condition.boolean
boolean
boolean
Formats a string with values derived from a mapping.Generates the output object from the given mapping.void
IMappingProcessorListener.generated
(MappingProcessingRule<T> rule, Mapping mapping, T product) This method is called whenever a rule is applied to a mapping and produces an object.protected void
MappingProcessor.onGeneratedProduct
(MappingProcessingRule<T> rule, Mapping mapping, T product) Called when a rule generates an object from a mapping.MappingProcessingRule.preprocess
(Mapping mapping) Applies the preprocessing step to the given mapping.Transform a mapping into something else.Method parameters in org.incenp.obofoundry.sssom.transform with type arguments of type MappingModifier and TypeMethodDescriptionboolean
Calls the custom callback associated with the rule, if any.void
IMappingProcessorCallback.process
(IMappingFilter filter, List<Mapping> mappings) Applies a custom process to a set of mappings.Applies all the rules to the given mappings.void
NamedMappingProcessorCallback.process
(IMappingFilter filter, List<Mapping> mappings) void
SSSOMTInferCardinalityFunction.process
(IMappingFilter filter, List<Mapping> mappings) void
SSSOMTransformApplication.registerPreprocessor
(ISSSOMTFunction<IMappingTransformer<Mapping>> function) Registers a new SSSOM/T preprocessor function.Constructor parameters in org.incenp.obofoundry.sssom.transform with type arguments of type MappingModifierConstructorDescriptionMappingProcessingRule
(IMappingFilter filter, IMappingTransformer<Mapping> preprocessor, IMappingTransformer<T> generator) Creates a new instance.MappingProcessingRule
(IMappingFilter filter, IMappingTransformer<Mapping> preprocessor, IMappingTransformer<T> generator, IMappingProcessorCallback callback) Creates a new instance that includes a custom processing step. -
Uses of Mapping in org.incenp.obofoundry.sssom.uriexpr
Methods in org.incenp.obofoundry.sssom.uriexpr that return MappingModifier and TypeMethodDescriptionMethods in org.incenp.obofoundry.sssom.uriexpr that return types with arguments of type MappingModifier and TypeMethodDescriptionMethods in org.incenp.obofoundry.sssom.uriexpr with parameters of type Mapping -
Uses of Mapping in org.incenp.obofoundry.sssom.util
Method parameters in org.incenp.obofoundry.sssom.util with type arguments of type MappingModifier and TypeMethodDescriptionvoid
ExtendedPrefixMap.canonicalise
(List<Mapping> mappings) Canonicalises a list of mappings.
Validator.validate(MappingSet)
to validate an entire mapping set instead.