|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.api.rule.RuleTemplateAttribute.Builder
public static final class RuleTemplateAttribute.Builder
A builder which can be used to construct RuleTemplateAttribute
instances. Enforces the constraints of the RuleTemplateAttributeContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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 setId(String id)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |