com.hack23.cia.web.viewfactory.api.user
Enum UserModelAndView.UserViewSpecification

Package class diagram package UserModelAndView.UserViewSpecification
java.lang.Object
  extended by java.lang.Enum<UserModelAndView.UserViewSpecification>
      extended by com.hack23.cia.web.viewfactory.api.user.UserModelAndView.UserViewSpecification
All Implemented Interfaces:
Serializable, Comparable<UserModelAndView.UserViewSpecification>
Enclosing class:
UserModelAndView

public static enum UserModelAndView.UserViewSpecification
extends Enum<UserModelAndView.UserViewSpecification>

The Enum UserViewSpecification.


Enum Constant Summary
LoginView
          The Login view.
LogoutView
          The Logout view.
UserHistoryView
          The User history view.
UserHomeView
          The User home view.
WelcomePageView
          The Welcome page view.
 
Method Summary
static UserModelAndView.UserViewSpecification valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UserModelAndView.UserViewSpecification[] 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

LoginView

public static final UserModelAndView.UserViewSpecification LoginView
The Login view.


LogoutView

public static final UserModelAndView.UserViewSpecification LogoutView
The Logout view.


UserHistoryView

public static final UserModelAndView.UserViewSpecification UserHistoryView
The User history view.


UserHomeView

public static final UserModelAndView.UserViewSpecification UserHomeView
The User home view.


WelcomePageView

public static final UserModelAndView.UserViewSpecification WelcomePageView
The Welcome page view.

Method Detail

values

public static UserModelAndView.UserViewSpecification[] 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 (UserModelAndView.UserViewSpecification c : UserModelAndView.UserViewSpecification.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UserModelAndView.UserViewSpecification valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.