Interface RuleRequester
public interface RuleRequester
RuleRequester
 
Example to create an instance using the builder pattern
 
Example to create an instance using the builder pattern
     RuleRequester ruleRequester = RuleRequester.builder()
             .associateRole(associateRoleBuilder -> associateRoleBuilder)
             .build()
 - 
Method SummaryModifier and TypeMethodDescriptionstatic RuleRequesterBuilderbuilder()builder factory method for RuleRequesterstatic RuleRequesterBuilderbuilder(RuleRequester template) create builder for RuleRequester instancecopyDeep()static RuleRequesterdeepCopy(RuleRequester template) factory method to create a deep copy of RuleRequester@NotNull @Valid AssociateRoleKeyReferenceThe Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create.static RuleRequesterof()factory methodstatic RuleRequesterof(RuleRequester template) factory method to create a shallow copy RuleRequestervoidsetAssociateRole(AssociateRoleKeyReference associateRole) The Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create.static com.fasterxml.jackson.core.type.TypeReference<RuleRequester>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithRuleRequester(Function<RuleRequester, T> helper) accessor map function
- 
Method Details- 
getAssociateRoleThe Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create. - Returns:
- associateRole
 
- 
setAssociateRoleThe Associate Role that an Associate must hold for the Approval Rule to apply to the Orders they create. - Parameters:
- associateRole- value to be set
 
- 
offactory method- Returns:
- instance of RuleRequester
 
- 
offactory method to create a shallow copy RuleRequester- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
copyDeepRuleRequester copyDeep()
- 
deepCopyfactory method to create a deep copy of RuleRequester- Parameters:
- template- instance to be copied
- Returns:
- copy instance
 
- 
builderbuilder factory method for RuleRequester- Returns:
- builder
 
- 
buildercreate builder for RuleRequester instance- Parameters:
- template- instance with prefilled values for the builder
- Returns:
- builder
 
- 
withRuleRequesteraccessor map function- Type Parameters:
- T- mapped type
- Parameters:
- helper- function to map the object
- Returns:
- mapped value
 
- 
typeReferencegives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
 
 
-