Interface ApproverConjunction


public interface ApproverConjunction
ApproverConjunction
Example to create an instance using the builder pattern

     ApproverConjunction approverConjunction = ApproverConjunction.builder()
             .plusAnd(andBuilder -> andBuilder)
             .build()
 
  • Method Details

    • getAnd

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

      All of the nested disjunctions must be approved in order for the conjunction to be considered approved.

      Returns:
      and
    • setAnd

      void setAnd(ApproverDisjunction... and)

      All of the nested disjunctions must be approved in order for the conjunction to be considered approved.

      Parameters:
      and - values to be set
    • setAnd

      void setAnd(List<ApproverDisjunction> and)

      All of the nested disjunctions must be approved in order for the conjunction to be considered approved.

      Parameters:
      and - values to be set
    • of

      static ApproverConjunction of()
      factory method
      Returns:
      instance of ApproverConjunction
    • of

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

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

      static ApproverConjunctionBuilder builder()
      builder factory method for ApproverConjunction
      Returns:
      builder
    • builder

      create builder for ApproverConjunction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withApproverConjunction

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