Skip navigation links


com.fatwire.services.beans.entity
Enum StartMenuBean.Type

java.lang.Object
  extended by java.lang.Enum<StartMenuBean.Type>
      extended by com.fatwire.services.beans.entity.StartMenuBean.Type

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StartMenuBean.Type>
Enclosing class:
StartMenuBean

public static enum StartMenuBean.Type
extends java.lang.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

FORM

public static final StartMenuBean.Type FORM
Start Menu for asset types created using forms.

INSITE

public static final StartMenuBean.Type INSITE
Start Menu for asset types created using insite.

SEARCH

public static final StartMenuBean.Type SEARCH
Start Menu for searching by asset type.

Method Detail

values

public static StartMenuBean.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StartMenuBean.Type c : StartMenuBean.Type.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StartMenuBean.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public java.lang.String getCode()
Returns the code associated with this enum.
Returns:
the code.

toEnum

public static StartMenuBean.Type toEnum(java.lang.String code)
Returns an enum object, given the code, or null if there is no such supported code.
Parameters:
code - the code to match for, case-sensitive.
Returns:
the enum for this code, or null if there is no such supported code.

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.