|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krms.api.repository.BaseAttribute.Builder
org.kuali.rice.krms.api.repository.term.TermResolverAttribute.Builder
public static class TermResolverAttribute.Builder
This builder is used to construct instances of TermResolverAttribute.
| Field Summary | |
|---|---|
static BuilderUtils.Transformer<TermResolverAttributeContract,TermResolverAttribute.Builder> |
toBuilder
BuilderUtils.Transformer to ease converting lists of contracts to Builders |
| Method Summary | |
|---|---|
TermResolverAttribute.Builder |
attributeDefinition(KrmsAttributeDefinition.Builder attributeDefinition)
|
TermResolverAttribute |
build()
Builds an instance of a ActionAttribute based on the current state of the builder. |
static TermResolverAttribute.Builder |
create(String id,
String termResolverId,
String attributeDefinitionId,
String value)
Creates a builder from the given parameters. |
static TermResolverAttribute.Builder |
create(TermResolverAttributeContract contract)
|
String |
getTermResolverId()
This is the id of the TermResolver to which the attribute applies |
void |
setTermResolverId(String termResolverId)
|
| Methods inherited from class org.kuali.rice.krms.api.repository.BaseAttribute.Builder |
|---|
getAttributeDefinition, getAttributeDefinitionId, getId, getValue, setAttributeDefinition, setAttributeDefinitionId, setId, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.kuali.rice.krms.api.repository.BaseAttributeContract |
|---|
getAttributeDefinition, getAttributeDefinitionId, getId, getValue |
| Field Detail |
|---|
public static final BuilderUtils.Transformer<TermResolverAttributeContract,TermResolverAttribute.Builder> toBuilder
BuilderUtils.Transformer to ease converting lists of contracts to Builders
| Method Detail |
|---|
public TermResolverAttribute.Builder attributeDefinition(KrmsAttributeDefinition.Builder attributeDefinition)
public static TermResolverAttribute.Builder create(String id,
String termResolverId,
String attributeDefinitionId,
String value)
id - the ActionAtribute idactionId - the Action IdattributeDefinitionId - The attributeDefinitionIdvalue -
IllegalArgumentException - if the either the id, name or namespace is null or blankpublic static TermResolverAttribute.Builder create(TermResolverAttributeContract contract)
public void setTermResolverId(String termResolverId)
public String getTermResolverId()
TermResolverAttributeContractIt is a id of a TermResolver related to the attribute.
getTermResolverId in interface TermResolverAttributeContractpublic TermResolverAttribute build()
build in interface ModelBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||