Interface InheritedAssociate


public interface InheritedAssociate
InheritedAssociate
Example to create an instance using the builder pattern

     InheritedAssociate inheritedAssociate = InheritedAssociate.builder()
             .plusAssociateRoleAssignments(associateRoleAssignmentsBuilder -> associateRoleAssignmentsBuilder)
             .customer(customerBuilder -> customerBuilder)
             .build()
 
  • Method Details

    • getAssociateRoleAssignments

      @NotNull @Valid @NotNull @Valid List<InheritedAssociateRoleAssignment> getAssociateRoleAssignments()
      Returns:
      associateRoleAssignments
    • getCustomer

      @NotNull @Valid @NotNull @Valid Reference getCustomer()
      Returns:
      customer
    • setAssociateRoleAssignments

      void setAssociateRoleAssignments(InheritedAssociateRoleAssignment... associateRoleAssignments)
      set associateRoleAssignments
      Parameters:
      associateRoleAssignments - values to be set
    • setAssociateRoleAssignments

      void setAssociateRoleAssignments(List<InheritedAssociateRoleAssignment> associateRoleAssignments)
      set associateRoleAssignments
      Parameters:
      associateRoleAssignments - values to be set
    • setCustomer

      void setCustomer(Reference customer)
      set customer
      Parameters:
      customer - value to be set
    • of

      static InheritedAssociate of()
      factory method
      Returns:
      instance of InheritedAssociate
    • of

      static InheritedAssociate of(InheritedAssociate template)
      factory method to create a shallow copy InheritedAssociate
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of InheritedAssociate
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static InheritedAssociateBuilder builder()
      builder factory method for InheritedAssociate
      Returns:
      builder
    • builder

      static InheritedAssociateBuilder builder(InheritedAssociate template)
      create builder for InheritedAssociate instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withInheritedAssociate

      default <T> T withInheritedAssociate(Function<InheritedAssociate,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<InheritedAssociate> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference