public static class Group.Builder extends Object implements GroupContract, ModelBuilder, Serializable
GroupContract.| Modifier and Type | Method and Description |
|---|---|
Group |
build() |
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() |
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() |
Long |
getVersionNumber() |
boolean |
isActive() |
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) |
public static Group.Builder create(String namespaceCode, String name, String kimTypeId)
public static Group.Builder create(GroupContract contract)
GroupContract.public String getId()
getId in interface Identifiablepublic 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 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()
isActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
getObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public Group build()
build in interface ModelBuilderCopyright © 2005–2017 The Kuali Foundation. All rights reserved.