|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Visibility>
org.pfsw.odem.Visibility
public enum Visibility
Specifies the currently supported types
Enum Constant Summary | |
---|---|
DEFAULT
|
|
PRIVATE
|
|
PROTECTED
|
|
PUBLIC
|
Method Summary | |
---|---|
java.lang.String |
asString()
Returns the external string representation (which is not the same as the enum value name). |
static Visibility |
fromString(java.lang.String valueName)
Returns the enum value with the given name. |
java.lang.String |
getExternalName()
|
java.lang.String |
toString()
Returns a debug string that should not be used in business logic. |
static Visibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Visibility[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Visibility PUBLIC
public static final Visibility PROTECTED
public static final Visibility PRIVATE
public static final Visibility DEFAULT
Method Detail |
---|
public static Visibility[] values()
for (Visibility c : Visibility.values()) System.out.println(c);
public static Visibility 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 name
java.lang.NullPointerException
- if the argument is nullpublic static Visibility fromString(java.lang.String valueName)
public java.lang.String getExternalName()
public java.lang.String asString()
public java.lang.String toString()
toString
in class java.lang.Enum<Visibility>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |