// 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.unit; import com.olio.communication.messages.files.FileMetadata; // Referenced classes of package com.olio.data.object.unit: // FirmwareProfile public class FirmwareProfileBuilder { FileMetadata fileMetadata; String localDirectory; String name; int status; String version; private FirmwareProfileBuilder() { } public static FirmwareProfileBuilder aFirmwareProfile() { return new FirmwareProfileBuilder(); } public FirmwareProfile build() { FirmwareProfile firmwareprofile = new FirmwareProfile(); firmwareprofile.setFileMetadata(fileMetadata); firmwareprofile.setName(name); firmwareprofile.setVersion(version); firmwareprofile.setStatus(status); firmwareprofile.setLocalDirectory(localDirectory); return firmwareprofile; } public FirmwareProfileBuilder but() { return aFirmwareProfile().setFileMetadata(fileMetadata).setName(name).setVersion(version).setStatus(status).setLocalDirectory(localDirectory); } public FirmwareProfileBuilder setFileMetadata(FileMetadata filemetadata) { fileMetadata = filemetadata; return this; } public FirmwareProfileBuilder setLocalDirectory(String s) { localDirectory = s; return this; } public FirmwareProfileBuilder setName(String s) { name = s; return this; } public FirmwareProfileBuilder setStatus(int i) { status = i; return this; } public FirmwareProfileBuilder setVersion(String s) { version = s; return this; } }