public enum NotificationDateType extends Enum<NotificationDateType>
| Enum Constant and Description |
|---|
CREATED
Ordered by when the notification was created
|
VIEWED
Ordered by when the notification was viewed
|
| Modifier and Type | Method and Description |
|---|---|
static NotificationDateType |
getByName(String value) |
String |
toString() |
static NotificationDateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationDateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationDateType CREATED
public static final NotificationDateType VIEWED
public static NotificationDateType[] values()
for (NotificationDateType c : NotificationDateType.values()) System.out.println(c);
public static NotificationDateType 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 toString()
toString in class Enum<NotificationDateType>public static NotificationDateType getByName(String value)
Copyright © 2014. All Rights Reserved.