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

BackrefPropertyAccessor

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

Fields Summary
private final String
propertyName
private final String
entityName
public static final Serializable
UNKNOWN
A placeholder for a property value, indicating that we don't know the value of the back reference
Constructors Summary
public BackrefPropertyAccessor(String collectionRole, String entityName)
Constructs a new instance of BackrefPropertyAccessor.

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 BackrefGetter();
	
public SettergetSetter(java.lang.Class theClass, java.lang.String propertyName)

		return new BackrefSetter();