public final class RdsLocationTabelle extends Object implements Zustand<Integer>
IllegalArgumentException
geworfen.Modifier and Type | Field and Description |
---|---|
private static String |
ATT_RDS_LOCATION_TABELLE
Name des Attributtyps der die Locationtabellen definiert.
|
private static de.bsvrz.dav.daf.main.config.IntegerAttributeType |
attribut
der Attributtyp der die Locationtabellen definiert.
|
private int |
code
der Code des Zustandes.
|
private String |
name
der Name des Zustandes.
|
private static Map<Integer,RdsLocationTabelle> |
TABELLE_PER_CODE
der Menge der Locationtabellen geordnet nach dem Code.
|
private static Map<String,RdsLocationTabelle> |
TABELLE_PER_NAME
der Menge der Locationtabellen geordnet nach dem Name.
|
Modifier | Constructor and Description |
---|---|
private |
RdsLocationTabelle(String name,
int code)
Konstruktor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode()
liefert den Code des Zustandes.
|
static RdsLocationTabelle |
getLocationTabelle(int gesuchterCode)
liefert die Location Tabelle mit dem übergebenen Code.
|
static RdsLocationTabelle |
getLocationTabelle(String gesuchterName)
liefert die Location Tabelle mit dem übergebenen Name.
|
String |
getName()
liefert den Namen des Zustandes.
|
private static final String ATT_RDS_LOCATION_TABELLE
private static de.bsvrz.dav.daf.main.config.IntegerAttributeType attribut
private static final Map<Integer,RdsLocationTabelle> TABELLE_PER_CODE
private static final Map<String,RdsLocationTabelle> TABELLE_PER_NAME
private final int code
private final String name
private RdsLocationTabelle(String name, int code)
name
- der Name des zustandscode
- der verwendete Codepublic static RdsLocationTabelle getLocationTabelle(int gesuchterCode)
gesuchterCode
- der Code für den ein Zustand gesucht wird.IllegalArgumentException
geworfenpublic static RdsLocationTabelle getLocationTabelle(String gesuchterName)
gesuchterName
- der Name für den ein Zustand gesucht wird.IllegalArgumentException
geworfen.public Integer getCode()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.