Class UserNotice

java.lang.Object
eu.europa.esig.dss.model.UserNotice
All Implemented Interfaces:
Serializable

public class UserNotice extends Object implements Serializable
This class may be used to define a User Notice signature policy qualifier.
See Also:
  • Constructor Details

    • UserNotice

      public UserNotice()
      Empty constructor
  • Method Details

    • getOrganization

      public String getOrganization()
      Gets the organization name
      Returns:
      String
    • setOrganization

      public void setOrganization(String organization)
      Sets the organization name NOTE: when the property is not empty, the noticeNumbers also shall be set!
      Parameters:
      organization - String
    • getNoticeNumbers

      public int[] getNoticeNumbers()
      Gets the notice numbers
      Returns:
      an array of Integers
    • setNoticeNumbers

      public void setNoticeNumbers(int... noticeNumbers)
      Sets the notice numbers identifying a group of textual statements prepared by the organization NOTE: when the property is not empty, the organization also shall be set!
      Parameters:
      noticeNumbers - an array of integers
    • getExplicitText

      public String getExplicitText()
      Gets the notice text
      Returns:
      String
    • setExplicitText

      public void setExplicitText(String explicitText)
      Sets the text of the notice to be displayed
      Parameters:
      explicitText - String
    • isEmpty

      public boolean isEmpty()
      This method checks if the content of the UserNotice is empty or not
      Returns:
      TRUE if the object is empty, FALSE otherwise
    • 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