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()
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()
ExtensionDefinitionContract
KewApiConstants.RULE_ATTRIBUTE_TYPES
getType
in interface ExtensionDefinitionContract
KewApiConstants.RULE_ATTRIBUTE_TYPES
public String getResourceDescriptor()
ExtensionDefinitionContract
getResourceDescriptor
in interface ExtensionDefinitionContract
public Map<String,String> getConfiguration()
ExtensionDefinitionContract
getConfiguration
in interface ExtensionDefinitionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public 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–2016 The Kuali Foundation. All rights reserved.