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.">
Jakarta Persistence (JPA) Enum

jakarta.persistence.AccessType

java.lang.Object
  java.lang.Enum<jakarta.persistence.AccessType>
    jakarta.persistence.AccessType
Implemented Interfaces:
Constable, Comparable<E>, Serializable

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.
See Also:
Since:
Jakarta Persistence (JPA) 2.0

Enum Constants

Field-based access is used.
Since:
Jakarta Persistence (JPA) 1.0
Property-based access is used, that is, state is accessed via getter and setter methods.
Since:
Jakarta Persistence (JPA) 1.0

Synthetic Public Static Methods:

values(), valueOf(String)

Additional JDK methods inherited from java.lang.Enum

clone(), compareTo(E), describeConstable(), equals(Object), finalize(), getDeclaringClass(), hashCode(), name(), ordinal(), readObject(ObjectInputStream), readObjectNoData(), toString(), valueOf(Class,String)

Additional JDK methods inherited from java.lang.Object

clone(), equals(Object), finalize(), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(), wait(long), wait(long,int), wait0(long)

Additional JDK methods inherited from java.lang.constant.Constable

describeConstable()

Additional JDK methods inherited from java.lang.Comparable

compareTo(T)