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

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.DivisionOperation

public class DivisionOperation
extends GenericOperation

Class to handle divisions 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
DivisionOperation(FormulaValue value1, FormulaValue value2)
          Sets the value, that will be operated on.
 
Method Summary
 double getValue(Feature feature)
          Returns the divided 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

DivisionOperation

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

Method Detail

getValue

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

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