Date: 2004-10-27T05:40:03
   Editor: HansHülf <[EMAIL PROTECTED]>
   Wiki: DB Torque Wiki
   Page: HarderTorqueFaq
   URL: http://wiki.apache.org/db-torque/HarderTorqueFaq

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -170,7 +170,7 @@
 
 There is a simple solution for creating all the BeanInfo classes for all Tables 
without too much overhead.
 
-First, create an abstract base class. This base class constructs the property 
descriptor array from the getFields() method. The getTheClass() method provides the 
class of your concrete Table class derived from BaseObject.
+First, create an abstract base class. This base class constructs the property 
descriptor array from the 'getFields()' method. The method 'getTheClass()' provides 
the class of your concrete Table class derived from BaseObject.
 
 {{{
 
@@ -184,10 +184,10 @@
  */
 public abstract class TorqueBeanInfo extends SimpleBeanInfo {
 
-       abstract protected Class getTheClass();
-       abstract protected Collection getFields();
+    abstract protected Class getTheClass();
+    abstract protected Collection getFields();
        
-       public PropertyDescriptor[] getPropertyDescriptors()
+    public PropertyDescriptor[] getPropertyDescriptors()
     {
             try {
                        PropertyDescriptor[] pdar = new 
PropertyDescriptor[getFields().size()];
@@ -196,7 +196,7 @@
                            String field = (String) it.next();
                            PropertyDescriptor pd = new PropertyDescriptor(field, 
getTheClass());
                            pdar[i]=pd;
-                                       }
+                       }
                        
                        return pdar;
                        

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

Reply via email to