public static final class Template.Builder extends Object implements TemplateContract, ModelBuilder, Serializable
TemplateContract.| Modifier and Type | Method and Description |
|---|---|
Template |
build() |
static Template.Builder |
create(String namespaceCode,
String name,
String kimTypeId)
creates a KimPermission with the required fields.
|
static Template.Builder |
create(TemplateContract contract)
creates a KimPermission from an existing
TemplateContract. |
String |
getDescription()
The description of the KIM Permission Template.
|
String |
getId() |
String |
getKimTypeId()
The KIM Type ID referenced by the KIM Permission Template.
|
String |
getName()
The name of the KIM Permission Template.
|
String |
getNamespaceCode()
The namespace code that this KIM Permission Template belongs too.
|
String |
getObjectId() |
Long |
getVersionNumber() |
boolean |
isActive() |
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) |
public static Template.Builder create(String namespaceCode, String name, String kimTypeId)
public static Template.Builder create(TemplateContract contract)
TemplateContract.public String getId()
getId in interface Identifiablepublic String getNamespaceCode()
TemplateContractgetNamespaceCode in interface TemplateContractpublic void setNamespaceCode(String namespaceCode)
public String getName()
TemplateContractgetName in interface TemplateContractpublic String getDescription()
TemplateContractgetDescription in interface TemplateContractpublic void setDescription(String description)
public String getKimTypeId()
TemplateContractgetKimTypeId in interface TemplateContractpublic void setKimTypeId(String kimTypeId)
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 Template build()
build in interface ModelBuilderCopyright © 2005–2016 The Kuali Foundation. All rights reserved.