public enum ManageOfferEffect extends java.lang.Enum<ManageOfferEffect> implements XdrElement
enum ManageOfferEffect { MANAGE_OFFER_CREATED = 0, MANAGE_OFFER_UPDATED = 1, MANAGE_OFFER_DELETED = 2 };
Enum Constant and Description |
---|
MANAGE_OFFER_CREATED |
MANAGE_OFFER_DELETED |
MANAGE_OFFER_UPDATED |
Modifier and Type | Method and Description |
---|---|
static ManageOfferEffect |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static ManageOfferEffect |
fromXdrBase64(java.lang.String xdr) |
static ManageOfferEffect |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static ManageOfferEffect |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManageOfferEffect[] |
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 ManageOfferEffect MANAGE_OFFER_CREATED
public static final ManageOfferEffect MANAGE_OFFER_UPDATED
public static final ManageOfferEffect MANAGE_OFFER_DELETED
public static ManageOfferEffect[] values()
for (ManageOfferEffect c : ManageOfferEffect.values()) System.out.println(c);
public static ManageOfferEffect 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 ManageOfferEffect 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 ManageOfferEffect fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ManageOfferEffect fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException