Class RelationshipEnd

  • All Implemented Interfaces:
    java.io.Serializable, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.OmasObject

    public class RelationshipEnd
    extends java.lang.Object
    implements java.io.Serializable, org.odpi.openmetadata.accessservices.subjectarea.properties.objects.OmasObject
    A Relationship end, that is associated with a Node.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      RelationshipEnd()
      Default constructor
      RelationshipEnd​(java.lang.String nodeTypeName, java.lang.String name, java.lang.String description, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality cardinality)
      constructor
      RelationshipEnd​(RelationshipEnd endToCopy)
      Copy constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality getCardinality()
      Get the cardinality of this end
      java.lang.String getDescription()
      Get the description of this end
      java.lang.String getName()
      Get the name of this end
      java.lang.String getNodeGuid()
      get the node guid for this end
      java.lang.String getNodeQualifiedName()
      get the node qualified name for this end
      java.lang.String getNodeTypeName()
      Get the node type for this end
      void setCardinality​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality cardinality)
      Set the cardnicality of this end
      void setDescription​(java.lang.String description)
      set the description of this end
      void setName​(java.lang.String name)
      Set the name of this end
      void setNodeGuid​(java.lang.String nodeGuid)
      Set the node guid for this end
      void setNodeQualifiedName​(java.lang.String nodeQualifiedName)
      Set the node qualified name for this end
      void setNodeTypeName​(java.lang.String nodeTypeName)
      Set the node type for this end
      java.lang.String toString()  
      java.lang.StringBuilder toString​(java.lang.StringBuilder sb)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RelationshipEnd

        public RelationshipEnd()
        Default constructor
      • RelationshipEnd

        public RelationshipEnd​(java.lang.String nodeTypeName,
                               java.lang.String name,
                               java.lang.String description,
                               org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.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 Detail

      • getNodeGuid

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

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

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

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

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

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

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

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

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

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

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality getCardinality()
        Get the cardinality of this end
        Returns:
        cardinality
      • setCardinality

        public void setCardinality​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.RelationshipEndCardinality cardinality)
        Set the cardnicality of this end
        Parameters:
        cardinality - cardinality
      • toString

        public java.lang.StringBuilder toString​(java.lang.StringBuilder sb)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object