java.lang.Object
de.rpgframework.genericrpg.data.Choice
- Alle implementierten Schnittstellen:
Cloneable
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected Stringprotected StringMaximum valueprotected StringOptionally references a type from ModifiedObjectTypeprotected List<ChoiceOption> protected ModifiedObjectTypeWhat type of data is modifiedprotected UUID -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungChoice()Choice(UUID uuid, ModifiedObjectType type) Choice(UUID uuid, ModifiedObjectType type, String ref) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()String[]intgetCount()Integer[]For choicesgetSubOption(String subOption) getUUID()booleanvoidsetChoiceOptions(String tokenizedString) voidsetChoiceOptions(String[] values) voidsetI18NKey(String val) voidsetMaxFormula(Formula value) voidsetSource(ComplexDataItem source) voidsetTypeReference(String value) toString()
-
Felddetails
-
type
What type of data is modified -
ref
Optionally references a type from ModifiedObjectType -
max
Maximum value -
choiceOptions
-
uuid
-
subOptions
@ElementList(type=ChoiceOption.class, entry="subOption", inline=true) protected List<ChoiceOption> subOptions
-
-
Konstruktordetails
-
Choice
public Choice() -
Choice
-
Choice
-
Choice
-
-
Methodendetails
-
clone
-
toString
-
getChooseFrom
- Gibt zurück:
- the type
-
getUUID
- Gibt zurück:
- the uuid
-
getTypeReference
- Gibt zurück:
- the uuid
-
setTypeReference
-
getDistribute
For choices- Gibt zurück:
- The values to distribute (CHOICE only)
-
getRawChoiceOptions
-
getChoiceOptions
-
setChoiceOptions
-
setChoiceOptions
-
isNegated
public boolean isNegated() -
getCount
public int getCount()- Gibt zurück:
- the count
-
getSource
- Gibt zurück:
- the source
-
setSource
- Parameter:
source- the source to set
-
getSubOptions
- Gibt zurück:
- the subOptions
-
getSubOption
-
getI18nKey
-
setI18NKey
-
getMaxFormula
-
setMaxFormula
-