Package org.openxava.calculators
Class EnumCalculator
- java.lang.Object
-
- org.openxava.calculators.EnumCalculator
-
- All Implemented Interfaces:
java.io.Serializable
,ICalculator
public class EnumCalculator extends java.lang.Object implements ICalculator
- Author:
- Javier Paniza
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnumCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
calculate()
java.lang.String
getEnumType()
java.lang.String
getValue()
void
setEnumType(java.lang.String enumType)
void
setValue(java.lang.String value)
-
-
-
Method Detail
-
calculate
public java.lang.Object calculate() throws java.lang.Exception
- Specified by:
calculate
in interfaceICalculator
- Throws:
java.lang.Exception
-
getEnumType
public java.lang.String getEnumType()
-
setEnumType
public void setEnumType(java.lang.String enumType)
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
-