X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.document.server.io%2Fsrc%2Forg%2Fsimantics%2Fdocument%2Fserver%2Fio%2FFileInfo.java;fp=bundles%2Forg.simantics.document.server.io%2Fsrc%2Forg%2Fsimantics%2Fdocument%2Fserver%2Fio%2FFileInfo.java;h=2fdb98276ee0783d615260bc612b0b2d984ce4fa;hp=65cb585f649a1fdc9676de76fdbd23aae3e86070;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.document.server.io/src/org/simantics/document/server/io/FileInfo.java b/bundles/org.simantics.document.server.io/src/org/simantics/document/server/io/FileInfo.java index 65cb585f6..2fdb98276 100644 --- a/bundles/org.simantics.document.server.io/src/org/simantics/document/server/io/FileInfo.java +++ b/bundles/org.simantics.document.server.io/src/org/simantics/document/server/io/FileInfo.java @@ -1,53 +1,53 @@ -/******************************************************************************* - * 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; - } - - - -} +/******************************************************************************* + * 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; + } + + + +}