Armin - that works fine, but if I have two "inverse-foreignkey" attributes with a custom attribute for each, the collection descriptor only stores the last one because they have the same name.
--B



Armin Waibel wrote:

Bobby Lawrence wrote:

Hello all -
I put some custom attributes in the "inverse-foreignkey" element of a collection descriptor.
How do I get at these values? For some reason, the API doesn't give me the ability to get at them....maybe I'm doing it wrong...



Lookup the CollectionDescriptor instance from the ClassDescriptor (e.g. by field name) and call
String value = cds.getAttribute("myAttribute");


regards,
Armin

--Bobby





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




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


-- ---------------------------- Bobby Lawrence MIS Application Developer

Jefferson Lab (www.jlab.org)

Email: [EMAIL PROTECTED]
Office: (757) 269-5818
Pager: (757) 584-5818
----------------------------





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



Reply via email to