java.lang.Object
de.rpgframework.genericrpg.data.DataItem
de.rpgframework.genericrpg.data.ComplexDataItem
de.rpgframework.genericrpg.items.AGearData
- Alle implementierten Schnittstellen:
ChoiceOrigin,Cloneable
- Bekannte direkte Unterklassen:
AlternateUsage,PieceOfGear,PieceOfGearVariant
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected List<ItemAttributeDefinition> protected Map<IItemAttribute, ItemAttributeDefinition> Comma.separated list of flagsWays to apply this main/variant of an item.Von Klasse geerbte Felder de.rpgframework.genericrpg.data.ComplexDataItem
choices, hasLevel, modifications, requires, userSelectableFlagsVon Klasse geerbte Felder de.rpgframework.genericrpg.data.DataItem
datasets, id, lang, languageAlternatives, logger, parentItem, parentSet -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidvoidgetAttribute(IItemAttribute attrib) getAttributes(String variantID) getFlags()abstract List<? extends IGearTypeData> <T extends IGearTypeData>
TgetTypeData(Class<T> clazz) booleanvoidsetAttribute(IItemAttribute attrib, int value) voidsetAttribute(IItemAttribute attrib, Formula value) voidsetAttribute(IItemAttribute attrib, Object value) voidvoidvalidate()Used in deriving classes to perform validation checks on loading, if necessaryVon Klasse geerbte Methoden de.rpgframework.genericrpg.data.ComplexDataItem
addChoice, addOutgoingModifications, addUserSelectableFlag, getChoice, getChoice, getChoice, getChoiceName, getChoiceOptionString, getChoiceOptionStrings, getChoices, getHardcodedChoice, getModificationChoice, getOutgoingModifications, getRequirements, getUserSelectableFlags, getVariantName, hasLevel, hasUserSelectableFlag, resolveWithinItem, setHasLevelVon 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, inDataSets, setId, setParentItem, toString
-
Felddetails
-
attributes
@ElementList(entry="attrdef", type=ItemAttributeDefinition.class, inline=true) protected List<ItemAttributeDefinition> attributes -
flags
Comma.separated list of flags -
cache
-
usages
Ways to apply this main/variant of an item. E.g. a Laser Sight might be mounted on top of a barrel, or under the barrel, but it is still the same item.
-
-
Konstruktordetails
-
AGearData
public AGearData()
-
-
Methodendetails
-
getTypeData
-
getTypeData
-
validate
public void validate()Beschreibung aus Klasse kopiert:ComplexDataItemUsed in deriving classes to perform validation checks on loading, if necessary- Setzt außer Kraft:
validatein KlasseComplexDataItem- Siehe auch:
-
getAttributes
-
getAttributes
-
getAttribute
-
setAttribute
-
setAttribute
-
setAttribute
-
setAttribute
-
addUsage
-
getUsages
- Gibt zurück:
- the usage
-
getUsage
-
getFlags
-
hasFlag
-
addFlags
-