Class ConnectionRequestBody

    • Field Detail

      • shortDescription

        protected String shortDescription
    • Constructor Detail

      • ConnectionRequestBody

        public ConnectionRequestBody()
        Default constructor
      • ConnectionRequestBody

        public ConnectionRequestBody​(ConnectionRequestBody template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getShortDescription

        public String getShortDescription()
        Returns the short description of the asset from relationship with Connection.
        Returns:
        shortDescription String
      • setShortDescription

        public void setShortDescription​(String shortDescription)
        Set up the short description of the asset from relationship with Connection.
        Parameters:
        shortDescription - String text
      • getConnection

        public Connection getConnection()
        Return the Connection object.
        Returns:
        connection
      • setConnection

        public void setConnection​(Connection connection)
        Set up the Connection object.
        Parameters:
        connection - - connection object
      • equals

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return has code based on properties.
        Overrides:
        hashCode in class Object
        Returns:
        int