public class

BoxAbstractFileImpl

extends Object
implements BoxAbstractFile
java.lang.Object
   ↳ cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.objects.BoxAbstractFileImpl

Summary

Fields
private long created created time.
private String id file id or folder id.
private boolean isFolder is it a file or folder.
private String keyword keyword.
private String name file name or folder name.
private boolean shared shared flag.
private long size size of file, folder is 0.
private List tags tags, BoxTag object list.
private long updated updated time.
Public Constructors
BoxAbstractFileImpl()
Public Methods
long getCreated()
String getId()
String getKeyword()
String getName()
long getSize()
List getTags()
long getUpdated()
boolean isFolder()
boolean isShared()
void setCreated(long created)
void setFolder(boolean isFolder)
void setId(String id)
void setKeyword(String keyword)
void setName(String name)
void setShared(boolean shared)
void setSize(long size)
void setTags(List tags)
void setUpdated(long updated)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface cn.com.believer.songyuanframework.openapi.storage.box.objects.BoxAbstractFile

Fields

private long created

created time.

private String id

file id or folder id.

private boolean isFolder

is it a file or folder.

private String keyword

keyword.

private String name

file name or folder name.

private boolean shared

shared flag.

private long size

size of file, folder is 0.

private List tags

tags, BoxTag object list.

private long updated

updated time.

Public Constructors

public BoxAbstractFileImpl ()

Public Methods

public long getCreated ()

Returns
  • the created

public String getId ()

Returns
  • the id

public String getKeyword ()

Returns
  • the keyword

public String getName ()

Returns
  • the name

public long getSize ()

Returns
  • the size

public List getTags ()

Returns
  • the tags

public long getUpdated ()

Returns
  • the updated

public boolean isFolder ()

Returns
  • the isFolder

public boolean isShared ()

Returns
  • the shared

public void setCreated (long created)

Parameters
created The created to set

public void setFolder (boolean isFolder)

Parameters
isFolder The isFolder to set

public void setId (String id)

Parameters
id The id to set

public void setKeyword (String keyword)

Parameters
keyword The keyword to set

public void setName (String name)

Parameters
name The name to set

public void setShared (boolean shared)

Parameters
shared The shared to set

public void setSize (long size)

Parameters
size The size to set

public void setTags (List tags)

Parameters
tags The tags to set

public void setUpdated (long updated)

Parameters
updated The updated to set

public String toString ()

Returns
  • string.