| com.uwyn.rife.engine.annotations.SubmissionBeanProperty
SubmissionBeanProperty | public @interface SubmissionBeanProperty(Code) | | Declares that the bean property that corresponds to the annotated setter
will be used as a submission bean. The name of the bean will be the name of
the property, and the bean class will be the property type. The submission
bean will be added to the previous submission that has been declared.
If no submission has been declared beforehand, either through
Submission or
SubmissionHandler , an exception will be thrown when the
annotations of this element are evaluated.
When an element is processed, an instance of the submission bean will be
created and its properties will be filled in with the available submission
parameter values. The submission bean instance will be injected into the
element through the setter and RIFE's type conversion will try to convert the
bean type into the property type. A
com.uwyn.rife.engine.exceptions.NamedSubmissionBeanInjectionException exception will be thrown if the conversion failed.
author: Geert Bevin (gbevin[remove] at uwyn dot com) version: $Revision: 3687 $ since: 1.5 See Also: SubmissionBean See Also: Submission See Also: SubmissionHandler |
Field Summary | |
String | group The validation group that has been declared by the bean class.
This requires the bean class to implement the
com.uwyn.rife.site.ValidatedConstrained interface, either directly, or by extending
com.uwyn.rife.site.MetaData , or by using
automated meta data merging.
The group will indicate which bean properties should only be taken
into account. | String | name The expected name of the property.
This hasn't got any influence on the actual name that is being used
for the property, but is used instead to ensure that the property name
is the same as the one specified here. | String | prefix The prefix that will be prepended to each property name of the
submission bean when corresponding parameters are automatically
declared. |
name | String name(Code) | | The expected name of the property.
This hasn't got any influence on the actual name that is being used
for the property, but is used instead to ensure that the property name
is the same as the one specified here. This is typically used to create
a single point of declaration for the property name that can be
referenced elsewhere and that is ensured to be correct.
since: 1.6 |
prefix | String prefix(Code) | | The prefix that will be prepended to each property name of the
submission bean when corresponding parameters are automatically
declared.
since: 1.5 |
|
|