Class ConverterClass

  • All Implemented Interfaces:
    java.io.Serializable, CoreConverter<DatabaseMapping,​Session>, org.eclipse.persistence.internal.descriptors.ClassNameConversionRequired, Converter

    public class ConverterClass
    extends java.lang.Object
    implements Converter, org.eclipse.persistence.internal.descriptors.ClassNameConversionRequired
    A JPA attribute converter class wrapped with an EclipseLink converter. This class is placed directly on mappings.
    Since:
    Eclipselink 2.5
    Author:
    Guy Pelletier
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConverterClass​(java.lang.String attributeConverterClassName, boolean isForMapKey, java.lang.String fieldClassificationName, boolean disableConversion)
      INTERNAL: This method will be called when creating a converter for an embedded mapping attribute.
    • Constructor Detail

      • ConverterClass

        public ConverterClass​(java.lang.String attributeConverterClassName,
                              boolean isForMapKey,
                              java.lang.String fieldClassificationName,
                              boolean disableConversion)
        INTERNAL: This method will be called when creating a converter for an embedded mapping attribute. The isForMapKey information will need to be known for proper initialization.