Class ChoiceOption
java.lang.Object
org.ametys.plugins.forms.question.sources.ChoiceOption
- Direct Known Subclasses:
ChoiceOptionWithCost
Class for creating choice options
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ChoiceOption
Create aChoiceOption
- Parameters:
value
- the value of the option
-
-
Method Details
-
getValue
Get the option value- Returns:
- the value
-
setValue
Set the new value- Parameters:
value
- the new value
-
getAttributes
Get all attributes for this option- Returns:
- the attributes
-
toString
-
equals
-
hashCode
-