Package org.kuali.rice.kim.api.role
Class RoleResponsibilityAction.Builder
java.lang.Object
org.kuali.rice.kim.api.role.RoleResponsibilityAction.Builder
- All Implemented Interfaces:
Serializable,Identifiable,Versioned,ModelBuilder,ModelObjectBasic,ModelObjectComplete,RoleResponsibilityActionContract
- Enclosing class:
RoleResponsibilityAction
public static class RoleResponsibilityAction.Builder
extends Object
implements RoleResponsibilityActionContract, ModelBuilder, ModelObjectComplete
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()booleanReturns the action policy code.A string representation of the action type to be taken on this RoleResponsibilityAction.getId()String identifier for an associated RoleMemberReturns a RoleResponsibility instances associated with this action.Id of the contained RoleResponsibility object.inthashCode()booleanvoidsetActionPolicyCode(String actionPolicyCode) voidsetActionTypeCode(String actionTypeCode) voidsetForceAction(boolean forceAction) voidvoidsetPriorityNumber(Integer priorityNumber) voidsetRoleMemberId(String roleMemberId) voidsetRoleResponsibility(RoleResponsibility roleResponsibility) voidsetRoleResponsibilityId(String roleResponsibilityId) voidsetVersionNumber(Long versionNumber) toString()
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getId
- Specified by:
getIdin interfaceIdentifiable
-
setId
-
getRoleResponsibilityId
Description copied from interface:RoleResponsibilityActionContractId of the contained RoleResponsibility object.- Specified by:
getRoleResponsibilityIdin interfaceRoleResponsibilityActionContract- Returns:
- A RoleResponsibility Id. Can be null if there is no associated RoleResponsibility.
-
setRoleResponsibilityId
-
getActionTypeCode
Description copied from interface:RoleResponsibilityActionContractA string representation of the action type to be taken on this RoleResponsibilityAction.
Examples are
- "A" - Approve
- "F" - FYI
- "K" - Acknowledge
- Specified by:
getActionTypeCodein interfaceRoleResponsibilityActionContract- Returns:
- String representing the action type. This can be null.
-
setActionTypeCode
-
getPriorityNumber
- Specified by:
getPriorityNumberin interfaceRoleResponsibilityActionContract- Returns:
- Integer representing the priority assigned to this Action. This can be a null value.
-
setPriorityNumber
-
getActionPolicyCode
Description copied from interface:RoleResponsibilityActionContractReturns the action policy code.- Specified by:
getActionPolicyCodein interfaceRoleResponsibilityActionContract- Returns:
- String for the policy code. This can be null.
-
setActionPolicyCode
-
getRoleMemberId
Description copied from interface:RoleResponsibilityActionContractString identifier for an associated RoleMember- Specified by:
getRoleMemberIdin interfaceRoleResponsibilityActionContract- Returns:
- RoleMember identifier. This can be null.
-
setRoleMemberId
-
getRoleResponsibility
Description copied from interface:RoleResponsibilityActionContractReturns a RoleResponsibility instances associated with this action.- Specified by:
getRoleResponsibilityin interfaceRoleResponsibilityActionContract- Returns:
- Associated RoleResponsibility - can be null.
-
setRoleResponsibility
-
isForceAction
public boolean isForceAction()- Specified by:
isForceActionin interfaceRoleResponsibilityActionContract- Returns:
- Whether this action should be is forced or not.
-
setForceAction
public void setForceAction(boolean forceAction) -
getVersionNumber
- Specified by:
getVersionNumberin interfaceVersioned
-
setVersionNumber
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceModelObjectComplete- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceModelObjectComplete- Overrides:
equalsin classObject
-
toString
- Specified by:
toStringin interfaceModelObjectBasic- Overrides:
toStringin classObject
-