Index: Group.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-turbine/src/java/org/apache/turbine/services/intake/model/Group.java,v
retrieving revision 1.12.4.1
diff -u -r1.12.4.1 Group.java
--- Group.java  2001/05/07 03:05:29     1.12.4.1
+++ Group.java  2001/06/19 13:30:44
@@ -235,6 +235,19 @@
         return this;
     }
 
+
+
+    /**
+     * Gets a list of the names of the fields stored in this object.
+     *
+     * @return A String array containing the list of names.
+     */
+    public String[] getFieldNames(){
+       String nameList[] = new String[fieldsArray.length];
+       for(int i = 0; i < nameList.length; i++)
+           nameList[i] = fieldsArray[i].name;
+       return nameList;
+    }
     
 
     /**

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to