VMware Cloud Community
gkesoft
Contributor
Contributor

Model Driven archetype enumerations

Does anyone know how to add enumerated types using the modldriven maven archetype. I have used the abstractmapping enumerate method passing in the enum type but in the vso.xml it is created as an object and not an enumeration. Also in the API Explorer i can see the object as a "Type" and not as an "Enumerated Type" 

 

Thanks 

0 Kudos
1 Reply
iiliev
VMware Employee
VMware Employee

Hi,

I'm not very familiar with modeldriven framework, but (apart from how they appear in the documentation) is there a functional problem? I think the enumeration values should be accessible as read-only attributes, so you can use syntax line MyEnumClass.someenumvalue to work with the enumeration values.

0 Kudos