Geomajas, Geomajas server: Main - commands 1.15.1

org.geomajas.command.dto
Class GeometrySplitRequest

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

@Api(allMethods=true)
public class GeometrySplitRequest
extends EmptyCommandRequest

Request object for GeometrySplitCommand.

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

Field Summary
static String COMMAND
          Command name for this request.
 
Constructor Summary
GeometrySplitRequest()
          Default constructor.
GeometrySplitRequest(Geometry geometry, Geometry splitLine)
          Constructor setting both the original geometry as well as the split line.
 
Method Summary
 Geometry getGeometry()
          Get the geometry that will be split.
 Geometry getSplitLine()
          Get split line used for splitting the geometry.
 void setGeometry(Geometry geometry)
          Set the geometry that will be split.
 void setSplitLine(Geometry splitLine)
          Set split line used for splitting the geometry.
 String toString()
          Get the string representation of this request.
 
Methods inherited from class org.geomajas.command.EmptyCommandRequest
getDummy
 
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

GeometrySplitRequest

public GeometrySplitRequest()
Default constructor.


GeometrySplitRequest

public GeometrySplitRequest(Geometry geometry,
                            Geometry splitLine)
Constructor setting both the original geometry as well as the split line.

Parameters:
geometry - to be split
splitLine - used for splitting the geometry
Method Detail

getGeometry

public Geometry getGeometry()
Get the geometry that will be split.

Returns:
geometry that will be split

getSplitLine

public Geometry getSplitLine()
Get split line used for splitting the geometry.

Returns:
split line used for splitting the geometry

setGeometry

public void setGeometry(Geometry geometry)
Set the geometry that will be split.

Parameters:
geometry - that will be split

setSplitLine

public void setSplitLine(Geometry splitLine)
Set split line used for splitting the geometry.

Parameters:
splitLine - used for splitting the geometry

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.