gboat2.base.bridge.model
类 ResultObject

java.lang.Object
  继承者 gboat2.base.bridge.model.ResultObject
所有已实现的接口:
Serializable
直接已知子类:
JsonResult

public class ResultObject
extends Object
implements Serializable

返回到前台的输出结果 JavaBean

从以下版本开始:
2.1.2
作者:
何明旺
另请参见:
序列化表格

构造方法摘要
ResultObject()
           
ResultObject(boolean success)
           
ResultObject(boolean success, String message)
           
ResultObject(boolean success, String message, Object data)
           
 
方法摘要
 Object getData()
           
 String getMessage()
           
 boolean isSuccess()
           
 void setData(Object data)
           
 void setMessage(String message)
           
 void setSuccess(boolean success)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ResultObject

public ResultObject()

ResultObject

public ResultObject(boolean success)

ResultObject

public ResultObject(boolean success,
                    String message)

ResultObject

public ResultObject(boolean success,
                    String message,
                    Object data)
方法详细信息

isSuccess

public boolean isSuccess()

setSuccess

public void setSuccess(boolean success)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

getData

public Object getData()

setData

public void setData(Object data)


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.