|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.jaxb.compiler.TypeInfo org.eclipse.persistence.jaxb.compiler.EnumTypeInfo
public class EnumTypeInfo
INTERNAL:
Purpose:A specialized TypeInfo that stores additional information for a Java 5 Enumeration type.
Responsibilities:
TypeInfo
,
org.eclipse.persistence.jaxb.AnnotationsProcessor
Constructor Summary | |
---|---|
EnumTypeInfo(Helper helper)
|
Method Summary | |
---|---|
void |
addJavaFieldToXmlEnumValuePair(boolean override,
java.lang.String fieldName,
java.lang.String xmlEnumValue)
Add a Java field name to XmlEnumValue pair. |
void |
addJavaFieldToXmlEnumValuePair(java.lang.String fieldName,
java.lang.String xmlEnumValue)
Add a Java field name to XmlEnumValue pair. |
java.lang.String |
getClassName()
|
java.util.List<java.lang.String> |
getFieldNames()
|
javax.xml.namespace.QName |
getRestrictionBase()
|
java.util.List<java.lang.String> |
getXmlEnumValues()
|
boolean |
isEnumerationType()
Indicates if this type info represents an enumeration. |
void |
setClassName(java.lang.String className)
|
void |
setRestrictionBase(javax.xml.namespace.QName restrictionBase)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnumTypeInfo(Helper helper)
Method Detail |
---|
public boolean isEnumerationType()
TypeInfo
isEnumerationType
in class TypeInfo
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public javax.xml.namespace.QName getRestrictionBase()
public void setRestrictionBase(javax.xml.namespace.QName restrictionBase)
public void addJavaFieldToXmlEnumValuePair(java.lang.String fieldName, java.lang.String xmlEnumValue)
fieldName
- xmlEnumValue
- public void addJavaFieldToXmlEnumValuePair(boolean override, java.lang.String fieldName, java.lang.String xmlEnumValue)
override
- fieldName
- xmlEnumValue
- public java.util.List<java.lang.String> getFieldNames()
public java.util.List<java.lang.String> getXmlEnumValues()
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |