共用方式為


SpatialSpec Class

public class SpatialSpec
extends JsonSerializable

Constructor Summary

Constructor Description
SpatialSpec()

Constructor.

SpatialSpec(String jsonString)

Constructor.

Method Summary

Modifier and Type Method and Description
java.lang.String getPath()

Gets path.

java.util.Collection<SpatialType> getSpatialTypes()

Gets the collection of spatial types.

void setPath(String path)

Sets path.

void setSpatialTypes(Collection<SpatialType> spatialTypes)

Sets the collection of spatial types.

Methods inherited from JsonSerializable

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SpatialSpec

public SpatialSpec()

Constructor.

SpatialSpec

public SpatialSpec(String jsonString)

Constructor.

Parameters:

jsonString - the json string that represents the included path.

Method Details

getPath

public String getPath()

Gets path.

Returns:

the path.

getSpatialTypes

public Collection getSpatialTypes()

Gets the collection of spatial types.

Returns:

the collection of spatial types.

setPath

public void setPath(String path)

Sets path.

Parameters:

path - the path.

setSpatialTypes

public void setSpatialTypes(Collection spatialTypes)

Sets the collection of spatial types.

Parameters:

spatialTypes - the collection of spatial types.

Applies to