Package de.adorsys.psd2.model
Enum AccountDetails.UsageEnum
- java.lang.Object
-
- java.lang.Enum<AccountDetails.UsageEnum>
-
- de.adorsys.psd2.model.AccountDetails.UsageEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AccountDetails.UsageEnum>
- Enclosing class:
- AccountDetails
public static enum AccountDetails.UsageEnum extends Enum<AccountDetails.UsageEnum>
Specifies the usage of the account: * PRIV: private personal account * ORGA: professional account
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountDetails.UsageEnumfromValue(String text)StringtoString()static AccountDetails.UsageEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AccountDetails.UsageEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIV
public static final AccountDetails.UsageEnum PRIV
-
ORGA
public static final AccountDetails.UsageEnum ORGA
-
-
Method Detail
-
values
public static AccountDetails.UsageEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccountDetails.UsageEnum c : AccountDetails.UsageEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountDetails.UsageEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<AccountDetails.UsageEnum>
-
fromValue
public static AccountDetails.UsageEnum fromValue(String text)
-
-