SpatialSpec Class
- java.
lang. Object - com.
microsoft. azure. documentdb. JsonSerializable - com.
microsoft. azure. documentdb. SpatialSpec
- com.
- com.
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<Spatial |
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
<T>getCollection
<T>getObject
<T>set
<T>toObject
get
getBoolean
getCollection
getDouble
getHashMap
getInt
getLogger
getLong
getMapper
getObject
getObjectByPath
getString
has
remove
toJson
toJson
toString
toString
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
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
Sets the collection of spatial types.
Parameters:
spatialTypes
- the collection of spatial types.