This is what you are looking for I believe: http://docs.transfer-orm.com/html/transferapi/transfer/com/Transfer.html#getObjectManager()
Mark On Sun, Sep 11, 2011 at 9:08 PM, Marc <marc.at.comp...@gmail.com> wrote: > Hi, > > I want to retrieve a list of all setters in a Transferobject. What I do is > this: > > <!--- > local.TO = The Transfer factory object > className= a valid classname > ---> > > <!--- Create a new domain object ---> > <cfset local.domainObject=local.TO.new(className)> > > <cfdump var="#local.domainObject#"> > <cfset local.domainObjectMetaData=GetMetaData(local.domainObject)> > <cfdump var="#local.domainObjectMetaData#"> > <cfdump var="#StructFind(local.domainObjectMetaData,'functions')#"> > <cfabort> > > <cfdump var="#local.domainObject#"> > This first dump gives a struct with a key "functions" ccontaining the > getters and setters I defined in the Transfer.xml. so if I defined there a > property "url" in the classname object, this struct contains a setUrl and a > getUrl function. > > <cfdump var="#local.domainObjectMetaData#"> > This second dump however, gives me a dump of the Transfer factory object, > not of the instantiated class I got in the previous dump. It contains a key > "functions" but the setters and getters from the instantiated class > (local.domainObjectMetaData) like getUrl and setUrl are gone. > > <cfdump var="#StructFind(local.domainObjectMetaData,'functions')#"> > This third dump is of no use for me since it does not contain the accessors > I am looking for. > > Is there a way to retrieve this information - the accessors of a > Transferobject? > > Marc > > -- > Before posting questions to the group please read: > > http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer > > Try out the new Transfer ORM Custom Google Search: > http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 > > You received this message because you are subscribed to the Google Groups > "transfer-dev" group. > To post to this group, send email to transfer-dev@googlegroups.com > To unsubscribe from this group, send email to > transfer-dev+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/transfer-dev?hl=en > -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com cf.Objective(ANZ) + Flex - Nov 17, 18 - Melbourne Australia http://www.cfobjective.com.au 2 Devs from Down Under Podcast http://www.2ddu.com/ -- Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer Try out the new Transfer ORM Custom Google Search: http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8 You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en