public enum StateCode extends Enum<StateCode>
Enum Constant and Description |
---|
BA |
BAS |
BB |
BE |
BW |
HB |
HE |
HH |
MV |
NI |
NO |
NW |
RP |
SH |
SL |
SN |
ST |
TESTLAND |
TH |
WL |
Modifier and Type | Method and Description |
---|---|
static StateCode |
fromKVRegion(Integer stateCodeInteger)
Wandelt die KV-Region-Nurmmer des Bundeslandes in den Aufzählungtypen um.
|
static StateCode |
fromString(String stateCodeString)
Liefert den EnumType zu dem entsprechenden String.
|
static StateCode |
fromXmlId(Integer stateCodeInteger)
Wandelt die im XML-Schema definierte Nummer in den Aufzählungtypen um.
|
Integer |
getRegionNumber()
Regionsnummer des Bundeslandes.
|
String |
getStatename()
Name des Bundeslandes.
|
Integer |
getXmlId()
XmlId des Bundeslandes.
|
static StateCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateCode BA
public static final StateCode BB
public static final StateCode BE
public static final StateCode BW
public static final StateCode HB
public static final StateCode HE
public static final StateCode HH
public static final StateCode MV
public static final StateCode NI
public static final StateCode NO
public static final StateCode NW
public static final StateCode RP
public static final StateCode SH
public static final StateCode SL
public static final StateCode SN
public static final StateCode ST
public static final StateCode TH
public static final StateCode WL
public static final StateCode BAS
public static final StateCode TESTLAND
public static StateCode[] values()
for (StateCode c : StateCode.values()) System.out.println(c);
public static StateCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static StateCode fromString(String stateCodeString) throws PseudonymisationException
stateCodeString
- String
mit dem WertStateCode
des BundeslandesPseudonymisationException
- falls Wert invalid.public static StateCode fromKVRegion(Integer stateCodeInteger) throws PseudonymisationException
stateCodeInteger
- Integer
KV-Reginons-Wert.StateCode
des Bundeslandes.PseudonymisationException
- falls Wert invalid.public static StateCode fromXmlId(Integer stateCodeInteger) throws PseudonymisationException
stateCodeInteger
- Integer
Die laufende Nummer aus dem XML-SchemaStateCode
des Bundeslandes.PseudonymisationException
- falls Wert invalid.public String getStatename()
String
Gibt den Namen des Bundeslandes zurück.public Integer getXmlId()
Integer
gibt die laufende Nummer des Bundeslandes aus der XML zurück. Copyright © 2018. All rights reserved.