be.lassi.lanbox.domain
Class LayerId
java.lang.Object
be.lassi.lanbox.domain.LayerId
public final class LayerId
- extends java.lang.Object
Helper class with look-up table for layer names.
Field Summary |
static java.lang.String[] |
NAMES
|
Method Summary |
static java.lang.String |
get(int layerNumber)
Gets the layer name for given layer number. |
static int |
get(java.lang.String layerName)
Gets the layer number of the layer with given name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMES
public static final java.lang.String[] NAMES
get
public static java.lang.String get(int layerNumber)
- Gets the layer name for given layer number.
- Parameters:
layerNumber
- the layer number
- Returns:
- the layer name
get
public static int get(java.lang.String layerName)
- Gets the layer number of the layer with given name.
- Parameters:
layerName
- the layer name
- Returns:
- the layer number