public class

UploadResultImpl

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

Summary

Fields
private String errorInfo error information, if any.
private BoxFile file the box file object.
private boolean hasError true if any error occured.
Public Constructors
UploadResultImpl()
Public Methods
String getErrorInfo()
BoxFile getFile()
boolean isHasError()
void setErrorInfo(String errorInfo)
void setFile(BoxFile file)
void setHasError(boolean hasError)
[Expand]
Inherited Methods
From class java.lang.Object
From interface cn.com.believer.songyuanframework.openapi.storage.box.objects.UploadResult

Fields

private String errorInfo

error information, if any.

private BoxFile file

the box file object.

private boolean hasError

true if any error occured.

Public Constructors

public UploadResultImpl ()

Public Methods

public String getErrorInfo ()

Returns
  • the errorInfo

public BoxFile getFile ()

Returns
  • the file

public boolean isHasError ()

Returns
  • the hasError

public void setErrorInfo (String errorInfo)

Parameters
errorInfo The errorInfo to set

public void setFile (BoxFile file)

Parameters
file The file to set

public void setHasError (boolean hasError)

Parameters
hasError The hasError to set