|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.role.Role.Builder
public static final class Role.Builder
| Field Summary | |
|---|---|
private boolean |
active
|
private String |
description
|
private String |
id
|
private String |
kimTypeId
|
private String |
name
|
private String |
namespaceCode
|
private Long |
versionNumber
|
| Constructor Summary | |
|---|---|
private |
Role.Builder()
|
| Method Summary | |
|---|---|
Role |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
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)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
String |
getDescription()
A full textual description of this role. |
String |
getId()
The unique identifier for an object. |
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. |
Long |
getVersionNumber()
Returns the version number for this object. |
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
boolean |
isActive()
Returns a boolean value determining if the Object is Active or not. |
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 |
setVersionNumber(Long versionNumber)
|
String |
toString()
This will return a proper string representation of the Model Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String id
private String name
private String namespaceCode
private String description
private String kimTypeId
private boolean active
private Long versionNumber
| Constructor Detail |
|---|
private Role.Builder()
| Method Detail |
|---|
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()
ModelBuilder
build in interface ModelBuilderpublic void setId(String id)
public String getId()
Identifiable
getId in interface Identifiablepublic void setNamespaceCode(String namespaceCode)
public String getNamespaceCode()
RoleContract
getNamespaceCode in interface RoleContractpublic void setName(String name)
public String getName()
RoleContract
getName in interface RoleContractpublic void setDescription(String description)
public String getDescription()
RoleContract
getDescription in interface RoleContractpublic void setKimTypeId(String kimTypeId)
public String getKimTypeId()
RoleContract
getKimTypeId in interface RoleContractpublic void setActive(boolean active)
public boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic void setVersionNumber(Long versionNumber)
public Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.
hashCode in interface ModelObjectCompletehashCode in class Objectpublic boolean equals(Object obj)
ModelObjectCompleteModelObjectComplete.equals(Object) contract.
equals in interface ModelObjectCompleteequals in class Objectobj - to object to compare for equality
public String toString()
ModelObjectBasic
toString in interface ModelObjectBasictoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||