meeting.java

来自「一个rmi程序例子」· Java 代码 · 共 65 行

JAVA
65
字号
import java.util.*;
import java.io.*;

/*
 * Created on 2006-6-5
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */

/**
 * @author lizhao
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class Meeting {

	private Date begin;

	private Date over;

	private String acceptUser;

	private String title;

	public Meeting(Date begin, Date over, String acceptUser, String title) {
		this.begin = begin;
		this.over = over;
		this.acceptUser = acceptUser;
		this.title = title;
	}

	/*
	 * *Return the user's userName who accept the meeting.
	 */
	public String getAcceptUser() {

		return acceptUser;
	}

	/*
	 * *Return the title of the meeting.
	 */
	public String getTitle() {

		return title;
	}

	/*
	 * *Return the time that the meeting start.
	 */
	public Date getBegin() {

		return begin;
	}

	/*
	 * *Return the time that the meeting end.
	 */
	public Date getOver() {

		return over;
	}
}

⌨️ 快捷键说明

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