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 aMappingSetobject.JSONReader.read()abstract MappingSetSSSOMReader.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 TypeMethodDescriptionvoidValidator.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 voidJSONWriter.doWrite(MappingSet mappingSet) Serialises a mapping set into the underlying file.protected abstract voidSSSOMWriter.doWrite(MappingSet mappingSet) Actually serialises a mapping set.protected voidTSVWriter.doWrite(MappingSet mappingSet) voidExtensionSlotManager.fillFromExistingExtensions(MappingSet ms) Gets definitions for all extensions used in the specified mapping set.Validator.getCompliantVersion(MappingSet set) Deprecated.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.voidSetMerger.merge(MappingSet dst, MappingSet src) Merges one set into another, according to the current configuration.voidYAMLConverter.postMappings(MappingSet ms) Finalise the conversion of a set.protected voidSSSOMReader.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.voidSetMerger.visit(CurieMapSlot<MappingSet> slot, MappingSet src, Map<String, String> values) voidSetMerger.visit(ExtensionDefinitionSlot<MappingSet> slot, MappingSet object, List<ExtensionDefinition> values) voidSetMerger.visit(ExtensionSlot<MappingSet> slot, MappingSet src, Map<String, ExtensionValue> values) voidSetMerger.visit(Slot<MappingSet> slot, MappingSet src, Object value) voidSetMerger.visit(StringSlot<MappingSet> slot, MappingSet src, List<String> values) voidSSSOMWriter.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 TypeMethodDescriptionvoidSetMerger.visit(CurieMapSlot<MappingSet> slot, MappingSet src, Map<String, String> values) voidSetMerger.visit(ExtensionDefinitionSlot<MappingSet> slot, MappingSet object, List<ExtensionDefinition> values) voidSetMerger.visit(ExtensionSlot<MappingSet> slot, MappingSet src, Map<String, ExtensionValue> values) voidSetMerger.visit(Slot<MappingSet> slot, MappingSet src, Object value) voidSetMerger.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.slotExtractorMethods 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 MappingSetMethods in org.incenp.obofoundry.sssom.model with parameters of type MappingSetModifier and TypeMethodDescriptionvoidVersion.enforceCompliance(MappingSet ms) Ensures the provided mapping set is compatible with this version.static VersionVersion.getCompliantVersion(MappingSet ms) Gets the minimum version of the SSSOM specification that the given set is compliant with.booleanVersion.isCompliant(MappingSet ms) Checks that the given mapping set is compatible with this version. -
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 voidOWLHelper.annotate(MappingSet ms, org.semanticweb.owlapi.model.OWLOntology ontology) Annotates an ontology with annotations derived from the metadata of a mapping set.static voidOWLHelper.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.OWLOntologyOWLHelper.exportToOWL(MappingSet ms, org.semanticweb.owlapi.model.OWLOntologyManager mgr) Exports a mapping set as an ontology.static voidOWLHelper.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 voidOWLHelper.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 voidOWLHelper.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 voidRDFWriter.doWrite(MappingSet mappingSet) org.eclipse.rdf4j.model.ModelRDFConverter.toRDF(MappingSet ms) Converts a MappingSet to a Rdf4J model.org.eclipse.rdf4j.model.ModelRDFConverter.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.ModelRDFConverter.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.ModelRDFConverter.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 manipulateMappingSetslots.static SlotHelper<MappingSet> SlotHelper.getMappingSetHelper(boolean newHelper) Gets a helper object to manipulateMappingSetslots.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 TypeMethodDescriptionvoidExtendedPrefixMap.canonicalise(MappingSet set) Canonicalises a mapping set.static voidExtensionSlotHelper.fromOther(MappingSet ms, boolean remove) Decodes the values ofotherslots into proper extension slots.static voidExtensionSlotHelper.toOther(MappingSet ms, boolean remove) Encodes extension slots intoothervalues.
Version.getCompliantVersion(MappingSet)instead.