|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.nierbeck.timeTrack.views.ColumnEnum
public class ColumnEnum
Field Summary | |
---|---|
static ColumnEnum |
COMMENT
Enum for comment |
static int |
COMMENT_ORD
Ordinal for Comment |
static ColumnEnum |
DURATION
Enum for Duration |
static int |
DURATION_ORD
Ordinal for Duration |
static ColumnEnum |
PROJECT
Enum for Project |
static int |
PROJECT_ORD
Ordinal for Project |
static ColumnEnum |
START_DATE
Enum for Start Date |
static int |
START_DATE_ORD
Ordinal for Start Date |
static ColumnEnum |
TASK
Enum for Task |
static int |
TASK_ORD
Ordinal for Task |
Constructor Summary | |
---|---|
ColumnEnum(java.lang.String name,
int ord,
java.lang.String methodName)
Creates a new Enumeration (Boch Style) |
Method Summary | |
---|---|
static ColumnEnum |
find(int ord)
Finds the Enum according to the ordinal number |
java.lang.String |
getName()
|
int |
getOrd()
|
java.lang.String |
getRetrievalMethodName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int START_DATE_ORD
public static final int DURATION_ORD
public static final int PROJECT_ORD
public static final int TASK_ORD
public static final int COMMENT_ORD
public static final ColumnEnum START_DATE
public static final ColumnEnum DURATION
public static final ColumnEnum PROJECT
public static final ColumnEnum TASK
public static final ColumnEnum COMMENT
Constructor Detail |
---|
public ColumnEnum(java.lang.String name, int ord, java.lang.String methodName)
name
- - the name value of the Enum Instanceord
- - the ordinal value of the Enum InstancemethodName
- - the Method name to retrieve a given valueMethod Detail |
---|
public static ColumnEnum find(int ord)
ord
- - the number to search for
public final java.lang.String getName()
public final int getOrd()
public final java.lang.String getRetrievalMethodName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |