public class ManualMappingDefinition extends java.lang.Object
Constructor and 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.
|
Modifier and Type | Method and 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.
|
public ManualMappingDefinition(java.lang.Class baseClass, java.lang.String readHandler, java.lang.String writeHandler)
baseClass
- the class (null
not permitted).readHandler
- the name of the read handler.writeHandler
- the name of the write handler.public java.lang.Class getBaseClass()
public java.lang.String getReadHandler()
public java.lang.String getWriteHandler()