Interface ApproverConjunctionDraft

All Superinterfaces:
Draft<ApproverConjunctionDraft>

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

     ApproverConjunctionDraft approverConjunctionDraft = ApproverConjunctionDraft.builder()
             .plusAnd(andBuilder -> andBuilder)
             .build()
 
  • Method Details

    • getAnd

      @NotNull @Valid @NotNull @Valid List<ApproverDisjunctionDraft> getAnd()

      All of the nested disjunctions must be approved in order for the conjunction to be considered approved. The total count of approvers across the nested disjunctions must not exceed 10.

      Returns:
      and
    • setAnd

      void setAnd(ApproverDisjunctionDraft... and)

      All of the nested disjunctions must be approved in order for the conjunction to be considered approved. The total count of approvers across the nested disjunctions must not exceed 10.

      Parameters:
      and - values to be set
    • setAnd

      void setAnd(List<ApproverDisjunctionDraft> and)

      All of the nested disjunctions must be approved in order for the conjunction to be considered approved. The total count of approvers across the nested disjunctions must not exceed 10.

      Parameters:
      and - values to be set
    • of

      factory method
      Returns:
      instance of ApproverConjunctionDraft
    • of

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

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

      builder factory method for ApproverConjunctionDraft
      Returns:
      builder
    • builder

      create builder for ApproverConjunctionDraft instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withApproverConjunctionDraft

      default <T> T withApproverConjunctionDraft(Function<ApproverConjunctionDraft,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<ApproverConjunctionDraft> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference