public static final class RoleName.Builder extends Object implements Serializable, ModelBuilder, RoleNameContract
RoleName instances. Enforces the constraints of the RoleNameContract.| Modifier and Type | Method and Description |
|---|---|
RoleName |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static RoleName.Builder |
create(RoleNameContract contract) |
static RoleName.Builder |
create(String name,
String baseName,
String label) |
static RoleName.Builder |
createWithClassName(String attributeClassName,
String baseName,
String label) |
String |
getBaseName()
This is the base name value for the Role on an attribute.
|
String |
getLabel()
A label for the Role on an attribute.
|
String |
getName()
This is the composite name value for the Role on an attribute.
|
String |
getReturnUrl()
This is the return URL for the given Role for a role attribute
|
void |
setBaseName(String baseName) |
void |
setLabel(String label) |
void |
setName(String name) |
void |
setReturnUrl(String returnUrl) |
public static RoleName.Builder createWithClassName(String attributeClassName, String baseName, String label)
public static RoleName.Builder create(String name, String baseName, String label)
public static RoleName.Builder create(RoleNameContract contract)
public RoleName build()
ModelBuilderbuild in interface ModelBuilderpublic String getName()
RoleNameContractgetName in interface RoleNameContractpublic String getBaseName()
RoleNameContractgetBaseName in interface RoleNameContractpublic String getReturnUrl()
RoleNameContractgetReturnUrl in interface RoleNameContractpublic String getLabel()
RoleNameContractgetLabel in interface RoleNameContractpublic void setBaseName(String baseName)
public void setReturnUrl(String returnUrl)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.