de.xabsl.jxabslx.symbols
Class DecimalInputSymbolImpl

java.lang.Object
  extended by de.xabsl.jxabslx.symbols.InputSymbolImpl
      extended by de.xabsl.jxabslx.symbols.DecimalInputSymbolImpl
All Implemented Interfaces:
DecimalInputSymbol

public class DecimalInputSymbolImpl
extends InputSymbolImpl
implements DecimalInputSymbol

An implementation for a decimal input symbol. Takes its values from an Input object and converts it via a DecimalConversion


Field Summary
 
Fields inherited from class de.xabsl.jxabslx.symbols.InputSymbolImpl
input, parameters
 
Constructor Summary
DecimalInputSymbolImpl(Input input, DecimalConversion conversion, java.lang.String[] parameterNames, Symbols symbols, DebugMessages debug)
          Constructor.
 
Method Summary
 double getValue()
          Returns the symbol's value.
 
Methods inherited from class de.xabsl.jxabslx.symbols.InputSymbolImpl
checkConstructorArguments, createParameters, getParameters, getRawValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.xabsl.jxabsl.symbols.DecimalInputSymbol
getParameters
 

Constructor Detail

DecimalInputSymbolImpl

public DecimalInputSymbolImpl(Input input,
                              DecimalConversion conversion,
                              java.lang.String[] parameterNames,
                              Symbols symbols,
                              DebugMessages debug)
Constructor.

Parameters:
input - A value comes from here
conversion - Is converted via this conversion
parameterNames - parameter names in the correct order
symbols - the symbols of the engine
debug - for debugging output
Method Detail

getValue

public double getValue()
Description copied from interface: DecimalInputSymbol
Returns the symbol's value. Before calling this function, obtain the parameters via getParameters() and set the parameter values

Specified by:
getValue in interface DecimalInputSymbol
Returns:
the symbol's value