|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.web4jtools.codegenerator.codes.Enumerations
public final class Enumerations
Place enumerations in application scope upon startup.
Constructor Summary | |
---|---|
Enumerations()
|
Method Summary | |
---|---|
static void |
init(ServletContext aContext)
Place all needed enumerations into application scope. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Enumerations()
Method Detail |
---|
public static void init(ServletContext aContext)
Enums are placed in app scope as an array, using the enum's simple class name as key, and the enum values() as the value (which returns an array).
When such values are posted, it is recommended that they be immediately translated into a member of the enum, using, valueOf(String).
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |