public enum EMicroEvent extends Enum<EMicroEvent> implements IHasID<String>
| Enum Constant and Description |
|---|
NODE_INSERTED |
NODE_REMOVED |
| Modifier and Type | Method and Description |
|---|---|
static EMicroEvent |
getFromIDOrNull(String sID) |
String |
getID()
Get the unique ID of this object.
|
static EMicroEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EMicroEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EMicroEvent NODE_INSERTED
public static final EMicroEvent NODE_REMOVED
public static EMicroEvent[] values()
for (EMicroEvent c : EMicroEvent.values()) System.out.println(c);
public static EMicroEvent 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 null@Nonnull @Nonempty public String getID()
IHasIDString than the
returned value must match an XML NMToken expression (so e.g. no ':' in the
ID)!@Nullable public static EMicroEvent getFromIDOrNull(@Nullable String sID)
Copyright © 2006–2014 phloc systems. All rights reserved.