// Collection of code snippets by Arne Vajhøj 
// (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) 
package demo;

import java.util.ArrayList;
import java.util.List;

public class Util {
    public static class Option {
        private String label;
        private String value;
        public Option() {
            this("", "");
        }
        public Option(String label, String value) {
            this.label = label;
            this.value = value;
        }
        public String getLabel() {
            return label;
        }
        public void setLabel(String label) {
            this.label = label;
        }
        public String getValue() {
            return value;
        }
        public void setValue(String value) {
            this.value = value;
        }
    }
    // option list
    public static List<Option> getOptions() {
        List<Option> res = new ArrayList<Option>();
        res.add(new Option("", ""));
        res.add(new Option(T1.VER, T1.VER));
        res.add(new Option(T1.NOTVER, T1.NOTVER));
        return res;
    }
}
