public enum ClaimClaimableBalanceResultCode extends java.lang.Enum<ClaimClaimableBalanceResultCode> implements XdrElement
enum ClaimClaimableBalanceResultCode { CLAIM_CLAIMABLE_BALANCE_SUCCESS = 0, CLAIM_CLAIMABLE_BALANCE_DOES_NOT_EXIST = -1, CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM = -2, CLAIM_CLAIMABLE_BALANCE_LINE_FULL = -3, CLAIM_CLAIMABLE_BALANCE_NO_TRUST = -4, CLAIM_CLAIMABLE_BALANCE_NOT_AUTHORIZED = -5 };
Modifier and Type | Method and Description |
---|---|
static ClaimClaimableBalanceResultCode |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static ClaimClaimableBalanceResultCode |
fromXdrBase64(java.lang.String xdr) |
static ClaimClaimableBalanceResultCode |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static ClaimClaimableBalanceResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClaimClaimableBalanceResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final ClaimClaimableBalanceResultCode CLAIM_CLAIMABLE_BALANCE_SUCCESS
public static final ClaimClaimableBalanceResultCode CLAIM_CLAIMABLE_BALANCE_DOES_NOT_EXIST
public static final ClaimClaimableBalanceResultCode CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM
public static final ClaimClaimableBalanceResultCode CLAIM_CLAIMABLE_BALANCE_LINE_FULL
public static final ClaimClaimableBalanceResultCode CLAIM_CLAIMABLE_BALANCE_NO_TRUST
public static final ClaimClaimableBalanceResultCode CLAIM_CLAIMABLE_BALANCE_NOT_AUTHORIZED
public static ClaimClaimableBalanceResultCode[] values()
for (ClaimClaimableBalanceResultCode c : ClaimClaimableBalanceResultCode.values()) System.out.println(c);
public static ClaimClaimableBalanceResultCode 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 ClaimClaimableBalanceResultCode decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static ClaimClaimableBalanceResultCode fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ClaimClaimableBalanceResultCode fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException