org.apache.ws.jaxme.js.junit
Class EnumExample
java.lang.Object
org.apache.ws.jaxme.js.junit.EnumExample
- Serializable
public class EnumExample
extends java.lang.Object
implements Serializable
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.
|
DONALD
public static final EnumExample DONALD
The enumeration item with name DONALD and value The Duck King.
JOE
public static final EnumExample JOE
The enumeration item with name JOE and value John Doe.
POPEYE
public static final EnumExample POPEYE
The enumeration item with name POPEYE and value Olivia's Lover.
equals
public boolean equals(Object o)
getInstanceByName
public static EnumExample getInstanceByName(String pName)
Returns the item with the given name.
getInstanceByValue
public static EnumExample getInstanceByValue(String pValue)
Returns the item with the given value.
getName
public String getName()
The enumeration items name.
getValue
public String getValue()
The enumeration items value.
hashCode
public int hashCode()