getter and setter for recurrence-type