onetoonenoproxy.java

来自「hibernate 开源框架的代码 jar包希望大家能喜欢」· Java 代码 · 共 46 行

JAVA
46
字号
package org.hibernate.test.instrument.domain;/** * @author Gail Badner */public class OneToOneNoProxy {	private Long entityId;	private String name;	private EntityWithOneToOnes entity;	public OneToOneNoProxy() {}	public OneToOneNoProxy(String name) {		this.name = name;	}	/**	 * @return Returns the id.	 */	public Long getEntityId() {		return entityId;	}	/**	 * @param entityId The id to set.	 */	public void setEntityId(Long entityId) {		this.entityId = entityId;	}	/**	 * @return Returns the name.	 */	public String getName() {		return name;	}	/**	 * @param name The name to set.	 */	public void setName(String name) {		this.name = name;	}	public EntityWithOneToOnes getEntity() {		return entity;	}	public void setEntity(EntityWithOneToOnes entity) {		this.entity = entity;	}}

⌨️ 快捷键说明

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