code: public Object getControlValue()
      {
          Object objValue = null;
          if (m_iCurrentState == ON)
              objValue = Boolean.TRUE;
          else if (m_iCurrentState == OFF)
              objValue = Boolean.FALSE;
          return objValue;
      }
docs: Get the value (On, Off or Null).
  @return The raw data (a Boolean).