You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ni...@apache.org on 2005/02/20 18:59:01 UTC
svn commit: r154538 -
jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/IndexedTestBean.java
Author: niallp
Date: Sun Feb 20 09:59:00 2005
New Revision: 154538
URL: http://svn.apache.org/viewcvs?view=rev&rev=154538
Log:
Update JavaDocs
Modified:
jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/IndexedTestBean.java
Modified: jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/IndexedTestBean.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/IndexedTestBean.java?view=diff&r1=154537&r2=154538
==============================================================================
--- jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/IndexedTestBean.java (original)
+++ jakarta/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/IndexedTestBean.java Sun Feb 20 09:59:00 2005
@@ -36,53 +36,92 @@
// ----------------------------------------------------------- Constructors
+ /**
+ * Default Constructor.
+ */
public IndexedTestBean() {
}
+ /**
+ * Getter for the String[] property.
+ */
public String[] getStringArray() {
return stringArray;
}
+ /**
+ * Setter for the String[] property.
+ */
public void setStringArray(String[] stringArray) {
this.stringArray = stringArray;
}
+ /**
+ * Indexed Getter for the String[] property.
+ */
public String getStringArray(int index) {
return (String)stringArray[index];
}
+ /**
+ * Indexed Setter for the String[] property.
+ */
public void setStringArray(int index, String value) {
stringArray[index] = value;
}
+ /**
+ * Getter for the java.util.List property.
+ */
public List getStringList() {
return stringList;
}
+ /**
+ * Setter for the java.util.List property.
+ */
public void setStringList(List stringList) {
this.stringList = stringList;
}
+ /**
+ * Indexed Getter for the java.util.List property.
+ */
public String getStringList(int index) {
return (String)stringList.get(index);
}
+ /**
+ * Indexed Setter for the java.util.List property.
+ */
public void setStringList(int index, String value) {
stringList.add(index, value);
}
+ /**
+ * Getter for the java.util.ArrayList property.
+ */
public ArrayList getArrayList() {
return arrayList;
}
+ /**
+ * Setter for the java.util.ArrayList property.
+ */
public void setArrayList(ArrayList arrayList) {
this.arrayList = arrayList;
}
+ /**
+ * Indexed Getter for the java.util.ArrayList property.
+ */
public Object getArrayList(int index) {
return arrayList.get(index);
}
+ /**
+ * Indexed Setter for the java.util.ArrayList property.
+ */
public void setArrayList(int index, Object value) {
arrayList.add(index, value);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org