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 Details

    • AddModifierMethod

      public AddModifierMethod()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Display Name of Modifiers.
      Returns:
      Name
    • doModification

      public Object doModification(Object currentObject, ParameterList modifierMethodParameterList)
      Doing modification.
      Parameters:
      currentObject - Object to be modified.
      modifierMethodParameterList - list of parameters
      Returns:
      Modified Object
    • add

      public Number add(Number currentNumber, Number operand)