FileDocCategorySizeDatePackage
IndexPropertyAccessor.javaAPI DocHibernate 3.2.52191Sat Jul 16 17:20:48 BST 2005org.hibernate.property

IndexPropertyAccessor

public class IndexPropertyAccessor extends Object implements PropertyAccessor
Represents a "back-reference" to the index of a collection.
author
Gavin King

Fields Summary
private final String
propertyName
private final String
entityName
Constructors Summary
public IndexPropertyAccessor(String collectionRole, String entityName)
Constructs a new instance of IndexPropertyAccessor.

param
collectionRole The collection role which this back ref references.

		this.propertyName = collectionRole.substring( entityName.length()+1 );
		this.entityName = entityName;
	
Methods Summary
public GettergetGetter(java.lang.Class theClass, java.lang.String propertyName)

		return new IndexGetter();
	
public SettergetSetter(java.lang.Class theClass, java.lang.String propertyName)

		return new IndexSetter();