Top Description Fields Constructors Methods
javax.persistence

public final Enum AccessType

extends Enum<AccessType>
Class Inheritance

Used with the Access annotation 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
Java Persistence 2.0
See Also
Access

Field Summary

Modifier and TypeField and Description
public static final AccessType
FIELD

Field-based access is used.

public static final AccessType
PROPERTY

Property-based access is used.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static AccessType
public static AccessType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

FIELDback to summary
public static final AccessType FIELD

Field-based access is used.

PROPERTYback to summary
public static final AccessType PROPERTY

Property-based access is used.

Constructor Detail

AccessTypeback to summary
private AccessType()

Method Detail

valueOfback to summary
public static AccessType valueOf(String name)
valuesback to summary
public static AccessType[] values()