All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.ocean.rawsdk.common.SDKResult Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
/**
 * 
 */
package com.alibaba.ocean.rawsdk.common;

/**
 * @author hongbang.hb
 *
 */
public class SDKResult {

	private String errorCode;
	private String errorMessage;

	private T result;

	public SDKResult(String code, String message) {
		super();
		this.errorCode = code;
		this.errorMessage = message;
	}

	public SDKResult(T result) {
		super();
		this.result = result;
	}

	public SDKResult() {
		super();
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy