WEB4J Development Tools 4.10.0.0

hirondelle.web4jtools.codegenerator.codes
Class Enumerations

Object
  extended by hirondelle.web4jtools.codegenerator.codes.Enumerations

public final class Enumerations
extends Object

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

Enumerations

public Enumerations()
Method Detail

init

public static void init(ServletContext aContext)
Place all needed enumerations into application scope.

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

Copyright Hirondelle Systems - Generated 2013Oct19.12.26