it.avutils.jmapper.operations.recursive
Class ARecursiveOperation

java.lang.Object
  extended by it.avutils.jmapper.operations.AGeneralOperationAccessor
      extended by it.avutils.jmapper.operations.AGeneralOperation
          extended by it.avutils.jmapper.operations.complex.AComplexOperation
              extended by it.avutils.jmapper.operations.recursive.ARecursiveOperation
Direct Known Subclasses:
ConversionOperation, MappedArrayListOperation, MappedArrayOperation, MappedCollectionOperation, MappedListArrayOperation, MappedMapOperation, ObjectOperation

public abstract class ARecursiveOperation
extends AComplexOperation

This abstract class represents a recursive operation.

Author:
Alessandro Vurro

Field Summary
protected  ChooseConfig configChosen
          configuration chosen
protected  boolean enrichment
          enrichment indicates the destination enrichment
protected  Set<Method> methodsToGenerate
          methods to generate
protected  boolean newInstance
          newInstance indicates the destination creation
protected  XML xml
          xml object
 
Fields inherited from class it.avutils.jmapper.operations.AGeneralOperationAccessor
conversion, conversionMembership, destinationField, info, initialDGetPath, initialDSetPath, initialSGetPath, mtd, mts, sourceField
 
Constructor Summary
ARecursiveOperation()
           
 
Method Summary
protected  String getDName()
           
protected  String getSName()
           
 ARecursiveOperation setConfigChosen(ChooseConfig configChosen)
          ChooseConfig setting.
protected  String setDName()
           
 ARecursiveOperation setMethodsToGenerate(Set<Method> methodsToGenerate)
          This set is used to add all explicit conversions which must be generated.
 ARecursiveOperation setXml(XML aXml)
          Xml setting.
 
Methods inherited from class it.avutils.jmapper.operations.complex.AComplexOperation
existingField, fieldToCreate, getDestinationClass, getSourceConverted, getSourceTreated, newInstance, newInstance, setDestinationClass, sharedCode, write
 
Methods inherited from class it.avutils.jmapper.operations.AGeneralOperation
addMappingTypeControl, applyExplicitConversion, applyImplicitConversion, getDestination, getSource, setDestination, setDestination, theSourceIsToBeConverted, write, write
 
Methods inherited from class it.avutils.jmapper.operations.AGeneralOperationAccessor
destinationType, getMtd, getMts, initialDGetPath, initialDSetPath, initialSGetPath, setConversionMethod, setDestinationField, setInfoOperation, setMemberShip, setMtd, setMts, setSourceField, sourceType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

methodsToGenerate

protected Set<Method> methodsToGenerate
methods to generate


newInstance

protected final boolean newInstance
newInstance indicates the destination creation

See Also:
Constant Field Values

enrichment

protected final boolean enrichment
enrichment indicates the destination enrichment

See Also:
Constant Field Values

configChosen

protected ChooseConfig configChosen
configuration chosen


xml

protected XML xml
xml object

Constructor Detail

ARecursiveOperation

public ARecursiveOperation()
Method Detail

setConfigChosen

public ARecursiveOperation setConfigChosen(ChooseConfig configChosen)
ChooseConfig setting.

Parameters:
configChosen - configuration chosen
Returns:
this instance of ARecursiveOperation

setXml

public ARecursiveOperation setXml(XML aXml)
Xml setting.

Parameters:
aXml - xml object
Returns:
this instance of ARecursiveOperation

setDName

protected String setDName()
Returns:
the set destination path

getDName

protected String getDName()
Returns:
the get destination path

getSName

protected String getSName()
Returns:
the get source path

setMethodsToGenerate

public ARecursiveOperation setMethodsToGenerate(Set<Method> methodsToGenerate)
This set is used to add all explicit conversions which must be generated.

Parameters:
methodsToGenerate - methods to generate
Returns:
this instance of ARecursiveOperation


Copyright © 2013. All Rights Reserved.