io.bitexpress.topia.commons.rpc.MapResultResponse Maven / Gradle / Ivy
package io.bitexpress.topia.commons.rpc;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Map;
/**
* 包含处理数据的响应组件
*
* @param
* @param
* @author shenyue
* @see io.bitexpress.topia.commons.rpc.response.MapBodyResponse
* @deprecated
*/
@Deprecated
public class MapResultResponse extends BaseResponse {
/**
* 返回结果
*/
private Map result;
public Map getResult() {
return result;
}
public void setResult(Map result) {
this.result = result;
}
/**
* @see java.lang.Object#toString()
*/
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).appendSuper(super.toString())
.append("result", this.result).toString();
}
}