|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgec.gctparser.EnumeratedType
public class EnumeratedType
Provides information for an enumerated type.
Constructor Summary | |
---|---|
EnumeratedType()
Null constructor. |
Method Summary | |
---|---|
java.lang.String |
getEnumeratedTypeName()
Return the enmerated type name. |
int |
getValue(java.lang.String key)
Return the value for the key. |
void |
setEnumeratedTypeName(java.lang.String name)
Set the name of the enumerated type. |
void |
setEnumeratedValue(java.lang.String name,
int value)
Set the value for the name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnumeratedType()
Method Detail |
---|
public java.lang.String getEnumeratedTypeName()
public int getValue(java.lang.String key)
key
- String - the constant
public void setEnumeratedTypeName(java.lang.String name)
name
- public void setEnumeratedValue(java.lang.String name, int value)
name
- String - the name of the constantvalue
- int - the value of the constant
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |