Interface InheritedAssociateRoleAssignment
public interface InheritedAssociateRoleAssignment
InheritedAssociateRoleAssignment
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InheritedAssociateRoleAssignment inheritedAssociateRoleAssignment = InheritedAssociateRoleAssignment.builder()
.associateRole(associateRoleBuilder -> associateRoleBuilder)
.source(sourceBuilder -> sourceBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for InheritedAssociateRoleAssignmentbuilder(InheritedAssociateRoleAssignment template) create builder for InheritedAssociateRoleAssignment instancecopyDeep()deepCopy(InheritedAssociateRoleAssignment template) factory method to create a deep copy of InheritedAssociateRoleAssignment@NotNull @Valid AssociateRoleKeyReferenceInherited role the Associate holds within a Business Unit.@NotNull @Valid BusinessUnitKeyReferenceReference to the parent Business Unit where the assignment is defined explicitly.of()factory methodof(InheritedAssociateRoleAssignment template) factory method to create a shallow copy InheritedAssociateRoleAssignmentvoidsetAssociateRole(AssociateRoleKeyReference associateRole) Inherited role the Associate holds within a Business Unit.voidsetSource(BusinessUnitKeyReference source) Reference to the parent Business Unit where the assignment is defined explicitly.static com.fasterxml.jackson.core.type.TypeReference<InheritedAssociateRoleAssignment>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getAssociateRole
Inherited role the Associate holds within a Business Unit.
- Returns:
- associateRole
-
getSource
Reference to the parent Business Unit where the assignment is defined explicitly.
- Returns:
- source
-
setAssociateRole
Inherited role the Associate holds within a Business Unit.
- Parameters:
associateRole- value to be set
-
setSource
Reference to the parent Business Unit where the assignment is defined explicitly.
- Parameters:
source- value to be set
-
of
factory method- Returns:
- instance of InheritedAssociateRoleAssignment
-
of
factory method to create a shallow copy InheritedAssociateRoleAssignment- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
InheritedAssociateRoleAssignment copyDeep() -
deepCopy
@Nullable static InheritedAssociateRoleAssignment deepCopy(@Nullable InheritedAssociateRoleAssignment template) factory method to create a deep copy of InheritedAssociateRoleAssignment- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for InheritedAssociateRoleAssignment- Returns:
- builder
-
builder
create builder for InheritedAssociateRoleAssignment instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withInheritedAssociateRoleAssignment
default <T> T withInheritedAssociateRoleAssignment(Function<InheritedAssociateRoleAssignment, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<InheritedAssociateRoleAssignment> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-