public static class KewAttributeDefinition.Builder extends Object implements KewAttributeDefinitionContract, ModelBuilder, Serializable
KewAttributeDefinitionContract.| Modifier and Type | Method and Description |
|---|---|
KewAttributeDefinition |
build()
Builds an instance of a CampusType based on the current state of the builder.
|
KewAttributeDefinition.Builder |
componentName(String componentName) |
static KewAttributeDefinition.Builder |
create(KewAttributeDefinitionContract contract)
Creates a builder by populating it with data from the given
KewAttributeDefinitionContract. |
static KewAttributeDefinition.Builder |
create(String id,
String name,
String namespace)
Creates a builder from the given parameters.
|
String |
getComponentName()
This is the component name of the KewAttributeDefinition
|
String |
getDescription()
this is the optional description for the
KewAttributeDefinition |
String |
getId() |
String |
getLabel()
This is the label of the KewAttributeDefinition
|
String |
getName()
This is the name for the KewAttributeDefinition
|
String |
getNamespace()
This is the namespace code.
|
Long |
getVersionNumber() |
boolean |
isActive() |
KewAttributeDefinition.Builder |
label(String label) |
void |
setActive(boolean active) |
void |
setComponentName(String componentName) |
void |
setDescription(String description) |
void |
setId(String id)
Sets the value of the id on this builder to the given value.
|
void |
setLabel(String label) |
void |
setName(String name) |
void |
setNamespace(String namespace) |
void |
setVersionNumber(Long versionNumber) |
public KewAttributeDefinition.Builder label(String label)
public KewAttributeDefinition.Builder componentName(String componentName)
public static KewAttributeDefinition.Builder create(String id, String name, String namespace)
id - the KewAttributeDefinition idname - the KewAttributeDefinition namenamespace - the KewAttributeDefinition namespaceIllegalArgumentException - if the either the id, name or namespace is null or blankpublic static KewAttributeDefinition.Builder create(KewAttributeDefinitionContract contract)
KewAttributeDefinitionContract.contract - the contract from which to populate this builderpublic void setId(String id)
id - the id value to set, must be null or non-blankIllegalArgumentException - if the id is non-null and blankpublic void setNamespace(String namespace)
public void setDescription(String description)
public void setComponentName(String componentName)
public void setActive(boolean active)
public void setVersionNumber(Long versionNumber)
public String getId()
getId in interface Identifiablepublic String getName()
KewAttributeDefinitionContractIt is a name of a KewAttributeDefinition.
getName in interface KewAttributeDefinitionContractpublic String getNamespace()
KewAttributeDefinitionContractIt provides scope of the KewAttributeDefinition.
getNamespace in interface KewAttributeDefinitionContractpublic String getComponentName()
KewAttributeDefinitionContractgetComponentName in interface KewAttributeDefinitionContractpublic String getLabel()
KewAttributeDefinitionContractgetLabel in interface KewAttributeDefinitionContractpublic String getDescription()
KewAttributeDefinitionContractKewAttributeDefinitiongetDescription in interface KewAttributeDefinitionContractpublic boolean isActive()
isActive in interface Inactivatablepublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic KewAttributeDefinition build()
build in interface ModelBuilderCopyright © 2005–2018 The Kuali Foundation. All rights reserved.