Olivier Lefevre wrote: > Why don't *all* the BasicItem classes for which an info class exists > implement ToTransferable? E.g., Annotation (doesn't) vs. Experiment > (does). Just trying to understand the API.
With annotations there is no one-to-one relationship between Annotation and AnnotationInfo. A single AnnotationInfo object can collect values from multiple Annotations. This is because annotations can be inherited and an item can have multiple parents with different annotation values. > Also, is there a method somewhere connecting FooInfo classes to their > Foo and vice-versa, maybe along the lines of Item.getItemClass()? > For ToTransferable classes the toTransferable method or the type > parameter provide the link (although not quite in the desired way) > but for the others I draw a blank. No. /Nicklas ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ basedb-devel mailing list basedb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/basedb-devel