How do I define an indexed JavaBeans property?

John Zukowski

Indexed properties support indexed, multi-valued collection. The index must be an integer, and the following accessor naming pattern defines an indexed property:

public void setXXX(int index, TYPE value)
public TYPE getXXX(int index)
public void setXXX(TYPE values[])
public TYPE[] getXXX();
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact