Package eu.europa.esig.dss.model
Class UserNotice
java.lang.Object
eu.europa.esig.dss.model.UserNotice
- All Implemented Interfaces:
Serializable
This class may be used to define a User Notice signature policy qualifier.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the notice textint[]Gets the notice numbersGets the organization nameinthashCode()booleanisEmpty()This method checks if the content of the UserNotice is empty or notvoidsetExplicitText(String explicitText) Sets the text of the notice to be displayedvoidsetNoticeNumbers(int... noticeNumbers) Sets the notice numbers identifying a group of textual statements prepared by the organization NOTE: when the property is not empty, theorganizationalso shall be set!voidsetOrganization(String organization) Sets the organization name NOTE: when the property is not empty, thenoticeNumbersalso shall be set!toString()
-
Constructor Details
-
UserNotice
public UserNotice()Empty constructor
-
-
Method Details
-
getOrganization
-
setOrganization
-
getNoticeNumbers
-
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, theorganizationalso shall be set!- Parameters:
noticeNumbers- an array of integers
-
getExplicitText
-
setExplicitText
-
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
-
hashCode
-
toString
-