public class EnumConstant extends AbstractDescriptor
Enum| Modifier and Type | Field and Description |
|---|---|
protected int |
value |
name, optionscomments, sourceCodeLocation| Constructor and Description |
|---|
EnumConstant(Enum parent) |
| Modifier and Type | Method and Description |
|---|---|
DescriptorType |
getDescriptorType() |
Enum |
getParent() |
int |
getValue()
Returns numeric value of this enum constant that is used in serialized form.
|
void |
setParent(Enum parent) |
void |
setValue(int value) |
String |
toString() |
getName, getOptions, setNameaddComment, getCommentLines, getComments, getSourceCodeLocation, setComments, setSourceCodeLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCommentLines, getComments, getSourceCodeLocationpublic EnumConstant(Enum parent)
public Enum getParent()
public void setParent(Enum parent)
public DescriptorType getDescriptorType()
public int getValue()
public void setValue(int value)
Copyright © 2015–2017. All rights reserved.