Geomajas, Geomajas server: Main - commands 1.15.1

org.geomajas.command.dto
Class GeometryMergeRequest

java.lang.Object
  extended by org.geomajas.command.dto.GeometryMergeRequest
All Implemented Interfaces:
Serializable, CommandRequest

@Api(allMethods=true)
public class GeometryMergeRequest
extends Object
implements CommandRequest

Request object for GeometryMergeCommand.

Since:
1.11.0
Author:
Pieter De Graef
See Also:
Serialized Form

Field Summary
static String COMMAND
          Command name for this request.
 
Constructor Summary
GeometryMergeRequest()
           
 
Method Summary
 List<Geometry> getGeometries()
          Get the geometries for the merge command.
 int getPrecision()
          Get optional precision to use when merging geometries.
 void setGeometries(List<Geometry> geometries)
          Set the geometries for the merge command.
 void setPrecision(int precision)
          Set optional precision to use when merging geometries.
 void setUsePrecisionAsBuffer(boolean usePrecisionAsBuffer)
          Optional buffer to extend the merging result.
 String toString()
          Get the string representation of this request.
 boolean usePrecisionAsBuffer()
          Check if the precision is being used as buffer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMMAND

public static final String COMMAND
Command name for this request.

See Also:
Constant Field Values
Constructor Detail

GeometryMergeRequest

public GeometryMergeRequest()
Method Detail

getGeometries

public List<Geometry> getGeometries()
Get the geometries for the merge command.

Returns:
geometries for the merge command

setGeometries

public void setGeometries(List<Geometry> geometries)
Set the geometries for the merge command.

Parameters:
geometries - for the merge command

getPrecision

public int getPrecision()
Get optional precision to use when merging geometries.

Returns:
precision of the merging

setPrecision

public void setPrecision(int precision)
Set optional precision to use when merging geometries.

Parameters:
precision - of the merging

setUsePrecisionAsBuffer

public void setUsePrecisionAsBuffer(boolean usePrecisionAsBuffer)
Optional buffer to extend the merging result.

Parameters:
usePrecisionAsBuffer - true if precision is being used as buffer

usePrecisionAsBuffer

public boolean usePrecisionAsBuffer()
Check if the precision is being used as buffer.

Returns:
usePrecisionAsBuffer true if precision is being used as buffer

toString

public String toString()
Get the string representation of this request.

Overrides:
toString in class Object
Returns:
string representation of this request

Geomajas, Geomajas server: Main - commands 1.15.1

Copyright © 2014 Geosparc. All Rights Reserved.