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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the notice textint[]
Gets the notice numbersGets the organization nameint
hashCode()
boolean
isEmpty()
This method checks if the content of the UserNotice is empty or notvoid
setExplicitText
(String explicitText) Sets the text of the notice to be displayedvoid
setNoticeNumbers
(int... noticeNumbers) Sets the notice numbers identifying a group of textual statements prepared by the organization NOTE: when the property is not empty, theorganization
also shall be set!void
setOrganization
(String organization) Sets the organization name NOTE: when the property is not empty, thenoticeNumbers
also 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, theorganization
also 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
-