test_class.declarator: LAYER_NAME = "110m_populated_places_simple"
test_class.modifier: protected static final
test_class.original_string: protected static final String LAYER_NAME = "110m_populated_places_simple";
test_class.type: String
test_class.var_name: LAYER_NAME
test_class.declarator: filterService
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private FilterService filterService;
test_class.type: FilterService
test_class.var_name: filterService
test_class.declarator: layer
test_class.modifier: @Autowired()
  	@Qualifier("test")
  	private
test_class.original_string: @Autowired()
  	@Qualifier("test")
  	private ShapeInMemLayer layer;
test_class.type: ShapeInMemLayer
test_class.var_name: layer
test_class.declarator: filter
test_class.modifier: private
test_class.original_string: private Filter filter;
test_class.type: Filter
test_class.var_name: filter
test_class.file: plugin/layer-geotools/geotools/src/test/java/org/geomajas/layer/shapeinmem/ShapeInMemLayerTest.java
test_class.identifier: ShapeInMemLayerTest
test_case.body: @Test
  	public void read() throws Exception {
  		SimpleFeature f = (SimpleFeature) layer.read(LAYER_NAME + ".2"); // id always starts with layer id
  		Assert.assertNotNull(f);
  		Assert.assertEquals("Vatican City", f.getAttribute("NAME"));
  	}
test_case.class_method_signature: ShapeInMemLayerTest.read()
test_case.full_signature: @Test public void read()
test_case.identifier: read
test_case.invocations: read assertNotNull assertEquals getAttribute
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void read()
focal_class.declarator: features = new ConcurrentHashMap<String, SimpleFeature>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, SimpleFeature> features = new ConcurrentHashMap<String, SimpleFeature>();
focal_class.type: Map<String, SimpleFeature>
focal_class.var_name: features
focal_class.declarator: featureModel
focal_class.modifier: private
focal_class.original_string: private FeatureModel featureModel;
focal_class.type: FeatureModel
focal_class.var_name: featureModel
focal_class.declarator: layerInfo
focal_class.modifier: private
focal_class.original_string: private VectorLayerInfo layerInfo;
focal_class.type: VectorLayerInfo
focal_class.var_name: layerInfo
focal_class.declarator: geoService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private GeoService geoService;
focal_class.type: GeoService
focal_class.var_name: geoService
focal_class.declarator: converterService
focal_class.modifier: @Autowired
  	private
focal_class.original_string: @Autowired
  	private DtoConverterService converterService;
