|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.FormConfiguration.FormFieldConfiguration
public static class FormConfiguration.FormFieldConfiguration
A configuration for a form field.
| Constructor Summary | |
|---|---|
protected |
FormConfiguration.FormFieldConfiguration()
The default constructor. |
|
FormConfiguration.FormFieldConfiguration(java.lang.String n,
boolean f,
java.lang.String e)
The constructor that sets the name, the required-flag and the regular expression. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the form field. |
java.lang.String |
getRegularExpression()
Returns the regular expression used to validate the value for the form field. |
boolean |
isRequired()
Returns the required-flag indicating whether the form field needs to be set. |
protected void |
setName(java.lang.String n)
Sets the name of the form field. |
protected void |
setRegularExpression(java.lang.String e)
Sets the regular expression used to validate the value for the form field. |
protected void |
setRequired(boolean f)
Sets the required-flag indicating whether the form field needs to be set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FormConfiguration.FormFieldConfiguration()
public FormConfiguration.FormFieldConfiguration(java.lang.String n,
boolean f,
java.lang.String e)
n - the name to setf - the required-flag to sete - the regular expression to set| Method Detail |
|---|
public final java.lang.String getName()
getName in interface INamedprotected final void setName(java.lang.String n)
n - the name to setpublic final boolean isRequired()
protected final void setRequired(boolean f)
f - the required-flag to setpublic final java.lang.String getRegularExpression()
protected final void setRegularExpression(java.lang.String e)
e - the regular expression to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||