Class ItemAttributeDefinition
java.lang.Object
de.rpgframework.genericrpg.modification.ModifyableImpl
de.rpgframework.genericrpg.items.ItemAttributeDefinition
- All Implemented Interfaces:
Modifyable
-
Field Summary
Fields inherited from class de.rpgframework.genericrpg.modification.ModifyableImpl
incomingModifications, outgoingModifications -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintShortcut forgetFormula().getAsInteger()String[]Returns the declaration like it appears in the XML definition.<T> TgetValue()Shortcut forgetFormula().getAsInteger()booleanvoidsetFormula(Formula value) voidsetRawValue(String val) toString()Methods inherited from class de.rpgframework.genericrpg.modification.ModifyableImpl
addIncomingModification, addModifications, addOutgoingModification, clearIncomingModifications, clearOutgoingModifications, getIncomingModifications, getOutgoingModifications, removeIncomingModification, removeIncomingModificationForSource, removeIncomingModifications, setIncomingModifications
-
Constructor Details
-
ItemAttributeDefinition
public ItemAttributeDefinition() -
ItemAttributeDefinition
-
ItemAttributeDefinition
-
-
Method Details
-
toString
-
getModifyable
-
getFormula
-
setFormula
-
getRawValue
Returns the declaration like it appears in the XML definition. Use this method, if the value contains variables/formulas -
setRawValue
-
getDistributed
public int getDistributed()Shortcut forgetFormula().getAsInteger() -
getValue
public <T> T getValue()Shortcut forgetFormula().getAsInteger() -
isInteger
public boolean isInteger() -
getLookupTable
- Returns:
- the lookupTable
-