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 ApproverConjunctionBuilder
builder()
builder factory method for ApproverConjunctionstatic ApproverConjunctionBuilder
builder
(ApproverConjunction template) create builder for ApproverConjunction instancestatic ApproverConjunction
deepCopy
(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 ApproverConjunction
of()
factory methodstatic ApproverConjunction
of
(ApproverConjunction template) factory method to create a shallow copy ApproverConjunctionvoid
setAnd
(ApproverDisjunction... and) All of the nested disjunctions must be approved in order for the conjunction to be considered approved.void
setAnd
(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> T
withApproverConjunction
(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
-
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
-