javax.persistence
Annotation Type Access


@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Access

Used to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class.

Since:
JPA 2.0 version.
Author:
Florent Benoit
See Also:
JPA 2.0 specification

Required Element Summary
 AccessType value
          Specification of field or property-based access.
 

Element Detail

value

public abstract AccessType value
Specification of field or property-based access.



Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.