@Api(allMethods=true)
public interface EntityAttributeService
setAttributes(Object, FeatureInfo, EntityMapper, Map) operation makes use of a custom EntityMapper
that has be implemented by each layer that wants to make use of this service. The service also provides a
getAttribute(Object, FeatureInfo, EntityMapper, String) method to recursively extract attributes.| Modifier and Type | Method and Description |
|---|---|
Attribute<?> |
getAttribute(Object feature,
FeatureInfo featureInfo,
EntityMapper mapper,
String name)
Recursively gets the attribute from the specified feature.
|
void |
setAttributes(Object object,
FeatureInfo featureInfo,
EntityMapper mapper,
Map<String,Attribute<?>> attributes)
Merges the specified attribute map with this layer object.
|
void setAttributes(Object object, FeatureInfo featureInfo, EntityMapper mapper, Map<String,Attribute<?>> attributes) throws LayerException
object - the layer-specific objectmapper - the entity mapperattributes - attribute mapfeatureInfo - the feature information of the objectLayerException - oopsAttribute<?> getAttribute(Object feature, FeatureInfo featureInfo, EntityMapper mapper, String name) throws LayerException
feature - the internal feature objectfeatureInfo - the feature information objectmapper - the entity mappername - the name (may be recursive using . or /)LayerException - oopsCopyright © 2015 Geosparc. All Rights Reserved.