public static enum Site.MembershipType extends java.lang.Enum<Site.MembershipType>
| Enum Constant and Description |
|---|
OPEN |
PRIVATE |
RESTRICTED |
| Modifier and Type | Method and Description |
|---|---|
static Site.MembershipType |
create(java.lang.String value) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static Site.MembershipType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Site.MembershipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Site.MembershipType OPEN
public static final Site.MembershipType PRIVATE
public static final Site.MembershipType RESTRICTED
public static Site.MembershipType[] values()
for (Site.MembershipType c : Site.MembershipType.values()) System.out.println(c);
public static Site.MembershipType 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 static Site.MembershipType create(java.lang.String value)
public java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Enum<Site.MembershipType>