|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.kex.bwsin.konfig.lcl.LCL
public final class LCL
Diese Klasse implementiert das Modul LCL. Es werden Zugriffsfunktionen auf die Daten der Location-Code-Liste bereitgestellt.
Field Summary | |
---|---|
static String |
FIRST_NAME
Erster Name. |
static String |
INTERSECTIONCODE
Intersection-Code. |
static String |
LINEAR_REFERENZ
Linienreferenz. |
static String |
LOCATION_SUBTYP
Location-Subtyp. |
static String |
LOCATION_TYP
Location-Typ. |
static String |
NETZKNOTEN_NR
Netzknoten-Nr. |
static String |
PRESENT_NEGATIVE
Zeigt an, ob die Location in negativer Richtung definiert ist. |
static String |
PRESENT_POSITIVE
Zeigt an, ob die Location in positiver Richtung definiert ist. |
static String |
ROADNAME
Straßenname. |
static String |
ROADNUMBER
Straßennummer. |
static String |
SECOND_NAME
Zweiter Name. |
static String |
SPALTE_NACHFOLGER
Nachfolger-Location. |
static String |
SPALTE_VORGAENGER
Vorgänger-Location. |
Method Summary | |
---|---|
static LCL |
getInstance()
Liefert die Instanz der LCL zurück. |
List<String> |
getLocationCodes(String spaltenname,
String spaltenwert)
Liefert eine Liste von Location-Codes, bei denen der Wert der Spalte spaltenname gleich dem Wert spaltenwert
ist. |
String |
getLocationCodeWert(String locationcode,
String spaltenname)
Liefert den Wert einer Spalte der LCL zu einem Location-Code. |
int |
getsize()
Gibt die Anzahl der Location-Codes der LCL zurück. |
static void |
initialisiere(String dateiName)
Initialisiert die interne Liste aus einer LCL-Datei. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SPALTE_VORGAENGER
public static final String SPALTE_NACHFOLGER
public static final String LINEAR_REFERENZ
public static final String ROADNUMBER
public static final String FIRST_NAME
public static final String SECOND_NAME
public static final String ROADNAME
public static final String INTERSECTIONCODE
public static final String NETZKNOTEN_NR
public static final String LOCATION_TYP
public static final String LOCATION_SUBTYP
public static final String PRESENT_POSITIVE
public static final String PRESENT_NEGATIVE
Method Detail |
---|
public static LCL getInstance()
public static void initialisiere(String dateiName) throws FileNotFoundException
dateiName
- der Name der LCL-Datei (CSV)
IllegalArgumentException
- bei ungültigem Dateinamen
FileNotFoundException
- wenn die Datei nicht geöffnet werden konntepublic List<String> getLocationCodes(String spaltenname, String spaltenwert)
spaltenname
gleich dem Wert spaltenwert
ist.
getLocationCodes
in interface SINLCLInterface
spaltenname
- Spaltennamespaltenwert
- Wert der Spalte
SINLCLInterface.getLocationCodes(java.lang.String,
java.lang.String)
public String getLocationCodeWert(String locationcode, String spaltenname)
getLocationCodeWert
in interface SINLCLInterface
locationcode
- Locationcodespaltenname
- Spaltenname
spaltenname
zum Location-CodeSINLCLInterface.getLocationCodeWert(java.lang.String,
java.lang.String)
public int getsize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |