users@glassfish.java.net

Finding sub entities

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Sep 2008 10:52:21 PDT

I have an abstract class called Location that implements Entity. I also have a few Entity-implementing classes called Land, Province, Region, City, etc. that extend Location. No when a user wants to create a new location, I want to show him a list of all those extensions. I could just hard code it all, but that would mean that any time I create a new entity, I have to update one or more classes.
[Message sent by forum member 'diederick76' (diederick76)]

http://forums.java.net/jive/thread.jspa?messageID=301342