|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.group.Group.Builder
public static class Group.Builder
This builder constructs an Group enforcing the constraints of the GroupContract.
| Method Summary | |
|---|---|
Group |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static Group.Builder |
create(GroupContract contract)
creates a Group from an existing GroupContract. |
static Group.Builder |
create(String namespaceCode,
String name,
String kimTypeId)
creates a Group with the required fields. |
Map<String,String> |
getAttributes()
This is a set of Attributes for a Group. |
String |
getDescription()
This a description for the Group. |
String |
getId()
The unique identifier for an object. |
String |
getKimTypeId()
This a Kim Type Id for the Group. |
String |
getName()
This is the name for the Group. |
String |
getNamespaceCode()
This is the namespace code for the Group. |
String |
getObjectId()
Return the globally unique object id of this object. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
void |
setActive(boolean active)
|
void |
setAttributes(Map<String,String> attributes)
|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Group.Builder create(String namespaceCode,
String name,
String kimTypeId)
public static Group.Builder create(GroupContract contract)
GroupContract.
public String getId()
Identifiable
getId in interface Identifiablepublic void setId(String id)
public String getNamespaceCode()
GroupContractThis is a namespace code assigned to a Group. Together with name, it makes up another unique identifier for Group
getNamespaceCode in interface GroupContractpublic void setNamespaceCode(String namespaceCode)
public String getName()
GroupContractThis is a name assigned to a Group. Together with NamespaceCode, it makes up another unique identifier for Group
getName in interface GroupContractpublic void setName(String name)
public String getDescription()
GroupContractThis is a description assigned to a Group.
getDescription in interface GroupContractpublic void setDescription(String description)
public String getKimTypeId()
GroupContractThis links a Kim Type to the Group to allow custom types of Groups.
getKimTypeId in interface GroupContractpublic void setKimTypeId(String kimTypeId)
public Map<String,String> getAttributes()
GroupContractThis is a set of attributes which are key-label pairs that are defined by the Group's Kim Type.
getAttributes in interface GroupContractpublic void setAttributes(Map<String,String> attributes)
public boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public Group build()
ModelBuilder
build in interface ModelBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||