public enum OfferEntryFlags extends java.lang.Enum<OfferEntryFlags> implements XdrElement
enum OfferEntryFlags
{
// an offer with this flag will not act on and take a reverse offer of equal
// price
PASSIVE_FLAG = 1
};
| Enum Constant and Description |
|---|
PASSIVE_FLAG |
| Modifier and Type | Method and Description |
|---|---|
static OfferEntryFlags |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static OfferEntryFlags |
fromXdrBase64(java.lang.String xdr) |
static OfferEntryFlags |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static OfferEntryFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OfferEntryFlags[] |
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 OfferEntryFlags PASSIVE_FLAG
public static OfferEntryFlags[] values()
for (OfferEntryFlags c : OfferEntryFlags.values()) System.out.println(c);
public static OfferEntryFlags 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 OfferEntryFlags 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 OfferEntryFlags fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOExceptionpublic static OfferEntryFlags fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException