Class MergeTasksContribution

java.lang.Object
ch.tocco.nice2.optional.order.api.action.invoice.service.MergeTasksContribution

public class MergeTasksContribution extends Object
set a field or relation to be checked in MergeOrdersTask or MergeOrderPositionsTask set isRelation="true" for relations Add field to check:

 @Bean
 public MergeTasksContribution serviceStartDateMergeTasksContribution() {
     MergeTasksContribution contribution = new MergeTasksContribution();
     contribution.setName("service_start_date");
     return contribution;
 }
Add relation to check:

 @Bean
 public MergeTasksContribution paymentScheduleMergeTasksContribution() {
     MergeTasksContribution contribution = new MergeTasksContribution();
     contribution.setName("relPayment_schedule");
     contribution.setIsRelation(true);
     return contribution;
 }
 
  • Constructor Details

    • MergeTasksContribution

      public MergeTasksContribution()
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isRelation

      public boolean isRelation()
    • setIsRelation

      public void setIsRelation(boolean isRelation)