Class Categorization
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.Categorization
-
- All Implemented Interfaces:
Serializable,OmasObject
public class Categorization extends Relationship
TermCategorizationRelationship is a relationship between a Category and an Term. The Category categorises the Term- 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 Categorization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Explanation of why this term is in this categorization.TermRelationshipStatusgetStatus()Status of the relationship.voidsetDescription(String description)Set the description of the relationship.voidsetStatus(TermRelationshipStatus status)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()
Explanation of why this term is in this categorization.- Returns:
String
-
setDescription
public void setDescription(String description)
Set the description of the relationship.- Parameters:
description-String
-
getStatus
public TermRelationshipStatus getStatus()
Status of the relationship.- Returns:
TermRelationshipStatus
-
setStatus
public void setStatus(TermRelationshipStatus status)
-
toString
public StringBuilder toString(StringBuilder sb)
- Overrides:
toStringin classRelationship
-
toString
public String toString()
- Overrides:
toStringin classRelationship
-
-