public static final class PeopleFlowMember.Builder extends Object implements Serializable, ModelBuilder, PeopleFlowMemberContract
PeopleFlowMember
instances. Enforces the constraints of the
PeopleFlowMemberContract
.public static PeopleFlowMember.Builder create(String memberId, MemberType memberType)
public static PeopleFlowMember.Builder create(PeopleFlowMemberContract contract)
public static PeopleFlowMember.Builder createCopy(PeopleFlowMemberContract contract)
public PeopleFlowMember build()
ModelBuilder
build
in interface ModelBuilder
public String getMemberId()
getMemberId
in interface PeopleFlowMemberContract
MemberType
of the
instance.public MemberType getMemberType()
getMemberType
in interface PeopleFlowMemberContract
MemberType
of this member. Never null.public ActionRequestPolicy getActionRequestPolicy()
PeopleFlowMemberContract
MemberType
is ROLE
. If the member type is anything else, this value will not
be considered and should ideally be set to nullgetActionRequestPolicy
in interface PeopleFlowMemberContract
public String getResponsibilityId()
PeopleFlowMemberContract
getResponsibilityId
in interface PeopleFlowMemberContract
public int getPriority()
getPriority
in interface PeopleFlowMemberContract
public List<PeopleFlowDelegate.Builder> getDelegates()
getDelegates
in interface PeopleFlowMemberContract
public void setMemberId(String memberId)
public void setMemberType(MemberType memberType)
public void setActionRequestPolicy(ActionRequestPolicy actionRequestPolicy)
public void setResponsibilityId(String responsibilityId)
public void setPriority(int priority)
public void setDelegates(List<PeopleFlowDelegate.Builder> delegates)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.