Package de.adorsys.psd2.model
Enum AccountAccess.AvailableAccountsEnum
- java.lang.Object
-
- java.lang.Enum<AccountAccess.AvailableAccountsEnum>
-
- de.adorsys.psd2.model.AccountAccess.AvailableAccountsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AccountAccess.AvailableAccountsEnum>
- Enclosing class:
- AccountAccess
public static enum AccountAccess.AvailableAccountsEnum extends Enum<AccountAccess.AvailableAccountsEnum>
Optional if supported by API provider. The values \"allAccounts\" and \"allAccountsWithOwnerName\" are admitted. The support of the \"allAccountsWithOwnerName\" value by the ASPSP is optional.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLACCOUNTSALLACCOUNTSWITHOWNERNAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountAccess.AvailableAccountsEnumfromValue(String text)StringtoString()static AccountAccess.AvailableAccountsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AccountAccess.AvailableAccountsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLACCOUNTS
public static final AccountAccess.AvailableAccountsEnum ALLACCOUNTS
-
ALLACCOUNTSWITHOWNERNAME
public static final AccountAccess.AvailableAccountsEnum ALLACCOUNTSWITHOWNERNAME
-
-
Method Detail
-
values
public static AccountAccess.AvailableAccountsEnum[] 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 (AccountAccess.AvailableAccountsEnum c : AccountAccess.AvailableAccountsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountAccess.AvailableAccountsEnum 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<AccountAccess.AvailableAccountsEnum>
-
fromValue
public static AccountAccess.AvailableAccountsEnum fromValue(String text)
-
-