Class MappingSet
java.lang.Object
org.incenp.obofoundry.sssom.model.MappingSet
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
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) -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingSet.MappingSetBuilder
builder()
protected boolean
boolean
getCardinalityScope
(boolean set) Gets the list of cardinality_scope values, optionally initializing the list if needed.getCreatorId
(boolean set) Gets the list of creator_id values, optionally initializing the list if needed.getCreatorLabel
(boolean set) Gets the list of creator_label values, optionally initializing the list if needed.getCurationRule
(boolean set) Gets the list of curation_rule values, optionally initializing the list if needed.getCurationRuleText
(boolean set) Gets the list of curation_rule_text values, optionally initializing the list if needed.getCurieMap
(boolean set) Gets the prefix map, optionally initializing the map if needed.getExtensionDefinitions
(boolean set) Gets the list of extension definitions, optionally initializing the underlying field to an empty list if needed.getExtensions
(boolean set) Gets the map of extension values, optionally initializing the map if needed.getMappings
(boolean set) Gets the list of mappings, optionally initializing the underlying field to an empty list if needed.getMappingSetSource
(boolean set) Gets the list of mapping_set_source values, optionally initializing the list if needed.getObjectMatchField
(boolean set) Gets the list of object_match_field values, optionally initializing the list if needed.getObjectPreprocessing
(boolean set) Gets the list of object_preprocessing values, optionally initializing the list if needed.getOther()
getSeeAlso
(boolean set) Gets the list of see_also values, optionally initializing the list if needed.getSubjectMatchField
(boolean set) Gets the list of subject_match_field values, optionally initializing the list if needed.getSubjectPreprocessing
(boolean set) Gets the list of subject_preprocessing values, optionally initializing the list if needed.int
hashCode()
void
setCardinalityScope
(List<String> cardinalityScope) void
setComment
(String comment) void
setCreatorId
(List<String> creatorId) void
setCreatorLabel
(List<String> creatorLabel) void
setCurationRule
(List<String> curationRule) void
setCurationRuleText
(List<String> curationRuleText) void
setCurieMap
(Map<String, String> curieMap) void
setExtensionDefinitions
(List<ExtensionDefinition> extensionDefinitions) void
setExtensions
(Map<String, ExtensionValue> extensions) void
setIssueTracker
(String issueTracker) void
setLicense
(String license) void
setMappingDate
(LocalDate mappingDate) void
setMappingProvider
(String mappingProvider) void
setMappings
(List<Mapping> mappings) void
setMappingSetConfidence
(Double value) Sets the mapping_set_confidence field to a new value.void
setMappingSetDescription
(String mappingSetDescription) void
setMappingSetId
(String mappingSetId) void
setMappingSetSource
(List<String> mappingSetSource) void
setMappingSetTitle
(String mappingSetTitle) void
setMappingSetVersion
(String mappingSetVersion) void
setMappingTool
(String mappingTool) void
setMappingToolId
(String mappingToolId) void
setMappingToolVersion
(String mappingToolVersion) void
setObjectMatchField
(List<String> objectMatchField) void
setObjectPreprocessing
(List<String> objectPreprocessing) void
setObjectSource
(String objectSource) void
setObjectSourceVersion
(String objectSourceVersion) void
setObjectType
(EntityType objectType) void
void
setPredicateType
(EntityType predicateType) void
setPublicationDate
(LocalDate publicationDate) void
setSeeAlso
(List<String> seeAlso) void
setSimilarityMeasure
(String similarityMeasure) void
setSssomVersion
(Version sssomVersion) void
setSubjectMatchField
(List<String> subjectMatchField) void
setSubjectPreprocessing
(List<String> subjectPreprocessing) void
setSubjectSource
(String subjectSource) void
setSubjectSourceVersion
(String subjectSourceVersion) void
setSubjectType
(EntityType subjectType) toString()
-
Constructor Details
-
MappingSet
public MappingSet() -
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)
-
-
Method Details
-
setMappingSetConfidence
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
Gets the list of mapping_set_source values, 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.
-
getCreatorId
Gets the list of creator_id values, 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
Gets the list of creator_label values, 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.
-
getCardinalityScope
Gets the list of cardinality_scope values, 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.
-
getSubjectMatchField
Gets the list of subject_match_field values, 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.
-
getObjectMatchField
Gets the list of object_match_field values, 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.
-
getSubjectPreprocessing
Gets the list of subject_preprocessing values, 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.
-
getObjectPreprocessing
Gets the list of object_preprocessing values, 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.
-
getCurationRule
Gets the list of curation_rule values, 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.
-
getCurationRuleText
Gets the list of curation_rule_text values, 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.
-
getSeeAlso
Gets the list of see_also values, 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.
-
getExtensions
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.
-
getCurieMap
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.
-
getMappings
Gets the list of mappings, optionally initializing the underlying field to an empty 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.
-
getExtensionDefinitions
Gets the list of extension definitions, optionally initializing the underlying field to an empty 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.
-
builder
-
toBuilder
-
getSssomVersion
-
getCurieMap
-
getMappings
-
getMappingSetId
-
getMappingSetVersion
-
getMappingSetSource
-
getMappingSetTitle
-
getMappingSetDescription
-
getMappingSetConfidence
-
getCreatorId
-
getCreatorLabel
-
getLicense
-
getSubjectType
-
getSubjectSource
-
getSubjectSourceVersion
-
getObjectType
-
getObjectSource
-
getObjectSourceVersion
-
getPredicateType
-
getMappingProvider
-
getCardinalityScope
-
getMappingTool
-
getMappingToolId
-
getMappingToolVersion
-
getMappingDate
-
getPublicationDate
-
getSubjectMatchField
-
getObjectMatchField
-
getSubjectPreprocessing
-
getObjectPreprocessing
-
getSimilarityMeasure
-
getCurationRule
-
getCurationRuleText
-
getSeeAlso
-
getIssueTracker
-
getOther
-
getComment
-
getExtensionDefinitions
-
getExtensions
-
setSssomVersion
-
setCurieMap
-
setMappings
-
setMappingSetId
-
setMappingSetVersion
-
setMappingSetSource
-
setMappingSetTitle
-
setMappingSetDescription
-
setCreatorId
-
setCreatorLabel
-
setLicense
-
setSubjectType
-
setSubjectSource
-
setSubjectSourceVersion
-
setObjectType
-
setObjectSource
-
setObjectSourceVersion
-
setPredicateType
-
setMappingProvider
-
setCardinalityScope
-
setMappingTool
-
setMappingToolId
-
setMappingToolVersion
-
setMappingDate
-
setPublicationDate
-
setSubjectMatchField
-
setObjectMatchField
-
setSubjectPreprocessing
-
setObjectPreprocessing
-
setSimilarityMeasure
-
setCurationRule
-
setCurationRuleText
-
setSeeAlso
-
setIssueTracker
-
setOther
-
setComment
-
setExtensionDefinitions
-
setExtensions
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-