public static final class Role.Builder extends Object implements RoleContract, ModelBuilder, ModelObjectComplete
| Modifier and Type | Method and Description |
|---|---|
Role |
build() |
static Role.Builder |
create() |
static Role.Builder |
create(RoleContract roleContract) |
static Role.Builder |
create(String id,
String name,
String namespaceCode,
String description,
String kimTypeId) |
boolean |
equals(Object obj) |
String |
getDescription()
A full textual description of this role.
|
String |
getId() |
String |
getKimTypeId()
Provides the associated KimType identifier for this role.
|
String |
getName()
The human readable name for this role.
|
String |
getNamespaceCode()
A namespace for this role.
|
String |
getObjectId() |
Long |
getVersionNumber() |
int |
hashCode() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setKimTypeId(String kimTypeId) |
void |
setName(String name) |
void |
setNamespaceCode(String namespaceCode) |
void |
setObjectId(String objectId) |
void |
setVersionNumber(Long versionNumber) |
String |
toString() |
public static Role.Builder create()
public static Role.Builder create(String id, String name, String namespaceCode, String description, String kimTypeId)
public static Role.Builder create(RoleContract roleContract)
public Role build()
build in interface ModelBuilderpublic String getId()
getId in interface Identifiablepublic void setNamespaceCode(String namespaceCode)
public String getNamespaceCode()
RoleContractgetNamespaceCode in interface RoleContractpublic String getName()
RoleContractgetName in interface RoleContractpublic void setDescription(String description)
public String getDescription()
RoleContractgetDescription in interface RoleContractpublic void setKimTypeId(String kimTypeId)
public String getKimTypeId()
RoleContractgetKimTypeId in interface RoleContractpublic void setActive(boolean active)
public boolean isActive()
isActive in interface Inactivatablepublic void setVersionNumber(Long versionNumber)
public Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setObjectId(String objectId)
public String getObjectId()
getObjectId in interface GloballyUniquepublic int hashCode()
hashCode in interface ModelObjectCompletehashCode in class Objectpublic boolean equals(Object obj)
equals in interface ModelObjectCompleteequals in class ObjectCopyright © 2005–2017 The Kuali Foundation. All rights reserved.