Method chaining works best for the creation of simple data objects, yet here I'm using it both for the setter methods on Appointment and in AppointmentCalendar to start the method chain.
方法链接对于简单数据对象的创建最有效,但是这里我同时为Appointment上和AppointmentCalendar中的setter方法启用方法链接。
In the update model values phase, the setter methods on the CD are invoked with the converted and validated values stored in the GUI components.
在更新模型值的阶段中,会使用保存在GUI组件中的经过转换和有效性验证的值来调用CD的赋值方法。
You can then view the run time exceptions created when you attempt to execute the setter methods on the EJB.
当您试图运行EJB的setter方法时,就可以看到由此引起的运行时异常。
应用推荐