Keith Visco
Fri, 28 Jan 2005 12:38:06 -0800
Hi Paul,
See inline...
Keith,
I've tried this several times. I don't see a difference.
Builder properties file has:
org.exolab.castor.builder.javaclassmapping=type
The following class files are always built. I've checked and rechecked. The builder file is being picked up.
VehicleTitle, VehicleTitleDescriptor (top level element?) ok
Yep, ok...
Owner,OwnerDescriptor (2nd level element) don't want this, it's a Party Registrant, RegistrantDescriptor (2nd level element) don't want this, it's a Party
Party, PartyDescripter (ComplexType) ok Lien,LienDescriptor (ComplexType) ok
Lienholder, LienholderDescriptor (2nd level element) don't want this, it's a Party
Owner, Registrant, Lienholder are all derived from Party, so technically it is correct. But of course I'd like to be able to assign the same Party as both the owner and registrant, and this is not possible.
This scenario appears fairly common (to me I guess). Is there something I can do in the binding file to help this?
Oh, you're using a binding file?
defaultBindingType='element'
Let me know so I know if I need to look into this further.
Thanks,
--Keith