public void setCategoryPriorityValue(String newValue) { int pr=Integer.parseInt(newValue);
public void setCategoryPriorityValue(Integer newValue) { int pr=newValue!=null ? newValue.intValue() : -1;
    public void setCategoryPriorityValue(String newValue) {        int pr=Integer.parseInt(newValue);        category().setPriority(pr!=-1 ? Priority.toPriority(pr) : null);    }