Class ConverterClass<T extends AttributeConverter<X,​Y>,​X,​Y>

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

    public class ConverterClass<T extends AttributeConverter<X,​Y>,​X,​Y>
    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.
    See Also:
    Serialized Form
    Author:
    Guy Pelletier
    Since:
    Eclipselink 2.5
    • Field Detail

      • isForMapKey

        protected boolean isForMapKey
      • disableConversion

        protected boolean disableConversion
      • fieldClassification

        protected java.lang.Class fieldClassification
      • fieldClassificationName

        protected java.lang.String fieldClassificationName
      • attributeConverterClassName

        protected java.lang.String attributeConverterClassName
      • session

        protected org.eclipse.persistence.internal.sessions.AbstractSession session
    • 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.