java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.Reference
All Implemented Interfaces:
Serializable

public class Reference extends Object implements Serializable
This is a view of a relationship from the perspective of one of the ends.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getRelationship_Type

      public String getRelationship_Type()
      the type of relationship
      Returns:
      relationship type
    • setRelationship_Type

      public void setRelationship_Type(String relationship_Type)
    • getRelationshipAttributes

      public Map<String,Object> getRelationshipAttributes()
      Attributes associated with the relationship itself
      Returns:
      relationship attributes
    • setRelationshipAttributes

      public void setRelationshipAttributes(Map<String,Object> relationshipAttributes)
    • getRelatedEndGuid

      public String getRelatedEndGuid()
      This guid of the related end of this reference
      Returns:
      related end guid
    • setRelatedEndGuid

      public void setRelatedEndGuid(String relatedEndGuid)
    • getRelationshipGuid

      public String getRelationshipGuid()
      This is the relationship guid associated with this reference
      Returns:
      relationship guid
    • setRelationshipGuid

      public void setRelationshipGuid(String relationshipGuid)
    • getRelatedEndType

      public String getRelatedEndType()
      This is the related ends type name
      Returns:
      related ends type name
    • setRelatedEndType

      public void setRelatedEndType(String relatedEndType)
    • getUniqueAttributes

      public Map<String,Object> getUniqueAttributes()
      Get a map of the unique attributes. i.e. the attributes whose values must are all different.
      Returns:
      Map<String,Object>
    • setUniqueAttributes

      public void setUniqueAttributes(Map<String,Object> uniqueAttributes)
    • toString

      public StringBuilder toString(StringBuilder sb)
    • getReferenceName

      public String getReferenceName()
      get the name of the reference
      Returns:
      reference name
    • setReferenceName

      public void setReferenceName(String referenceName)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object