com.esri.core.internal.value
Interface LayerInfoItem

All Known Implementing Classes:
DynamicLayerInfo, LayerInfo, LayerTimeOptions

public interface LayerInfoItem

This interface should be implemented by classes that are used to configure dynamic layers in a dynamic map service. The Id property is the ID of this layer within a dynamic map service.


Method Summary
 int getId()
          Gets the layer id.
 void setId(int id)
          Sets the layer id.
 String toJson()
          Create a JSON string that can be used to send instances of this class to a REST end point.
 

Method Detail

getId

int getId()
Gets the layer id.

Returns:
the id

setId

void setId(int id)
Sets the layer id.

Parameters:
id - the new id

toJson

String toJson()
              throws Exception
Create a JSON string that can be used to send instances of this class to a REST end point.

Returns:
the string
Throws:
Exception - the exception


Copyright © 2012. All Rights Reserved.