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

public class RelationshipEnd extends Object implements Serializable, OmasObject
A Relationship end, that is associated with a Node.
See Also:
  • Field Details

  • Constructor Details

    • RelationshipEnd

      public RelationshipEnd()
      Default constructor
    • RelationshipEnd

      public RelationshipEnd(String nodeTypeName, String name, String description, RelationshipEndCardinality cardinality)
      constructor
      Parameters:
      nodeTypeName - node type associated with this end of the relationship
      name - name of the end
      description - description of the end
      cardinality - cardinality of the end
    • RelationshipEnd

      public RelationshipEnd(RelationshipEnd endToCopy)
      Copy constructor
      Parameters:
      endToCopy - relationshipEnd to copy
  • Method Details

    • getNodeGuid

      public String getNodeGuid()
      get the node guid for this end
      Returns:
      guid
    • setNodeGuid

      public void setNodeGuid(String nodeGuid)
      Set the node guid for this end
      Parameters:
      nodeGuid - node guid
    • getNodeQualifiedName

      public String getNodeQualifiedName()
      get the node qualified name for this end
      Returns:
      node qualified name
    • setNodeQualifiedName

      public void setNodeQualifiedName(String nodeQualifiedName)
      Set the node qualified name for this end
      Parameters:
      nodeQualifiedName - node qualified name
    • getNodeTypeName

      public String getNodeTypeName()
      Get the node type for this end
      Returns:
      node type
    • setNodeTypeName

      public void setNodeTypeName(String nodeTypeName)
      Set the node type for this end
      Parameters:
      nodeTypeName - node type
    • getName

      public String getName()
      Get the name of this end
      Returns:
      name
    • setName

      public void setName(String name)
      Set the name of this end
      Parameters:
      name - name
    • getDescription

      public String getDescription()
      Get the description of this end
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      set the description of this end
      Parameters:
      description - description
    • getCardinality

      public RelationshipEndCardinality getCardinality()
      Get the cardinality of this end
      Returns:
      cardinality
    • setCardinality

      public void setCardinality(RelationshipEndCardinality cardinality)
      Set the cardnicality of this end
      Parameters:
      cardinality - cardinality
    • toString

      public StringBuilder toString(StringBuilder sb)
    • toString

      public String toString()
      Overrides:
      toString in class Object