[
https://issues.apache.org/jira/browse/TUSCANY-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amita Vadhavkar updated TUSCANY-1360:
-------------------------------------
Fix Version/s: (was: Java-SDO-Next)
Java-SDO-1.1
> New SDOUtil: Getting the enumeration facet
> ------------------------------------------
>
> Key: TUSCANY-1360
> URL: https://issues.apache.org/jira/browse/TUSCANY-1360
> Project: Tuscany
> Issue Type: Wish
> Components: Java SDO Tools
> Reporter: Christian Landbo Frederiksen
> Assignee: Amita Vadhavkar
> Priority: Minor
> Fix For: Java-SDO-1.1
>
> Attachments: 1360-Amita.patch, 1360-Frank.patch
>
>
> This has been discussed in the lists:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg01095.html
> I do this:
> public static List<String> getEnumerationFacet(Type type) {
> return
> ExtendedMetaData.INSTANCE.getEnumerationFacet((EDataType)type);
> }
> Kelvin suggested another way
> I think you should be able to do
> type.getInstanceProperties() and find the Property called "enumeration".
> Then you can get the enumerations using that Property.
> (see MetaDataInstancePropertiesTestCase [2])
> Having this encapsuled by the SDOUtil would be cool (but maybe overkill - you
> decide)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]