Class SerializedObjectConverter

    • Field Detail

      • serializerClassName

        protected String serializerClassName
      • serializerPackage

        protected String serializerPackage
    • Constructor Detail

      • SerializedObjectConverter

        public SerializedObjectConverter()
        PUBLIC: Default constructor.
      • SerializedObjectConverter

        public SerializedObjectConverter​(DatabaseMapping mapping)
        PUBLIC: Default constructor.
      • SerializedObjectConverter

        public SerializedObjectConverter​(DatabaseMapping mapping,
                                         Serializer serializer)
        PUBLIC: Default constructor.
      • SerializedObjectConverter

        public SerializedObjectConverter​(DatabaseMapping mapping,
                                         String serializerClassName)
        PUBLIC: Default constructor.
    • Method Detail

      • convertClassNamesToClasses

        public void convertClassNamesToClasses​(ClassLoader classLoader)
        INTERNAL: Convert all the class-name-based settings in this converter to actual class-based settings. This method is used when converting a project that has been built with class names to a project with classes. This method is implemented by subclasses as necessary.
        Specified by:
        convertClassNamesToClasses in interface ClassNameConversionRequired
        Parameters:
        classLoader -
      • getMapping

        protected DatabaseMapping getMapping()
        INTERNAL: Return the mapping.
      • isMutable

        public boolean isMutable()
        INTERNAL: If the converter converts the value to a non-atomic value, i.e. a value that can have its' parts changed without being replaced, then it must return false, serialization can be non-atomic.
        Specified by:
        isMutable in interface Converter
      • getSerializer

        public Serializer getSerializer()
        Return the serialize used for this converter.
      • setSerializer

        public void setSerializer​(Serializer serializer)
        Set the serialize used for this converter.
      • getSerializerClassName

        public String getSerializerClassName()
        Return the class name of the serializer.
      • setSerializerClassName

        public void setSerializerClassName​(String serializerClassName)
        Set the class name of the serializer.
      • getSerializerPackage

        public String getSerializerPackage()
        Return the package used for XML and JSON serialization JAXBContext.
      • setSerializerPackage

        public void setSerializerPackage​(String serializerPackage)
        Set the package used for XML and JSON serialization JAXBContext.