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