@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) public @interface AttributeAccessor
PropertyAccessStrategy
) to use.
Can be specified at either:PropertyAccessStrategy
. For
property/field
access, the JPA Access
annotation should be preferred
using the appropriate AccessType
. However, if this annotation is used with
either value="property"
or value="field"
, it will act just as the corresponding usage
of Access
.Modifier and Type | Required Element and Description |
---|---|
String |
value
Names the
PropertyAccessStrategy strategy. |
public abstract String value
PropertyAccessStrategy
strategy.Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.