Class GenericOperation
java.lang.Object
de.fho.jump.pirol.utilities.FormulaParsing.FormulaValue
de.fho.jump.pirol.utilities.FormulaParsing.Operations.GenericOperation
- Direct Known Subclasses:
AdditionOperation, DivisionOperation, MultiplicationOperation, PowerOfOperation, SubtractionOperation
Base class for mathmatic operations like division, addition, etc.
- Version:
- $Rev$
- Author:
- Ole Rahn
FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
-
Field Summary
FieldsFields inherited from class FormulaValue
logger -
Constructor Summary
ConstructorsConstructorDescriptionGenericOperation(FormulaValue value1, FormulaValue value2) Sets the value, that will be operated on. -
Method Summary
Modifier and TypeMethodDescriptionbooleanHelps to determine, if the value depends on a feature's attribute value.toString()Methods inherited from class FormulaValue
getValue
-
Field Details
-
value1
-
value2
-
opString
-
-
Constructor Details
-
GenericOperation
Sets the value, that will be operated on.- Parameters:
value1- first value that will be operated onvalue2- second value that will be operated on
-
-
Method Details
-
isFeatureDependent
public boolean isFeatureDependent()Description copied from class:FormulaValueHelps to determine, if the value depends on a feature's attribute value.- Specified by:
isFeatureDependentin classFormulaValue- Returns:
- true, if the value depends on a feature
-
toString
- Overrides:
toStringin classFormulaValue
-