Annotation Type Access

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

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:
    Java Persistence 2.0

    Required Element Summary
    Required Elements Modifier and Type 	Required Element and Description
    AccessType 	value
    (Required) Specification of field- or property-based access.

    Element Detail
        value

        public abstract AccessType value

        (Required) Specification of field- or property-based access.

Skip navigation links

Overview
Package
Class
Use
Tree
Deprecated
Index
Help

Prev Class
Next Class

Frames
No Frames

Summary: 
Field | 
Required | 
Optional

Detail: 
Field | 
Element

Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

发布了133 篇原创文章 · 获赞 191 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105717782