|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.avutils.jmapper.operations.AGeneralOperationAccessor
it.avutils.jmapper.operations.AGeneralOperation
public abstract class AGeneralOperation
This abstract class represents an abstract operation that adds, to basic mapping, a mapping type control.
| Field Summary |
|---|
| Fields inherited from class it.avutils.jmapper.operations.AGeneralOperationAccessor |
|---|
conversion, conversionMembership, destinationField, info, initialDGetPath, initialDSetPath, initialSGetPath, mtd, mts, sourceField |
| Constructor Summary | |
|---|---|
AGeneralOperation()
|
|
| Method Summary | |
|---|---|
protected StringBuilder |
addMappingTypeControl(StringBuilder content)
this method adds a mapping type control to the basic mapping. |
protected StringBuilder |
applyExplicitConversion()
|
protected Object |
applyImplicitConversion(ConversionType conversionType,
Class<?> dClass,
Class<?> sClass,
Object sourceContent)
This method returns the source content modified, analyzing conversion type, destination and source classes. |
protected StringBuilder |
getDestination()
|
protected StringBuilder |
getSource()
|
protected StringBuilder |
setDestination()
|
protected StringBuilder |
setDestination(Object content)
Returns a StringBuilder that contains setDestination(content); operation. |
protected boolean |
theSourceIsToBeConverted()
Returns true if the source is to be converted, false otherwise |
protected StringBuilder |
write(Object... objects)
This method adds to the new StringBuilder the objects. |
protected StringBuilder |
write(StringBuilder sb,
Object... objects)
This method adds to the sb the objects. |
| 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 |
| Constructor Detail |
|---|
public AGeneralOperation()
| Method Detail |
|---|
protected final StringBuilder setDestination()
protected final StringBuilder setDestination(Object content)
content - content to set
protected final StringBuilder getDestination()
protected final StringBuilder getSource()
protected final StringBuilder addMappingTypeControl(StringBuilder content)
content - mapping that will be wrapped with mappingType control
protected final StringBuilder applyExplicitConversion()
protected final Object applyImplicitConversion(ConversionType conversionType,
Class<?> dClass,
Class<?> sClass,
Object sourceContent)
conversionType - type of conversiondClass - destination ClasssClass - source ClasssourceContent - content of source
protected boolean theSourceIsToBeConverted()
protected final StringBuilder write(Object... objects)
objects - objects to be added to a StringBuilder
protected final StringBuilder write(StringBuilder sb,
Object... objects)
sb - StringBuilder to be usedobjects - objects to be added to sb
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||