public enum ServiceProfile extends Enum<ServiceProfile>
| Enum Constant and Description |
|---|
FAPI
|
OPEN_BANKING
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceProfile |
getByValue(short value)
Find an instance of this enum by a value.
|
short |
getValue()
Get the integer representation of this enum instance.
|
static ServiceProfile |
parse(String serviceProfile)
Convert
String to ServiceProfile. |
static ServiceProfile[] |
toArray(int bits) |
static int |
toBits(EnumSet<ServiceProfile> set) |
static EnumSet<ServiceProfile> |
toSet(int bits) |
static EnumSet<ServiceProfile> |
toSet(ServiceProfile[] array) |
String |
toString() |
static ServiceProfile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceProfile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceProfile FAPI
"fapi" (1)public static final ServiceProfile OPEN_BANKING
"openbanking" (2)public static ServiceProfile[] values()
for (ServiceProfile c : ServiceProfile.values()) System.out.println(c);
public static ServiceProfile 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 short getValue()
public String toString()
toString in class Enum<ServiceProfile>public static ServiceProfile getByValue(short value)
value - The integer representation of the instance to find.null if not found.public static ServiceProfile parse(String serviceProfile)
String to ServiceProfile.serviceProfile - Service profile. For example, "fapi".ServiceProfile instance, or null.public static int toBits(EnumSet<ServiceProfile> set)
public static ServiceProfile[] toArray(int bits)
public static EnumSet<ServiceProfile> toSet(int bits)
public static EnumSet<ServiceProfile> toSet(ServiceProfile[] array)
Copyright © 2019. All rights reserved.