Interface ApproverDisjunctionDraft
- All Superinterfaces:
Draft<ApproverDisjunctionDraft>
ApproverDisjunctionDraft
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApproverDisjunctionDraft approverDisjunctionDraft = ApproverDisjunctionDraft.builder()
.plusOr(orBuilder -> orBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for ApproverDisjunctionDraftbuilder(ApproverDisjunctionDraft template) create builder for ApproverDisjunctionDraft instancecopyDeep()static ApproverDisjunctionDraftdeepCopy(ApproverDisjunctionDraft template) factory method to create a deep copy of ApproverDisjunctionDraft@NotNull @Valid List<RuleApproverDraft>getOr()Any of the nested approvers must approve in order for the disjunction to be considered approved.static ApproverDisjunctionDraftof()factory methodstatic ApproverDisjunctionDraftof(ApproverDisjunctionDraft template) factory method to create a shallow copy ApproverDisjunctionDraftvoidsetOr(RuleApproverDraft... or) Any of the nested approvers must approve in order for the disjunction to be considered approved.voidsetOr(List<RuleApproverDraft> or) Any of the nested approvers must approve in order for the disjunction to be considered approved.static com.fasterxml.jackson.core.type.TypeReference<ApproverDisjunctionDraft>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getOr
Any of the nested approvers must approve in order for the disjunction to be considered approved.
- Returns:
- or
-
setOr
Any of the nested approvers must approve in order for the disjunction to be considered approved.
- Parameters:
or- values to be set
-
setOr
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
-
copyDeep
ApproverDisjunctionDraft copyDeep() -
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
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
-