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()
Identifiable
getId
in interface Identifiable
public String getNamespaceCode()
TemplateContract
getNamespaceCode
in interface TemplateContract
public void setNamespaceCode(String namespaceCode)
public String getName()
TemplateContract
getName
in interface TemplateContract
public String getDescription()
TemplateContract
getDescription
in interface TemplateContract
public void setDescription(String description)
public String getKimTypeId()
TemplateContract
getKimTypeId
in interface TemplateContract
public void setKimTypeId(String kimTypeId)
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setObjectId(String objectId)
public Template build()
ModelBuilder
build
in interface ModelBuilder
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.