* Implementation of Builder interface
*/
@Override
public LocalDatePicker build()
{
LocalDatePicker lLocalDatePicker = new LocalDatePicker();
if (locale != null) {
lLocalDatePicker.setLocale(locale);
}
if (localDate != null) {
lLocalDatePicker.setLocalDate(localDate);
}
if (displayedLocalDate != null) {
lLocalDatePicker.setDisplayedLocalDate(displayedLocalDate);
}
if (mode != null) {
lLocalDatePicker.setMode(mode);
}
if (allowNull != null) {
lLocalDatePicker.setAllowNull(allowNull);
}
applyCommonProperties(lLocalDatePicker);
return lLocalDatePicker;
}