Class AttributeValue
java.lang.Object
de.fho.jump.pirol.utilities.FormulaParsing.FormulaValue
de.fho.jump.pirol.utilities.FormulaParsing.Values.AttributeValue
Class to extract integer or double values (as double) out of the given Feature...
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the value (as a double) of the specified attribute out of the given feature.booleanHelps to determine, if the value depends on a feature's attribute value.toString()
-
Field Details
-
attributeName
-
attributeIndex
protected int attributeIndex
-
-
Constructor Details
-
AttributeValue
-
-
Method Details
-
getValue
Gets the value (as a double) of the specified attribute out of the given feature.- Specified by:
getValuein classFormulaValue- Parameters:
feature- the Feature we want to get the attribute value from- Returns:
- value of the specified attribute
-
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
-