/******************************************************************************* * Copyright (c) 2013, 2014 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 FileInfo { private String name; private String content; private boolean canModify; private Long resourceId; private Long creationTimeMillis; public FileInfo(String name, String content, Long resourceId, Long creationTimeMillis, boolean canModify) { this.name = name; this.content = content; this.canModify = canModify; this.resourceId = resourceId; this.creationTimeMillis = creationTimeMillis; } public String getName() { return name; } public String getContent() { return content; } public boolean canModify() { return canModify; } public Long getResourceId() { return resourceId; } public Long getCreationTimeMillis() { return creationTimeMillis; } }