c1.java

来自「好东西,hibernate-3.2.0,他是一开元的树杖hibernate-3.」· Java 代码 · 共 92 行

JAVA
92
字号
//$Id: C1.java 4599 2004-09-26 05:18:27Z oneovthafew $
package org.hibernate.test.legacy;

import java.util.ArrayList;
import java.util.Collection;

public class C1 extends B{
	private String address;
	private String c1Name;
	private C2 c2;
	private D d;
	private Collection c2s = new ArrayList();
	/**
	 * Returns the address.
	 * @return String
	 */
	public String getAddress() {
		return address;
	}
	
	/**
	 * Sets the address.
	 * @param address The address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	
	/**
	 * Returns the d.
	 * @return D
	 */
	public D getD() {
		return d;
	}
	
	/**
	 * Sets the d.
	 * @param d The d to set
	 */
	public void setD(D d) {
		this.d = d;
	}
	
	/**
	 * @return Returns the c.
	 */
	public C2 getC2() {
		return c2;
	}

	/**
	 * @param c The c to set.
	 */
	public void setC2(C2 c) {
		this.c2 = c;
	}

	/**
	 * @return Returns the cs.
	 */
	public Collection getC2s() {
		return c2s;
	}

	/**
	 * @param cs The cs to set.
	 */
	public void setC2s(Collection cs) {
		this.c2s = cs;
	}

	/**
	 * @return Returns the c1Name.
	 */
	public String getC1Name() {
		return c1Name;
	}
	/**
	 * @param name The c1Name to set.
	 */
	public void setC1Name(String name) {
		c1Name = name;
	}
}






⌨️ 快捷键说明

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