java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.converters.MixedConverterMetadata

public class MixedConverterMetadata extends Object
INTERNAL: Object to hold onto XML converter metadata. This metadata is either for a ConverterMetadata object or a ConverterAccessor. Key notes: - methods should be preserved in alphabetical order.
Since:
EclipseLink 2.5
  • Field Details

    • className

      protected String className
    • autoApply

      protected Boolean autoApply
  • Constructor Details

    • MixedConverterMetadata

      public MixedConverterMetadata()
      INTERNAL: Used for XML loading.
  • Method Details

    • buildConverterAccessor

      public ConverterAccessor buildConverterAccessor()
      INTERNAL: Build a converter accessor from this metadata.
    • buildConverterMetadata

      public ConverterMetadata buildConverterMetadata()
      INTERNAL: Build a converter metadata from this metadata.
    • getAutoApply

      public Boolean getAutoApply()
      INTERNAL: Used for OX mapping.
    • getClassName

      public String getClassName()
      INTERNAL: Used for OX mapping.
    • getName

      public String getName()
      INTERNAL: Used for OX mapping.
    • hasName

      protected boolean hasName()
      INTERNAL: Return true if this metadata has a name specified.
    • isConverterAccessor

      public boolean isConverterAccessor()
      INTERNAL: If no name is specified, assume JPA converter class.
    • isConverterMetadata

      public boolean isConverterMetadata()
      INTERNAL: If name is specified, assume EclipseLink converter.
    • setAutoApply

      public void setAutoApply(Boolean autoApply)
      INTERNAL: Used for OX mapping.
    • setClassName

      public void setClassName(String className)
      INTERNAL: Used for OX mapping.
    • setName

      public void setName(String name)
      INTERNAL: Used for OX mapping.