You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cgendreau edited this page Apr 5, 2013
·
2 revisions
Field name
In all processor implementations, you can specify a field name. This name represents the name of the field that store the value you want to process. This is used with the processBean(...) function to extract the raw value and store the processed value from your object. Your object must follow the JavaBean conventions and the name of the field must be the same in the 'in' object than the 'out' object. Note that if you only use the specific process function, the field name will not be used.
Error handling
All processor can support one or more error handling strategy. The possible strategies as defined in the ErrorHandlingModeEnum enum are : USE_NULL, USE_EMPTY or USE_ORIGINAL. This strategy is used to set the returning value when the incoming value can not be processed. For instance, if you ask the CountryProcessor to process "xyz", what do you want as returning value?