ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Different twist on complex properities
Date Thu, 23 Dec 2004 17:27:01 GMT

I was curious if anyone has used a Type Safe Enumeration as a complex 
property of a class.

I have a class Report that needs to have a property named Frequency.

In the database this is stored as a number.  (1-daily, 2-weekly ...)

But I would like to use a Type Safe Enumeration for this attribute in 
the class.  If anyone has any good ideas on how to accomplish this 
please let me know.


View raw message