com.sccl.attech.modules.sms.response.ResultInfo.java Source code

Java tutorial

Introduction

Here is the source code for com.sccl.attech.modules.sms.response.ResultInfo.java

Source

/**
 * @(#)ResultInfo.java     1.0 12:59:21
 * Copyright 2015 bjth, Inc. All rights reserved.
 * attech PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.sccl.attech.modules.sms.response;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * The Class ResultInfo. ??
 * 
 * @author zzz
 * @version 1.0,12:59:21
 * @see com.sccl.attech.modules.sms.response
 * @since JDK1.7
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class ResultInfo {

    // 10?
    /** The ???. */
    @XmlElement(required = true)
    private String result;//(1.0.?)
    /** The . */
    @XmlElement
    private String message; //?????

    /**
     * ? the ???.
     * 
     * @return the ???
     */
    public String getResult() {
        return result;
    }

    /**
     *  the ???.
     * 
     * @param result the new ???
     */
    public void setResult(String result) {
        this.result = result;
    }

    /**
     * ? the .
     * 
     * @return the 
     */
    public String getMessage() {
        return message;
    }

    /**
     *  the .
     * 
     * @param message the new 
     */
    public void setMessage(String message) {
        this.message = message;
    }

    /**
     * @see java.lang.Object#toString()
     */
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.DEFAULT_STYLE).append("message", this.message)
                .append("result", this.result).toString();
    }
}