public static final class RuleTemplate.Builder extends Object implements Serializable, ModelBuilder, RuleTemplateContract
RuleTemplate
instances. Enforces the constraints of the RuleTemplateContract
.public static RuleTemplate.Builder create()
public static RuleTemplate.Builder create(RuleTemplateContract contract)
public RuleTemplate build()
ModelBuilder
build
in interface ModelBuilder
public String getName()
getName
in interface RuleTemplateContract
public String getDescription()
getDescription
in interface RuleTemplateContract
public RuleTemplate.Builder getDelegationTemplate()
getDelegationTemplate
in interface RuleTemplateContract
public List<RuleTemplateAttribute.Builder> getRuleTemplateAttributes()
getRuleTemplateAttributes
in interface RuleTemplateContract
public List<RuleTemplateOption.Builder> getRuleTemplateOptions()
getRuleTemplateOptions
in interface RuleTemplateContract
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 void setDescription(String description)
public void setDelegationTemplate(RuleTemplate.Builder delegationTemplate)
public void setRuleTemplateAttributes(List<RuleTemplateAttribute.Builder> ruleTemplateAttributes)
public void setRuleTemplateOptions(List<RuleTemplateOption.Builder> ruleTemplateOptions)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.