There are 4 types of properties in JavaBeans:
1)Simple property
Simple properties are combined with a pair of GetXXX/SetXXX methods. If there exist a isX method,it is indicated that X is a boolean property
2) Indexed property
Indexed property is representative of an array. They also have setXXX/getXXX method to access items in the array or to the array as a whole.
3) Bound property
Bound property means it will notify other objects when it has been changed. whenever modified,it fires a PropertyChange event and passes is to other Beans so that other Beans can do accordingly.
4) Constrained property
modifiation of Constrained Property can be denied by objects combined with it.
1029

被折叠的 条评论
为什么被折叠?



