class DataObjectFactoryImpl implements DataObjectFactory {

	@Override
	public GlobeCoordinatesValue getGlobeCoordinatesValue(double latitude,
			double longitude, double precision, String globeIri) {
		if (precision <= 0) {
			throw new IllegalArgumentException(
					"Coordinates precision must be non-zero positive. Given value: "
							+ precision);
		}
		return new GlobeCoordinatesValueImpl(latitude,
				longitude,
				precision,
				globeIri);
	}

}