Package org.kuali.rice.kew.api.rule
Class RoleName.Builder
java.lang.Object
org.kuali.rice.kew.api.rule.RoleName.Builder
- All Implemented Interfaces:
Serializable,ModelBuilder,RoleNameContract
- Enclosing class:
RoleName
public static final class RoleName.Builder
extends Object
implements Serializable, ModelBuilder, RoleNameContract
A builder which can be used to construct
RoleName instances. Enforces the constraints of the RoleNameContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static RoleName.Builderstatic RoleName.Buildercreate(RoleNameContract contract) static RoleName.BuildercreateWithClassName(String attributeClassName, String baseName, String label) This is the base name value for the Role on an attribute.getLabel()A label for the Role on an attribute.getName()This is the composite name value for the Role on an attribute.This is the return URL for the given Role for a role attributevoidsetBaseName(String baseName) voidvoidvoidsetReturnUrl(String returnUrl)
-
Method Details
-
createWithClassName
public static RoleName.Builder createWithClassName(String attributeClassName, String baseName, String label) -
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getName
Description copied from interface:RoleNameContractThis is the composite name value for the Role on an attribute. It consists of of the roleAttribute's class name + '!' + roleBaseName- Specified by:
getNamein interfaceRoleNameContract- Returns:
- name
-
getBaseName
Description copied from interface:RoleNameContractThis is the base name value for the Role on an attribute. It consists of of the name of the Role- Specified by:
getBaseNamein interfaceRoleNameContract- Returns:
- baseName
-
getReturnUrl
Description copied from interface:RoleNameContractThis is the return URL for the given Role for a role attribute- Specified by:
getReturnUrlin interfaceRoleNameContract- Returns:
- returnUrl
-
getLabel
Description copied from interface:RoleNameContractA label for the Role on an attribute.- Specified by:
getLabelin interfaceRoleNameContract- Returns:
- label
-
setName
-
setBaseName
-
setReturnUrl
-
setLabel
-