On Jun 13, 2005, at 5:50 PM, Gentry, Michael ((Contractor)) wrote:
> I think it would be interesting to have Cayenne Modeler or a
> standalone
> tool/template that could somehow be used to generate the enumeration
> classes from a template, since they are pretty cookie-cutter, if
> given a
> data source.
Well, as of now Modeler won't have enough information to create an
Enum class, as it wouldn't know all allowed values and their symbolic
names.
Actually Modeler support for custom ExtendedTypes is one of the
countless features that I am trying to keep track of. Enums is one
such type that we can support completely via modeler. I think we can
leverage the new class generator extensions that Mike is working on
("datamap" generation mode), but we need more than that to completely
automate it.
Andrus
This archive was generated by hypermail 2.0.0 : Mon Jun 13 2005 - 20:07:26 EDT