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