|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.mappings.converters.ObjectTypeConverter
org.eclipse.persistence.jaxb.JAXBEnumTypeConverter
public class JAXBEnumTypeConverter
INTERNAL:
Purpose:Provide a means to Convert an Enumeration type to/from either a string representation of the enum facet or a user defined value.
Responsibilities:
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.mappings.converters.ObjectTypeConverter |
---|
attributeToFieldValues, defaultAttributeValue, fieldClassification, fieldClassificationName, fieldToAttributeValues, mapping |
Constructor Summary | |
---|---|
JAXBEnumTypeConverter(DatabaseMapping mapping,
java.lang.String enumClassName,
boolean usesOrdinalValues)
PUBLIC: |
Method Summary | |
---|---|
void |
convertClassNamesToClasses(java.lang.ClassLoader classLoader)
INTERNAL: Convert all the class-name-based settings in this converter to actual class-based settings. |
void |
initialize(DatabaseMapping mapping,
Session session)
INTERNAL: |
boolean |
usesOrdinalValues()
PUBLIC: Returns true if this converter uses ordinal values for the enum conversion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAXBEnumTypeConverter(DatabaseMapping mapping, java.lang.String enumClassName, boolean usesOrdinalValues)
Method Detail |
---|
public void convertClassNamesToClasses(java.lang.ClassLoader classLoader)
convertClassNamesToClasses
in class ObjectTypeConverter
classLoader
- public void initialize(DatabaseMapping mapping, Session session)
initialize
in interface Converter
initialize
in class ObjectTypeConverter
public boolean usesOrdinalValues()
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |