package massone.web.common;

import java.io.Serializable;

/**
 * MultipartContent
 *
 * &copy; 2002-2003 MassOne Mobile Advertising Systems Ltd<br>
 *
 * @author Aapo Laakkonen
 * @version $Revision: 1.2 $
 */
public class MultipartContent implements Serializable {

    private String name;
    private String contentType;
    private byte[] content;
    private int size;
    private String fileSystemName;

    public MultipartContent() {
    }

    public MultipartContent(String name, String contentType, byte[] content, int size, String fileSystemName) {
        this.name = name;
        this.contentType = contentType;
        this.content = content;
        this.size = size;
        this.fileSystemName = fileSystemName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getFileSystemName() {
        return fileSystemName;
    }

    public void setFileSystemName(String fileSystemName) {
        this.fileSystemName = fileSystemName;
    }

}
