public static final class RuleTemplateAttribute.Builder extends Object implements Serializable, ModelBuilder, RuleTemplateAttributeContract
RuleTemplateAttribute
instances. Enforces the constraints of the RuleTemplateAttributeContract
.Modifier and Type | Method and Description |
---|---|
RuleTemplateAttribute |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static RuleTemplateAttribute.Builder |
create(RuleTemplateAttributeContract contract) |
static RuleTemplateAttribute.Builder |
create(String ruleTemplateId,
ExtensionDefinition.Builder ruleAttribute,
boolean required,
Integer displayOrder) |
String |
getDefaultValue() |
Integer |
getDisplayOrder() |
String |
getId()
The unique identifier for an object.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
ExtensionDefinition.Builder |
getRuleAttribute() |
Map<String,String> |
getRuleExtensionMap() |
String |
getRuleTemplateId() |
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
boolean |
isRequired() |
void |
setActive(boolean active) |
void |
setDefaultValue(String defaultValue) |
void |
setDisplayOrder(Integer displayOrder) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setRequired(boolean required) |
void |
setRuleAttribute(ExtensionDefinition.Builder ruleAttribute) |
void |
setRuleExtensionMap(Map<String,String> ruleExtensionMap) |
void |
setRuleTemplateId(String ruleTemplateId) |
void |
setVersionNumber(Long versionNumber) |
public static RuleTemplateAttribute.Builder create(String ruleTemplateId, ExtensionDefinition.Builder ruleAttribute, boolean required, Integer displayOrder)
public static RuleTemplateAttribute.Builder create(RuleTemplateAttributeContract contract)
public RuleTemplateAttribute build()
ModelBuilder
build
in interface ModelBuilder
public String getDefaultValue()
getDefaultValue
in interface RuleTemplateAttributeContract
public String getRuleTemplateId()
getRuleTemplateId
in interface RuleTemplateAttributeContract
public boolean isRequired()
isRequired
in interface RuleTemplateAttributeContract
public Integer getDisplayOrder()
getDisplayOrder
in interface RuleTemplateAttributeContract
public ExtensionDefinition.Builder getRuleAttribute()
getRuleAttribute
in interface RuleTemplateAttributeContract
public Map<String,String> getRuleExtensionMap()
getRuleExtensionMap
in interface RuleTemplateAttributeContract
public String getId()
Identifiable
getId
in interface Identifiable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setDefaultValue(String defaultValue)
public void setRuleTemplateId(String ruleTemplateId)
public void setRequired(boolean required)
public void setDisplayOrder(Integer displayOrder)
public void setRuleAttribute(ExtensionDefinition.Builder ruleAttribute)
public void setRuleExtensionMap(Map<String,String> ruleExtensionMap)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.