hibernate 开源框架的代码 jar包希望大家能喜欢

源代码在线查看: x.java

软件大小: 28187 K
上传用户: taiyubao
关键词: hibernate jar 开源框架 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				//$Id: X.java 4599 2004-09-26 05:18:27Z oneovthafew $				package org.hibernate.test.legacy;								import java.util.ArrayList;				import java.util.List;												public class X {									private long id;					private Y y;					private List xxs = new ArrayList();									/**					 * Returns the id.					 * @return long					 */					public long getId() {						return id;					}									/**					 * Returns the y.					 * @return Y					 */					public Y getY() {						return y;					}									/**					 * Sets the id.					 * @param id The id to set					 */					public void setId(long id) {						this.id = id;					}									/**					 * Sets the y.					 * @param y The y to set					 */					public void setY(Y y) {						this.y = y;					}										public List getXxs() {						return xxs;					}									public void setXxs(List xxs) {						this.xxs = xxs;					}									public static class XX {						private Long id;						private X x;						private XX() {}						public XX(X x) {							this.x = x;						}						public Long getId() {							return id;						}										public void setId(Long id) {							this.id = id;						}										public X getX() {							return x;						}										public void setX(X x) {							this.x = x;						}									}								}							

相关资源