de.fho.jump.pirol.utilities.FormulaParsing.Operations
Class AdditionOperation

java.lang.Object
  extended by de.fho.jump.pirol.utilities.FormulaParsing.FormulaValue
      extended by de.fho.jump.pirol.utilities.FormulaParsing.Operations.GenericOperation
          extended by de.fho.jump.pirol.utilities.FormulaParsing.Operations.AdditionOperation

public class AdditionOperation
extends GenericOperation

Class to handle additions within a formula.

Version:
$Rev: 1559 $
Author:
Ole Rahn

FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement

Field Summary
 
Fields inherited from class de.fho.jump.pirol.utilities.FormulaParsing.Operations.GenericOperation
opString, value1, value2
 
Fields inherited from class de.fho.jump.pirol.utilities.FormulaParsing.FormulaValue
logger
 
Constructor Summary
AdditionOperation(FormulaValue value1, FormulaValue value2)
          Sets the value, that will be operated on.
 
Method Summary
 double getValue(Feature feature)
          Returns the summarized values of the sub-values or sub-operations of this operation
 
Methods inherited from class de.fho.jump.pirol.utilities.FormulaParsing.Operations.GenericOperation
isFeatureDependent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdditionOperation

public AdditionOperation(FormulaValue value1,
                         FormulaValue value2)
Sets the value, that will be operated on.

Method Detail

getValue

public double getValue(Feature feature)
Returns the summarized values of the sub-values or sub-operations of this operation

Specified by:
getValue in class FormulaValue
Parameters:
feature -
Returns:
summarized values of the sub-values or sub-operations