|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.core.api.uif.RemotableAttributeField.Builder
public static final class RemotableAttributeField.Builder
Method Summary | |
---|---|
RemotableAttributeField |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static RemotableAttributeField.Builder |
create(AttributeField field)
|
static RemotableAttributeField.Builder |
create(String name)
|
RemotableAttributeLookupSettings.Builder |
getAttributeLookupSettings()
If this method returns a non-null value, it defines various settings for this attribute whenever it is used on a lookup. |
RemotableAbstractControl.Builder |
getControl()
The control associated with the attribute. |
DataType |
getDataType()
The dataType of the attribute. |
Collection<String> |
getDefaultValues()
The default values for the attribute. |
String |
getHelpConstraint()
The help constraint of the attribute. |
String |
getHelpDescription()
The help description of the attribute. |
String |
getHelpSummary()
The help summary of the attribute. |
String |
getLongLabel()
The long label of the attribute. |
Integer |
getMaxLength()
The inclusive maximum length of the attribute. |
Double |
getMaxValue()
The inclusive maximum value of the attribute. |
Integer |
getMinLength()
The inclusive minimum length of the attribute. |
Double |
getMinValue()
The inclusive minimum value of the attribute. |
String |
getName()
The name of the attribute. |
String |
getRegexConstraint()
The regex constraint to apply to the attribute field for validation. |
String |
getRegexContraintMsg()
The message to display if the regex constraint fails. |
String |
getShortLabel()
The short label of the attribute. |
Collection<RemotableAbstractWidget.Builder> |
getWidgets()
The widgets for the attribute. |
boolean |
isForceUpperCase()
Should the attribute always be in uppercase. |
boolean |
isRequired()
Whether the attribute is a required attribute. |
void |
setAttributeLookupSettings(RemotableAttributeLookupSettings.Builder attributeLookupSettings)
|
void |
setControl(RemotableAbstractControl.Builder control)
|
void |
setDataType(DataType dataType)
|
void |
setDefaultValues(Collection<String> defaultValues)
|
void |
setForceUpperCase(boolean forceUpperCase)
|
void |
setHelpConstraint(String helpConstraint)
|
void |
setHelpDescription(String helpDescription)
|
void |
setHelpSummary(String helpSummary)
|
void |
setLongLabel(String longLabel)
|
void |
setMaxLength(Integer maxLength)
|
void |
setMaxValue(Double maxValue)
|
void |
setMinLength(Integer minLength)
|
void |
setMinValue(Double minValue)
|
void |
setName(String name)
|
void |
setRegexConstraint(String regexConstraint)
|
void |
setRegexContraintMsg(String regexContraintMsg)
|
void |
setRequired(boolean required)
|
void |
setShortLabel(String shortLabel)
|
void |
setWidgets(Collection<RemotableAbstractWidget.Builder> widgets)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RemotableAttributeField.Builder create(String name)
public static RemotableAttributeField.Builder create(AttributeField field)
public String getName()
AttributeField
getName
in interface AttributeField
public void setName(String name)
public DataType getDataType()
AttributeField
getDataType
in interface AttributeField
public void setDataType(DataType dataType)
public String getShortLabel()
AttributeField
getShortLabel
in interface AttributeField
public void setShortLabel(String shortLabel)
public String getLongLabel()
AttributeField
getLongLabel
in interface AttributeField
public void setLongLabel(String longLabel)
public String getHelpSummary()
AttributeField
getHelpSummary
in interface AttributeField
public void setHelpSummary(String helpSummary)
public String getHelpConstraint()
AttributeField
getHelpConstraint
in interface AttributeField
public void setHelpConstraint(String helpConstraint)
public String getHelpDescription()
AttributeField
getHelpDescription
in interface AttributeField
public void setHelpDescription(String helpDescription)
public boolean isForceUpperCase()
AttributeField
isForceUpperCase
in interface AttributeField
public void setForceUpperCase(boolean forceUpperCase)
public Integer getMinLength()
AttributeField
getMinLength
in interface AttributeField
public void setMinLength(Integer minLength)
public Integer getMaxLength()
AttributeField
getMaxLength
in interface AttributeField
public void setMaxLength(Integer maxLength)
public Double getMinValue()
AttributeField
getMinValue
in interface AttributeField
public void setMinValue(Double minValue)
public Double getMaxValue()
AttributeField
getMaxValue
in interface AttributeField
public void setMaxValue(Double maxValue)
public String getRegexConstraint()
AttributeField
getRegexConstraint
in interface AttributeField
public void setRegexConstraint(String regexConstraint)
public String getRegexContraintMsg()
AttributeField
getRegexContraintMsg
in interface AttributeField
public void setRegexContraintMsg(String regexContraintMsg)
public boolean isRequired()
AttributeField
isRequired
in interface AttributeField
public void setRequired(boolean required)
public Collection<String> getDefaultValues()
AttributeField
getDefaultValues
in interface AttributeField
public void setDefaultValues(Collection<String> defaultValues)
public RemotableAttributeLookupSettings.Builder getAttributeLookupSettings()
AttributeField
getAttributeLookupSettings
in interface AttributeField
public void setAttributeLookupSettings(RemotableAttributeLookupSettings.Builder attributeLookupSettings)
public RemotableAbstractControl.Builder getControl()
AttributeField
getControl
in interface AttributeField
public void setControl(RemotableAbstractControl.Builder control)
public Collection<RemotableAbstractWidget.Builder> getWidgets()
AttributeField
getWidgets
in interface AttributeField
public void setWidgets(Collection<RemotableAbstractWidget.Builder> widgets)
public RemotableAttributeField build()
ModelBuilder
build
in interface ModelBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |