de.xabsl.jxabslx.symbols
Class EnumeratedOutputSymbolImpl
java.lang.Object
de.xabsl.jxabslx.symbols.EnumeratedOutputSymbolImpl
- All Implemented Interfaces:
- EnumeratedOutputSymbol
public class EnumeratedOutputSymbolImpl
- extends java.lang.Object
- implements EnumeratedOutputSymbol
An implementation for an enumerated output symbol. Takes its values from an
Input object, writes values via an Output object and converts via an
EnumeratedConversion.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumeratedOutputSymbolImpl
public EnumeratedOutputSymbolImpl(Enumeration enumeration,
Output output,
Input input,
EnumeratedConversion conversion,
DebugMessages debug)
- Constructor
- Parameters:
enumeration
- the enumeration which is the domain of this symboloutput
- a value goes hereinput
- a value comes from hereconversion
- is converted via this conversiondebug
- for debugging output
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface EnumeratedOutputSymbol
- Returns:
- the symbol's value
setValue
public void setValue(java.lang.Object value)
- Description copied from interface:
EnumeratedOutputSymbol
- Sets the symbol's value
- Specified by:
setValue
in interface EnumeratedOutputSymbol
- Parameters:
value
- the symbols new value
getEnumeration
public Enumeration getEnumeration()
- Specified by:
getEnumeration
in interface EnumeratedOutputSymbol
- Returns:
- the enumeration that is the domain of the symbol