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

📄 planet.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.List;/** * @author dave * * TODO To change the template for this generated type comment go to * Window - Preferences - Java - Code Style - Code Templates */public class Planet {	private int id=-1;	private SolarSystem parent=null;	private String name=null;	private double distance=0;	private double diameter=0;	private String imageUrl=null;	private List facts=null;	/**	 * 	 */	public Planet() {		super();	}	/**	 * @return Returns the diameter.	 */	public double getDiameter() {		return diameter;	}	/**	 * @param diameter The diameter to set.	 */	public void setDiameter(double diameter) {		this.diameter = diameter;	}	/**	 * @return Returns the distance.	 */	public double getDistance() {		return distance;	}	/**	 * @param distance The distance to set.	 */	public void setDistance(double distance) {		this.distance = distance;	}	/**	 * @return Returns the facts.	 */	public List getFacts() {		return facts;	}	/**	 * @param facts The facts to set.	 */	public void setFacts(List facts) {		this.facts = facts;	}	/**	 * @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 imageUrl.	 */	public String getImageUrl() {		return imageUrl;	}	/**	 * @param imageUrl The imageUrl to set.	 */	public void setImageUrl(String imageUrl) {		this.imageUrl = imageUrl;	}	/**	 * @return Returns the name.	 */	public String getName() {		return name;	}	/**	 * @param name The name to set.	 */	public void setName(String name) {		this.name = name;	}	/**	 * @return Returns the parent.	 */	public SolarSystem getParent() {		return parent;	}	/**	 * @param parent The parent to set.	 */	public void setParent(SolarSystem parent) {		this.parent = parent;	}}

⌨️ 快捷键说明

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