Class Antonym
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.Antonym
-
- All Implemented Interfaces:
Serializable,OmasObject
public class Antonym extends Relationship
Link between glossary terms that have the opposite 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 Antonym()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Description of the relationship.StringgetExpression()An expression that explains the relationship.StringgetSource()Person, organization or automated process that created the relationship.TermRelationshipStatusgetStatus()The status of or confidence in the relationship.StringgetSteward()Person responsible for the relationship.voidsetDescription(String description)Set the description of the relationship.voidsetExpression(String expression)voidsetSource(String source)voidsetStatus(TermRelationshipStatus 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()
An expression that explains the relationship.- Returns:
String
-
setExpression
public void setExpression(String expression)
-
getStatus
public TermRelationshipStatus getStatus()
The status of or confidence in the relationship.- Returns:
TermRelationshipStatus
-
setStatus
public void setStatus(TermRelationshipStatus status)
-
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
-
-