public static final class ExtensionDefinition.Builder extends Object implements Serializable, ModelBuilder, ExtensionDefinitionContract
ExtensionDefinition instances. Enforces the constraints of the
ExtensionDefinitionContract.| Modifier and Type | Method and Description |
|---|---|
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) |
public static ExtensionDefinition.Builder create(String name, String type, String resourceDescriptor)
public static ExtensionDefinition.Builder create(ExtensionDefinitionContract contract)
public ExtensionDefinition build()
ModelBuilderbuild in interface ModelBuilderpublic String getId()
IdentifiablegetId 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_TYPESgetType in interface ExtensionDefinitionContractKewApiConstants.RULE_ATTRIBUTE_TYPESpublic String getResourceDescriptor()
ExtensionDefinitionContractgetResourceDescriptor in interface ExtensionDefinitionContractpublic Map<String,String> getConfiguration()
ExtensionDefinitionContractgetConfiguration in interface ExtensionDefinitionContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setApplicationId(String applicationId)
public void setDescription(String description)
public void setResourceDescriptor(String resourceDescriptor)
public void setConfiguration(Map<String,String> configuration)
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.