public class

LayerMapSource

extends LayerSource
java.lang.Object
   ↳ com.esri.core.map.LayerSource
     ↳ com.esri.core.map.LayerMapSource

Summary

Public Constructors
LayerMapSource(int layerId)
Public Methods
int getLayerId()
Gets the layer id.
String getVersionName()
Gets the version name.
void setLayerId(int layerId)
Sets the layer id.
void setVersionName(String versionName)
Sets the version name.
String toJson()
String toString()
[Expand]
Inherited Methods
From class com.esri.core.map.LayerSource
From class java.lang.Object

Public Constructors

public LayerMapSource (int layerId)

Parameters
layerId int

Public Methods

public int getLayerId ()

Gets the layer id.

Returns
int the layer id

public String getVersionName ()

Gets the version name.

Returns
String the version name

public void setLayerId (int layerId)

Sets the layer id.

Parameters
layerId int: the new layer id

public void setVersionName (String versionName)

Sets the version name.

Parameters
versionName String: the new version name

public String toJson ()

Returns
String
Throws
IOException

public String toString ()

Returns
String