|
||||||||||
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 | |
---|---|
void |
addToDefaultValues(String defaultValue)
|
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(RemotableAttributeFieldContract 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. |
String |
getConstraintText()
The help constraint of the attribute. |
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 |
getFormatterName()
The name of the formatter |
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 |
setConstraintText(String helpConstraint)
|
void |
setControl(RemotableAbstractControl.Builder control)
|
void |
setDataType(DataType dataType)
|
void |
setDefaultValues(Collection<String> defaultValues)
|
void |
setForceUpperCase(boolean forceUpperCase)
|
void |
setFormatterName(String formatterName)
|
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(RemotableAttributeFieldContract field)
public String getName()
RemotableAttributeFieldContract
getName
in interface RemotableAttributeFieldContract
public void setName(String name)
public DataType getDataType()
RemotableAttributeFieldContract
getDataType
in interface RemotableAttributeFieldContract
public void setDataType(DataType dataType)
public String getShortLabel()
RemotableAttributeFieldContract
getShortLabel
in interface RemotableAttributeFieldContract
public void setShortLabel(String shortLabel)
public String getLongLabel()
RemotableAttributeFieldContract
getLongLabel
in interface RemotableAttributeFieldContract
public void setLongLabel(String longLabel)
public String getHelpSummary()
RemotableAttributeFieldContract
getHelpSummary
in interface RemotableAttributeFieldContract
public void setHelpSummary(String helpSummary)
public String getConstraintText()
RemotableAttributeFieldContract
getConstraintText
in interface RemotableAttributeFieldContract
public void setConstraintText(String helpConstraint)
public String getHelpDescription()
RemotableAttributeFieldContract
getHelpDescription
in interface RemotableAttributeFieldContract
public void setHelpDescription(String helpDescription)
public boolean isForceUpperCase()
RemotableAttributeFieldContract
isForceUpperCase
in interface RemotableAttributeFieldContract
public void setForceUpperCase(boolean forceUpperCase)
public Integer getMinLength()
RemotableAttributeFieldContract
getMinLength
in interface RemotableAttributeFieldContract
public void setMinLength(Integer minLength)
public Integer getMaxLength()
RemotableAttributeFieldContract
getMaxLength
in interface RemotableAttributeFieldContract
public void setMaxLength(Integer maxLength)
public Double getMinValue()
RemotableAttributeFieldContract
getMinValue
in interface RemotableAttributeFieldContract
public void setMinValue(Double minValue)
public Double getMaxValue()
RemotableAttributeFieldContract
getMaxValue
in interface RemotableAttributeFieldContract
public void setMaxValue(Double maxValue)
public String getRegexConstraint()
RemotableAttributeFieldContract
getRegexConstraint
in interface RemotableAttributeFieldContract
public void setRegexConstraint(String regexConstraint)
public String getRegexContraintMsg()
RemotableAttributeFieldContract
getRegexContraintMsg
in interface RemotableAttributeFieldContract
public void setRegexContraintMsg(String regexContraintMsg)
public String getFormatterName()
RemotableAttributeFieldContract
getFormatterName
in interface RemotableAttributeFieldContract
public void setFormatterName(String formatterName)
public boolean isRequired()
RemotableAttributeFieldContract
isRequired
in interface RemotableAttributeFieldContract
public void setRequired(boolean required)
public Collection<String> getDefaultValues()
RemotableAttributeFieldContract
getDefaultValues
in interface RemotableAttributeFieldContract
public void setDefaultValues(Collection<String> defaultValues)
public void addToDefaultValues(String defaultValue)
public RemotableAttributeLookupSettings.Builder getAttributeLookupSettings()
RemotableAttributeFieldContract
getAttributeLookupSettings
in interface RemotableAttributeFieldContract
public void setAttributeLookupSettings(RemotableAttributeLookupSettings.Builder attributeLookupSettings)
public RemotableAbstractControl.Builder getControl()
RemotableAttributeFieldContract
getControl
in interface RemotableAttributeFieldContract
public void setControl(RemotableAbstractControl.Builder control)
public Collection<RemotableAbstractWidget.Builder> getWidgets()
RemotableAttributeFieldContract
getWidgets
in interface RemotableAttributeFieldContract
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 |