com.jurismarches.vradi.ui.admin.helpers
Enum AdminBeanConstant

java.lang.Object
  extended by java.lang.Enum<AdminBeanConstant>
      extended by com.jurismarches.vradi.ui.admin.helpers.AdminBeanConstant
All Implemented Interfaces:
Serializable, Comparable<AdminBeanConstant>

public enum AdminBeanConstant
extends Enum<AdminBeanConstant>

Version:
$Revision: 1614 $ Last update : $Date: 2010-10-06 17:00:24 +0200 (mer., 06 oct. 2010) $ By : $Author: sletellier $
Author:
sletellier

Enum Constant Summary
CLIENT
           
FORM_TYPE
           
GROUP
           
STATUS
           
USER
           
WEB_HARVEST_STREAM
           
XML_STREAM
           
 
Method Summary
 Object getBean(VradiDataProvider provider, String id)
           
 Class<?> getBeanClass()
           
 String getCategoryName()
           
static AdminBeanConstant getConstantByBeanClass(Class beanClass)
           
static AdminBeanConstant getConstantByUIClass(Class uiClass)
           
 String getNewEntityName()
           
 Class<?> getUIClass()
           
static Class<?> getUIClass(Class<?> beanClass)
           
static Class<?> getUIClass(String categoryName)
           
static AdminBeanConstant valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AdminBeanConstant[] 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

CLIENT

public static final AdminBeanConstant CLIENT

GROUP

public static final AdminBeanConstant GROUP

USER

public static final AdminBeanConstant USER

STATUS

public static final AdminBeanConstant STATUS

XML_STREAM

public static final AdminBeanConstant XML_STREAM

WEB_HARVEST_STREAM

public static final AdminBeanConstant WEB_HARVEST_STREAM

FORM_TYPE

public static final AdminBeanConstant FORM_TYPE
Method Detail

values

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

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

valueOf

public static AdminBeanConstant 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

getCategoryName

public String getCategoryName()

getNewEntityName

public String getNewEntityName()

getBeanClass

public Class<?> getBeanClass()

getUIClass

public Class<?> getUIClass()

getConstantByUIClass

public static AdminBeanConstant getConstantByUIClass(Class uiClass)

getConstantByBeanClass

public static AdminBeanConstant getConstantByBeanClass(Class beanClass)

getBean

public Object getBean(VradiDataProvider provider,
                      String id)

getUIClass

public static Class<?> getUIClass(String categoryName)

getUIClass

public static Class<?> getUIClass(Class<?> beanClass)


Copyright © 2009-2010 JurisMarches. All Rights Reserved.