Class AssociationStatus

    • Constructor Detail

      • AssociationStatus

        public AssociationStatus()
    • Method Detail

      • setDate

        public void setDate​(Date dateValue)

        The date when the status changed.

        Parameters:
        dateValue - The date when the status changed.
      • getDate

        public Date getDate()

        The date when the status changed.

        Returns:
        The date when the status changed.
      • withDate

        public AssociationStatus withDate​(Date dateValue)

        The date when the status changed.

        Parameters:
        dateValue - The date when the status changed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withName

        public AssociationStatus withName​(String name)

        The status.

        Parameters:
        name - The status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AssociationStatusName
      • setMessage

        public void setMessage​(String message)

        The reason for the status.

        Parameters:
        message - The reason for the status.
      • getMessage

        public String getMessage()

        The reason for the status.

        Returns:
        The reason for the status.
      • withMessage

        public AssociationStatus withMessage​(String message)

        The reason for the status.

        Parameters:
        message - The reason for the status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAdditionalInfo

        public void setAdditionalInfo​(String additionalInfo)

        A user-defined string.

        Parameters:
        additionalInfo - A user-defined string.
      • getAdditionalInfo

        public String getAdditionalInfo()

        A user-defined string.

        Returns:
        A user-defined string.
      • withAdditionalInfo

        public AssociationStatus withAdditionalInfo​(String additionalInfo)

        A user-defined string.

        Parameters:
        additionalInfo - A user-defined string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object