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