class GeoToolsLayer extends FeatureSourceRetriever implements VectorLayer {

	@Override
	public Object read(String featureId) throws LayerException {
		Filter filter = filterService.createFidFilter(new String[] { featureId });
		Iterator<?> iterator = getElements(filter, 0, 0);
		if (iterator.hasNext()) {
			return iterator.next();
		} else {
			throw new LayerException(ExceptionCode.LAYER_MODEL_FEATURE_NOT_FOUND, featureId);
		}
	}

}