用给定的名称、特性和字段类型,向类型中添加新字段。
Adds a new field to the type, with the given name, attributes, and field type.
可以做的更新有两种:更改现有字段值;添加新字段和新值。
You can make two different kinds of updates: by making changes to existing field values or by adding new fields with their own values.
如果向Bean中添加新字段,则需要添加另外三行代码进行初始化以及在GUI组件和域模型实现双向同步。
If a new field is added to the bean, there are three more lines to add for initialization and synchronization in each direction between the GUI components and domain model.
应用推荐