The metadata API does not seem to provide a way to get to the value in the meta element.
<property name="state" type="string">
<meta attribute="displayWidget">dropDown</meta>
</property>
I would like to get the name-value pair for the above meta element for the "state" property. Is there a way to do this?
Basically, I want to use the mapping file to also hold other configuration data, in this case, I want to display the state as a drop-down list. Since the DTD does not restrict the attribute values for the meta element, I can legally extend it's use in this manner but I want to get to it using the Hibernate API. Is there a way?
Thanks
|