|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.jaxb.compiler.TypeInfo |
---|
DEFAULT_NAME_TRANSFORMER |
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.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |