Top Description Fields Constructors Methods
jakarta.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
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, that is, state is accessed via getter and setter methods.

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, that is, state is accessed via getter and setter methods.

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()