|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
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()
|
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 ModelBuilder
public String getId()
Identifiable
getId
in interface Identifiable
public String getName()
getName
in interface ExtensionDefinitionContract
public String getApplicationId()
getApplicationId
in interface ExtensionDefinitionContract
public String getLabel()
getLabel
in interface ExtensionDefinitionContract
public String getDescription()
getDescription
in interface ExtensionDefinitionContract
public String getType()
getType
in interface ExtensionDefinitionContract
public String getResourceDescriptor()
ExtensionDefinitionContract
getResourceDescriptor
in interface ExtensionDefinitionContract
public Map<String,String> getConfiguration()
getConfiguration
in interface ExtensionDefinitionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public 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 |