public static enum PainVersion.Type extends Enum<PainVersion.Type>
| Enum Constant and Description |
|---|
PAIN_001
Ueberweisungen.
|
PAIN_002
Kontoauszuege.
|
PAIN_008
Lastschriften.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Liefert eine sprechende Bezeichnung des PAIN-Typs.
|
static PainVersion.Type |
getType(String value)
Liefert den enum-Type fuer den angegebenen Wert.
|
String |
getValue()
Liefert den numerischen Wert des PAIN-Typs.
|
static PainVersion.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PainVersion.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PainVersion.Type PAIN_001
public static final PainVersion.Type PAIN_002
public static final PainVersion.Type PAIN_008
public static PainVersion.Type[] values()
for (PainVersion.Type c : PainVersion.Type.values()) System.out.println(c);
public static PainVersion.Type 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 String getValue()
public String getName()
public static PainVersion.Type getType(String value) throws IllegalArgumentException
value - der Wert. 001, 002 oder 008.IllegalArgumentException - wenn der Typ unbekannt ist.Copyright © 2018. All rights reserved.