Class CreateOrUpdateSelector


  • public class CreateOrUpdateSelector
    extends Object
    Selection based on type of method (create - or update method).

    Prefers (when present):

    1. create method candidates (methods not containing @MappingTarget) when mapping method is a create method
    2. update method candidates (methods containing @MappingTarget ) when mapping method is an update method
    When not present, the remaining (createCandidates when mapping method is update method, updateCandidates when mapping method is a create method) candidates are selected.
    Author:
    Sjaak Derksen