circular.java

来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 89 行

JAVA
89
字号
//$Id: Circular.java,v 1.1.2.1 2003/11/08 02:25:29 oneovthafew Exp $package org.hibernate.test;public class Circular {		private String id;	private Class clazz;	private Circular other;	private Object anyEntity;		/**	 * Constructor for Circular.	 */	public Circular() {		super();	}		/**	 * Returns the clazz.	 * @return Class	 */	public Class getClazz() {		return clazz;	}		/**	 * Returns the id.	 * @return String	 */	public String getId() {		return id;	}		/**	 * Sets the clazz.	 * @param clazz The clazz to set	 */	public void setClazz(Class clazz) {		this.clazz = clazz;	}		/**	 * Sets the id.	 * @param id The id to set	 */	public void setId(String id) {		this.id = id;	}		/**	 * Returns the other.	 * @return Circular	 */	public Circular getOther() {		return other;	}		/**	 * Sets the other.	 * @param other The other to set	 */	public void setOther(Circular other) {		this.other = other;	}		/**	 * Returns the anyEntity.	 * @return Object	 */	public Object getAnyEntity() {		return anyEntity;	}		/**	 * Sets the anyEntity.	 * @param anyEntity The anyEntity to set	 */	public void setAnyEntity(Object anyEntity) {		this.anyEntity = anyEntity;	}	}

⌨️ 快捷键说明

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