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