public class ManualMappingInfo
extends java.lang.Object
Manual mappings will not be created by the generator, they have to be defined manually. The parser will print warnings, if the definitions are invalid.
Manual mappings will always override automatic mappings.
Modifier and Type | Field and Description |
---|---|
private java.lang.Class |
baseClass
The base class.
|
private Comments |
comments
The comments.
|
private java.lang.Class |
readHandler
The read handler.
|
private java.lang.String |
source
The source.
|
private java.lang.Class |
writeHandler
The write handler.
|
Constructor and Description |
---|
ManualMappingInfo(java.lang.Class baseClass,
java.lang.Class readHandler,
java.lang.Class writeHandler)
Creates a new manual mapping instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getBaseClass()
Returns the base class.
|
Comments |
getComments()
Returns the comments.
|
java.lang.Class |
getReadHandler()
Returns the read handler class.
|
java.lang.String |
getSource()
Returns the source.
|
java.lang.Class |
getWriteHandler()
Returns the write handler class.
|
void |
setComments(Comments comments)
Sets the comments.
|
void |
setSource(java.lang.String source)
Sets the source.
|
private java.lang.Class baseClass
private java.lang.Class readHandler
private java.lang.Class writeHandler
private Comments comments
private java.lang.String source
public ManualMappingInfo(java.lang.Class baseClass, java.lang.Class readHandler, java.lang.Class writeHandler)
baseClass
- the base class.readHandler
- the read handler class.writeHandler
- the write handler class.public java.lang.Class getBaseClass()
public java.lang.Class getReadHandler()
public java.lang.Class getWriteHandler()
public Comments getComments()
public void setComments(Comments comments)
comments
- the comments.public java.lang.String getSource()
public void setSource(java.lang.String source)
source
- the source.