models
Class FeatureInfoResponse

java.lang.Object
  extended by models.FeatureInfoResponse

public class FeatureInfoResponse
extends java.lang.Object

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

FeatureInfoResponse

public FeatureInfoResponse()
empty constructor


FeatureInfoResponse

public FeatureInfoResponse(java.lang.Long id)
constructor

Parameters:
id - layer`s id

FeatureInfoResponse

public FeatureInfoResponse(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> features,
                           java.lang.Long layerId)
constructor

Parameters:
features - layer`s features
layerId - layer`s id
Method Detail

getFeatures

public 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

Returns:
list of layer`s feature

setFeatures

public void setFeatures(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> features)
set list of feature

Parameters:
features - List of features

getLayerId

public java.lang.Long getLayerId()
return layer`s id

Returns:
id

setLayerId

public void setLayerId(java.lang.Long layerId)
set layer`s id

Parameters:
layerId - id of layer

getGeomFieldName

public java.lang.String getGeomFieldName()
Returns:
return a geometry field name

setGeomFieldName

public void setGeomFieldName(java.lang.String geomFieldName)
set geometry field name

Parameters:
geomFieldName - name of geometry field