org.benjp.bean
Class File

java.lang.Object
  extended by org.benjp.bean.File
All Implemented Interfaces:
Comparable<File>

public class File
extends Object
implements Comparable<File>


Constructor Summary
File()
           
 
Method Summary
 int compareTo(File file)
           
 String getCreatedDate()
           
 Date getCreatedDateAsDate()
           
 String getName()
           
 String getOwner()
           
 String getPath()
           
 String getPublicUrl()
           
 String getRestPath()
           
 Long getSize()
           
 String getSizeLabel()
           
 String getUuid()
           
 void setCreatedDate(Calendar createdDate)
           
 void setName(String name)
           
 void setOwner(String owner)
           
 void setPath(String path)
           
 void setPublicUrl(String publicUrl)
           
 void setSize(Long size)
           
 void setSizeLabel(String sizeLabel)
           
 void setUuid(String uuid)
           
 String toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

File

public File()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getCreatedDateAsDate

public Date getCreatedDateAsDate()

getCreatedDate

public String getCreatedDate()

setCreatedDate

public void setCreatedDate(Calendar createdDate)

getSizeLabel

public String getSizeLabel()

setSizeLabel

public void setSizeLabel(String sizeLabel)

getRestPath

public String getRestPath()

getPath

public String getPath()

setPath

public void setPath(String path)

getUuid

public String getUuid()

setUuid

public void setUuid(String uuid)

getPublicUrl

public String getPublicUrl()

setPublicUrl

public void setPublicUrl(String publicUrl)

getSize

public Long getSize()

setSize

public void setSize(Long size)

getOwner

public String getOwner()

setOwner

public void setOwner(String owner)

compareTo

public int compareTo(File file)
Specified by:
compareTo in interface Comparable<File>

toJSON

public String toJSON()


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.