Class ManualMappingDefinition


  • public class ManualMappingDefinition
    extends java.lang.Object
    Maps a class to a read handler and a write handler.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class baseClass
      The class.
      private java.lang.String readHandler
      The read handler.
      private java.lang.String writeHandler
      The write handler.
    • Constructor Summary

      Constructors 
      Constructor Description
      ManualMappingDefinition​(java.lang.Class baseClass, java.lang.String readHandler, java.lang.String writeHandler)
      Creates a mapping between the class and the read and write handlers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class getBaseClass()
      Returns the class.
      java.lang.String getReadHandler()
      Returns the name of the read handler.
      java.lang.String getWriteHandler()
      Returns the name of the write handler.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • baseClass

        private java.lang.Class baseClass
        The class.
      • readHandler

        private java.lang.String readHandler
        The read handler.
      • writeHandler

        private java.lang.String writeHandler
        The write handler.
    • Constructor Detail

      • ManualMappingDefinition

        public ManualMappingDefinition​(java.lang.Class baseClass,
                                       java.lang.String readHandler,
                                       java.lang.String writeHandler)
        Creates a mapping between the class and the read and write handlers.
        Parameters:
        baseClass - the class (null not permitted).
        readHandler - the name of the read handler.
        writeHandler - the name of the write handler.
    • Method Detail

      • getBaseClass

        public java.lang.Class getBaseClass()
        Returns the class.
        Returns:
        The class.
      • getReadHandler

        public java.lang.String getReadHandler()
        Returns the name of the read handler.
        Returns:
        The name of the read handler.
      • getWriteHandler

        public java.lang.String getWriteHandler()
        Returns the name of the write handler.
        Returns:
        The name of the write handler.