use of net.fortuna.ical4j.model.parameter.StayInformed in project bw-calendar-engine by Bedework.
the class IcalUtil method getVoter.
/**
* @param cb IcalCallback object
* @param vProp
* @return BwAttendee
* @throws Throwable
*/
public static BwAttendee getVoter(final IcalCallback cb, final Voter vProp) throws Throwable {
ParameterList pars = vProp.getParameters();
BwAttendee att = initAttendeeVoter(cb, vProp.getValue(), pars);
att.setType(BwAttendee.typeVoter);
Parameter par = pars.getParameter("STAY-INFORMED");
if (par != null) {
att.setStayInformed(((StayInformed) par).getStayInformed().booleanValue());
}
return att;
}
Aggregations