public abstract class TraitEnum
extends java.lang.Object
implements java.io.Serializable
Modifier | Constructor and Description |
---|---|
protected |
TraitEnum(java.lang.String name,
int enumValue)
Constructor to add a new named item.
|
Modifier and Type | Method and Description |
---|---|
int |
getEnumValue()
Returns the enumeration value (one of
Constants .EN_*). |
java.lang.String |
getName()
Returns the name of the enumeration.
|
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.