|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.api.repository.term.TermParameterDefinition.Builder
public static class TermParameterDefinition.Builder
Field Summary | |
---|---|
static BuilderUtils.Transformer<TermParameterDefinitionContract,TermParameterDefinition.Builder> |
toBuilder
|
Method Summary | |
---|---|
TermParameterDefinition |
build()
return a TermParameterDefinition instance constructed from this TermParameterDefinition.Builder |
static TermParameterDefinition.Builder |
create(String id,
String termId,
String name,
String value)
static factory to create a TermParameterDefinition.Builder from fields |
static TermParameterDefinition.Builder |
create(TermParameterDefinitionContract termParameterDefinition)
static factory to create a TermParameterDefinition.Builder from a TermParameterDefinitionContract |
String |
getId()
The unique identifier for an object. |
String |
getName()
|
String |
getTermId()
|
String |
getValue()
|
Long |
getVersionNumber()
Returns the version number for this object. |
void |
setId(String id)
|
void |
setName(String name)
|
void |
setTermId(String termId)
|
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 |
Field Detail |
---|
public static final BuilderUtils.Transformer<TermParameterDefinitionContract,TermParameterDefinition.Builder> toBuilder
Method Detail |
---|
public static TermParameterDefinition.Builder create(String id, String termId, String name, String value)
TermParameterDefinition.Builder
from fields
id
- must be null, or contain non-whitespacetermId
- must be null, or contain non-whitespacename
- must be non-nullvalue
- public static TermParameterDefinition.Builder create(TermParameterDefinitionContract termParameterDefinition)
TermParameterDefinition.Builder
from a TermParameterDefinitionContract
termParameterDefinition
- public void setId(String id)
id
- the id to set. for TermParameterDefinition
s used in creational
service methods, it must be null. Otherwise, it must be non-null and contain non-whitespace chars.
IllegalArgumentException
- if id is all whitespace charspublic void setTermId(String termId)
termId
- the termId to setpublic void setName(String name)
name
- the name to set. Must be non-null and contain non-whitespace chars.
IllegalArgumentException
- if name is null or is all whitespace charspublic void setValue(String value)
value
- the value to set. May be null or empty.public void setVersionNumber(Long versionNumber)
versionNumber
- the versionNumber to set. May be null.public String getId()
Identifiable
getId
in interface Identifiable
public String getTermId()
getTermId
in interface TermParameterDefinitionContract
public String getName()
getName
in interface TermParameterDefinitionContract
public String getValue()
getValue
in interface TermParameterDefinitionContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public TermParameterDefinition build()
TermParameterDefinition
instance constructed from this TermParameterDefinition.Builder
build
in interface ModelBuilder
ModelBuilder.build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |