public enum AnnouncementSelection extends Enum<AnnouncementSelection>
Modifier and Type | Method and Description |
---|---|
static AnnouncementSelection |
get(String value) |
static AnnouncementSelection[] |
getArray(String[] values) |
String |
toString() |
String |
value() |
static AnnouncementSelection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnnouncementSelection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnouncementSelection DEFAULT
public static final AnnouncementSelection PERSONAL
public static AnnouncementSelection[] values()
for (AnnouncementSelection c : AnnouncementSelection.values()) System.out.println(c);
public static AnnouncementSelection 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 nullpublic String value()
public String toString()
toString
in class Enum<AnnouncementSelection>
public static AnnouncementSelection get(String value)
public static AnnouncementSelection[] getArray(String[] values)
Copyright © 2016 ECG. All rights reserved.