State Class Reference

Inherits er::extensions::eof::ERXConstant::StringConstant.

Collaboration diagram for State:

Collaboration graph
[legend]

List of all members.

Classes

class  StateClazz

Public Member Functions

int sortOrder ()
 State (String value, String name, int sortOrder)
String textDescription ()

Static Public Member Functions

static State state (String key)

Static Public Attributes

static State ANALYZE = new State("anzl", "Analyze", 1)
static State BUILD = new State("buld", "Build", 2)
static final StateClazz clazz = new StateClazz()
static State CLOSED = new State("clsd", "Closed", 5)
static State DOCUMENT = new State("dcmt", "Document", 4)
static State VERIFY = new State("vrfy", "Verify", 3)

Static Package Attributes

static final Logger log = Logger.getLogger(State.class)

Private Attributes

int _sortOrder


Detailed Description

State is an example of a POJO. As it is a string in the DB, you need to provide a factory method.
Author:
ak

Constructor & Destructor Documentation

State ( String  value,
String  name,
int  sortOrder 
)


Member Function Documentation

int sortOrder (  ) 

Reimplemented from ERXConstant.StringConstant.

static State state ( String  key  )  [static]

String textDescription (  ) 


Member Data Documentation

int _sortOrder [private]

Reimplemented from ERXConstant.StringConstant.

State ANALYZE = new State("anzl", "Analyze", 1) [static]

State BUILD = new State("buld", "Build", 2) [static]

final StateClazz clazz = new StateClazz() [static]

State CLOSED = new State("clsd", "Closed", 5) [static]

State DOCUMENT = new State("dcmt", "Document", 4) [static]

final Logger log = Logger.getLogger(State.class) [static, package]

State VERIFY = new State("vrfy", "Verify", 3) [static]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:45 2012 for Project Wonder by  doxygen 1.5.8