|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.peopleflow.PeopleFlowMember.Builder
public static final class PeopleFlowMember.Builder
A builder which can be used to construct PeopleFlowMember
instances. Enforces the constraints of the
PeopleFlowMemberContract
.
Method Summary | |
---|---|
PeopleFlowMember |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static PeopleFlowMember.Builder |
create(PeopleFlowMemberContract contract)
|
static PeopleFlowMember.Builder |
create(String memberId,
MemberType memberType)
|
ActionRequestPolicy |
getActionRequestPolicy()
Returns the action request policy to use for this people flow member. |
List<PeopleFlowDelegate.Builder> |
getDelegates()
|
String |
getMemberId()
|
MemberType |
getMemberType()
|
int |
getPriority()
|
String |
getResponsibilityId()
Returns the responsibility id of this member. |
void |
setActionRequestPolicy(ActionRequestPolicy actionRequestPolicy)
|
void |
setDelegates(List<PeopleFlowDelegate.Builder> delegates)
|
void |
setMemberId(String memberId)
|
void |
setMemberType(MemberType memberType)
|
void |
setPriority(int priority)
|
void |
setResponsibilityId(String responsibilityId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PeopleFlowMember.Builder create(String memberId, MemberType memberType)
public static PeopleFlowMember.Builder create(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 null
getActionRequestPolicy
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |