Hello Daniel,

> -----Original Message-----

> A quick question regarding inherritance (assuming I[beanname] 
> are interfaces
> to bean properties):
> Job extends BaseBO.
> BaseBO implements IBaseBO.
> IJob only interfaces the extra methods in Job over BaseBO.
> 
> OJB doesnt know about the inherritance (ie it knows nothing 
> about BaseBO).

That is fine.  But make sure that the class-descriptor 
of Job also has field-descriptors for the fields in BaseBO.

> getId is only interfaced in IBaseBO.  Do i need to do anything more?
> eg...
> Should IJob extend IBaseBO?

Probably yes, because otherwise you cannot call method getId
on a variable declared as IJob.

> Should Job implement IBaseBO?

It does (indirectly) because it extends BaseBO which 
in turn implements IBaseBO.  That will do.

HTH,
  Olli

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

Reply via email to