code: public Integer getAsInteger() {
  		if (value instanceof String) {
  			return Integer.valueOf((String)value);
  		} else if (value instanceof Long) {
  			return ((Long)value).intValue();
  		}
  		return (Integer)value;
  	}
docs: Returns the value as integer.
  
  @return the value as integer