public final class CEnumConstant extends Object implements com.sun.xml.bind.v2.model.core.EnumConstant<NType,NClass>, CCustomizable
| Modifier and Type | Field and Description |
|---|---|
String |
javadoc
Javadoc comment.
|
String |
name
Name of the constant.
|
| Constructor and Description |
|---|
CEnumConstant(String name,
String javadoc,
String lexical,
XSComponent source,
CCustomizations customizations,
Locator loc) |
| Modifier and Type | Method and Description |
|---|---|
CCustomizations |
getCustomizations()
Gets the list of customizations attached to this model component.
|
CEnumLeafInfo |
getEnclosingClass() |
String |
getLexicalValue() |
Locator |
getLocator()
Gets the source location in the schema from which this model component is created.
|
String |
getName() |
XSComponent |
getSchemaComponent()
If this model object is built from XML Schema,
this property returns a schema component from which the model is built.
|
public final String name
public final String javadoc
public CEnumConstant(String name, String javadoc, String lexical, XSComponent source, CCustomizations customizations, Locator loc)
name - public CEnumLeafInfo getEnclosingClass()
public String getLexicalValue()
public String getName()
public XSComponent getSchemaComponent()
CCustomizablegetSchemaComponent in interface CCustomizablepublic CCustomizations getCustomizations()
CCustomizablegetCustomizations in interface CCustomizablePlugin.getCustomizationURIs()public Locator getLocator()
CCustomizablegetLocator in interface CCustomizableCopyright © 2015 Oracle Corporation. All Rights Reserved.