Class AddModifierMethod
- java.lang.Object
-
- de.fraunhofer.iese.mydata.pep.common.PrimitiveModifierMethod
-
- de.fraunhofer.iese.mydata.pep.modifiers.arithmetic.AddModifierMethod
-
- All Implemented Interfaces:
ModifierMethod
public class AddModifierMethod extends PrimitiveModifierMethod
Addition Modifiers
-
-
Constructor Summary
Constructors Constructor Description AddModifierMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Number
add(Number currentNumber, Number operand)
Object
doModification(Object currentObject, de.fraunhofer.iese.mydata.policy.parameter.ParameterList modifierMethodParameterList)
Doing modification.String
getDisplayName()
Display Name of Modifiers.-
Methods inherited from class de.fraunhofer.iese.mydata.pep.common.PrimitiveModifierMethod
doModification, nameIsValid
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
Display Name of Modifiers.- Returns:
- Name
-
doModification
public Object doModification(Object currentObject, de.fraunhofer.iese.mydata.policy.parameter.ParameterList modifierMethodParameterList)
Doing modification.- Parameters:
currentObject
- Object to be modified.modifierMethodParameterList
- list of parameters- Returns:
- Modified Object
-
-