hi..

i wonder if there is some hint to bypass the fact that castor cant map 
abstract classes (without declaring my abstract classes not abstract) ?
for instance example below wont work because castor cant see the inherited 
method (getFoo() and setFoo()):

================================
abstract class A {
  int foo;
  public int getFoo(){
    return foo;
  }
  public void setFoo(int f){
    foo = f;
  }
  //...
}
class B extends A {
  int bar;
  //getter and setter for bar
  //...
  //implementation of the abstract classes
  //...
}
=====================================
<mapping>
<class name="B">
  <!-- ... -->
  <field name="foo" type="integer">
    <sql name="FOO" />
  </field>
  <!-- ... -->
</mapping>
=====================================

thx for your help !



_________________________________________________________________
T�l�chargez MSN Explorer gratuitement � l'adresse 
http://explorer.msn.fr/intl.asp

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to