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

📄 fact.java

📁 Ajax开发精要 Ajax开发精要 Ajax开发精要
💻 JAVA
字号:
/* * Created on 16-Jun-2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates */package com.manning.ajaxinaction.planets;import java.util.Date;/** * @author dave * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */public class Fact {	private int id=-1;	private Planet parent=null;	private String text=null;	private String author=null;	private Date date=null;	/**	 * 	 */	public Fact() {		super();	}	/**	 * @return Returns the author.	 */	public String getAuthor() {		return author;	}	/**	 * @param author The author to set.	 */	public void setAuthor(String author) {		this.author = author;	}	/**	 * @return Returns the date.	 */	public Date getDate() {		return date;	}	/**	 * @param date The date to set.	 */	public void setDate(Date date) {		this.date = date;	}	/**	 * @return Returns the id.	 */	public int getId() {		return id;	}	/**	 * @param id The id to set.	 */	public void setId(int id) {		this.id = id;	}	/**	 * @return Returns the parent.	 */	public Planet getParent() {		return parent;	}	/**	 * @param parent The parent to set.	 */	public void setParent(Planet parent) {		this.parent = parent;	}	/**	 * @return Returns the text.	 */	public String getText() {		return text;	}	/**	 * @param text The text to set.	 */	public void setText(String text) {		this.text = text;	}}

⌨️ 快捷键说明

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