cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.objects
Class UploadResultImpl

java.lang.Object
  extended by cn.com.believer.songyuanframework.openapi.storage.box.impl.simple.objects.UploadResultImpl
All Implemented Interfaces:
UploadResult

public class UploadResultImpl
extends java.lang.Object
implements UploadResult

Author:
Jimmy

Constructor Summary
UploadResultImpl()
           
 
Method Summary
 java.lang.String getErrorInfo()
           
 BoxFile getFile()
           
 boolean isHasError()
           
 void setErrorInfo(java.lang.String errorInfo)
           
 void setFile(BoxFile file)
           
 void setHasError(boolean hasError)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadResultImpl

public UploadResultImpl()
Method Detail

getFile

public BoxFile getFile()
Specified by:
getFile in interface UploadResult
Returns:
the file

setFile

public void setFile(BoxFile file)
Specified by:
setFile in interface UploadResult
Parameters:
file - the file to set

getErrorInfo

public java.lang.String getErrorInfo()
Specified by:
getErrorInfo in interface UploadResult
Returns:
the errorInfo

setErrorInfo

public void setErrorInfo(java.lang.String errorInfo)
Specified by:
setErrorInfo in interface UploadResult
Parameters:
errorInfo - the errorInfo to set

isHasError

public boolean isHasError()
Specified by:
isHasError in interface UploadResult
Returns:
the hasError

setHasError

public void setHasError(boolean hasError)
Specified by:
setHasError in interface UploadResult
Parameters:
hasError - the hasError to set