Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnumCalculator

        public EnumCalculator()
    • Method Detail

      • calculate

        public java.lang.Object calculate()
                                   throws java.lang.Exception
        Specified by:
        calculate in interface ICalculator
        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)