Class MappingSet
- java.lang.Object
-
- org.incenp.obofoundry.sssom.model.MappingSet
-
public class MappingSet extends Object
Represents amapping setobject.Automatically generated from the SSSOM LinkML schema.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMappingSet.MappingSetBuilder
-
Constructor Summary
Constructors Modifier Constructor Description MappingSet()Creates a new empty instance.protectedMappingSet(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)Creates a new instance from the specified values.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MappingSet.MappingSetBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<String>getCardinalityScope()Gets the value of thecardinality_scopeslot.List<String>getCardinalityScope(boolean set)Gets the list ofcardinality_scopevalues, optionally initializing the list if needed.StringgetComment()Gets the value of thecommentslot.List<String>getCreatorId()Gets the value of thecreator_idslot.List<String>getCreatorId(boolean set)Gets the list ofcreator_idvalues, optionally initializing the list if needed.List<String>getCreatorLabel()Gets the value of thecreator_labelslot.List<String>getCreatorLabel(boolean set)Gets the list ofcreator_labelvalues, optionally initializing the list if needed.List<String>getCurationRule()Gets the value of thecuration_ruleslot.List<String>getCurationRule(boolean set)Gets the list ofcuration_rulevalues, optionally initializing the list if needed.List<String>getCurationRuleText()Gets the value of thecuration_rule_textslot.List<String>getCurationRuleText(boolean set)Gets the list ofcuration_rule_textvalues, optionally initializing the list if needed.Map<String,String>getCurieMap()Gets the value of thecurie_mapslot.Map<String,String>getCurieMap(boolean set)Gets the prefix map, optionally initializing the map if needed.List<ExtensionDefinition>getExtensionDefinitions()Gets the value of theextension_definitionsslot.List<ExtensionDefinition>getExtensionDefinitions(boolean set)Gets the list ofextension_definitionsvalues, optionally initializing the list if needed.Map<String,ExtensionValue>getExtensions()Gets the map of extension values.Map<String,ExtensionValue>getExtensions(boolean set)Gets the map of extension values, optionally initializing the map if needed.StringgetIssueTracker()Gets the value of theissue_trackerslot.StringgetLicense()Gets the value of thelicenseslot.LocalDategetMappingDate()Gets the value of themapping_dateslot.StringgetMappingProvider()Gets the value of themapping_providerslot.List<Mapping>getMappings()Gets the value of themappingsslot.List<Mapping>getMappings(boolean set)Gets the list ofmappingsvalues, optionally initializing the list if needed.DoublegetMappingSetConfidence()Gets the value of themapping_set_confidenceslot.StringgetMappingSetDescription()Gets the value of themapping_set_descriptionslot.StringgetMappingSetId()Gets the value of themapping_set_idslot.List<String>getMappingSetSource()Gets the value of themapping_set_sourceslot.List<String>getMappingSetSource(boolean set)Gets the list ofmapping_set_sourcevalues, optionally initializing the list if needed.StringgetMappingSetTitle()Gets the value of themapping_set_titleslot.StringgetMappingSetVersion()Gets the value of themapping_set_versionslot.StringgetMappingTool()Gets the value of themapping_toolslot.StringgetMappingToolId()Gets the value of themapping_tool_idslot.StringgetMappingToolVersion()Gets the value of themapping_tool_versionslot.List<String>getObjectMatchField()Gets the value of theobject_match_fieldslot.List<String>getObjectMatchField(boolean set)Gets the list ofobject_match_fieldvalues, optionally initializing the list if needed.List<String>getObjectPreprocessing()Gets the value of theobject_preprocessingslot.List<String>getObjectPreprocessing(boolean set)Gets the list ofobject_preprocessingvalues, optionally initializing the list if needed.StringgetObjectSource()Gets the value of theobject_sourceslot.StringgetObjectSourceVersion()Gets the value of theobject_source_versionslot.EntityTypegetObjectType()Gets the value of theobject_typeslot.StringgetOther()Gets the value of theotherslot.EntityTypegetPredicateType()Gets the value of thepredicate_typeslot.LocalDategetPublicationDate()Gets the value of thepublication_dateslot.List<String>getSeeAlso()Gets the value of thesee_alsoslot.List<String>getSeeAlso(boolean set)Gets the list ofsee_alsovalues, optionally initializing the list if needed.StringgetSimilarityMeasure()Gets the value of thesimilarity_measureslot.VersiongetSssomVersion()Gets the value of thesssom_versionslot.List<String>getSubjectMatchField()Gets the value of thesubject_match_fieldslot.List<String>getSubjectMatchField(boolean set)Gets the list ofsubject_match_fieldvalues, optionally initializing the list if needed.List<String>getSubjectPreprocessing()Gets the value of thesubject_preprocessingslot.List<String>getSubjectPreprocessing(boolean set)Gets the list ofsubject_preprocessingvalues, optionally initializing the list if needed.StringgetSubjectSource()Gets the value of thesubject_sourceslot.StringgetSubjectSourceVersion()Gets the value of thesubject_source_versionslot.EntityTypegetSubjectType()Gets the value of thesubject_typeslot.inthashCode()voidsetCardinalityScope(List<String> value)Sets the value of thecardinality_scopeslot.voidsetComment(String value)Sets the value of thecommentslot.voidsetCreatorId(List<String> value)Sets the value of thecreator_idslot.voidsetCreatorLabel(List<String> value)Sets the value of thecreator_labelslot.voidsetCurationRule(List<String> value)Sets the value of thecuration_ruleslot.voidsetCurationRuleText(List<String> value)Sets the value of thecuration_rule_textslot.voidsetCurieMap(Map<String,String> value)Sets the value of thecurie_mapslot.voidsetExtensionDefinitions(List<ExtensionDefinition> value)Sets the value of theextension_definitionsslot.voidsetExtensions(Map<String,ExtensionValue> value)Sets the map of extension values.voidsetIssueTracker(String value)Sets the value of theissue_trackerslot.voidsetLicense(String value)Sets the value of thelicenseslot.voidsetMappingDate(LocalDate value)Sets the value of themapping_dateslot.voidsetMappingProvider(String value)Sets the value of themapping_providerslot.voidsetMappings(List<Mapping> value)Sets the value of themappingsslot.voidsetMappingSetConfidence(Double value)Sets the value of themapping_set_confidenceslot.voidsetMappingSetDescription(String value)Sets the value of themapping_set_descriptionslot.voidsetMappingSetId(String value)Sets the value of themapping_set_idslot.voidsetMappingSetSource(List<String> value)Sets the value of themapping_set_sourceslot.voidsetMappingSetTitle(String value)Sets the value of themapping_set_titleslot.voidsetMappingSetVersion(String value)Sets the value of themapping_set_versionslot.voidsetMappingTool(String value)Sets the value of themapping_toolslot.voidsetMappingToolId(String value)Sets the value of themapping_tool_idslot.voidsetMappingToolVersion(String value)Sets the value of themapping_tool_versionslot.voidsetObjectMatchField(List<String> value)Sets the value of theobject_match_fieldslot.voidsetObjectPreprocessing(List<String> value)Sets the value of theobject_preprocessingslot.voidsetObjectSource(String value)Sets the value of theobject_sourceslot.voidsetObjectSourceVersion(String value)Sets the value of theobject_source_versionslot.voidsetObjectType(EntityType value)Sets the value of theobject_typeslot.voidsetOther(String value)Sets the value of theotherslot.voidsetPredicateType(EntityType value)Sets the value of thepredicate_typeslot.voidsetPublicationDate(LocalDate value)Sets the value of thepublication_dateslot.voidsetSeeAlso(List<String> value)Sets the value of thesee_alsoslot.voidsetSimilarityMeasure(String value)Sets the value of thesimilarity_measureslot.voidsetSssomVersion(Version value)Sets the value of thesssom_versionslot.voidsetSubjectMatchField(List<String> value)Sets the value of thesubject_match_fieldslot.voidsetSubjectPreprocessing(List<String> value)Sets the value of thesubject_preprocessingslot.voidsetSubjectSource(String value)Sets the value of thesubject_sourceslot.voidsetSubjectSourceVersion(String value)Sets the value of thesubject_source_versionslot.voidsetSubjectType(EntityType value)Sets the value of thesubject_typeslot.MappingSet.MappingSetBuildertoBuilder()StringtoString()
-
-
-
Constructor Detail
-
MappingSet
public MappingSet()
Creates a new empty instance.
-
MappingSet
protected 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)
Creates a new instance from the specified values.
-
-
Method Detail
-
getSssomVersion
public Version getSssomVersion()
Gets the value of thesssom_versionslot.
-
setSssomVersion
public void setSssomVersion(Version value)
Sets the value of thesssom_versionslot.
-
getCurieMap
public Map<String,String> getCurieMap(boolean set)
Gets the prefix map, optionally initializing the map if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty map if it happens to benull.- Returns:
- The prefix map.
-
setCurieMap
public void setCurieMap(Map<String,String> value)
Sets the value of thecurie_mapslot.
-
getMappings
public List<Mapping> getMappings(boolean set)
Gets the list ofmappingsvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of mappings values.
-
getMappingSetId
public String getMappingSetId()
Gets the value of themapping_set_idslot.
-
setMappingSetId
public void setMappingSetId(String value)
Sets the value of themapping_set_idslot.
-
getMappingSetVersion
public String getMappingSetVersion()
Gets the value of themapping_set_versionslot.
-
setMappingSetVersion
public void setMappingSetVersion(String value)
Sets the value of themapping_set_versionslot.
-
getMappingSetSource
public List<String> getMappingSetSource()
Gets the value of themapping_set_sourceslot.
-
getMappingSetSource
public List<String> getMappingSetSource(boolean set)
Gets the list ofmapping_set_sourcevalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of mapping_set_source values.
-
setMappingSetSource
public void setMappingSetSource(List<String> value)
Sets the value of themapping_set_sourceslot.
-
getMappingSetTitle
public String getMappingSetTitle()
Gets the value of themapping_set_titleslot.
-
setMappingSetTitle
public void setMappingSetTitle(String value)
Sets the value of themapping_set_titleslot.
-
getMappingSetDescription
public String getMappingSetDescription()
Gets the value of themapping_set_descriptionslot.
-
setMappingSetDescription
public void setMappingSetDescription(String value)
Sets the value of themapping_set_descriptionslot.
-
getMappingSetConfidence
public Double getMappingSetConfidence()
Gets the value of themapping_set_confidenceslot.
-
setMappingSetConfidence
public void setMappingSetConfidence(Double value)
Sets the value of themapping_set_confidenceslot.
-
getCreatorId
public List<String> getCreatorId(boolean set)
Gets the list ofcreator_idvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of creator_id values.
-
getCreatorLabel
public List<String> getCreatorLabel(boolean set)
Gets the list ofcreator_labelvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of creator_label values.
-
setCreatorLabel
public void setCreatorLabel(List<String> value)
Sets the value of thecreator_labelslot.
-
getLicense
public String getLicense()
Gets the value of thelicenseslot.
-
setLicense
public void setLicense(String value)
Sets the value of thelicenseslot.
-
getSubjectType
public EntityType getSubjectType()
Gets the value of thesubject_typeslot.
-
setSubjectType
public void setSubjectType(EntityType value)
Sets the value of thesubject_typeslot.
-
getSubjectSource
public String getSubjectSource()
Gets the value of thesubject_sourceslot.
-
setSubjectSource
public void setSubjectSource(String value)
Sets the value of thesubject_sourceslot.
-
getSubjectSourceVersion
public String getSubjectSourceVersion()
Gets the value of thesubject_source_versionslot.
-
setSubjectSourceVersion
public void setSubjectSourceVersion(String value)
Sets the value of thesubject_source_versionslot.
-
getObjectType
public EntityType getObjectType()
Gets the value of theobject_typeslot.
-
setObjectType
public void setObjectType(EntityType value)
Sets the value of theobject_typeslot.
-
getObjectSource
public String getObjectSource()
Gets the value of theobject_sourceslot.
-
setObjectSource
public void setObjectSource(String value)
Sets the value of theobject_sourceslot.
-
getObjectSourceVersion
public String getObjectSourceVersion()
Gets the value of theobject_source_versionslot.
-
setObjectSourceVersion
public void setObjectSourceVersion(String value)
Sets the value of theobject_source_versionslot.
-
getPredicateType
public EntityType getPredicateType()
Gets the value of thepredicate_typeslot.
-
setPredicateType
public void setPredicateType(EntityType value)
Sets the value of thepredicate_typeslot.
-
getMappingProvider
public String getMappingProvider()
Gets the value of themapping_providerslot.
-
setMappingProvider
public void setMappingProvider(String value)
Sets the value of themapping_providerslot.
-
getCardinalityScope
public List<String> getCardinalityScope()
Gets the value of thecardinality_scopeslot.
-
getCardinalityScope
public List<String> getCardinalityScope(boolean set)
Gets the list ofcardinality_scopevalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of cardinality_scope values.
-
setCardinalityScope
public void setCardinalityScope(List<String> value)
Sets the value of thecardinality_scopeslot.
-
getMappingTool
public String getMappingTool()
Gets the value of themapping_toolslot.
-
setMappingTool
public void setMappingTool(String value)
Sets the value of themapping_toolslot.
-
getMappingToolId
public String getMappingToolId()
Gets the value of themapping_tool_idslot.
-
setMappingToolId
public void setMappingToolId(String value)
Sets the value of themapping_tool_idslot.
-
getMappingToolVersion
public String getMappingToolVersion()
Gets the value of themapping_tool_versionslot.
-
setMappingToolVersion
public void setMappingToolVersion(String value)
Sets the value of themapping_tool_versionslot.
-
getMappingDate
public LocalDate getMappingDate()
Gets the value of themapping_dateslot.
-
setMappingDate
public void setMappingDate(LocalDate value)
Sets the value of themapping_dateslot.
-
getPublicationDate
public LocalDate getPublicationDate()
Gets the value of thepublication_dateslot.
-
setPublicationDate
public void setPublicationDate(LocalDate value)
Sets the value of thepublication_dateslot.
-
getSubjectMatchField
public List<String> getSubjectMatchField()
Gets the value of thesubject_match_fieldslot.
-
getSubjectMatchField
public List<String> getSubjectMatchField(boolean set)
Gets the list ofsubject_match_fieldvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of subject_match_field values.
-
setSubjectMatchField
public void setSubjectMatchField(List<String> value)
Sets the value of thesubject_match_fieldslot.
-
getObjectMatchField
public List<String> getObjectMatchField()
Gets the value of theobject_match_fieldslot.
-
getObjectMatchField
public List<String> getObjectMatchField(boolean set)
Gets the list ofobject_match_fieldvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of object_match_field values.
-
setObjectMatchField
public void setObjectMatchField(List<String> value)
Sets the value of theobject_match_fieldslot.
-
getSubjectPreprocessing
public List<String> getSubjectPreprocessing()
Gets the value of thesubject_preprocessingslot.
-
getSubjectPreprocessing
public List<String> getSubjectPreprocessing(boolean set)
Gets the list ofsubject_preprocessingvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of subject_preprocessing values.
-
setSubjectPreprocessing
public void setSubjectPreprocessing(List<String> value)
Sets the value of thesubject_preprocessingslot.
-
getObjectPreprocessing
public List<String> getObjectPreprocessing()
Gets the value of theobject_preprocessingslot.
-
getObjectPreprocessing
public List<String> getObjectPreprocessing(boolean set)
Gets the list ofobject_preprocessingvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of object_preprocessing values.
-
setObjectPreprocessing
public void setObjectPreprocessing(List<String> value)
Sets the value of theobject_preprocessingslot.
-
getSimilarityMeasure
public String getSimilarityMeasure()
Gets the value of thesimilarity_measureslot.
-
setSimilarityMeasure
public void setSimilarityMeasure(String value)
Sets the value of thesimilarity_measureslot.
-
getCurationRule
public List<String> getCurationRule(boolean set)
Gets the list ofcuration_rulevalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of curation_rule values.
-
setCurationRule
public void setCurationRule(List<String> value)
Sets the value of thecuration_ruleslot.
-
getCurationRuleText
public List<String> getCurationRuleText()
Gets the value of thecuration_rule_textslot.
-
getCurationRuleText
public List<String> getCurationRuleText(boolean set)
Gets the list ofcuration_rule_textvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of curation_rule_text values.
-
setCurationRuleText
public void setCurationRuleText(List<String> value)
Sets the value of thecuration_rule_textslot.
-
getSeeAlso
public List<String> getSeeAlso(boolean set)
Gets the list ofsee_alsovalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of see_also values.
-
getIssueTracker
public String getIssueTracker()
Gets the value of theissue_trackerslot.
-
setIssueTracker
public void setIssueTracker(String value)
Sets the value of theissue_trackerslot.
-
getOther
public String getOther()
Gets the value of theotherslot.
-
setOther
public void setOther(String value)
Sets the value of theotherslot.
-
getComment
public String getComment()
Gets the value of thecommentslot.
-
setComment
public void setComment(String value)
Sets the value of thecommentslot.
-
getExtensionDefinitions
public List<ExtensionDefinition> getExtensionDefinitions()
Gets the value of theextension_definitionsslot.
-
getExtensionDefinitions
public List<ExtensionDefinition> getExtensionDefinitions(boolean set)
Gets the list ofextension_definitionsvalues, optionally initializing the list if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty list if it happens to benull.- Returns:
- The list of extension_definitions values.
-
setExtensionDefinitions
public void setExtensionDefinitions(List<ExtensionDefinition> value)
Sets the value of theextension_definitionsslot.
-
getExtensions
public Map<String,ExtensionValue> getExtensions()
Gets the map of extension values.
-
getExtensions
public Map<String,ExtensionValue> getExtensions(boolean set)
Gets the map of extension values, optionally initializing the map if needed.- Parameters:
set- Iftrue, the underlying field will be initialized to an empty map if it happens to benull.- Returns:
- The map of extension values.
-
setExtensions
public void setExtensions(Map<String,ExtensionValue> value)
Sets the map of extension values.
-
canEqual
protected boolean canEqual(Object other)
-
builder
public static MappingSet.MappingSetBuilder builder()
-
toBuilder
public MappingSet.MappingSetBuilder toBuilder()
-
-