Modul de.rpgframework.rules
Klasse ValueModification
java.lang.Object
de.rpgframework.genericrpg.modification.Modification
de.rpgframework.genericrpg.modification.DataItemModification
de.rpgframework.genericrpg.modification.ValueModification
- Bekannte direkte Unterklassen:
CheckModification
@Root(name="valmod")
public class ValueModification
extends DataItemModification
implements Cloneable
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen de.rpgframework.genericrpg.modification.Modification
Modification.Origin -
Feldübersicht
Von Klasse geerbte Felder de.rpgframework.genericrpg.modification.DataItemModification
choice, choiceOptions, date, decisions, expCost, id, ref, remove, restrictedToMode, variantVon Klasse geerbte Felder de.rpgframework.genericrpg.modification.Modification
apply, conditions, origin, source, type, when -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungValueModification(ModifiedObjectType type, String ref, int val) ValueModification(ModifiedObjectType type, String ref, int val, ApplyTo to, ValueType set) ValueModification(ModifiedObjectType type, String ref, int val, ApplyWhen when, ValueType set) ValueModification(ModifiedObjectType type, String ref, int val, Object src) ValueModification(ModifiedObjectType type, String ref, int val, Object src, ValueType set) ValueModification(ModifiedObjectType type, String ref, String val) ValueModification(ModifiedObjectType type, String ref, String val, ApplyTo to, ValueType set) ValueModification(ModifiedObjectType type, String ref, String val, ApplyWhen when, ValueType set) ValueModification(ModifiedObjectType type, String ref, String val, Object src) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungclone()String[]int[]Returns the declaration like it appears in the XML definition.getSet()Get the value setintgetValue()doubleString[]booleanbooleanisDouble()booleanbooleanbooleanisModMin()voidsetFormula(Formula value) voidsetInstantiated(boolean instantiated) voidsetLookupTable(String[] table) voidsetRawValue(String val) voidvoidsetValue(int value) voidtoString()Von Klasse geerbte Methoden de.rpgframework.genericrpg.modification.DataItemModification
equals, getAsKeys, getChoiceOptions, getConnectedChoice, getDate, getDecision, getDecisions, getExpCost, getId, getKey, getResolvedKey, getVariant, isRemove, setDate, setDecisions, setExpCost, setId, setKey, setRemove, validateVon Klasse geerbte Methoden de.rpgframework.genericrpg.modification.Modification
getApplyTo, getConditionString, getOrigin, getReferenceType, getSource, getWhen, isConditional, setApplyTo, setConditionString, setOrigin, setSource, setWhen
-
Konstruktordetails
-
ValueModification
public ValueModification() -
ValueModification
-
ValueModification
-
ValueModification
-
ValueModification
-
ValueModification
-
ValueModification
public ValueModification(ModifiedObjectType type, String ref, int val, ApplyWhen when, ValueType set) -
ValueModification
public ValueModification(ModifiedObjectType type, String ref, String val, ApplyWhen when, ValueType set) -
ValueModification
-
ValueModification
public ValueModification(ModifiedObjectType type, String ref, String val, ApplyTo to, ValueType set)
-
-
Methodendetails
-
clone
- Setzt außer Kraft:
clonein KlasseDataItemModification
-
hasFormula
public boolean hasFormula() -
isModMin
public boolean isModMin() -
isDouble
public boolean isDouble() -
toString
- Setzt außer Kraft:
toStringin KlasseDataItemModification- Siehe auch:
-
getValue
public int getValue()- Gibt zurück:
- The amount by which the value must be changed
-
getValueAsDouble
public double getValueAsDouble() -
getValueAsKeys
-
getModMinValues
public int[] getModMinValues() -
getFormula
-
setFormula
-
getRawValue
Returns the declaration like it appears in the XML definition. Use this method, if the value contains variables/formulas -
setRawValue
-
setValue
- Parameter:
value- The amount by which the value must be changed
-
setValue
public void setValue(int value) -
getSet
Get the value set- Gibt zurück:
-
setSet
-
isIgnoreLimit
public boolean isIgnoreLimit()- Gibt zurück:
- the ignoreLimit
-
getLookupTable
- Gibt zurück:
- the lookupTable
-
setLookupTable
-
isInstantiated
public boolean isInstantiated()- Gibt zurück:
- the instantiated
-
setInstantiated
public void setInstantiated(boolean instantiated) - Parameter:
instantiated- the instantiated to set
-