Class MappingSet
java.lang.Object
org.incenp.obofoundry.sssom.model.MappingSet
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMappingSet(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.MappingSetBuilderbuilder()protected booleanbooleangetCardinalityScope(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.inthashCode()voidsetCardinalityScope(List<String> cardinalityScope) voidsetComment(String comment) voidsetCreatorId(List<String> creatorId) voidsetCreatorLabel(List<String> creatorLabel) voidsetCurationRule(List<String> curationRule) voidsetCurationRuleText(List<String> curationRuleText) voidsetCurieMap(Map<String, String> curieMap) voidsetExtensionDefinitions(List<ExtensionDefinition> extensionDefinitions) voidsetExtensions(Map<String, ExtensionValue> extensions) voidsetIssueTracker(String issueTracker) voidsetLicense(String license) voidsetMappingDate(LocalDate mappingDate) voidsetMappingProvider(String mappingProvider) voidsetMappings(List<Mapping> mappings) voidsetMappingSetConfidence(Double value) Sets the mapping_set_confidence field to a new value.voidsetMappingSetDescription(String mappingSetDescription) voidsetMappingSetId(String mappingSetId) voidsetMappingSetSource(List<String> mappingSetSource) voidsetMappingSetTitle(String mappingSetTitle) voidsetMappingSetVersion(String mappingSetVersion) voidsetMappingTool(String mappingTool) voidsetMappingToolId(String mappingToolId) voidsetMappingToolVersion(String mappingToolVersion) voidsetObjectMatchField(List<String> objectMatchField) voidsetObjectPreprocessing(List<String> objectPreprocessing) voidsetObjectSource(String objectSource) voidsetObjectSourceVersion(String objectSourceVersion) voidsetObjectType(EntityType objectType) voidvoidsetPredicateType(EntityType predicateType) voidsetPublicationDate(LocalDate publicationDate) voidsetSeeAlso(List<String> seeAlso) voidsetSimilarityMeasure(String similarityMeasure) voidsetSssomVersion(Version sssomVersion) voidsetSubjectMatchField(List<String> subjectMatchField) voidsetSubjectPreprocessing(List<String> subjectPreprocessing) voidsetSubjectSource(String subjectSource) voidsetSubjectSourceVersion(String subjectSourceVersion) voidsetSubjectType(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()
-