Uses of Enum Class
org.incenp.obofoundry.sssom.model.Version
Packages that use Version
Package
Description
-
Uses of Version in org.incenp.obofoundry.sssom
Fields in org.incenp.obofoundry.sssom declared as VersionModifier and TypeFieldDescriptionprotected Version
SSSOMReader.assumedVersion
protected Version
SSSOMWriter.targetVersion
Methods in org.incenp.obofoundry.sssom that return VersionModifier and TypeMethodDescriptionValidator.getCompliantVersion
(MappingSet set) Deprecated.VersionComplianceVisitor.getVersion()
Gets the minimum version required, according to the slots visited so far.Methods in org.incenp.obofoundry.sssom with parameters of type VersionModifier and TypeMethodDescriptionYAMLConverter.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.void
SSSOMReader.setAssumedVersion
(Version version) Sets the version of the SSSOM specification that the reader should assume the set is compliant with, if the set does not have asssom_version
slot.void
YAMLConverter.setAssumedVersion
(Version version) Sets the version of the SSSOM specification that a set should be assumed to be compliant with, in the absence of an explicitsssom_version
slot.void
SSSOMWriter.setTargetVersion
(Version targetVersion) Sets the highest version of the SSSOM specification that the written set must be compliant with.void
VersionComplianceVisitor.visit
(VersionSlot<T> slot, T object, Version unused) Constructors in org.incenp.obofoundry.sssom with parameters of type VersionConstructor parameters in org.incenp.obofoundry.sssom with type arguments of type VersionModifierConstructorDescriptionVersionComplianceVisitor
(Set<Version> versions) Creates a new instance. -
Uses of Version in org.incenp.obofoundry.sssom.model
Fields in org.incenp.obofoundry.sssom.model declared as VersionModifier and TypeFieldDescriptionstatic final Version
Version.LATEST
The latest version of the specification currently supported by this implementation.Methods in org.incenp.obofoundry.sssom.model that return VersionModifier and TypeMethodDescriptionstatic Version
Parses an IRI into the corresponding SSSOM version object.static Version
Version.fromString
(String v) Parses a string into the corresponding SSSOM version object.static Version
Version.getCompliantVersion
(MappingSet ms) Gets the minimum version of the SSSOM specification that the given set is compliant with.static Version
Version.getHighestVersion
(Collection<Version> versions) Gets the most recent version of all the versions in the given collection.MappingSet.getSssomVersion()
static Version
Returns the enum constant of this class with the specified name.static Version[]
Version.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.incenp.obofoundry.sssom.model with parameters of type VersionModifier and TypeMethodDescriptionboolean
Version.isCompatibleWith
(Version target) Checks whether this version is compatible with the indicated version.void
MappingSet.setSssomVersion
(Version sssomVersion) MappingSet.MappingSetBuilder.sssomVersion
(Version sssomVersion) Method parameters in org.incenp.obofoundry.sssom.model with type arguments of type VersionModifier and TypeMethodDescriptionstatic Version
Version.getHighestVersion
(Collection<Version> versions) Gets the most recent version of all the versions in the given collection.Constructors in org.incenp.obofoundry.sssom.model with parameters of type VersionModifierConstructorDescriptionprotected
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 Version in org.incenp.obofoundry.sssom.rdf
Methods in org.incenp.obofoundry.sssom.rdf with parameters of type VersionModifier and TypeMethodDescriptionRDFConverter.mappingFromRDF
(org.eclipse.rdf4j.model.Model model, Version targetVersion) Converts a RDF model to a Mapping object.Constructors in org.incenp.obofoundry.sssom.rdf with parameters of type VersionModifierConstructorDescriptionRDFConverter
(ExtraMetadataPolicy policy, Version assumedVersion) Creates a new instance with an explicit policy for converting non-standard metadata and a default assumed version. -
Uses of Version in org.incenp.obofoundry.sssom.slots
Methods in org.incenp.obofoundry.sssom.slots that return VersionModifier and TypeMethodDescriptionSlot.getCompliantVersion()
Gets the earliest version of the SSSOM specification this slot is compatible with.Methods in org.incenp.obofoundry.sssom.slots with parameters of type VersionModifier and TypeMethodDescriptionGets a subset of the current list of slots, containing only the slots that are compatible with the given version of the SSSOM specification.void
SlotPropagator.setMaxVersion
(Version maxVersion) Sets the highest version of the SSSOM specification to use for deciding which slots should be affected by propagation or condensation operations.default void
ISlotVisitor.visit
(VersionSlot<T> slot, T object, Version version) Visits a slot that holds a SSSOM version value.void
SlotVisitorBase.visit
(VersionSlot<T> slot, T object, Version value) Constructors in org.incenp.obofoundry.sssom.slots with parameters of type VersionModifierConstructorDescriptionSlotPropagator
(PropagationPolicy policy, Version maxVersion) Creates a new instance with the specified propagation policy and highest version.
getCompliantVersion(MappingSet)
instead.