Interface ApproverConjunctionDraft
- All Superinterfaces:
Draft<ApproverConjunctionDraft>
ApproverConjunctionDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApproverConjunctionDraft approverConjunctionDraft = ApproverConjunctionDraft.builder()
.plusAnd(andBuilder -> andBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for ApproverConjunctionDraftbuilder
(ApproverConjunctionDraft template) create builder for ApproverConjunctionDraft instancestatic ApproverConjunctionDraft
deepCopy
(ApproverConjunctionDraft template) factory method to create a deep copy of ApproverConjunctionDraft@NotNull @Valid List<ApproverDisjunctionDraft>
getAnd()
All of the nested disjunctions must be approved in order for the conjunction to be considered approved.static ApproverConjunctionDraft
of()
factory methodstatic ApproverConjunctionDraft
of
(ApproverConjunctionDraft template) factory method to create a shallow copy ApproverConjunctionDraftvoid
setAnd
(ApproverDisjunctionDraft... and) All of the nested disjunctions must be approved in order for the conjunction to be considered approved.void
All of the nested disjunctions must be approved in order for the conjunction to be considered approved.static com.fasterxml.jackson.core.type.TypeReference<ApproverConjunctionDraft>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
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
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
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
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-