public static final class RuleTemplateOption.Builder extends Object implements Serializable, ModelBuilder, RuleTemplateOptionContract
RuleTemplateOption
instances. Enforces the constraints of the RuleTemplateOptionContract
.Modifier and Type | Method and Description |
---|---|
RuleTemplateOption |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static RuleTemplateOption.Builder |
create() |
static RuleTemplateOption.Builder |
create(RuleTemplateOptionContract contract) |
String |
getCode() |
String |
getId()
The unique identifier for an object.
|
String |
getRuleTemplateId() |
String |
getValue() |
Long |
getVersionNumber()
Returns the version number for this object.
|
void |
setCode(String code) |
void |
setId(String id) |
void |
setRuleTemplateId(String ruleTemplateId) |
void |
setValue(String value) |
void |
setVersionNumber(Long versionNumber) |
public static RuleTemplateOption.Builder create()
public static RuleTemplateOption.Builder create(RuleTemplateOptionContract contract)
public RuleTemplateOption build()
ModelBuilder
build
in interface ModelBuilder
public String getValue()
getValue
in interface RuleTemplateOptionContract
public String getRuleTemplateId()
getRuleTemplateId
in interface RuleTemplateOptionContract
public String getCode()
getCode
in interface RuleTemplateOptionContract
public String getId()
Identifiable
getId
in interface Identifiable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setRuleTemplateId(String ruleTemplateId)
public void setVersionNumber(Long versionNumber)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.