|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.common.template.Template.Builder
public static final class Template.Builder
This builder constructs a Template enforcing the constraints of the TemplateContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 org.kuali.rice.core.api.mo.common.Identifiable
public void setId(String id)
public String getNamespaceCode()
TemplateContract
getNamespaceCode
in interface TemplateContract
public void setNamespaceCode(String namespaceCode)
public String getName()
TemplateContract
getName
in interface TemplateContract
public void setName(String name)
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()
isActive
in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
public void setActive(boolean active)
public Long getVersionNumber()
getVersionNumber
in interface org.kuali.rice.core.api.mo.common.Versioned
public void setVersionNumber(Long versionNumber)
public String getObjectId()
getObjectId
in interface org.kuali.rice.core.api.mo.common.GloballyUnique
public void setObjectId(String objectId)
public Template build()
build
in interface org.kuali.rice.core.api.mo.ModelBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |