com.esri.core.internal.value
Class LayerMapSource

java.lang.Object
  extended by com.esri.core.internal.value.LayerSource
      extended by com.esri.core.internal.value.LayerMapSource

public class LayerMapSource
extends LayerSource


Nested Class Summary
 
Nested classes/interfaces inherited from class com.esri.core.internal.value.LayerSource
LayerSource.LayerType
 
Constructor Summary
LayerMapSource(int layerId)
           
 
Method Summary
 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()
           
 
Methods inherited from class com.esri.core.internal.value.LayerSource
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerMapSource

public LayerMapSource(int layerId)
Method Detail

getLayerId

public int getLayerId()
Gets the layer id.

Returns:
the layer id

setLayerId

public void setLayerId(int layerId)
Sets the layer id.

Parameters:
layerId - the new layer id

getVersionName

public String getVersionName()
Gets the version name.

Returns:
the version name

setVersionName

public void setVersionName(String versionName)
Sets the version name.

Parameters:
versionName - the new version name

toJson

public String toJson()
              throws IOException
Specified by:
toJson in class LayerSource
Throws:
IOException


Copyright © 2012. All Rights Reserved.