|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ModelBuilder
public void setId(String id)
public String getId()
Identifiable
getId
in interface Identifiable
public void setNamespaceCode(String namespaceCode)
public String getNamespaceCode()
RoleContract
getNamespaceCode
in interface RoleContract
public void setName(String name)
public String getName()
RoleContract
getName
in interface RoleContract
public void setDescription(String description)
public String getDescription()
RoleContract
getDescription
in interface RoleContract
public void setKimTypeId(String kimTypeId)
public String getKimTypeId()
RoleContract
getKimTypeId
in interface RoleContract
public void setActive(boolean active)
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setVersionNumber(Long versionNumber)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public int hashCode()
ModelObjectComplete
ModelObjectComplete.hashCode()
contract.
hashCode
in interface ModelObjectComplete
hashCode
in class Object
public boolean equals(Object obj)
ModelObjectComplete
ModelObjectComplete.equals(Object)
contract.
equals
in interface ModelObjectComplete
equals
in class Object
obj
- to object to compare for equality
public String toString()
ModelObjectBasic
toString
in interface ModelObjectBasic
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |