models
Class BaseLayer

java.lang.Object
  extended by models.BaseLayer

public class BaseLayer
extends java.lang.Object

base layer model


Constructor Summary
BaseLayer(java.lang.String name, java.lang.String className, java.lang.Integer order)
          constructor
 
Method Summary
 java.lang.String getClassName()
           
 int getCode()
           
 java.lang.String getName()
           
 java.lang.Integer getOrder()
           
 void setClassName(java.lang.String className)
          set class of base layer.
 void setName(java.lang.String name)
           
 void setOrder(java.lang.Integer order)
          set order view in list
static void sort(java.util.List<BaseLayer> list)
          sort list of base layers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseLayer

public BaseLayer(java.lang.String name,
                 java.lang.String className,
                 java.lang.Integer order)
constructor

Parameters:
name - name of base layer
className - class of base layer
order - order of base layer
Method Detail

getName

public java.lang.String getName()
Returns:
name of base layer

setName

public void setName(java.lang.String name)
Parameters:
name - set name

getClassName

public java.lang.String getClassName()
Returns:
class of base layer

setClassName

public void setClassName(java.lang.String className)
set class of base layer. For example, "new M.TileLayer('http://geoportal.ntsomz.ru/get_tile_external.php?x={x}&y={y}&scale={z}')"

Parameters:
className - string with class of base layer

getOrder

public java.lang.Integer getOrder()
Returns:
order view in list

setOrder

public void setOrder(java.lang.Integer order)
set order view in list

Parameters:
order - integer value

getCode

public int getCode()

sort

public static void sort(java.util.List<BaseLayer> list)
sort list of base layers

Parameters:
list - list of base layers