|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.formproc.config.AbstractFormConfiguration
Abstract implementation of the FormConfiguration interface which provides common base functionality.
Field Summary | |
protected boolean |
convertNullValues
|
protected java.util.List |
formElementGroupList
|
protected java.util.Map |
formElementGroups
|
protected java.util.List |
formElementList
|
protected java.util.Map |
formElements
|
protected java.lang.String |
name
|
protected boolean |
skipNullValues
|
protected boolean |
storeNullValues
|
protected Storer |
storer
|
protected TypeConverter |
typeConverter
|
protected boolean |
validateNullValues
|
protected Validator |
validator
|
Constructor Summary | |
AbstractFormConfiguration()
|
Method Summary | |
FormElement |
getFormElement(java.lang.String name)
Get the named FormElement. |
FormElementGroup |
getFormElementGroup(java.lang.String name)
Get the named FormElementGroup. |
java.util.List |
getFormElementGroups()
Return a non-mutable List of FormElementGroup objects in the same order as they appear in the form's configuration. |
java.util.List |
getFormElements()
Return a non-mutable List of FormElements in the same order as they appear in the form's configuration. |
java.lang.String |
getName()
Get the form name. |
Storer |
getStorer()
Get the default Storer. |
TypeConverter |
getTypeConverter()
Get the default TypeConverter. |
Validator |
getValidator()
Get the default Validator. |
boolean |
isConvertNullValues()
Return true to convert null values. |
boolean |
isSkipNullValues()
Return true to skip validation, conversion and storage of null values. |
boolean |
isStoreNullValues()
Return true to store null values. |
boolean |
isValidateNullValues()
Return true to validate null values. |
protected void |
setName(java.lang.String name)
Set the form name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map formElements
protected java.util.Map formElementGroups
protected java.util.List formElementList
protected java.util.List formElementGroupList
protected Validator validator
protected TypeConverter typeConverter
protected Storer storer
protected java.lang.String name
protected boolean skipNullValues
protected boolean validateNullValues
protected boolean convertNullValues
protected boolean storeNullValues
Constructor Detail |
public AbstractFormConfiguration()
Method Detail |
public java.lang.String getName()
getName
in interface FormConfiguration
protected void setName(java.lang.String name)
name
- The form namepublic Validator getValidator()
getValidator
in interface FormConfiguration
public TypeConverter getTypeConverter()
getTypeConverter
in interface FormConfiguration
public Storer getStorer()
getStorer
in interface FormConfiguration
public FormElement getFormElement(java.lang.String name)
getFormElement
in interface FormConfiguration
name
- The form element name
public FormElementGroup getFormElementGroup(java.lang.String name)
getFormElementGroup
in interface FormConfiguration
name
- The form element group name
public java.util.List getFormElements()
getFormElements
in interface FormConfiguration
public java.util.List getFormElementGroups()
getFormElementGroups
in interface FormConfiguration
public boolean isSkipNullValues()
isSkipNullValues
in interface FormConfiguration
public boolean isValidateNullValues()
isValidateNullValues
in interface FormConfiguration
public boolean isConvertNullValues()
isConvertNullValues
in interface FormConfiguration
public boolean isStoreNullValues()
isStoreNullValues
in interface FormConfiguration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |