Uses of Class
org.incenp.obofoundry.sssom.model.MappingSet
Packages that use MappingSet
Package
Description
-
Uses of MappingSet in org.incenp.obofoundry.sssom
Methods in org.incenp.obofoundry.sssom that return MappingSetModifier and TypeMethodDescriptionYAMLConverter.convertMappingSet
(Map<String, Object> rawMap) Converts a generic dictionary (as may have been obtained from a YAML or JSON parser) into aMappingSet
object.JSONReader.read()
abstract MappingSet
SSSOMReader.read()
Reads a mapping set from the source file.TSVReader.read()
Reads a mapping set from the source file(s).TSVReader.read
(boolean metadataOnly) Reads a mapping set from the source file(s), with the option of reading the metadata only.Methods in org.incenp.obofoundry.sssom with parameters of type MappingSetModifier and TypeMethodDescriptionvoid
Validator.check
(MappingSet ms) Checks whether the given mapping set is valid, and throws an exception if it is not.SSSOMWriter.condenseSet
(MappingSet mappingSet) Performs condensation of "propagatable slots" in a mapping set.protected void
JSONWriter.doWrite
(MappingSet mappingSet) Serialises a mapping set into the underlying file.protected abstract void
SSSOMWriter.doWrite
(MappingSet mappingSet) Actually serialises a mapping set.protected void
TSVWriter.doWrite
(MappingSet mappingSet) void
ExtensionSlotManager.fillFromExistingExtensions
(MappingSet ms) Gets definitions for all extensions used in the specified mapping set.Validator.getCompliantVersion
(MappingSet set) Gets the minimum version of the SSSOM specification that the given set is compliant with.SSSOMWriter.getUsedPrefixes
(MappingSet mappingSet) Gets the prefix names that are actually used in the given set.SSSOMWriter.getUsedPrefixes
(MappingSet mappingSet, boolean includeBuiltin) Gets the prefix names that are actually used in the given set, possibly including the builtin prefix names.void
SetMerger.merge
(MappingSet dst, MappingSet src) Merges one set into another, according to the current configuration.void
YAMLConverter.postMappings
(MappingSet ms) Finalise the conversion of a set.protected void
SSSOMReader.validate
(MappingSet mappingSet) Validates a mapping set.Validator.validate
(MappingSet ms) Checks whether the given mapping set, including the mappings it contains, is valid.Validator.validate
(MappingSet ms, boolean alwaysCheckMappings) Checks whether the given mapping set is valid.void
SetMerger.visit
(CurieMapSlot<MappingSet> slot, MappingSet src, Map<String, String> values) void
SetMerger.visit
(ExtensionDefinitionSlot<MappingSet> slot, MappingSet object, List<ExtensionDefinition> values) void
SetMerger.visit
(ExtensionSlot<MappingSet> slot, MappingSet src, Map<String, ExtensionValue> values) void
SetMerger.visit
(Slot<MappingSet> slot, MappingSet src, Object value) void
SetMerger.visit
(StringSlot<MappingSet> slot, MappingSet src, List<String> values) void
SSSOMWriter.write
(MappingSet mappingSet) Serialises a mapping set into the underlying file.Method parameters in org.incenp.obofoundry.sssom with type arguments of type MappingSetModifier and TypeMethodDescriptionvoid
SetMerger.visit
(CurieMapSlot<MappingSet> slot, MappingSet src, Map<String, String> values) void
SetMerger.visit
(ExtensionDefinitionSlot<MappingSet> slot, MappingSet object, List<ExtensionDefinition> values) void
SetMerger.visit
(ExtensionSlot<MappingSet> slot, MappingSet src, Map<String, ExtensionValue> values) void
SetMerger.visit
(Slot<MappingSet> slot, MappingSet src, Object value) void
SetMerger.visit
(StringSlot<MappingSet> slot, MappingSet src, List<String> values) -
Uses of MappingSet in org.incenp.obofoundry.sssom.checks
Methods in org.incenp.obofoundry.sssom.checks with parameters of type MappingSetModifier and TypeMethodDescriptionDuplicatedRecordIdValidator.validate
(MappingSet ms) IMappingSetValidator.validate
(MappingSet ms) Checks a mapping set for a possible post-parsing error.MissingLicenseValidator.validate
(MappingSet ms) MissingRecordIdValidator.validate
(MappingSet ms) MissingSetIdValidator.validate
(MappingSet ms) RedefinedBuiltinPrefixValidator.validate
(MappingSet ms) -
Uses of MappingSet in org.incenp.obofoundry.sssom.extract
Fields in org.incenp.obofoundry.sssom.extract with type parameters of type MappingSetModifier and TypeFieldDescriptionprotected SlotExtractor
<MappingSet> MappingSetSlotExtractor.slotExtractor
Methods in org.incenp.obofoundry.sssom.extract with parameters of type MappingSetModifier and TypeMethodDescriptionIValueExtractor.extract
(MappingSet ms) Extracts the desired value from the given mapping set.MappingSetExtensionExtractor.extract
(MappingSet ms) MappingSetSlotExtractor.extract
(MappingSet ms) MappingValueExtractor.extract
(MappingSet ms) Constructor parameters in org.incenp.obofoundry.sssom.extract with type arguments of type MappingSetModifierConstructorDescriptionMappingSetSlotExtractor
(Slot<MappingSet> slot, int itemNo) Creates a new instance. -
Uses of MappingSet in org.incenp.obofoundry.sssom.model
Methods in org.incenp.obofoundry.sssom.model that return MappingSet -
Uses of MappingSet in org.incenp.obofoundry.sssom.owl
Methods in org.incenp.obofoundry.sssom.owl that return MappingSetModifier and TypeMethodDescriptionXrefExtractor.extract
(org.semanticweb.owlapi.model.OWLOntology ontology) Extract mappings from cross-references in the specified ontology.XrefExtractor.extract
(org.semanticweb.owlapi.model.OWLOntology ontology, boolean permissive, boolean includeGeneric) Extract mappings from cross-references in the specified ontology.Methods in org.incenp.obofoundry.sssom.owl with parameters of type MappingSetModifier and TypeMethodDescriptionstatic void
OWLHelper.annotate
(MappingSet ms, org.semanticweb.owlapi.model.OWLOntology ontology) Annotates an ontology with annotations derived from the metadata of a mapping set.static void
OWLHelper.annotate
(MappingSet ms, org.semanticweb.owlapi.model.OWLOntology ontology, boolean setOntologyIRI, IMetadataTransformer<MappingSet, org.semanticweb.owlapi.model.IRI> mapper) Annotates an ontology with annotations derived from the metadata of a mapping set.static org.semanticweb.owlapi.model.OWLOntology
OWLHelper.exportToOWL
(MappingSet ms, org.semanticweb.owlapi.model.OWLOntologyManager mgr) Exports a mapping set as an ontology.static void
OWLHelper.updateMappingSet
(MappingSet ms, org.semanticweb.owlapi.model.OWLOntology ontology, String language, boolean strict) Updates the subject label, object label, subject source, and object source in the mapping set using informations from the specified ontology.static void
OWLHelper.updateMappingSet
(MappingSet ms, org.semanticweb.owlapi.model.OWLOntology ontology, String language, boolean langStrict, EnumSet<OWLHelper.UpdateMode> mode) Generic helper method to update a mapping set from a specified ontology.Method parameters in org.incenp.obofoundry.sssom.owl with type arguments of type MappingSetModifier and TypeMethodDescriptionstatic void
OWLHelper.annotate
(MappingSet ms, org.semanticweb.owlapi.model.OWLOntology ontology, boolean setOntologyIRI, IMetadataTransformer<MappingSet, org.semanticweb.owlapi.model.IRI> mapper) Annotates an ontology with annotations derived from the metadata of a mapping set. -
Uses of MappingSet in org.incenp.obofoundry.sssom.rdf
Methods in org.incenp.obofoundry.sssom.rdf that return MappingSetModifier and TypeMethodDescriptionRDFConverter.fromRDF
(org.eclipse.rdf4j.model.Model model) Converts a RDF model to a MappingSet object.RDFReader.read()
Methods in org.incenp.obofoundry.sssom.rdf with parameters of type MappingSetModifier and TypeMethodDescriptionprotected void
RDFWriter.doWrite
(MappingSet mappingSet) org.eclipse.rdf4j.model.Model
RDFConverter.toRDF
(MappingSet ms) Converts a MappingSet to a Rdf4J model.org.eclipse.rdf4j.model.Model
RDFConverter.toRDF
(MappingSet ms, boolean includeNamespaces) Converts a MappingSet to a Rdf4J model, optionally including namespace declarations for the prefixes found in the set’s prefix map.org.eclipse.rdf4j.model.Model
RDFConverter.toRDF
(MappingSet ms, Map<String, String> prefixMap) Converts a MappingSet to a Rdf4J model, including namespace declarations for all prefixes in the specified prefix map.org.eclipse.rdf4j.model.Model
RDFConverter.toRDF
(MappingSet ms, PrefixManager prefixManager) Converts a MappingSet to a Rdf4J model, optional including namespace declarations for all prefixes held in the specified PrefixManager. -
Uses of MappingSet in org.incenp.obofoundry.sssom.slots
Methods in org.incenp.obofoundry.sssom.slots that return types with arguments of type MappingSetModifier and TypeMethodDescriptionstatic SlotHelper
<MappingSet> SlotHelper.getMappingSetHelper()
Gets the default helper object to manipulateMappingSet
slots.static SlotHelper
<MappingSet> SlotHelper.getMappingSetHelper
(boolean newHelper) Gets a helper object to manipulateMappingSet
slots.Methods in org.incenp.obofoundry.sssom.slots with parameters of type MappingSetModifier and TypeMethodDescriptionSlotPropagator.condense
(MappingSet mappingSet, boolean preserve) Condenses a mapping set, i.e. move slot values from the level of individual mappings up to the mapping set level wherever possible.SlotPropagator.propagate
(MappingSet mappingSet) Propagates the values of slots from the mapping set level to the individual mappings.SlotPropagator.propagate
(MappingSet mappingSet, boolean preserve) Propagates the values of slots the mapping set level to the individual mappings. -
Uses of MappingSet in org.incenp.obofoundry.sssom.util
Methods in org.incenp.obofoundry.sssom.util with parameters of type MappingSetModifier and TypeMethodDescriptionvoid
ExtendedPrefixMap.canonicalise
(MappingSet set) Canonicalises a mapping set.