Class SemanticAssignment
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.SemanticAssignment
-
- All Implemented Interfaces:
Serializable,OmasObject
public class SemanticAssignment extends Relationship
Links a glossary term to another element such as an asset or schema element to define its meaning.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
end1, end2, name, relationshipType, serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description SemanticAssignment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetConfidence()Level of confidence in the correctness of the relationship.StringgetDescription()Description of the relationship.StringgetExpression()Expression describing the relationship.StringgetSource()Person, organization or automated process that created the relationship.TermAssignmentStatusgetStatus()The status of the relationship.StringgetSteward()Person responsible for the relationship.voidsetConfidence(Integer confidence)voidsetDescription(String description)Set the description of the relationship.voidsetExpression(String expression)voidsetSource(String source)voidsetStatus(TermAssignmentStatus status)voidsetSteward(String steward)StringtoString()StringBuildertoString(StringBuilder sb)-
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
getAdditionalProperties, getEffectiveFromTime, getEffectiveToTime, getEnd1, getEnd2, getGuid, getName, getRelationshipType, getSystemAttributes, initialise, isReadOnly, setAdditionalProperties, setEffectiveFromTime, setEffectiveToTime, setEnd1, setEnd2, setGuid, setReadOnly, setRelationshipType, setSystemAttributes
-
-
-
-
Method Detail
-
getDescription
public String getDescription()
Description of the relationship.- Returns:
String
-
setDescription
public void setDescription(String description)
Set the description of the relationship.- Parameters:
description-String
-
getExpression
public String getExpression()
Expression describing the relationship.- Returns:
String
-
setExpression
public void setExpression(String expression)
-
getStatus
public TermAssignmentStatus getStatus()
The status of the relationship.- Returns:
TermAssignmentStatus
-
setStatus
public void setStatus(TermAssignmentStatus status)
-
getConfidence
public Integer getConfidence()
Level of confidence in the correctness of the relationship.- Returns:
Integer
-
setConfidence
public void setConfidence(Integer confidence)
-
getSteward
public String getSteward()
Person responsible for the relationship.- Returns:
String
-
setSteward
public void setSteward(String steward)
-
getSource
public String getSource()
Person, organization or automated process that created the relationship.- Returns:
String
-
setSource
public void setSource(String source)
-
toString
public StringBuilder toString(StringBuilder sb)
- Overrides:
toStringin classRelationship
-
toString
public String toString()
- Overrides:
toStringin classRelationship
-
-