public enum EnumSpecialEvent extends java.lang.Enum<EnumSpecialEvent> implements Sendable
JSON.Parser| Modifier and Type | Method and Description |
|---|---|
void |
fromJSON(java.lang.Object doc)
Convert String into JSON
|
java.lang.String |
getType() |
void |
setType(java.lang.String type) |
JSONDocument |
toJSON()
Convert class into json
|
static EnumSpecialEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumSpecialEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumSpecialEvent HURRICANE
public static final EnumSpecialEvent DROUGHT
public static EnumSpecialEvent[] values()
for (EnumSpecialEvent c : EnumSpecialEvent.values()) System.out.println(c);
public static EnumSpecialEvent 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 JSONDocument toJSON()
JSONpublic void fromJSON(java.lang.Object doc)
JSON