code: @Override
  	protected R parseValueFromString(String s)
  	{
  		Class<R> range = this.getRange();
  		R value = null;
  		try
  		{
  			if (range.equals(double.class))
  			{
  				value= (R) Double.valueOf(s);
  			}
  			else if (range.equals(float.class))
  			{
  				value=  (R) Float.valueOf(s);
  			}
  			else if (range.equals(int.class))
  			{
  				value= (R) Integer.valueOf(s);
  			}
  			else if (range.equals(Boolean.class))
  			{
  				value= (R) Boolean.valueOf(s);
  			}
  		}
  
  		catch (NumberFormatException e)
  
  		{
  			throw new IllegalBioPAXArgumentException(
  					"Failed to convert literal " + s +
  					" to " + range.getSimpleName()
  					+ " for " + property, e);
  		}
  		return value;
  	}
docs: -------------------------- OTHER METHODS --------------------------