public enum ClaimableBalanceFlags extends java.lang.Enum<ClaimableBalanceFlags> implements XdrElement
enum ClaimableBalanceFlags
{
// If set, the issuer account of the asset held by the claimable balance may
// clawback the claimable balance
CLAIMABLE_BALANCE_CLAWBACK_ENABLED_FLAG = 0x1
};
| Enum Constant and Description |
|---|
CLAIMABLE_BALANCE_CLAWBACK_ENABLED_FLAG |
| Modifier and Type | Method and Description |
|---|---|
static ClaimableBalanceFlags |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static ClaimableBalanceFlags |
fromXdrBase64(java.lang.String xdr) |
static ClaimableBalanceFlags |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static ClaimableBalanceFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClaimableBalanceFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOftoXdrBase64, toXdrByteArraypublic static final ClaimableBalanceFlags CLAIMABLE_BALANCE_CLAWBACK_ENABLED_FLAG
public static ClaimableBalanceFlags[] values()
for (ClaimableBalanceFlags c : ClaimableBalanceFlags.values()) System.out.println(c);
public static ClaimableBalanceFlags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static ClaimableBalanceFlags decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOExceptionpublic void encode(XdrDataOutputStream stream) throws java.io.IOException
encode in interface XdrElementjava.io.IOExceptionpublic static ClaimableBalanceFlags fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static ClaimableBalanceFlags fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException