Interface ApproverConjunction
public interface ApproverConjunction
ApproverConjunction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ApproverConjunction approverConjunction = ApproverConjunction.builder()
.plusAnd(andBuilder -> andBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic ApproverConjunctionBuilderbuilder()builder factory method for ApproverConjunctionstatic ApproverConjunctionBuilderbuilder(ApproverConjunction template) create builder for ApproverConjunction instancecopyDeep()static ApproverConjunctiondeepCopy(ApproverConjunction template) factory method to create a deep copy of ApproverConjunction@NotNull @Valid List<ApproverDisjunction>getAnd()All of the nested disjunctions must be approved in order for the conjunction to be considered approved.static ApproverConjunctionof()factory methodstatic ApproverConjunctionof(ApproverConjunction template) factory method to create a shallow copy ApproverConjunctionvoidsetAnd(ApproverDisjunction... and) All of the nested disjunctions must be approved in order for the conjunction to be considered approved.voidsetAnd(List<ApproverDisjunction> and) All of the nested disjunctions must be approved in order for the conjunction to be considered approved.static com.fasterxml.jackson.core.type.TypeReference<ApproverConjunction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithApproverConjunction(Function<ApproverConjunction, T> helper) accessor map function
-
Method Details
-
getAnd
All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
- Returns:
- and
-
setAnd
All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
- Parameters:
and- values to be set
-
setAnd
All of the nested disjunctions must be approved in order for the conjunction to be considered approved.
- Parameters:
and- values to be set
-
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
-
copyDeep
ApproverConjunction copyDeep() -
deepCopy
factory method to create a deep copy of ApproverConjunction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
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
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
-