Class MappingSet

java.lang.Object
org.incenp.obofoundry.sssom.model.MappingSet

public class MappingSet extends Object
  • Constructor Details

  • Method Details

    • setMappingSetConfidence

      public void setMappingSetConfidence(Double value)
      Sets the mapping_set_confidence field to a new value.
      Parameters:
      value - The new mapping_set_confidence value to set.
      Throws:
      IllegalArgumentException - If the value is outside of the valid range.
    • getMappingSetSource

      public List<String> getMappingSetSource(boolean set)
      Gets the list of mapping_set_source values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of mapping_set_source values.
    • getCreatorId

      public List<String> getCreatorId(boolean set)
      Gets the list of creator_id values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of creator_id values.
    • getCreatorLabel

      public List<String> getCreatorLabel(boolean set)
      Gets the list of creator_label values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of creator_label values.
    • getCardinalityScope

      public List<String> getCardinalityScope(boolean set)
      Gets the list of cardinality_scope values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of cardinality_scope values.
    • getSubjectMatchField

      public List<String> getSubjectMatchField(boolean set)
      Gets the list of subject_match_field values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of subject_match_field values.
    • getObjectMatchField

      public List<String> getObjectMatchField(boolean set)
      Gets the list of object_match_field values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of object_match_field values.
    • getSubjectPreprocessing

      public List<String> getSubjectPreprocessing(boolean set)
      Gets the list of subject_preprocessing values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of subject_preprocessing values.
    • getObjectPreprocessing

      public List<String> getObjectPreprocessing(boolean set)
      Gets the list of object_preprocessing values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of object_preprocessing values.
    • getCurationRule

      public List<String> getCurationRule(boolean set)
      Gets the list of curation_rule values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of curation_rule values.
    • getCurationRuleText

      public List<String> getCurationRuleText(boolean set)
      Gets the list of curation_rule_text values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of curation_rule_text values.
    • getSeeAlso

      public List<String> getSeeAlso(boolean set)
      Gets the list of see_also values, optionally initializing the list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of see_also values.
    • getExtensions

      public Map<String,ExtensionValue> getExtensions(boolean set)
      Gets the map of extension values, optionally initializing the map if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty map if it happens to be null.
      Returns:
      The map of extension values.
    • getCurieMap

      public Map<String,String> getCurieMap(boolean set)
      Gets the prefix map, optionally initializing the map if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty map if it happens to be null.
      Returns:
      The prefix map.
    • getMappings

      public List<Mapping> getMappings(boolean set)
      Gets the list of mappings, optionally initializing the underlying field to an empty list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of mappings.
    • getExtensionDefinitions

      public List<ExtensionDefinition> getExtensionDefinitions(boolean set)
      Gets the list of extension definitions, optionally initializing the underlying field to an empty list if needed.
      Parameters:
      set - If true, the underlying field will be initialized to an empty list if it happens to be null.
      Returns:
      The list of extension definitions.
    • builder

      public static MappingSet.MappingSetBuilder builder()
    • toBuilder

      public MappingSet.MappingSetBuilder toBuilder()
    • getSssomVersion

      public Version getSssomVersion()
    • getCurieMap

      public Map<String,String> getCurieMap()
    • getMappings

      public List<Mapping> getMappings()
    • getMappingSetId

      public String getMappingSetId()
    • getMappingSetVersion

      public String getMappingSetVersion()
    • getMappingSetSource

      public List<String> getMappingSetSource()
    • getMappingSetTitle

      public String getMappingSetTitle()
    • getMappingSetDescription

      public String getMappingSetDescription()
    • getMappingSetConfidence

      public Double getMappingSetConfidence()
    • getCreatorId

      public List<String> getCreatorId()
    • getCreatorLabel

      public List<String> getCreatorLabel()
    • getLicense

      public String getLicense()
    • getSubjectType

      public EntityType getSubjectType()
    • getSubjectSource

      public String getSubjectSource()
    • getSubjectSourceVersion

      public String getSubjectSourceVersion()
    • getObjectType

      public EntityType getObjectType()
    • getObjectSource

      public String getObjectSource()
    • getObjectSourceVersion

      public String getObjectSourceVersion()
    • getPredicateType

      public EntityType getPredicateType()
    • getMappingProvider

      public String getMappingProvider()
    • getCardinalityScope

      public List<String> getCardinalityScope()
    • getMappingTool

      public String getMappingTool()
    • getMappingToolId

      public String getMappingToolId()
    • getMappingToolVersion

      public String getMappingToolVersion()
    • getMappingDate

      public LocalDate getMappingDate()
    • getPublicationDate

      public LocalDate getPublicationDate()
    • getSubjectMatchField

      public List<String> getSubjectMatchField()
    • getObjectMatchField

      public List<String> getObjectMatchField()
    • getSubjectPreprocessing

      public List<String> getSubjectPreprocessing()
    • getObjectPreprocessing

      public List<String> getObjectPreprocessing()
    • getSimilarityMeasure

      public String getSimilarityMeasure()
    • getCurationRule

      public List<String> getCurationRule()
    • getCurationRuleText

      public List<String> getCurationRuleText()
    • getSeeAlso

      public List<String> getSeeAlso()
    • getIssueTracker

      public String getIssueTracker()
    • getOther

      public String getOther()
    • getComment

      public String getComment()
    • getExtensionDefinitions

      public List<ExtensionDefinition> getExtensionDefinitions()
    • getExtensions

      public Map<String,ExtensionValue> getExtensions()
    • setSssomVersion

      public void setSssomVersion(Version sssomVersion)
    • setCurieMap

      public void setCurieMap(Map<String,String> curieMap)
    • setMappings

      public void setMappings(List<Mapping> mappings)
    • setMappingSetId

      public void setMappingSetId(String mappingSetId)
    • setMappingSetVersion

      public void setMappingSetVersion(String mappingSetVersion)
    • setMappingSetSource

      public void setMappingSetSource(List<String> mappingSetSource)
    • setMappingSetTitle

      public void setMappingSetTitle(String mappingSetTitle)
    • setMappingSetDescription

      public void setMappingSetDescription(String mappingSetDescription)
    • setCreatorId

      public void setCreatorId(List<String> creatorId)
    • setCreatorLabel

      public void setCreatorLabel(List<String> creatorLabel)
    • setLicense

      public void setLicense(String license)
    • setSubjectType

      public void setSubjectType(EntityType subjectType)
    • setSubjectSource

      public void setSubjectSource(String subjectSource)
    • setSubjectSourceVersion

      public void setSubjectSourceVersion(String subjectSourceVersion)
    • setObjectType

      public void setObjectType(EntityType objectType)
    • setObjectSource

      public void setObjectSource(String objectSource)
    • setObjectSourceVersion

      public void setObjectSourceVersion(String objectSourceVersion)
    • setPredicateType

      public void setPredicateType(EntityType predicateType)
    • setMappingProvider

      public void setMappingProvider(String mappingProvider)
    • setCardinalityScope

      public void setCardinalityScope(List<String> cardinalityScope)
    • setMappingTool

      public void setMappingTool(String mappingTool)
    • setMappingToolId

      public void setMappingToolId(String mappingToolId)
    • setMappingToolVersion

      public void setMappingToolVersion(String mappingToolVersion)
    • setMappingDate

      public void setMappingDate(LocalDate mappingDate)
    • setPublicationDate

      public void setPublicationDate(LocalDate publicationDate)
    • setSubjectMatchField

      public void setSubjectMatchField(List<String> subjectMatchField)
    • setObjectMatchField

      public void setObjectMatchField(List<String> objectMatchField)
    • setSubjectPreprocessing

      public void setSubjectPreprocessing(List<String> subjectPreprocessing)
    • setObjectPreprocessing

      public void setObjectPreprocessing(List<String> objectPreprocessing)
    • setSimilarityMeasure

      public void setSimilarityMeasure(String similarityMeasure)
    • setCurationRule

      public void setCurationRule(List<String> curationRule)
    • setCurationRuleText

      public void setCurationRuleText(List<String> curationRuleText)
    • setSeeAlso

      public void setSeeAlso(List<String> seeAlso)
    • setIssueTracker

      public void setIssueTracker(String issueTracker)
    • setOther

      public void setOther(String other)
    • setComment

      public void setComment(String comment)
    • setExtensionDefinitions

      public void setExtensionDefinitions(List<ExtensionDefinition> extensionDefinitions)
    • setExtensions

      public void setExtensions(Map<String,ExtensionValue> extensions)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object