it.avutils.jmapper.mapper
Interface IMapper<D,S>

Type Parameters:
D - Type of the Destination Class
S - Type of Source Class

public interface IMapper<D,S>

This Interface contains all potential combinations between the enumerations:

Author:
Alessandro Vurro

Method Summary
 D get(S source)
          Method used for all cases where a null values must be returned
 D nullVNotAllAll(S source)
          This Method returns a new instance of <D> type applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D nullVNotAllValued(S source)
          This Method returns a new instance of <D> type applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D nullVSouAllAll(S source)
          This Method returns a new instance of <D> type applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D nullVSouAllValued(S source)
          This Method returns a new instance of <D> type applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVAllAllAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.ALLboth instances are controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVAllAllValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.ALLboth instances are controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVAllNullValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.ALLboth instances are controlled MappingType.ONLY_NULL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVAllValuedAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.ALLboth instances are controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVAllValuedNull(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.ALLboth instances are controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_NULL_FIELDSmapping type applied to source
 D vVAllValuedValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.ALLboth instances are controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVDesAllAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.DESTINATIONonly destination is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVDesAllValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.DESTINATIONonly destination is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVDesNullValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.DESTINATIONonly destination is controlled MappingType.ONLY_NULL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVDesValuedAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.DESTINATIONonly destination is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVDesValuedNull(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.DESTINATIONonly destination is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_NULL_FIELDSmapping type applied to source
 D vVDesValuedValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.DESTINATIONonly destination is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVNotAllAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVNotAllValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVNotNullValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ONLY_NULL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVNotValuedAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVNotValuedNull(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_NULL_FIELDSmapping type applied to source
 D vVNotValuedValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.NOT_ANYno instance is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVSouAllAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVSouAllValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ALL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVSouNullValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ONLY_NULL_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 D vVSouValuedAll(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ALL_FIELDSmapping type applied to source
 D vVSouValuedNull(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_NULL_FIELDSmapping type applied to source
 D vVSouValuedValued(D destination, S source)
          This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria: NullPointerControl.SOURCEonly source is controlled MappingType.ONLY_VALUED_FIELDSmapping type applied to destination MappingType.ONLY_VALUED_FIELDSmapping type applied to source
 

Method Detail

get

D get(S source)
Method used for all cases where a null values must be returned

Parameters:
source - instance of <S> class
Returns:
a null value

nullVSouAllAll

D nullVSouAllAll(S source)
This Method returns a new instance of <D> type applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
source - instance that contains the data
Returns:
a new istance of <D> type

nullVSouAllValued

D nullVSouAllValued(S source)
This Method returns a new instance of <D> type applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
source - instance that contains the data
Returns:
a new istance of <D> type

nullVNotAllAll

D nullVNotAllAll(S source)
This Method returns a new instance of <D> type applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
source - instance that contains the data
Returns:
a new istance of <D> type

nullVNotAllValued

D nullVNotAllValued(S source)
This Method returns a new instance of <D> type applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
source - instance that contains the data
Returns:
a new istance of <D> type

vVAllAllAll

D vVAllAllAll(D destination,
              S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.ALLboth instances are controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVAllAllValued

D vVAllAllValued(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.ALLboth instances are controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVAllValuedAll

D vVAllValuedAll(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.ALLboth instances are controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVAllValuedValued

D vVAllValuedValued(D destination,
                    S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.ALLboth instances are controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVAllValuedNull

D vVAllValuedNull(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.ALLboth instances are controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_NULL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVAllNullValued

D vVAllNullValued(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.ALLboth instances are controlled
MappingType.ONLY_NULL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVDesAllAll

D vVDesAllAll(D destination,
              S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.DESTINATIONonly destination is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVDesAllValued

D vVDesAllValued(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.DESTINATIONonly destination is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVDesValuedAll

D vVDesValuedAll(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.DESTINATIONonly destination is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVDesValuedValued

D vVDesValuedValued(D destination,
                    S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.DESTINATIONonly destination is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVDesValuedNull

D vVDesValuedNull(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.DESTINATIONonly destination is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_NULL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVDesNullValued

D vVDesNullValued(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.DESTINATIONonly destination is controlled
MappingType.ONLY_NULL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVSouAllAll

D vVSouAllAll(D destination,
              S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVSouAllValued

D vVSouAllValued(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVSouValuedAll

D vVSouValuedAll(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVSouValuedValued

D vVSouValuedValued(D destination,
                    S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVSouValuedNull

D vVSouValuedNull(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_NULL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVSouNullValued

D vVSouNullValued(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.SOURCEonly source is controlled
MappingType.ONLY_NULL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVNotAllAll

D vVNotAllAll(D destination,
              S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVNotAllValued

D vVNotAllValued(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ALL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVNotValuedAll

D vVNotValuedAll(D destination,
                 S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ALL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVNotValuedValued

D vVNotValuedValued(D destination,
                    S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVNotValuedNull

D vVNotValuedNull(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ONLY_VALUED_FIELDSmapping type applied to destination
MappingType.ONLY_NULL_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched

vVNotNullValued

D vVNotNullValued(D destination,
                  S source)
This Method returns the destination given in input enriched with data contained in source given in input
applying these criteria:

NullPointerControl.NOT_ANYno instance is controlled
MappingType.ONLY_NULL_FIELDSmapping type applied to destination
MappingType.ONLY_VALUED_FIELDSmapping type applied to source

Parameters:
destination - instance to enrich
source - instance that contains the data
Returns:
destination enriched


Copyright © 2013. All Rights Reserved.