// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.olio.data.object.assistant.rule; import java.util.List; // Referenced classes of package com.olio.data.object.assistant.rule: // SilenceNotificationsRule public class SilenceNotificationsRuleBuilder { private List categories; private List context; private boolean enabled; private List exceptions; private String id; private List remind; private long versionNumber; private SilenceNotificationsRuleBuilder() { versionNumber = 0L; } public static SilenceNotificationsRuleBuilder aSilenceNotificationsRule() { return new SilenceNotificationsRuleBuilder(); } public SilenceNotificationsRule build() { SilenceNotificationsRule silencenotificationsrule = new SilenceNotificationsRule(); silencenotificationsrule.setRemind(remind); silencenotificationsrule.setExceptions(exceptions); silencenotificationsrule.setCategories(categories); silencenotificationsrule.setContext(context); silencenotificationsrule.setEnabled(enabled); silencenotificationsrule.setObjectId(id); silencenotificationsrule.setVersionNumber(versionNumber); return silencenotificationsrule; } public SilenceNotificationsRuleBuilder but() { return aSilenceNotificationsRule().setReminders(remind).setExceptions(exceptions).setCategories(categories).setContext(context).setEnabled(enabled).setId(id).setVersionNumber(versionNumber); } public SilenceNotificationsRuleBuilder setCategories(List list) { categories = list; return this; } public SilenceNotificationsRuleBuilder setContext(List list) { context = list; return this; } public SilenceNotificationsRuleBuilder setEnabled(boolean flag) { enabled = flag; return this; } public SilenceNotificationsRuleBuilder setExceptions(List list) { exceptions = list; return this; } public SilenceNotificationsRuleBuilder setId(String s) { id = s; return this; } public SilenceNotificationsRuleBuilder setReminders(List list) { remind = list; return this; } public SilenceNotificationsRuleBuilder setVersionNumber(long l) { versionNumber = l; return this; } }