|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.avutils.jmapper.conversions.explicit.ConversionHandler
public class ConversionHandler
Conversion Handler transforms the defined conversion method in the final method, which will become a part of the mapping.
| Constructor Summary | |
|---|---|
ConversionHandler(XML xml,
Class<?> destinationClass,
Class<?> sourceClass)
Default constructor. |
|
| Method Summary | |
|---|---|
ConversionHandler |
analyze(ConversionMethod method)
ConversionMethod found. |
ConversionHandler |
belongTo(Membership membership)
Definition of the conversion method location. |
ConversionHandler |
from(Field field)
Source field definition. |
Membership |
getMembership()
Get the conversion method membership. |
Method |
loadMethod()
Loads the method to generate. |
ConversionHandler |
to(Field field)
Destination field definition. |
boolean |
toBeCreated()
|
ConversionHandler |
withThisConfiguration(ConfigurationType configurationType)
ConfigurationType definition. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConversionHandler(XML xml,
Class<?> destinationClass,
Class<?> sourceClass)
| Method Detail |
|---|
public boolean toBeCreated()
public Method loadMethod()
public ConversionHandler analyze(ConversionMethod method)
method - conversion method found
public ConversionHandler belongTo(Membership membership)
membership -
public ConversionHandler withThisConfiguration(ConfigurationType configurationType)
configurationType - configuration type
public ConversionHandler from(Field field)
field - source field
public ConversionHandler to(Field field)
field - destination field
public Membership getMembership()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||