|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StartMenuBean.Type>
com.fatwire.services.beans.entity.StartMenuBean.Type
public static enum StartMenuBean.Type
Enumerates all the supported start menu types.
Enum Constant Summary | |
---|---|
FORM
Start Menu for asset types created using forms. |
|
INSITE
Start Menu for asset types created using insite. |
|
SEARCH
Start Menu for searching by asset type. |
Method Summary | |
---|---|
java.lang.String |
getCode()
Returns the code associated with this enum. |
static StartMenuBean.Type |
toEnum(java.lang.String code)
Returns an enum object, given the code, or null if there
is no such supported code. |
static StartMenuBean.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static StartMenuBean.Type[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StartMenuBean.Type FORM
public static final StartMenuBean.Type INSITE
public static final StartMenuBean.Type SEARCH
Method Detail |
---|
public static StartMenuBean.Type[] values()
for (StartMenuBean.Type c : StartMenuBean.Type.values()) System.out.println(c);
public static StartMenuBean.Type 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 java.lang.String getCode()
public static StartMenuBean.Type toEnum(java.lang.String code)
null
if there
is no such supported code.
code
- the code to match for, case-sensitive.
null
if there is no
such supported code.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |