|
||||||||||
| 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
| 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. |
String |
getObjectId()
Return the globally unique object id of this object. |
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()
The active indicator for an object. |
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()
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 |
| 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 void setObjectId(String objectId)
public String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic 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 | |||||||||