/******************************************************************************* * Copyright (c) 2014, 2016 Association for Decentralized * Information Management in Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the THTH Simantics * Division Member Component License which accompanies this * distribution, and is available at * http://www.simantics.org/legal/sdmcl-v10.html * * Contributors: * Semantum Oy - initial API and implementation *******************************************************************************/ package org.simantics.document.server.io; public class Content { private byte[] data; private String mimeType; private long lastModified; public Content(byte[] data, String mimeType, long lastModified) { this.data = data; this.mimeType = mimeType; this.lastModified = lastModified; } public byte[] getData() { return data; } public void setData(byte[] data) { this.data = data; } public String getMimeType() { return mimeType; } public void setMimeType(String mimeType) { this.mimeType = mimeType; } public long getLastModified() { return lastModified; } public void setLastModified(long lastModified) { this.lastModified = lastModified; } }