|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.api.extension.ExtensionDefinition.Builder
public static final class ExtensionDefinition.Builder
A builder which can be used to construct ExtensionDefinition instances. Enforces the constraints of the
ExtensionDefinitionContract.
| Method Summary | |
|---|---|
ExtensionDefinition |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static ExtensionDefinition.Builder |
create(ExtensionDefinitionContract contract)
|
static ExtensionDefinition.Builder |
create(String name,
String type,
String resourceDescriptor)
|
String |
getApplicationId()
|
Map<String,String> |
getConfiguration()
Returns a list of key/value settings that the extension was statically configured with when defined. |
String |
getDescription()
|
String |
getId()
The unique identifier for an object. |
String |
getLabel()
|
String |
getName()
|
String |
getResourceDescriptor()
Retrieves the resource descriptor for this extension. |
String |
getType()
The "type" of extension definition. |
Long |
getVersionNumber()
Returns the version number for this object. |
void |
setApplicationId(String applicationId)
|
void |
setConfiguration(Map<String,String> configuration)
|
void |
setDescription(String description)
|
void |
setId(String id)
|
void |
setLabel(String label)
|
void |
setName(String name)
|
void |
setResourceDescriptor(String resourceDescriptor)
|
void |
setType(String type)
|
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 ExtensionDefinition.Builder create(String name,
String type,
String resourceDescriptor)
public static ExtensionDefinition.Builder create(ExtensionDefinitionContract contract)
public ExtensionDefinition build()
ModelBuilder
build in interface ModelBuilderpublic String getId()
Identifiable
getId in interface Identifiablepublic String getName()
getName in interface ExtensionDefinitionContractpublic String getApplicationId()
getApplicationId in interface ExtensionDefinitionContractpublic String getLabel()
getLabel in interface ExtensionDefinitionContractpublic String getDescription()
getDescription in interface ExtensionDefinitionContractpublic String getType()
ExtensionDefinitionContractKewApiConstants.RULE_ATTRIBUTE_TYPES
getType in interface ExtensionDefinitionContractKewApiConstants.RULE_ATTRIBUTE_TYPESpublic String getResourceDescriptor()
ExtensionDefinitionContract
getResourceDescriptor in interface ExtensionDefinitionContractpublic Map<String,String> getConfiguration()
ExtensionDefinitionContract
getConfiguration in interface ExtensionDefinitionContractpublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic void setId(String id)
public void setName(String name)
public void setApplicationId(String applicationId)
public void setLabel(String label)
public void setDescription(String description)
public void setType(String type)
public void setResourceDescriptor(String resourceDescriptor)
public void setConfiguration(Map<String,String> configuration)
public void setVersionNumber(Long versionNumber)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||