I am getting a problem in Marshalling a JavaBean. The
problem is one of its member variable is an Object of
another class, which is not a JavaBean.
For example:
Class A{
int i;
int j;
B b;
public A(int i, int j, B b) {
this.i= i;
this.j= j;
this.b= b;
}
//Getter and setter methods for all of them
-----
}
//Not a JavaBean
Class B {
}
Is this a problem. When I see my xml generated file
from Castor, I see no/null value of object "b". I am
not using any mapping.xml file. Are there any
alternatives for this.
Any help is appreciated.
Thanks,
Vid.
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev