public enum WalletType extends Enum<WalletType>
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
String |
getProviderId() |
static WalletType |
getType(String type) |
boolean |
isAdmin() |
static boolean |
isAdmin(String type) |
boolean |
isSpace() |
static boolean |
isSpace(String type) |
boolean |
isUser() |
static boolean |
isUser(String type) |
static WalletType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WalletType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WalletType USER
public static final WalletType SPACE
public static final WalletType ADMIN
public static WalletType[] values()
for (WalletType c : WalletType.values()) System.out.println(c);
public static WalletType 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 getId()
public String getProviderId()
public boolean isSpace()
public boolean isUser()
public boolean isAdmin()
public static WalletType getType(String type)
public static boolean isSpace(String type)
public static boolean isUser(String type)
public static boolean isAdmin(String type)
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.