@BitSet @BitBound(value=16) public enum MemberFlag extends Enum<MemberFlag>
Enum Constant and Description |
---|
IS_KEY |
IS_OPTIONAL |
IS_SHAREABLE |
IS_UNION_DEFAULT |
Modifier and Type | Field and Description |
---|---|
short |
value |
Modifier and Type | Method and Description |
---|---|
static MemberFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Value(value=0L) public static final MemberFlag IS_KEY
@Value(value=1L) public static final MemberFlag IS_OPTIONAL
@Value(value=2L) public static final MemberFlag IS_SHAREABLE
@Value(value=3L) public static final MemberFlag IS_UNION_DEFAULT
public static MemberFlag[] values()
for (MemberFlag c : MemberFlag.values()) System.out.println(c);
public static MemberFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All rights reserved.