public enum BeginSponsoringFutureReservesResultCode extends java.lang.Enum<BeginSponsoringFutureReservesResultCode> implements XdrElement
enum BeginSponsoringFutureReservesResultCode { // codes considered as "success" for the operation BEGIN_SPONSORING_FUTURE_RESERVES_SUCCESS = 0, // codes considered as "failure" for the operation BEGIN_SPONSORING_FUTURE_RESERVES_MALFORMED = -1, BEGIN_SPONSORING_FUTURE_RESERVES_ALREADY_SPONSORED = -2, BEGIN_SPONSORING_FUTURE_RESERVES_RECURSIVE = -3 };
Enum Constant and Description |
---|
BEGIN_SPONSORING_FUTURE_RESERVES_ALREADY_SPONSORED |
BEGIN_SPONSORING_FUTURE_RESERVES_MALFORMED |
BEGIN_SPONSORING_FUTURE_RESERVES_RECURSIVE |
BEGIN_SPONSORING_FUTURE_RESERVES_SUCCESS |
Modifier and Type | Method and Description |
---|---|
static BeginSponsoringFutureReservesResultCode |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static BeginSponsoringFutureReservesResultCode |
fromXdrBase64(java.lang.String xdr) |
static BeginSponsoringFutureReservesResultCode |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static BeginSponsoringFutureReservesResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BeginSponsoringFutureReservesResultCode[] |
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 BeginSponsoringFutureReservesResultCode BEGIN_SPONSORING_FUTURE_RESERVES_SUCCESS
public static final BeginSponsoringFutureReservesResultCode BEGIN_SPONSORING_FUTURE_RESERVES_MALFORMED
public static final BeginSponsoringFutureReservesResultCode BEGIN_SPONSORING_FUTURE_RESERVES_ALREADY_SPONSORED
public static final BeginSponsoringFutureReservesResultCode BEGIN_SPONSORING_FUTURE_RESERVES_RECURSIVE
public static BeginSponsoringFutureReservesResultCode[] values()
for (BeginSponsoringFutureReservesResultCode c : BeginSponsoringFutureReservesResultCode.values()) System.out.println(c);
public static BeginSponsoringFutureReservesResultCode 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 BeginSponsoringFutureReservesResultCode 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 BeginSponsoringFutureReservesResultCode fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static BeginSponsoringFutureReservesResultCode fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException