Class SubtractionOperation
java.lang.Object
de.fho.jump.pirol.utilities.FormulaParsing.FormulaValue
de.fho.jump.pirol.utilities.FormulaParsing.Operations.GenericOperation
de.fho.jump.pirol.utilities.FormulaParsing.Operations.SubtractionOperation
Class to handle subtractions within a formula.
- Version:
- $Rev$
- 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 GenericOperation
opString, value1, value2Fields inherited from class FormulaValue
logger -
Constructor Summary
ConstructorsConstructorDescriptionSubtractionOperation(FormulaValue value1, FormulaValue value2) Sets the value, that will be operated on. -
Method Summary
Methods inherited from class GenericOperation
isFeatureDependent, toString
-
Constructor Details
-
SubtractionOperation
Sets the value, that will be operated on.
-
-
Method Details
-
getValue
Returns the subtracted values of the sub-values or sub-operations of this operation- Specified by:
getValuein classFormulaValue- Parameters:
feature- the Feature to compute the value from- Returns:
- subtracted values of the sub-values or sub-operations
-