Package de.adorsys.psd2.consent.api
Enum TypeAccess
- java.lang.Object
-
- java.lang.Enum<TypeAccess>
-
- de.adorsys.psd2.consent.api.TypeAccess
-
- All Implemented Interfaces:
Serializable,Comparable<TypeAccess>
public enum TypeAccess extends Enum<TypeAccess>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCOUNTBALANCEOWNER_NAMETRANSACTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeAccessvalueOf(String name)Returns the enum constant of this type with the specified name.static TypeAccess[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCOUNT
public static final TypeAccess ACCOUNT
-
BALANCE
public static final TypeAccess BALANCE
-
TRANSACTION
public static final TypeAccess TRANSACTION
-
OWNER_NAME
public static final TypeAccess OWNER_NAME
-
-
Method Detail
-
values
public static TypeAccess[] 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 (TypeAccess c : TypeAccess.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeAccess 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
-
-