1 package org.jahia.engines.filemanager; 2 3 import java.util.Date ; 4 5 9 public class FileEntry { 10 11 private String name; 12 private String contentType; 13 private long size; 14 private String owner; 15 private Date lastModified; 16 private boolean selectable; 17 18 public FileEntry (String name, String contentType, long size, String owner, 19 Date lastModified, boolean selectable) { 20 this.name = name; 21 this.contentType = contentType; 22 this.size = size; 23 this.owner = owner; 24 this.lastModified = lastModified; 25 this.selectable = selectable; 26 } 27 28 public String getName () { 29 return name; 30 } 31 32 public String getContentType () { 33 return contentType; 34 } 35 36 public long getSize () { 37 return size; 38 } 39 40 public String getOwner () { 41 return owner; 42 } 43 44 public boolean isSelectable () { 45 return selectable; 46 } 47 48 public Date getLastModified () { 49 return lastModified; 50 } 51 } 52 | Popular Tags |