cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Generalized DB editor
Date Mon, 14 Apr 2008 15:54:03 GMT

On Apr 14, 2008, at 6:51 PM, Scott Anderson wrote:

> Looks like a cast to ObjEntity is in order. Out of curiosity, is  
> there a
> reason that ObjRelationship.getTargetEntity() returns an Entity and  
> not
> an ObjEntity? The JavaDoc seems to indicate it always returns an
> ObjEntity.

Poor choice of inheritance (ObjRelationship and DbRelationship both  
inherit from a common superclass).

Andrus


Mime
View raw message