|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.rule.RoleName.Builder
public static final class RoleName.Builder
A builder which can be used to construct RoleName
instances. Enforces the constraints of the RoleNameContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 setName(String name)
public void setBaseName(String baseName)
public void setReturnUrl(String returnUrl)
public void setLabel(String label)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |