Geomajas, Geomajas server: Main - commands 1.15.1

org.geomajas.command.dto
Class LayerFilterSpecification

java.lang.Object
  extended by org.geomajas.command.dto.LayerFilterSpecification
All Implemented Interfaces:
Serializable

@Api(allMethods=true)
public class LayerFilterSpecification
extends Object
implements Serializable

Class which specifies a layer filter (e.g. for a specific client layer) together with the server layer id. It is used by SearchByLocationRequest.

Since:
1.10.0
Author:
An Buyle
See Also:
Serialized Form

Constructor Summary
LayerFilterSpecification()
          Default constructor (no info).
LayerFilterSpecification(String serverLayerId, String filter)
          Constructor.
 
Method Summary
 String getFilter()
          Set the additional filter which needs to be applied on the layer.
 String getServerLayerId()
          Set the server layer id.
 void setFilter(String filter)
          Get the additional filter which needs to be applied on the layer.
 void setServerLayerId(String serverLayerId)
          Get the server layer id.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayerFilterSpecification

public LayerFilterSpecification()
Default constructor (no info).


LayerFilterSpecification

public LayerFilterSpecification(String serverLayerId,
                                String filter)
Constructor.

Parameters:
serverLayerId - server layer id
filter - optional filter expression which should be applied on the specified layer, if null, a true filter will be applied
Method Detail

setServerLayerId

public void setServerLayerId(String serverLayerId)
Get the server layer id.

Parameters:
serverLayerId - server layer id

getServerLayerId

public String getServerLayerId()
Set the server layer id.

Returns:
serverLayerId server layer id

setFilter

public void setFilter(String filter)
Get the additional filter which needs to be applied on the layer.

Parameters:
filter - optional filter expression which should be applied on the specified layer, if null, a true filter will be applied

getFilter

public String getFilter()
Set the additional filter which needs to be applied on the layer.

Returns:
layer filter expression (null means true filter)

toString

public String toString()
Overrides:
toString in class Object

Geomajas, Geomajas server: Main - commands 1.15.1

Copyright © 2014 Geosparc. All Rights Reserved.