Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.property
Class BackrefPropertyAccessor

    java.lang.Object
      org.hibernate.property.BackrefPropertyAccessor

All Implemented Interfaces:
  PropertyAccessor

    public class BackrefPropertyAccessor

extends Object
implements PropertyAccessor

Represents a "back-reference" to the id of a collection owner.

Author:
  Gavin King

Nested Class Summary
`class` | `BackrefPropertyAccessor.BackrefGetter` The Getter implementation for id backrefs.
`static class` | `BackrefPropertyAccessor.BackrefSetter` The Setter implementation for id backrefs.

Field Summary
`static Serializable` | `UNKNOWN` A placeholder for a property value, indicating that we don't know the value of the back reference

Constructor Summary
`BackrefPropertyAccessor(String collectionRole, String entityName)` Constructs a new instance of BackrefPropertyAccessor.

Method Summary
`Getter` | `getGetter(Class theClass, String propertyName)` Create a "getter" for the named attribute
`Setter` | `getSetter(Class theClass, String propertyName)` Create a "setter" for the named attribute

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### UNKNOWN

    public static final Serializable UNKNOWN

  A placeholder for a property value, indicating that we don't know the value of the back reference

Constructor Detail

### BackrefPropertyAccessor

    public BackrefPropertyAccessor(String collectionRole,
                                   String entityName)

  Constructs a new instance of BackrefPropertyAccessor.

  Parameters:
    `collectionRole` - The collection role which this back ref references.

Method Detail

### getSetter

    public Setter getSetter(Class theClass,
                            String propertyName)

  Description copied from interface: `PropertyAccessor`
  Create a "setter" for the named attribute

  Specified by:
    `getSetter` in interface `PropertyAccessor`

### getGetter

    public Getter getGetter(Class theClass,
                            String propertyName)

  Description copied from interface: `PropertyAccessor`
  Create a "getter" for the named attribute

  Specified by:
    `getGetter` in interface `PropertyAccessor`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD