1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 Association for Decentralized
3 * Information Management in Industry THTH ry.
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the THTH Simantics
6 * Division Member Component License which accompanies this
7 * distribution, and is available at
8 * http://www.simantics.org/legal/sdmcl-v10.html
11 * Semantum Oy - initial API and implementation
12 *******************************************************************************/
13 package org.simantics.document.server.io;
15 public class FileInfo {
18 private String content;
19 private boolean canModify;
20 private Long resourceId;
21 private Long creationTimeMillis;
23 public FileInfo(String name, String content, Long resourceId, Long creationTimeMillis, boolean canModify) {
25 this.content = content;
26 this.canModify = canModify;
27 this.resourceId = resourceId;
28 this.creationTimeMillis = creationTimeMillis;
31 public String getName() {
35 public String getContent() {
39 public boolean canModify() {
43 public Long getResourceId() {
47 public Long getCreationTimeMillis() {
48 return creationTimeMillis;