Class HasA
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
-
- org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.HasA
-
- All Implemented Interfaces:
Serializable,OmasObject
public class HasA extends Relationship
Defines the relationship between a spine object and a spine attribute.- 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 HasA()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Description of 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.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
-
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
-
-