Interface ApproverDisjunctionDraft

All Superinterfaces:
Draft<ApproverDisjunctionDraft>

public interface ApproverDisjunctionDraft extends Draft<ApproverDisjunctionDraft>
ApproverDisjunctionDraft
Example to create an instance using the builder pattern

     ApproverDisjunctionDraft approverDisjunctionDraft = ApproverDisjunctionDraft.builder()
             .plusOr(orBuilder -> orBuilder)
             .build()
 
  • Method Details

    • getOr

      @NotNull @Valid @NotNull @Valid List<RuleApproverDraft> getOr()

      Any of the nested approvers must approve in order for the disjunction to be considered approved.

      Returns:
      or
    • setOr

      void setOr(RuleApproverDraft... or)

      Any of the nested approvers must approve in order for the disjunction to be considered approved.

      Parameters:
      or - values to be set
    • setOr

      void setOr(List<RuleApproverDraft> or)

      Any of the nested approvers must approve in order for the disjunction to be considered approved.

      Parameters:
      or - values to be set
    • of

      factory method
      Returns:
      instance of ApproverDisjunctionDraft
    • of

      factory method to create a shallow copy ApproverDisjunctionDraft
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ApproverDisjunctionDraft
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for ApproverDisjunctionDraft
      Returns:
      builder
    • builder

      create builder for ApproverDisjunctionDraft instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withApproverDisjunctionDraft

      default <T> T withApproverDisjunctionDraft(Function<ApproverDisjunctionDraft,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ApproverDisjunctionDraft> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference