|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.api.repository.proposition.PropositionParameter.Builder
public static class PropositionParameter.Builder
This builder is used to construct instances of PropositionParameter.
It enforces the constraints of the PropositionParameterContract.
| Method Summary | |
|---|---|
PropositionParameter |
build()
Builds an instance of a PropositionParameter based on the current state of the builder. |
static PropositionParameter.Builder |
create(PropositionParameterContract contract)
Creates a builder by populating it with data from the given PropositionParameterContract. |
static PropositionParameter.Builder |
create(String id,
String propId,
String value,
String parameterType,
Integer sequenceNumber)
|
String |
getId()
The unique identifier for an object. |
String |
getParameterType()
This is the type of the parameter. |
String |
getPropId()
This is the Id for the parent proposition. |
Integer |
getSequenceNumber()
This is the sequence number of the proposition parameter. |
String |
getValue()
This is the value of the proposition parameter |
Long |
getVersionNumber()
Returns the version number for this object. |
void |
setId(String id)
Sets the value of the id on this builder to the given value. |
void |
setParameterType(String parameterType)
|
void |
setPropId(String propId)
|
void |
setProposition(PropositionDefinition.Builder proposition)
|
void |
setSequenceNumber(Integer sequenceNumber)
|
void |
setValue(String value)
|
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 PropositionParameter.Builder create(String id,
String propId,
String value,
String parameterType,
Integer sequenceNumber)
public static PropositionParameter.Builder create(PropositionParameterContract contract)
PropositionParameterContract.
contract - the contract from which to populate this builder
public void setId(String id)
id - the id value to set, must not be null or blank
IllegalArgumentException - if the id is null or blankpublic void setPropId(String propId)
public void setValue(String value)
public void setParameterType(String parameterType)
public void setSequenceNumber(Integer sequenceNumber)
public void setProposition(PropositionDefinition.Builder proposition)
public void setVersionNumber(Long versionNumber)
public String getId()
Identifiable
getId in interface Identifiablepublic String getPropId()
PropositionParameterContractIt is the Id of the parent proposition.
getPropId in interface PropositionParameterContractpublic String getValue()
PropositionParameterContractIt is the value of the parameter
getValue in interface PropositionParameterContractpublic String getParameterType()
PropositionParameterContractIt identified the type of the parameter.
getParameterType in interface PropositionParameterContractpublic Integer getSequenceNumber()
PropositionParameterContract
getSequenceNumber in interface PropositionParameterContractpublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic PropositionParameter build()
build in interface ModelBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||