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
Gets the organization name- Returns:
String
-
setOrganization
Sets the organization name NOTE: when the property is not empty, thenoticeNumbersalso 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, theorganizationalso shall be set!- Parameters:
noticeNumbers- an array of integers
-
getExplicitText
Gets the notice text- Returns:
String
-
setExplicitText
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
-
hashCode
public int hashCode() -
toString
-