|
||||||||||
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()
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)
|
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()
Identifiable
getId
in interface 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()
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |