public static final class Template.Builder extends Object implements TemplateContract, ModelBuilder, Serializable
TemplateContract.| Modifier and Type | Method and Description |
|---|---|
Template |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
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()
The unique identifier for an object.
|
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()
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 |
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()
IdentifiablegetId 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()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public Template build()
ModelBuilderbuild in interface ModelBuilderCopyright © 2005–2016 The Kuali Foundation. All rights reserved.