Class Mapping
- java.lang.Object
-
- org.incenp.obofoundry.sssom.model.Mapping
-
public class Mapping extends Object
Represents amappingobject.Automatically generated from the SSSOM LinkML schema.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapping.MappingBuilder
-
Constructor Summary
Constructors Modifier Constructor Description Mapping()Creates a new empty instance.protectedMapping(String recordId, String subjectId, String subjectLabel, String subjectCategory, String predicateId, String predicateLabel, PredicateModifier predicateModifier, String objectId, String objectLabel, String objectCategory, String mappingJustification, List<String> authorId, List<String> authorLabel, List<String> reviewerId, List<String> reviewerLabel, List<String> creatorId, List<String> creatorLabel, String license, EntityType subjectType, String subjectSource, String subjectSourceVersion, EntityType objectType, String objectSource, String objectSourceVersion, EntityType predicateType, String mappingProvider, String mappingSource, MappingCardinality mappingCardinality, List<String> cardinalityScope, String mappingTool, String mappingToolId, String mappingToolVersion, LocalDate mappingDate, LocalDate publicationDate, LocalDate reviewDate, Double confidence, Double reviewerAgreement, List<String> curationRule, List<String> curationRuleText, List<String> subjectMatchField, List<String> objectMatchField, List<String> matchString, List<String> subjectPreprocessing, List<String> objectPreprocessing, Double similarityScore, String similarityMeasure, List<String> seeAlso, String issueTrackerItem, String other, String comment, Map<String,ExtensionValue> extensions)Creates a new instance from the specified values.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Mapping.MappingBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<String>getAuthorId()Gets the value of theauthor_idslot.List<String>getAuthorId(boolean set)Gets the list ofauthor_idvalues, optionally initializing the list if needed.List<String>getAuthorLabel()Gets the value of theauthor_labelslot.List<String>getAuthorLabel(boolean set)Gets the list ofauthor_labelvalues, optionally initializing the list if needed.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.DoublegetConfidence()Gets the value of theconfidenceslot.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,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.StringgetIssueTrackerItem()Gets the value of theissue_tracker_itemslot.StringgetLicense()Gets the value of thelicenseslot.MappingCardinalitygetMappingCardinality()Gets the value of themapping_cardinalityslot.LocalDategetMappingDate()Gets the value of themapping_dateslot.StringgetMappingJustification()Gets the value of themapping_justificationslot.StringgetMappingProvider()Gets the value of themapping_providerslot.StringgetMappingSource()Gets the value of themapping_sourceslot.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>getMatchString()Gets the value of thematch_stringslot.List<String>getMatchString(boolean set)Gets the list ofmatch_stringvalues, optionally initializing the list if needed.StringgetObjectCategory()Gets the value of theobject_categoryslot.StringgetObjectId()Gets the value of theobject_idslot.StringgetObjectLabel()Gets the value of theobject_labelslot.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.StringgetPredicateId()Gets the value of thepredicate_idslot.StringgetPredicateLabel()Gets the value of thepredicate_labelslot.PredicateModifiergetPredicateModifier()Gets the value of thepredicate_modifierslot.EntityTypegetPredicateType()Gets the value of thepredicate_typeslot.LocalDategetPublicationDate()Gets the value of thepublication_dateslot.StringgetRecordId()Gets the value of therecord_idslot.LocalDategetReviewDate()Gets the value of thereview_dateslot.DoublegetReviewerAgreement()Gets the value of thereviewer_agreementslot.List<String>getReviewerId()Gets the value of thereviewer_idslot.List<String>getReviewerId(boolean set)Gets the list ofreviewer_idvalues, optionally initializing the list if needed.List<String>getReviewerLabel()Gets the value of thereviewer_labelslot.List<String>getReviewerLabel(boolean set)Gets the list ofreviewer_labelvalues, optionally initializing the list if needed.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.StringgetSemanticSimilarityMeasure()Deprecated.Use#getSimilarityMeasure()instead.DoublegetSemanticSimilarityScore()Deprecated.Use#getSimilarityScore()instead.StringgetSimilarityMeasure()Gets the value of thesimilarity_measureslot.DoublegetSimilarityScore()Gets the value of thesimilarity_scoreslot.StringgetSubjectCategory()Gets the value of thesubject_categoryslot.StringgetSubjectId()Gets the value of thesubject_idslot.StringgetSubjectLabel()Gets the value of thesubject_labelslot.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()booleanhasUnmappedObject()Indicates whether the subject of this mapping is not mapped to any entity on the object side.booleanhasUnmappedSubject()Indicates whether the object of this mapping is not mapped to any entity on the subject side.Mappinginvert()Creates an inverted version of this mapping if possible.Mappinginvert(String predicate)Creates an inverted version of this mapping with an explicit predicate.booleanisLiteral()Indicates whether this mapping represents a "literal" mapping.booleanisUnmapped()Indicates whether this mapping represents a "missing" mapping.voidsetAuthorId(List<String> value)Sets the value of theauthor_idslot.voidsetAuthorLabel(List<String> value)Sets the value of theauthor_labelslot.voidsetCardinalityScope(List<String> value)Sets the value of thecardinality_scopeslot.voidsetComment(String value)Sets the value of thecommentslot.voidsetConfidence(Double value)Sets the value of theconfidenceslot.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.voidsetExtensions(Map<String,ExtensionValue> value)Sets the map of extension values.voidsetIssueTrackerItem(String value)Sets the value of theissue_tracker_itemslot.voidsetLicense(String value)Sets the value of thelicenseslot.voidsetMappingCardinality(MappingCardinality value)Sets the value of themapping_cardinalityslot.voidsetMappingDate(LocalDate value)Sets the value of themapping_dateslot.voidsetMappingJustification(String value)Sets the value of themapping_justificationslot.voidsetMappingProvider(String value)Sets the value of themapping_providerslot.voidsetMappingSource(String value)Sets the value of themapping_sourceslot.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.voidsetMatchString(List<String> value)Sets the value of thematch_stringslot.voidsetObjectCategory(String value)Sets the value of theobject_categoryslot.voidsetObjectId(String value)Sets the value of theobject_idslot.voidsetObjectLabel(String value)Sets the value of theobject_labelslot.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.voidsetPredicateId(String value)Sets the value of thepredicate_idslot.voidsetPredicateLabel(String value)Sets the value of thepredicate_labelslot.voidsetPredicateModifier(PredicateModifier value)Sets the value of thepredicate_modifierslot.voidsetPredicateType(EntityType value)Sets the value of thepredicate_typeslot.voidsetPublicationDate(LocalDate value)Sets the value of thepublication_dateslot.voidsetRecordId(String value)Sets the value of therecord_idslot.voidsetReviewDate(LocalDate value)Sets the value of thereview_dateslot.voidsetReviewerAgreement(Double value)Sets the value of thereviewer_agreementslot.voidsetReviewerId(List<String> value)Sets the value of thereviewer_idslot.voidsetReviewerLabel(List<String> value)Sets the value of thereviewer_labelslot.voidsetSeeAlso(List<String> value)Sets the value of thesee_alsoslot.voidsetSemanticSimilarityMeasure(String value)Deprecated.Use#setSimilarityMeasure(String)instead.voidsetSemanticSimilarityScore(Double value)Deprecated.Use#setSimilarityScore(Double)instead.voidsetSimilarityMeasure(String value)Sets the value of thesimilarity_measureslot.voidsetSimilarityScore(Double value)Sets the value of thesimilarity_scoreslot.voidsetSubjectCategory(String value)Sets the value of thesubject_categoryslot.voidsetSubjectId(String value)Sets the value of thesubject_idslot.voidsetSubjectLabel(String value)Sets the value of thesubject_labelslot.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.Mapping.MappingBuildertoBuilder()StringtoSExpr()Creates a canonical S-expression representing this mapping.StringtoString()
-
-
-
Constructor Detail
-
Mapping
public Mapping()
Creates a new empty instance.
-
Mapping
protected Mapping(String recordId, String subjectId, String subjectLabel, String subjectCategory, String predicateId, String predicateLabel, PredicateModifier predicateModifier, String objectId, String objectLabel, String objectCategory, String mappingJustification, List<String> authorId, List<String> authorLabel, List<String> reviewerId, List<String> reviewerLabel, List<String> creatorId, List<String> creatorLabel, String license, EntityType subjectType, String subjectSource, String subjectSourceVersion, EntityType objectType, String objectSource, String objectSourceVersion, EntityType predicateType, String mappingProvider, String mappingSource, MappingCardinality mappingCardinality, List<String> cardinalityScope, String mappingTool, String mappingToolId, String mappingToolVersion, LocalDate mappingDate, LocalDate publicationDate, LocalDate reviewDate, Double confidence, Double reviewerAgreement, List<String> curationRule, List<String> curationRuleText, List<String> subjectMatchField, List<String> objectMatchField, List<String> matchString, List<String> subjectPreprocessing, List<String> objectPreprocessing, Double similarityScore, String similarityMeasure, List<String> seeAlso, String issueTrackerItem, String other, String comment, Map<String,ExtensionValue> extensions)
Creates a new instance from the specified values.
-
-
Method Detail
-
getRecordId
public String getRecordId()
Gets the value of therecord_idslot.
-
setRecordId
public void setRecordId(String value)
Sets the value of therecord_idslot.
-
getSubjectId
public String getSubjectId()
Gets the value of thesubject_idslot.
-
setSubjectId
public void setSubjectId(String value)
Sets the value of thesubject_idslot.
-
getSubjectLabel
public String getSubjectLabel()
Gets the value of thesubject_labelslot.
-
setSubjectLabel
public void setSubjectLabel(String value)
Sets the value of thesubject_labelslot.
-
getSubjectCategory
public String getSubjectCategory()
Gets the value of thesubject_categoryslot.
-
setSubjectCategory
public void setSubjectCategory(String value)
Sets the value of thesubject_categoryslot.
-
getPredicateId
public String getPredicateId()
Gets the value of thepredicate_idslot.
-
setPredicateId
public void setPredicateId(String value)
Sets the value of thepredicate_idslot.
-
getPredicateLabel
public String getPredicateLabel()
Gets the value of thepredicate_labelslot.
-
setPredicateLabel
public void setPredicateLabel(String value)
Sets the value of thepredicate_labelslot.
-
getPredicateModifier
public PredicateModifier getPredicateModifier()
Gets the value of thepredicate_modifierslot.
-
setPredicateModifier
public void setPredicateModifier(PredicateModifier value)
Sets the value of thepredicate_modifierslot.
-
getObjectId
public String getObjectId()
Gets the value of theobject_idslot.
-
setObjectId
public void setObjectId(String value)
Sets the value of theobject_idslot.
-
getObjectLabel
public String getObjectLabel()
Gets the value of theobject_labelslot.
-
setObjectLabel
public void setObjectLabel(String value)
Sets the value of theobject_labelslot.
-
getObjectCategory
public String getObjectCategory()
Gets the value of theobject_categoryslot.
-
setObjectCategory
public void setObjectCategory(String value)
Sets the value of theobject_categoryslot.
-
getMappingJustification
public String getMappingJustification()
Gets the value of themapping_justificationslot.
-
setMappingJustification
public void setMappingJustification(String value)
Sets the value of themapping_justificationslot.
-
getAuthorId
public List<String> getAuthorId(boolean set)
Gets the list ofauthor_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 author_id values.
-
getAuthorLabel
public List<String> getAuthorLabel(boolean set)
Gets the list ofauthor_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 author_label values.
-
setAuthorLabel
public void setAuthorLabel(List<String> value)
Sets the value of theauthor_labelslot.
-
getReviewerId
public List<String> getReviewerId(boolean set)
Gets the list ofreviewer_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 reviewer_id values.
-
setReviewerId
public void setReviewerId(List<String> value)
Sets the value of thereviewer_idslot.
-
getReviewerLabel
public List<String> getReviewerLabel(boolean set)
Gets the list ofreviewer_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 reviewer_label values.
-
setReviewerLabel
public void setReviewerLabel(List<String> value)
Sets the value of thereviewer_labelslot.
-
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.
-
getMappingSource
public String getMappingSource()
Gets the value of themapping_sourceslot.
-
setMappingSource
public void setMappingSource(String value)
Sets the value of themapping_sourceslot.
-
getMappingCardinality
public MappingCardinality getMappingCardinality()
Gets the value of themapping_cardinalityslot.
-
setMappingCardinality
public void setMappingCardinality(MappingCardinality value)
Sets the value of themapping_cardinalityslot.
-
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.
-
getReviewDate
public LocalDate getReviewDate()
Gets the value of thereview_dateslot.
-
setReviewDate
public void setReviewDate(LocalDate value)
Sets the value of thereview_dateslot.
-
getConfidence
public Double getConfidence()
Gets the value of theconfidenceslot.
-
setConfidence
public void setConfidence(Double value)
Sets the value of theconfidenceslot.
-
getReviewerAgreement
public Double getReviewerAgreement()
Gets the value of thereviewer_agreementslot.
-
setReviewerAgreement
public void setReviewerAgreement(Double value)
Sets the value of thereviewer_agreementslot.
-
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.
-
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.
-
getMatchString
public List<String> getMatchString(boolean set)
Gets the list ofmatch_stringvalues, 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 match_string values.
-
setMatchString
public void setMatchString(List<String> value)
Sets the value of thematch_stringslot.
-
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.
-
getSimilarityScore
public Double getSimilarityScore()
Gets the value of thesimilarity_scoreslot.
-
setSimilarityScore
public void setSimilarityScore(Double value)
Sets the value of thesimilarity_scoreslot.
-
getSimilarityMeasure
public String getSimilarityMeasure()
Gets the value of thesimilarity_measureslot.
-
setSimilarityMeasure
public void setSimilarityMeasure(String value)
Sets the value of thesimilarity_measureslot.
-
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.
-
getIssueTrackerItem
public String getIssueTrackerItem()
Gets the value of theissue_tracker_itemslot.
-
setIssueTrackerItem
public void setIssueTrackerItem(String value)
Sets the value of theissue_tracker_itemslot.
-
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.
-
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.
-
isUnmapped
public boolean isUnmapped()
Indicates whether this mapping represents a "missing" mapping.A missing mapping is a mapping where the subject_id or the object_id (or both) is the special value
sssom:NoTermFound, and indicates that an entity in one domain could not be mapped to any entity in another domain.- Returns:
Trueif the mapping is a missing mapping,falseotherwise.
-
hasUnmappedSubject
public boolean hasUnmappedSubject()
Indicates whether the object of this mapping is not mapped to any entity on the subject side.- Returns:
Trueif the subject of this mapping issssom:NoTermFound,falseotherwise.
-
hasUnmappedObject
public boolean hasUnmappedObject()
Indicates whether the subject of this mapping is not mapped to any entity on the object side.- Returns:
Trueif the object of this mapping issssom:NoTermFound,falseotherwise.
-
isLiteral
public boolean isLiteral()
Indicates whether this mapping represents a "literal" mapping.A literal mapping is a mapping where either the subject or the object (or both) is a literal, as indicated by the
subject_typeorobject_typeslot being set toEntityType.RDFS_LITERAL.- Returns:
Trueif the mapping is a literal mapping,falseotherwise.
-
invert
public Mapping invert(String predicate)
Creates an inverted version of this mapping with an explicit predicate.- Parameters:
predicate- The predicate to use for the new mapping.- Returns:
- A new mapping that is the inverse of this one, or
nullif the specified predicate is itselfnull.
-
invert
public Mapping invert()
Creates an inverted version of this mapping if possible.Inversion is possible if the predicate is one of the known "common" predicates and is invertible. To invert a mapping with an arbitrary predicate, use
invert(String).- Returns:
- A new mapping that is the inverse of this one, or
nullif inversion is not possible.
-
toSExpr
public String toSExpr()
Creates a canonical S-expression representing this mapping.- Returns:
- A String uniquely representing this mapping, as a canonical S-expression.
-
getSemanticSimilarityScore
@Deprecated public Double getSemanticSimilarityScore()
Deprecated.Use#getSimilarityScore()instead.
-
setSemanticSimilarityScore
@Deprecated public void setSemanticSimilarityScore(Double value)
Deprecated.Use#setSimilarityScore(Double)instead.
-
getSemanticSimilarityMeasure
@Deprecated public String getSemanticSimilarityMeasure()
Deprecated.Use#getSimilarityMeasure()instead.
-
setSemanticSimilarityMeasure
@Deprecated public void setSemanticSimilarityMeasure(String value)
Deprecated.Use#setSimilarityMeasure(String)instead.
-
canEqual
protected boolean canEqual(Object other)
-
builder
public static Mapping.MappingBuilder builder()
-
toBuilder
public Mapping.MappingBuilder toBuilder()
-
-