focal_class.type: DtoConverterService
focal_class.var_name: converterService
focal_class.declarator: crs
focal_class.modifier: private
focal_class.original_string: private CoordinateReferenceSystem crs;
focal_class.type: CoordinateReferenceSystem
focal_class.var_name: crs
focal_class.declarator: url
focal_class.modifier: private
focal_class.original_string: private String url;
focal_class.type: String
focal_class.var_name: url
focal_class.declarator: id
focal_class.modifier: private
focal_class.original_string: private String id;
focal_class.type: String
focal_class.var_name: id
focal_class.file: plugin/layer-geotools/geotools/src/main/java/org/geomajas/layer/shapeinmem/ShapeInMemLayer.java
focal_class.identifier: ShapeInMemLayer
focal_class.interfaces: implements VectorLayer
focal_class.class_method_signature: ShapeInMemLayer.getId()
focal_class.full_signature: @Override public String getId()
focal_class.identifier: getId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getId()
focal_class.class_method_signature: ShapeInMemLayer.setId(String id)
focal_class.full_signature: public void setId(String id)
focal_class.identifier: setId
focal_class.modifiers: public
focal_class.parameters: (String id)
focal_class.return: void
focal_class.signature: void setId(String id)
focal_class.class_method_signature: ShapeInMemLayer.getCrs()
focal_class.full_signature: @Override public CoordinateReferenceSystem getCrs()
focal_class.identifier: getCrs
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CoordinateReferenceSystem
focal_class.signature: CoordinateReferenceSystem getCrs()
focal_class.class_method_signature: ShapeInMemLayer.setLayerInfo(VectorLayerInfo layerInfo)
focal_class.full_signature: @Api public void setLayerInfo(VectorLayerInfo layerInfo)
focal_class.identifier: setLayerInfo
focal_class.modifiers: @Api public
focal_class.parameters: (VectorLayerInfo layerInfo)
focal_class.return: void
focal_class.signature: void setLayerInfo(VectorLayerInfo layerInfo)
focal_class.class_method_signature: ShapeInMemLayer.getLayerInfo()
focal_class.full_signature: @Override public VectorLayerInfo getLayerInfo()
focal_class.identifier: getLayerInfo
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: VectorLayerInfo
focal_class.signature: VectorLayerInfo getLayerInfo()
focal_class.class_method_signature: ShapeInMemLayer.isCreateCapable()
focal_class.full_signature: @Override public boolean isCreateCapable()
focal_class.identifier: isCreateCapable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isCreateCapable()
focal_class.class_method_signature: ShapeInMemLayer.isUpdateCapable()
focal_class.full_signature: @Override public boolean isUpdateCapable()
focal_class.identifier: isUpdateCapable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isUpdateCapable()
focal_class.class_method_signature: ShapeInMemLayer.isDeleteCapable()
focal_class.full_signature: @Override public boolean isDeleteCapable()
focal_class.identifier: isDeleteCapable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDeleteCapable()
focal_class.class_method_signature: ShapeInMemLayer.setUrl(String url)
focal_class.full_signature: @Api public void setUrl(String url)
focal_class.identifier: setUrl
focal_class.modifiers: @Api public
focal_class.parameters: (String url)
focal_class.return: void
focal_class.signature: void setUrl(String url)
focal_class.class_method_signature: ShapeInMemLayer.getElements(Filter filter, int offset, int maxResultSize)
focal_class.full_signature: public Iterator<?> getElements(Filter filter, int offset, int maxResultSize)
focal_class.identifier: getElements
focal_class.modifiers: public
focal_class.parameters: (Filter filter, int offset, int maxResultSize)
focal_class.return: Iterator<?>
focal_class.signature: Iterator<?> getElements(Filter filter, int offset, int maxResultSize)
focal_class.class_method_signature: ShapeInMemLayer.getBounds()
focal_class.full_signature: @Override public Envelope getBounds()
focal_class.identifier: getBounds
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Envelope
focal_class.signature: Envelope getBounds()
focal_class.class_method_signature: ShapeInMemLayer.getBounds(Filter filter)
focal_class.full_signature: public Envelope getBounds(Filter filter)
focal_class.identifier: getBounds
focal_class.modifiers: public
focal_class.parameters: (Filter filter)
focal_class.return: Envelope
focal_class.signature: Envelope getBounds(Filter filter)
focal_class.class_method_signature: ShapeInMemLayer.getFeatureModel()
focal_class.full_signature: @Override public FeatureModel getFeatureModel()
focal_class.identifier: getFeatureModel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: FeatureModel
focal_class.signature: FeatureModel getFeatureModel()
focal_class.class_method_signature: ShapeInMemLayer.create(Object feature)
focal_class.full_signature: @Override public Object create(Object feature)
focal_class.identifier: create
focal_class.modifiers: @Override public
focal_class.parameters: (Object feature)
focal_class.return: Object
focal_class.signature: Object create(Object feature)
focal_class.class_method_signature: ShapeInMemLayer.read(String featureId)
focal_class.full_signature: @Override public Object read(String featureId)
focal_class.identifier: read
focal_class.modifiers: @Override public
focal_class.parameters: (String featureId)
focal_class.return: Object
focal_class.signature: Object read(String featureId)
focal_class.class_method_signature: ShapeInMemLayer.saveOrUpdate(Object feature)
focal_class.full_signature: @Override public Object saveOrUpdate(Object feature)
focal_class.identifier: saveOrUpdate
focal_class.modifiers: @Override public
focal_class.parameters: (Object feature)
focal_class.return: Object
focal_class.signature: Object saveOrUpdate(Object feature)
focal_class.class_method_signature: ShapeInMemLayer.delete(String featureId)
focal_class.full_signature: @Override public void delete(String featureId)
focal_class.identifier: delete
focal_class.modifiers: @Override public
focal_class.parameters: (String featureId)
focal_class.return: void
focal_class.signature: void delete(String featureId)
focal_class.class_method_signature: ShapeInMemLayer.initFeatures()
focal_class.full_signature: @PostConstruct protected void initFeatures()
focal_class.identifier: initFeatures
focal_class.modifiers: @PostConstruct protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initFeatures()
focal_class.superclass: extends FeatureSourceRetriever
focal_method.body: @Override
  	public Object read(String featureId) throws LayerException {
  		if (!features.containsKey(featureId)) {
  			throw new LayerException(ExceptionCode.LAYER_MODEL_FEATURE_NOT_FOUND, featureId);
  		} else {
  			return features.get(featureId);
  		}
  	}
focal_method.class_method_signature: ShapeInMemLayer.read(String featureId)
focal_method.full_signature: @Override public Object read(String featureId)
focal_method.identifier: read
focal_method.invocations: containsKey get
focal_method.modifiers: @Override public
focal_method.parameters: (String featureId)
focal_method.return: Object
focal_method.signature: Object read(String featureId)