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()
ModelBuilder
build
in interface ModelBuilder
public String getName()
RoleNameContract
getName
in interface RoleNameContract
public String getBaseName()
RoleNameContract
getBaseName
in interface RoleNameContract
public String getReturnUrl()
RoleNameContract
getReturnUrl
in interface RoleNameContract
public String getLabel()
RoleNameContract
getLabel
in interface RoleNameContract
public void setBaseName(String baseName)
public void setReturnUrl(String returnUrl)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.