public enum RegionGroup extends java.lang.Enum<RegionGroup>
| Enum Constant and Description |
|---|
ALL |
MEMBERS |
NON_MEMBERS |
NON_OWNERS |
NONE |
OWNERS |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Association association)
Test whether this group contains the given membership status.
|
static RegionGroup |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegionGroup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionGroup MEMBERS
public static final RegionGroup OWNERS
public static final RegionGroup NON_MEMBERS
public static final RegionGroup NON_OWNERS
public static final RegionGroup ALL
public static final RegionGroup NONE
public static RegionGroup[] values()
for (RegionGroup c : RegionGroup.values()) System.out.println(c);
public static RegionGroup 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 boolean contains(Association association)
association - membership status