indexbackref.java

来自「hibernate-3.0.5 中文文档」· Java 代码 · 共 31 行

JAVA
31
字号
//$Id: IndexBackref.java,v 1.3 2005/02/21 04:29:25 oneovthafew Exp $package org.hibernate.mapping;import org.hibernate.property.IndexPropertyAccessor;import org.hibernate.property.PropertyAccessor;/** * @author Gavin King */public class IndexBackref extends Property {	private String collectionRole;		public boolean isBackRef() {		return true;	}	public String getCollectionRole() {		return collectionRole;	}	public void setCollectionRole(String collectionRole) {		this.collectionRole = collectionRole;	}	public boolean isBasicPropertyAccessor() {		return false;	}	public PropertyAccessor getPropertyAccessor(Class clazz) {		return new IndexPropertyAccessor(collectionRole);	}}

⌨️ 快捷键说明

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