| Modifier and Type | Field and Description |
|---|---|
| private final CCustomizations | |
| public final String | javadoc
Javadoc comment. |
| private final String | lexical
Lexical representation of this enum constant. |
| private final Locator | |
| public final String | name
Name of the constant. |
| private CEnumLeafInfo | |
| private final XSComponent |
| Access | Constructor and Description |
|---|---|
| public | CEnumConstant(String name, String javadoc, String lexical, XSComponent source, CCustomizations customizations, Locator loc)
|
| Modifier and Type | Method and Description |
|---|---|
| public CCustomizations | getCustomizations()
Implements com. Gets the list of customizations attached to this model component. |
| public CEnumLeafInfo | getEnclosingClass()
Implements org. Gets the |
| public String | getLexicalValue()
Implements org. Lexical value of this constant. |
| public Locator | getLocator()
Implements com. Gets the source location in the schema from which this model component is created. |
| public String | getName()
Implements org. Gets the constant name. |
| public XSComponent | getSchemaComponent()
Implements com. If this model object is built from XML Schema, this property returns a schema component from which the model is built. |
| pack-priv void |
| customizations | back to summary |
|---|---|
| private final CCustomizations customizations | |
| javadoc | back to summary |
|---|---|
| public final String javadoc Javadoc comment. Can be null. | |
| lexical | back to summary |
|---|---|
| private final String lexical Lexical representation of this enum constant. Always non-null. | |
| locator | back to summary |
|---|---|
| private final Locator locator | |
| name | back to summary |
|---|---|
| public final String name Name of the constant. | |
| parent | back to summary |
|---|---|
| private CEnumLeafInfo parent | |
| source | back to summary |
|---|---|
| private final XSComponent source | |
| CEnumConstant | back to summary |
|---|---|
| public CEnumConstant(String name, String javadoc, String lexical, XSComponent source, CCustomizations customizations, Locator loc) | |
| getCustomizations | back to summary |
|---|---|
| public CCustomizations getCustomizations() Implements com. Doc from com. Gets the list of customizations attached to this model component.
| |
| getEnclosingClass | back to summary |
|---|---|
| public CEnumLeafInfo getEnclosingClass() Implements org. Doc from org. Gets the
| |
| getLexicalValue | back to summary |
|---|---|
| public String getLexicalValue() Implements org. Doc from org. Lexical value of this constant.
This value should be evaluated against
This is the same value as written in the
| |
| getLocator | back to summary |
|---|---|
| public Locator getLocator() Implements com. Doc from com. Gets the source location in the schema from which this model component is created.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Gets the constant name. In the above example this method return "ONE" and "TWO".
| |
| getSchemaComponent | back to summary |
|---|---|
| public XSComponent getSchemaComponent() Implements com. Doc from com. If this model object is built from XML Schema, this property returns a schema component from which the model is built.
| |
| setParent | back to summary |
|---|---|
| pack-priv void setParent(CEnumLeafInfo parent) | |