Class RelatedTerm
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.RelatedTerm
- All Implemented Interfaces:
Serializable
,OmasObject
RelatedTerm is a relationship between a Term and another related Term.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
end1, end2, name, relationshipType, serialVersionUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDescription of the relationship.An expression that explains the relationship.Person, organization or automated process that created the relationship.The status of or confidence in the relationship.Person responsible for the relationship.void
setDescription
(String description) Set the description of the relationship.void
setExpression
(String expression) void
void
setStatus
(TermRelationshipStatus status) void
setSteward
(String steward) toString()
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
-
Constructor Details
-
RelatedTerm
public RelatedTerm()
-
-
Method Details
-
getDescription
Description of the relationship.- Returns:
String
-
setDescription
Set the description of the relationship.- Parameters:
description
-String
-
getExpression
An expression that explains the relationship.- Returns:
String
-
setExpression
-
getStatus
The status of or confidence in the relationship.- Returns:
TermRelationshipStatus
-
setStatus
-
getSteward
Person responsible for the relationship.- Returns:
String
-
setSteward
-
getSource
Person, organization or automated process that created the relationship.- Returns:
String
-
setSource
-
toString
- Overrides:
toString
in classRelationship
-
toString
- Overrides:
toString
in classRelationship
-