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

public class RelationshipEnd extends Object implements Serializable
this is represents a relationship and the related end.
See Also:
  • Field Details

  • Constructor Details

    • RelationshipEnd

      public RelationshipEnd()
    • RelationshipEnd

      public RelationshipEnd(String guid)
    • RelationshipEnd

      public RelationshipEnd(String guid, String typeName)
    • RelationshipEnd

      public RelationshipEnd(String typeName, Map<String,Object> uniqueAttributes)
    • RelationshipEnd

      public RelationshipEnd(String guid, String typeName, Map<String,Object> uniqueAttributes)
    • RelationshipEnd

      public RelationshipEnd(RelationshipEnd other)
    • RelationshipEnd

      public RelationshipEnd(Map objIdMap)
  • Method Details

    • getEndGuid

      public String getEndGuid()
      This guid of the is the related end of this reference
      Returns:
      guid of the end
    • setEndGuid

      public void setEndGuid(String EndGuid)
    • getRelationshipGuid

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

      public void setRelationshipGuid(String relationshipGuid)
    • getTypeName

      public String getTypeName()
      This is the related ends type name
      Returns:
      the related ends name
    • setTypeName

      public void setTypeName(String typeName)
    • getUniqueAttributes

      public Map<String,Object> getUniqueAttributes()
    • setUniqueAttributes

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

      public StringBuilder toString(StringBuilder sb)
    • 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