code: protected Object getObjectFromString(String propertyValueAsString, PrimitivePropertyValueType valueType)
  			throws Exception {
  		try {
  			switch (valueType) {
  			case BOOLEAN:
  				return Boolean.parseBoolean(propertyValueAsString);
  			case COLOR:
  				if (propertyValueAsString.isEmpty())
  					return null;
  				return Color.decode(propertyValueAsString);
  			case DOUBLE:
  				return Double.valueOf(propertyValueAsString);
  			case INTEGER:
  				return Integer.valueOf(propertyValueAsString);
  			case STRING:
  				return propertyValueAsString;
  			default:
  				return null;
  			}
  		} catch (Exception e) {
  			throw new Exception(String.format(FORMAT_EXCEPTION_PROPERTY_VALUE_FROM_STRING, propertyValueAsString, valueType), e);
  		}
  	}
docs: --------------------------------------------------------------