⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mmsmonthcustom.java

📁 MM7彩信对接网关示例
💻 JAVA
字号:
/*
 * Created on 2005-2-17
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.rainbow.mms.monthcustom;

/**
 * @author Wangzhaonan
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class MMSMonthCustom {
	private int mcid;
	private int uniformID;
	private int gateWayID;
	private String name;
	private String serviceCode;
	private String regCode;
	private String delCode;
	private int lastContentID;
	private boolean lastContentIDBeSend;
	private String lastContentIDSendTime;
	
	
	public final int getMcid() {
		return mcid;
	}
	
	final void setMcid(int mcid) {
		this.mcid = mcid;
	}
	public final int getLastContentID() {
		return lastContentID;
	}
	public final boolean isLastContentIDBeSend() {
		return lastContentIDBeSend;
	}
	public final String getLastContentIDSendTime() {
		return lastContentIDSendTime;
	}
	
	final void setLastContentID(int lastContentID) {
		this.lastContentID = lastContentID;
	}
	final void setLastContentIDBeSend(boolean lastContentIDBeSend) {
		this.lastContentIDBeSend = lastContentIDBeSend;
	}
	final void setLastContentIDSendTime(String lastContentIDSendTime) {
		this.lastContentIDSendTime = lastContentIDSendTime;
	}
	/**
	 * 将MMSMonthCustom里的字段内容输出成String
	 */
	public String toString(){
		StringBuffer buffer = new StringBuffer();
		buffer.append("UniformID: ");
		buffer.append(uniformID);
		buffer.append("\n");
		buffer.append("GateWayID: ");
		buffer.append(gateWayID);
		buffer.append("\n");
		buffer.append("Name: ");
		buffer.append(name);
		buffer.append("\n");
		buffer.append("ServiceCode: ");
		buffer.append(serviceCode);
		buffer.append("\n");
		buffer.append("RegCode: ");
		buffer.append(regCode);
		buffer.append("\n");
		buffer.append("DelCode: ");
		buffer.append(delCode);
		buffer.append("\n");
		
		return buffer.toString();
	}
	
	/**
	 * 获得该业务的注销命令字
	 * @return 该业务的注销命令字
	 */
	public final String getDelCode() {
		return delCode;
	}
	
	/**
	 * 设置该业务的注销命令字
	 * @param delCode 注销命令字
	 */
	public final void setDelCode(String delCode) {
		this.delCode = delCode;
	}
	
	/**
	 * 获得该业务的网关号配置
	 * @return
	 */
	public final int getGateWayID() {
		return gateWayID;
	}
	
	/**
	 * 设置该业务的网关号配置
	 * @param gateWayID 网关号
	 */
	public final void setGateWayID(int gateWayID) {
		this.gateWayID = gateWayID;
	}
	
	/**
	 * 获得该定制业务的名称
	 * @return
	 */
	public final String getName() {
		return name;
	}
	
	/**
	 * 设置该定制业务的名称
	 * @param name 该定制业务的名称
	 */
	public final void setName(String name) {
		this.name = name;
	}
	
	/**
	 * 获得该业务注册的命令字
	 * @return 该业务注册的命令字
	 */
	public final String getRegCode() {
		return regCode;
	}
	
	/**
	 * 设置该业务注册的命令字
	 * @param regCode 该业务注册的命令字
	 */
	public final void setRegCode(String regCode) {
		this.regCode = regCode;
	}
	
	/**
	 * 获得该业务的在运营商注册的业务代码
	 * @return 该业务的在运营商注册的业务代码
	 */
	public final String getServiceCode() {
		return serviceCode;
	}
	
	/**
	 * 设置该业务的在运营商注册的业务代码
	 * @param serviceCode 该业务的在运营商注册的业务代码
	 */
	public final void setServiceCode(String serviceCode) {
		this.serviceCode = serviceCode;
	}
	
	/**
	 * 获得该业务的UniformID
	 * @return
	 */
	public final int getUniformID() {
		return uniformID;
	}
	
	/**
	 * 设置该业务的UniformID
	 * @param uniformID 该业务的UniformID
	 */
	public final void setUniformID(int uniformID) {
		this.uniformID = uniformID;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -