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

📄 being.java

📁 介绍了hibernate的入门有一些基本常用的事例
💻 JAVA
字号:
//$Id: Being.java,v 1.4 2005/03/04 12:01:43 oneovthafew Exp $package org.hibernate.test.unionsubclass;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;/** * @author Gavin King */public abstract class Being {	private long id;	private String identity;	private Location location;	private List things = new ArrayList();	private Map info = new HashMap();	/**	 * @return Returns the id.	 */	public long getId() {		return id;	}	/**	 * @param id The id to set.	 */	public void setId(long id) {		this.id = id;	}	/**	 * @return Returns the identity.	 */	public String getIdentity() {		return identity;	}	/**	 * @param identity The identity to set.	 */	public void setIdentity(String identity) {		this.identity = identity;	}	/**	 * @return Returns the location.	 */	public Location getLocation() {		return location;	}	/**	 * @param location The location to set.	 */	public void setLocation(Location location) {		this.location = location;	}	public String getSpecies() {		return null;	}	public List getThings() {		return things;	}	public void setThings(List things) {		this.things = things;	}	public Map getInfo() {		return info;	}		public void setInfo(Map info) {		this.info = info;	}	}

⌨️ 快捷键说明

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