|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.jaxme.js.pattern.TypesafeEnumerationGenerator.Item
public static class TypesafeEnumerationGenerator.Item
Constructor Summary | |
---|---|
TypesafeEnumerationGenerator.Item()
|
Method Summary | |
---|---|
void |
finish()
Verifies the enumeration item. |
java.lang.String |
getName()
Returns the enumeration items name. |
java.lang.String |
getValue()
Returns the enumeration items value. |
void |
setName(java.lang.String pName)
Sets the enumeration items name. |
void |
setValue(java.lang.String pValue)
Sets the enumeration items value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TypesafeEnumerationGenerator.Item()
Method Detail |
---|
public void setName(java.lang.String pName)
Sets the enumeration items name. This must be a valid Java identifier.
public java.lang.String getName()
Returns the enumeration items name.
public void setValue(java.lang.String pValue)
Sets the enumeration items value.
public java.lang.String getValue()
Returns the enumeration items value.
public void finish()
Verifies the enumeration item.
java.lang.IllegalStateException
- The enumeration items value is not set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |