code: private short getDataType(String value)
      {
          short ret = STRING_TYPE;
  
          if(value.equals("number"))
              ret = NUMBER_TYPE;
          else if(value.equals("integer"))
              ret = INTEGER_TYPE;
          else if(value.equals("decimal"))
              ret = DECIMAL_TYPE;
          else if(value.equals("seconds"))
              ret = SECONDS_TYPE;
          else if(value.equals("datetime"))
              ret = DATETIME_TYPE;
          else if(value.equals("boolean"))
              ret = BOOLEAN_TYPE;
  
          return ret;
      }
docs: Returns the data type for the given value.
  @param value The data type value
  @return The code for the data type