com.jurismarches.vradi.ui.email.helpers
Enum EmailBeanConstant
java.lang.Object
java.lang.Enum<EmailBeanConstant>
com.jurismarches.vradi.ui.email.helpers.EmailBeanConstant
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EmailBeanConstant>
public enum EmailBeanConstant
- extends java.lang.Enum<EmailBeanConstant>
- Version:
- $Revision: 1715 $
Last update : $Date: 2010-10-27 21:21:28 +0200 (mer., 27 oct. 2010) $
By : $Author: tchemit $
- Author:
- sletellier
|
Field Summary |
protected java.lang.Class<? extends org.nuiton.wikitty.BusinessEntity> |
beanClass
|
protected java.lang.Class<? extends EmailContentUI> |
uiClass
|
| 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 |
GROUP
public static final EmailBeanConstant GROUP
USER
public static final EmailBeanConstant USER
FORM
public static final EmailBeanConstant FORM
SESSION
public static final EmailBeanConstant SESSION
beanClass
protected java.lang.Class<? extends org.nuiton.wikitty.BusinessEntity> beanClass
uiClass
protected java.lang.Class<? extends EmailContentUI> uiClass
values
public static EmailBeanConstant[] 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 (EmailBeanConstant c : EmailBeanConstant.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EmailBeanConstant 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
getBeanClass
public java.lang.Class<? extends org.nuiton.wikitty.BusinessEntity> getBeanClass()
getUIClass
public java.lang.Class<? extends EmailContentUI> getUIClass()
getConstantByBeanClass
public static EmailBeanConstant getConstantByBeanClass(java.lang.Class<?> beanClass)
getBean
public org.nuiton.wikitty.BusinessEntity getBean(VradiDataProvider provider,
java.lang.String id)
getUIClass
public static java.lang.Class<? extends EmailContentUI> getUIClass(java.lang.Class<?> beanClass)
decorate
public java.lang.String decorate(Session currentSession,
org.nuiton.wikitty.BusinessEntity bean)
getToolTipText
public java.lang.String getToolTipText(org.nuiton.wikitty.BusinessEntity bean)
cast
protected <B extends org.nuiton.wikitty.BusinessEntity> B cast(java.lang.Class<B> toCast,
org.nuiton.wikitty.BusinessEntity bean)
Copyright © 2009-2010 JurisMarches. All Rights Reserved.