| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.jaxme.js.junit.EnumExample
| Field Summary | |
static EnumExample | 
DONALD
The enumeration item with name DONALD and value The Duck King.  | 
static EnumExample | 
JOE
The enumeration item with name JOE and value John Doe.  | 
static EnumExample | 
POPEYE
The enumeration item with name POPEYE and value Olivia's Lover.  | 
| Method Summary | |
 boolean | 
equals(java.lang.Object o)
 | 
static EnumExample | 
getInstanceByName(java.lang.String pName)
Returns the item with the given name.  | 
static EnumExample | 
getInstanceByValue(java.lang.String pValue)
Returns the item with the given value.  | 
static EnumExample[] | 
getInstances()
 | 
 java.lang.String | 
getName()
The enumeration items name.  | 
 java.lang.String | 
getValue()
The enumeration items value.  | 
 int | 
hashCode()
 | 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final EnumExample JOE
public static final EnumExample POPEYE
public static final EnumExample DONALD
| Method Detail | 
public java.lang.String getName()
public java.lang.String getValue()
public static EnumExample[] getInstances()
public static EnumExample getInstanceByName(java.lang.String pName)
java.lang.IllegalArgumentException - The name pName is invalid and no such item exists.public static EnumExample getInstanceByValue(java.lang.String pValue)
java.lang.IllegalArgumentException - The name pValue is invalid and no such item exists.public boolean equals(java.lang.Object o)
public int hashCode()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||