Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
This has been discussed in the lists:
http://www.mail-archive.com/tuscany-user@ws.apache.org/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)