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