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.
Access
| Modifier and Type | Field 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. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AccessType | |
| public static AccessType[] |
| FIELD | back to summary |
|---|---|
| public static final AccessType FIELD Field-based access is used. | |
| PROPERTY | back to summary |
|---|---|
| public static final AccessType PROPERTY Property-based access is used, that is, state is accessed via getter and setter methods. | |
| AccessType | back to summary |
|---|---|
| private AccessType() | |
| valueOf | back to summary |
|---|---|
| public static AccessType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AccessType[] values() | |