[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - An array of enumerated types using annotations

ijb do-not-reply at jboss.com
Wed Jan 16 19:21:43 EST 2008


Can anyone shed some light on how can one define an array of enumerated types? I need to map the following class:


  | public class Proto {
  | 	public enum TransportMethod {HTTP, HTTPS, TELNET, SSH};
  | 
  |         
  |         private Set<TransportMethod> methods = new HashSet<TransportMethod>(0);
  | ...getters and setters....
  | }
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120683#4120683

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120683



More information about the jboss-user mailing list