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