|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object models.FeatureInfoResponse
public class FeatureInfoResponse
information of layer's features, layer`s id and layer's geometry field name
Constructor Summary | |
---|---|
FeatureInfoResponse()
empty constructor |
|
FeatureInfoResponse(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> features,
java.lang.Long layerId)
constructor |
|
FeatureInfoResponse(java.lang.Long id)
constructor |
Method Summary | |
---|---|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getFeatures()
return List of features, where each feature is Map with key - field name and value - field value |
java.lang.String |
getGeomFieldName()
|
java.lang.Long |
getLayerId()
return layer`s id |
void |
setFeatures(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> features)
set list of feature |
void |
setGeomFieldName(java.lang.String geomFieldName)
set geometry field name |
void |
setLayerId(java.lang.Long layerId)
set layer`s id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureInfoResponse()
public FeatureInfoResponse(java.lang.Long id)
id
- layer`s idpublic FeatureInfoResponse(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> features, java.lang.Long layerId)
features
- layer`s featureslayerId
- layer`s idMethod Detail |
---|
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getFeatures()
public void setFeatures(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> features)
features
- List of featurespublic java.lang.Long getLayerId()
public void setLayerId(java.lang.Long layerId)
layerId
- id of layerpublic java.lang.String getGeomFieldName()
public void setGeomFieldName(java.lang.String geomFieldName)
geomFieldName
- name of geometry field
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |