public static enum Date.Event extends Enum<Date.Event>
Enum Constant and Description |
---|
CREATION |
MODIFICATION |
PUBLICATION |
Modifier and Type | Method and Description |
---|---|
static Date.Event |
fromValue(String v) |
String |
toString() |
static Date.Event |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Date.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Date.Event PUBLICATION
public static final Date.Event MODIFICATION
public static final Date.Event CREATION
public static Date.Event[] values()
for (Date.Event c : Date.Event.values()) System.out.println(c);
public static Date.Event 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 static Date.Event fromValue(String v)
public String toString()
toString
in class Enum<Date.Event>
Copyright © 2009–2013. All rights reserved.