public class BackrefPropertyAccessor extends java.lang.Object implements PropertyAccessor
Modifier and Type | Class and Description |
---|---|
class |
BackrefPropertyAccessor.BackrefGetter
Internal implementation of a property getter specific to these back-ref properties.
|
static class |
BackrefPropertyAccessor.BackrefSetter
Internal implementation of a property setter specific to these back-ref properties.
|
Modifier and Type | Field and Description |
---|---|
static java.io.Serializable |
UNKNOWN
A placeholder for a property value, indicating that
we don't know the value of the back reference
|
Constructor and Description |
---|
BackrefPropertyAccessor(java.lang.String collectionRole,
java.lang.String entityName)
Constructs a new instance of BackrefPropertyAccessor.
|
public static final java.io.Serializable UNKNOWN
public BackrefPropertyAccessor(java.lang.String collectionRole, java.lang.String entityName)
collectionRole
- The collection role which this back ref references.entityName
- The owner's entity name.public Setter getSetter(java.lang.Class theClass, java.lang.String propertyName)
getSetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.public Getter getGetter(java.lang.Class theClass, java.lang.String propertyName)
getGetter
in interface PropertyAccessor
theClass
- The class on which the property is defined.propertyName
- The name of the property.Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.