Class ChoiceOptionWithEmail
java.lang.Object
org.ametys.plugins.forms.question.sources.ChoiceOption
org.ametys.plugins.forms.question.sources.ChoiceOptionWithEmail
Class for creating choices options with emails
-
Constructor Summary
ConstructorDescriptionChoiceOptionWithEmail
(Object value, String email) Create aChoiceOptionWithEmail
-
Method Summary
-
Constructor Details
-
ChoiceOptionWithEmail
Create aChoiceOptionWithEmail
- Parameters:
value
- value of optionemail
- email of option
-
-
Method Details
-
getEmails
Get the emails of option- Returns:
- the emails
-
getAttributes
Description copied from class:ChoiceOption
Get all attributes for this option- Overrides:
getAttributes
in classChoiceOption
- Returns:
- the attributes
-