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....
}