Package io.beanmapper.spring.web
Annotation Interface MergedForm
Capable of reading an input form and mapping this
into an existing/new entity. The entity is declared
as parameter in our handler mapping method.
- Since:
- Nov 15, 2015
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionEntity identifier variable in our path mapping.Class<?>
Class types of the before-/afterMerge instances maintained in MergePairThe name of the request part in the multipart formboolean
When patch, we only map the provided properties from our input form to the entity.
-
Element Details
-
value
Class<?> valueType of input form.- Returns:
- the input form class
-
-
-
patch
boolean patchWhen patch, we only map the provided properties from our input form to the entity.- Returns:
- the patch
- Default:
- false
-
mergeId
String mergeIdEntity identifier variable in our path mapping.- Returns:
- the identifier variable
- Default:
- ""
-
mergePairClass
Class<?> mergePairClassClass types of the before-/afterMerge instances maintained in MergePair- Default:
- java.lang.Object.class
-
multiPart
String multiPartThe name of the request part in the multipart form- Returns:
- the name of the request part in the multipart form
- Default:
- ""
-