[jboss-user] [JBoss Seam] - Re: Enum in Seam

pete.muir@jboss.org do-not-reply at jboss.com
Fri Jun 29 05:54:15 EDT 2007


public enum TipoPoder {
  | 
  |     M("MANCOMUNADO"), S("SOLIDARIO");
  | 
  |    private String label;
  |    TipoPoder(String label){
  |       this.label = label;
  |    }
  |    public String getLabel(){
  |       return label;
  |    }
  | }

@Enumerated(STRING) TipoPoder tipoPoder;

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

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



More information about the jboss-user mailing list