|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.internal.value.LayerTimeOptions
public class LayerTimeOptions
This class defines time options for the layer with the given ID within a map service. This can be used to indicate whether or not the layer should use the time extent specified by the TimeInterval property or not, whether to draw the layer features cumulatively or not and the time offsets for the layer.
Constructor Summary | |
---|---|
LayerTimeOptions(int layerId)
Instantiates a new layer time options. |
|
LayerTimeOptions(int layerId,
TimeOptions timeOptions)
Instantiates a new layer time options. |
Method Summary | |
---|---|
int |
getId()
Gets the layer id. |
TimeOptions |
getTimeOptions()
Gets the time options. |
void |
setId(int layerId)
Sets the layer id. |
void |
setTimeOptions(TimeOptions timeOptions)
Sets the time options. |
String |
toJson()
Create a JSON string that can be used to send instances of this class to a REST end point. |
void |
toJson(org.codehaus.jackson.JsonGenerator node)
Create a JSON node within the given generator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayerTimeOptions(int layerId)
layerId
- the layer idpublic LayerTimeOptions(int layerId, TimeOptions timeOptions)
layerId
- the layer idtimeOptions
- the time optionsMethod Detail |
---|
public int getId()
LayerInfoItem
getId
in interface LayerInfoItem
public void setId(int layerId)
LayerInfoItem
setId
in interface LayerInfoItem
layerId
- the new idpublic TimeOptions getTimeOptions()
public void setTimeOptions(TimeOptions timeOptions)
timeOptions
- the new time optionspublic String toJson() throws Exception
LayerInfoItem
toJson
in interface LayerInfoItem
Exception
- the exceptionpublic void toJson(org.codehaus.jackson.JsonGenerator node) throws Exception
node
- the node
Exception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |