2008/10/17 Jared Rypka-Hauer <[EMAIL PROTECTED]> > > For a complete listing of the generated methods available in a > TransferObject, check this page: > http://docs.transfer-orm.com/wiki/Generated_Methods.cfm >
Yeah - I just wondered if there was some additional composite key generated methods as the getCompositeID() method isn't currently listed on there. > As for adding the relationship to both objects, I haven't ever seen > this work as expected... though maybe I'm misunderstanding something. Me neither... > > 3) Rework your object definitions to define one-to-many objects on > theme and book... that way you can call theme.getBookThemeArray() and > BookThemeArray[1].getParentBook() or .getParentTheme() from a book > theme. That should give you a nice clean path from book to theme and > still allow you to use each object independently as well. This is the way I'm going with this after reading Shawn's post and thinking it through. > The other serious suggestion I'd make is that you create one > decorator CFC per object (so you'd have contentObjects.Book, > contentObjects.BookTheme, and contentObjects.Theme) and then add > extends="contentObjects.BaseBean" to each of them, allowing you to > have a separate decorator class defined per object definition in the > Transfer config, and yet have a common ancestor for each that > contains all the things that are truly common across all beans (for > example, implementing your own Bean.save() method, not that I like > that idea, but it's a handy example). Having only one decorator class > will eventually get to be cumbersome... Yeah - I already do this. At the minute its very early stages of development, so rather than generate a bunch of empty beans which extend the base bean I just point to the basebean until I need additional functionality. Stephen --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
