java.lang.Object
de.rpgframework.genericrpg.data.DataItem
de.rpgframework.genericrpg.data.ComplexDataItem
- Alle implementierten Schnittstellen:
ChoiceOrigin
- Bekannte direkte Unterklassen:
AGearData,AItemEnhancement,ChoiceOption,ISkill,LevellingProfile,SetItem,SkillSpecialization
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungWhen instantiating an entity of this item, the following choices must be presented to the user.protected booleanprotected ModificationListprotected RequirementListThese flags can be freely selected by a userVon Klasse geerbte Felder de.rpgframework.genericrpg.data.DataItem
datasets, id, lang, languageAlternatives, logger, parentItem, parentSet -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidvoidaddOutgoingModifications(List<Modification> value) voidgetChoice(ModifiedObjectType type) getChoiceName(Choice choice, Locale loc) getChoiceOptionString(Choice choice, HasName opt, Locale loc) String[]getChoiceOptionStrings(Choice choice, ChoiceOption opt, Locale loc) protected ChoicegetHardcodedChoice(UUID uuid) Override by specific implements (like AUGMENTATION_QUALITY fo SR6)getModificationChoice(UUID uuid) getUserSelectableFlags(Class<T> cls) getVariantName(PieceOfGearVariant<?> variant, Locale loc) booleanhasLevel()booleanvoidvoidsetHasLevel(boolean hasLevel) voidvalidate()Used in deriving classes to perform validation checks on loading, if necessaryVon Klasse geerbte Methoden de.rpgframework.genericrpg.data.DataItem
addLanguageAlternative, assignToDataSet, getAssignedDataSets, getDescription, getDescription, getFirstParent, getId, getLanguage, getLanguageAlternative, getLanguageAlternatives, getLocalizedString, getLocalizedString, getName, getName, getPageReferences, getResource, getShortName, getTypeString, hasLanguageAlternative, hasLicense, hasLicense, inDataSets, setId, setParentItem, toString
-
Felddetails
-
choices
When instantiating an entity of this item, the following choices must be presented to the user. -
modifications
-
requires
-
hasLevel
@Attribute(name="hasLevel") protected boolean hasLevel -
userSelectableFlags
@ElementList(entry="flag", type=java.lang.String.class, inline=false) protected List<String> userSelectableFlagsThese flags can be freely selected by a user
-
-
Konstruktordetails
-
ComplexDataItem
public ComplexDataItem()
-
-
Methodendetails
-
getChoices
-
addChoice
-
getChoice
- Angegeben von:
getChoicein SchnittstelleChoiceOrigin- Siehe auch:
-
getChoice
-
getChoice
-
getModificationChoice
-
getHardcodedChoice
Override by specific implements (like AUGMENTATION_QUALITY fo SR6) -
getOutgoingModifications
-
addOutgoingModifications
-
getRequirements
-
hasLevel
public boolean hasLevel() -
setHasLevel
public void setHasLevel(boolean hasLevel) -
validate
Used in deriving classes to perform validation checks on loading, if necessary- Setzt außer Kraft:
validatein KlasseDataItem- Löst aus:
DataErrorException
-
resolveWithinItem
-
getChoiceName
-
getVariantName
-
getChoiceOptionStrings
- Parameter:
choice-opt-loc-- Gibt zurück:
- 0=Option name, 1=Option description
-
getChoiceOptionString
-
getUserSelectableFlags
-
hasUserSelectableFlag
-
addUserSelectableFlag
-