// 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; import java.util.HashMap; import java.util.Map; // Referenced classes of package com.olio.data.object.assistant: // DisplayMapperSettingsBuilder, DisplayMapperSetting, CategoryDisplayMapperSettings, DisplayMapperSettings public class CategoryDisplayMapperSettingsBuilder extends DisplayMapperSettingsBuilder { private CategoryDisplayMapperSettingsBuilder() { } public static CategoryDisplayMapperSettingsBuilder aNotificationDisplayMapperSettingsCategories() { return new CategoryDisplayMapperSettingsBuilder(); } public DisplayMapperSettingsBuilder addSetting(DisplayMapperSetting displaymappersetting) { if (settingsMap == null) { settingsMap = new HashMap(); } settingsMap.put(displaymappersetting.getCategory().toTag(), displaymappersetting); return this; } public CategoryDisplayMapperSettings build() { CategoryDisplayMapperSettings categorydisplaymappersettings = new CategoryDisplayMapperSettings(); categorydisplaymappersettings.setDefaultSetting(defaultSetting); categorydisplaymappersettings.setSettingsMap(settingsMap); categorydisplaymappersettings.setVersionNumber(versionNumber); return categorydisplaymappersettings; } public volatile DisplayMapperSettings build() { return build(); } public CategoryDisplayMapperSettingsBuilder but() { return aNotificationDisplayMapperSettingsCategories().setDefaultSetting(defaultSetting).setSettingsMap(settingsMap); } public CategoryDisplayMapperSettingsBuilder setDefaultSetting(DisplayMapperSetting displaymappersetting) { defaultSetting = displaymappersetting; return this; } public volatile DisplayMapperSettingsBuilder setDefaultSetting(DisplayMapperSetting displaymappersetting) { return setDefaultSetting(displaymappersetting); } public CategoryDisplayMapperSettingsBuilder setSettingsMap(Map map) { settingsMap = map; return this; } public volatile DisplayMapperSettingsBuilder setSettingsMap(Map map) { return setSettingsMap(map); } }