図8.1.1-1
図8.1.1-2
図8.1.1-3
項番 | 項目 | 説明 | 備考 |
---|---|---|---|
(1) |
フィルター |
クリックした場合、選択が必要・ダイアログを開く。 |
用途別にアノテーションをカテゴリに分け、そのカテゴリ毎にビューに、表示する/しない を選択できる機能を提供します。この機能により、ユーザが表示するアノテーションを制御できるようになります。 |
(2) |
注釈 |
アノテーションの名前あるいはアノテーションの属性名を表示します。 |
|
(3) |
値 |
アノテーション名の場合は該当アノテーションがJava要素に付与されるかどうかを示します。 アノテーション属性の場合は、該当属性の値を示します。 |
(1)アノテーション名の場合: チェックボックスで設定します。 ONにした場合、該当アノテーションがJava要素に付与されます。 OFFにした場合、該当アノテーションがJava要素に付与されません。 (2)アノテーション属性の場合: booleanの場合は、チェックボックスで、ONとOFFだけで設定できます。 列挙の場合は、コンボボックスリストで設定できます。 Classの場合は、テキストボックスまたは参照ボタンで編集できます。 配列の場合は、参照ボタンで開くダイアログで設定できます。 その以外は、テキストボックスで編集できます。 |
(4) |
、ボタン |
アノテーションの属性を表示するかどうかを制御します。 |
をクリックして、該当アノテーションの属性を表示します。 をクリックして、該当アノテーションの属性を表示しません。 |
記号 | 型 | 説明 |
---|---|---|
[T] |
Type |
Java要素はクラス、インターフェース(アノテーションを含む)、あるいはenum(列挙型)であることを示します。 |
[C] |
Constructor |
Java要素はコンストラクターであることを示します。 |
[M] |
Method |
Java要素はメソッドであることを示します。 |
[F] |
Field |
Java要素はフィールドであることを示します。 |
[Par] |
Parameter |
Java要素はパラメータであることを示します。 |
[A] |
AnnotationType |
Java要素はアノテーションタイプであることを示します。 |
[Pkg] |
Package |
Java要素はパッケージであることを示します。 |
Caution
コンストラクターはMethodに含まれません。型はConstructorのみまたはMethodのみの場合、コンストラクターはサポートしません。型はConstructor、Method両方である場合、コンストラクターはサポートします。
図8.1.2-1
図8.1.2-2
選択された付与対象 | カテゴリ | 説明 |
---|---|---|
クラス |
プロジェクトのアノテーション表示選択により、選択された該当カテゴリのアノテーションを表示します。詳しくは8.2. アノテーションの表示選択を参照してください。 |
カテゴリ設定範囲内において、Target定義にクラスが含まれるアノテーションを表示します。 |
メソッド |
カテゴリ設定範囲内において、Target定義にメソッドが含まれるアノテーションを表示します。 |
|
その他 |
カテゴリ設定範囲内において、Target定義に付与対象が含まれるアノテーションを表示します。 |
Memo
1.javax.ejb.TransactionAttributeやjavax.interceptor.InterceptorsなどTargetがType、Method両方であるアノテーションは、クラス名が選択された場合もメソッドが選択された場合も、一覧に表示されます。
2.アノテーションをTargetとは異なる対象に付与すると、エディタでエラーが発生します。詳しい情報は8.3. アノテーションの検証を参照してください。
3.各アノテーションのTargetは、8.4. サポートするアノテーションを参照してください。
図8.1.3-1
図8.1.3-2
図8.1.3-3
図8.1.4-1
図8.1.4.1-1
図8.1.4.1-2
図8.1.4.2-1
図8.1.4.2-2
図8.1.4.3-1
図8.1.4.3-2
図8.1.5-1
図8.1.5-2
図8.1.5-3
Memo
削除されたアノテーションの定義クラスのimport句((1)の部分)は、他の箇所で利用していない場合、同時に削除されます。
図8.2.2-1
図8.2.2-2
図8.2.2-3
項番 | 項目 | 説明 | 備考 |
---|---|---|---|
(1) |
ダイアログの提示情報 |
「Select Annotation Categories to Filter」というメッセージが表示されます。 |
|
(2) |
Bean Validation
チェックボックス |
Bean Validationカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。 |
|
(3) |
Java EE共通
チェックボックス |
Java
EE共通カテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。 |
|
(4) |
CDI チェックボックス |
CDIカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。
|
|
(5) |
EJB チェックボックス |
EJBカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。
|
|
(6) |
JSF チェックボックス |
JSFカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。
|
|
(7) |
JAXB
チェックボックス |
JAXBカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。 |
|
(8) |
JAX-RS
チェックボックス |
JAX-RSカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。 |
|
(9) |
Servlet
チェックボックス |
Servletカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。 |
|
(10) |
JPA チェックボックス |
JPA カテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。 |
|
(11) |
JAX-WS チェックボックス |
JAX-WSカテゴリに所属するアノテーションを注釈プロパティー・ビューで表示しないかどうかを指定します。 |
|
(12) |
すべて選択(S)
ボタン |
すべてのカテゴリを選択します。 |
|
(13) |
選択をすべて解除(D)ボタン |
すべてのカテゴリの選択を解除します。 |
|
(14) |
OKボタン |
カテゴリに所属するアノテーション表示・非表示の変更を適用します。 |
|
(15) |
キャンセルボタン |
カテゴリに所属するアノテーション表示・非表示の変更を適用しません。 |
|
Caution
全てのカテゴリにおいてJavaモジュールのバージョンは5.0以上でなければなりません。
図8.2.3-1
図8.2.3-2
図8.2.3-3
Caution
1.注釈プロパティー・ビューで表示されないアノテーションも、エディタで入力することは可能です。
2.
エディタでアノテーションが正しく付与できない場合、8.3. アノテーションの検証をご覧ください。
図8.3.1-1
図8.3.2-1
図8.3.3-1
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.annotation |
Generated |
[ALL] |
2 |
javax.annotation |
PostConstruct |
[M] |
3 |
javax.annotation |
PreDestroy |
[M] |
4 |
javax.annotation |
Resource |
[F, M, T] |
5 |
javax.annotation |
Resources |
[T] |
6 |
javax.annotation |
ManagedBean |
[T] |
7 |
javax.annotation.security |
DeclareRoles |
[T] |
8 |
javax.annotation.security |
DenyAll |
[M] |
9 |
javax.annotation.security |
PermitAll |
[M, T] |
10 |
javax.annotation.security |
RolesAllowed |
[M, T] |
11 |
javax.annotation.security |
RunAs |
[T] |
12 |
javax.annotation.sql |
DataSourceDefinition |
[T] |
13 |
javax.annotation.sql |
DataSourceDefinitions |
[T] |
14 |
javax.ejb |
EJB |
[F, M, T] |
15 |
javax.ejb |
EJBs |
[T] |
16 |
javax.persistence |
PersistenceContext |
[F, M, T] |
17 |
javax.persistence |
PersistenceContexts |
[T] |
18 |
javax.persistence |
PersistenceUnit |
[F, M, T] |
19 |
javax.persistence |
PersistenceUnits |
[T] |
Memo
EJB(s)、PersistenceContext(s)とPersistenceUnit(s)の6つのアノテーションが他のパッケージからJava
EE共通カテゴリに移動します。
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.ejb |
ActivationConfigProperty |
[] |
2 |
javax.ejb |
ApplicationException |
[T] |
3 |
javax.ejb |
Init |
[M] |
4 |
javax.ejb |
Local |
[T] |
5 |
javax.ejb |
LocalHome |
[T] |
6 |
javax.ejb |
MessageDriven |
[T] |
7 |
javax.ejb |
PostActivate |
[M] |
8 |
javax.ejb |
PrePassivate |
[M] |
9 |
javax.ejb |
Remote |
[T] |
10 |
javax.ejb |
RemoteHome |
[T] |
11 |
javax.ejb |
Remove |
[M] |
12 |
javax.ejb |
Stateful |
[T] |
13 |
javax.ejb |
Stateless |
[T] |
14 |
javax.ejb |
Timeout |
[M] |
15 |
javax.ejb |
TransactionAttribute |
[M, T] |
16 |
javax.ejb |
TransactionManagement |
[T] |
17 |
javax.interceptor |
AroundInvoke |
[M] |
18 |
javax.interceptor |
ExcludeClassInterceptors |
[M] |
19 |
javax.interceptor |
ExcludeDefaultInterceptors |
[M, T] |
20 |
javax.interceptor |
Interceptors |
[M, T] |
21 |
javax.ejb |
AccessTimeout |
[M, T] |
22 |
javax.ejb |
AfterBegin |
[M] |
23 |
javax.ejb |
AfterCompletion |
[M] |
24 |
javax.ejb |
Asynchronous |
[M, T] |
25 |
javax.ejb |
BeforeCompletion |
[M] |
26 |
javax.ejb |
ConcurrencyManagement |
[T] |
27 |
javax.ejb |
DependsOn |
[T] |
28 |
javax.ejb |
LocalBean |
[T] |
29 |
javax.ejb |
Lock |
[M, T] |
30 |
javax.ejb |
Schedule |
[M] |
31 |
javax.ejb |
Schedules |
[M] |
32 |
javax.ejb |
Singleton |
[T] |
33 |
javax.ejb |
Startup |
[T] |
34 |
javax.ejb |
StatefulTimeout |
[T] |
35 |
javax.interceptor |
AroundTimeout |
[M] |
36 |
javax.interceptor |
Interceptor |
[T] |
37 |
javax.interceptor |
InterceptorBinding |
[A] |
Memo
javax.ejbパッケージに置くEJBとEJBsアノテーションがJava
EE共通カテゴリに移動します。
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.persistence |
AssociationOverride |
[T,M,F] |
2 |
javax.persistence |
AssociationOverrides |
[T,M,F] |
3 |
javax.persistence |
AttributeOverride |
[T,M,F] |
4 |
javax.persistence |
AttributeOverrides |
[T,M,F] |
5 |
javax.persistence |
Basic |
[M,F] |
6 |
javax.persistence |
Column |
[M,F] |
7 |
javax.persistence |
ColumnResult |
[] |
8 |
javax.persistence |
DiscriminatorColumn |
[T] |
9 |
javax.persistence |
DiscriminatorValue |
[T] |
10 |
javax.persistence |
Embeddable |
[T] |
11 |
javax.persistence |
Embedded |
[M,F] |
12 |
javax.persistence |
EmbeddedId |
[M,F] |
13 |
javax.persistence |
Entity |
[T] |
14 |
javax.persistence |
EntityListeners |
[T] |
15 |
javax.persistence |
EntityResult |
[] |
16 |
javax.persistence |
Enumerated |
[M,F] |
17 |
javax.persistence |
ExcludeDefaultListeners |
[T] |
18 |
javax.persistence |
ExcludeSuperclassListeners |
[T] |
19 |
javax.persistence |
FieldResult |
[] |
20 |
javax.persistence |
GeneratedValue |
[M,F] |
21 |
javax.persistence |
Id |
[M,F] |
22 |
javax.persistence |
IdClass |
[T] |
23 |
javax.persistence |
Inheritance |
[T] |
24 |
javax.persistence |
JoinColumn |
[M,F] |
25 |
javax.persistence |
JoinColumns |
[M,F] |
26 |
javax.persistence |
JoinTable |
[M,F] |
27 |
javax.persistence |
Lob |
[M,F] |
28 |
javax.persistence |
ManyToMany |
[M,F] |
29 |
javax.persistence |
ManyToOne |
[M,F] |
30 |
javax.persistence |
MapKey |
[M,F] |
31 |
javax.persistence |
MappedSuperclass |
[T] |
32 |
javax.persistence |
NamedNativeQueries |
[T] |
33 |
javax.persistence |
NamedNativeQuery |
[T] |
34 |
javax.persistence |
NamedQueries |
[T] |
35 |
javax.persistence |
NamedQuery |
[T] |
36 |
javax.persistence |
OneToMany |
[M,F] |
37 |
javax.persistence |
OneToOne |
[M,F] |
38 |
javax.persistence |
OrderBy |
[M,F] |
39 |
javax.persistence |
PersistenceProperty |
[] |
40 |
javax.persistence |
PostLoad |
[M] |
41 |
javax.persistence |
PostPersist |
[M] |
42 |
javax.persistence |
PostRemove |
[M] |
43 |
javax.persistence |
PostUpdate |
[M] |
44 |
javax.persistence |
PrePersist |
[M] |
45 |
javax.persistence |
PreRemove |
[M] |
46 |
javax.persistence |
PreUpdate |
[M] |
47 |
javax.persistence |
PrimaryKeyJoinColumn |
[T,M,F] |
48 |
javax.persistence |
PrimaryKeyJoinColumns |
[T,M,F] |
49 |
javax.persistence |
QueryHint |
[] |
50 |
javax.persistence |
SecondaryTable |
[T] |
51 |
javax.persistence |
SecondaryTables |
[T] |
52 |
javax.persistence |
SequenceGenerator |
[T,M,F] |
53 |
javax.persistence |
SqlResultSetMapping |
[T] |
54 |
javax.persistence |
SqlResultSetMappings |
[T] |
55 |
javax.persistence |
Table |
[T] |
56 |
javax.persistence |
TableGenerator |
[T,M,F] |
57 |
javax.persistence |
Temporal |
[M,F] |
58 |
javax.persistence |
Transient |
[M,F] |
59 |
javax.persistence |
UniqueConstraint |
[] |
60 |
javax.persistence |
Version |
[M,F] |
61 |
javax.persistence |
Access |
[T,M,F] |
62 |
javax.persistence |
Cacheable |
[T] |
63 |
javax.persistence |
CollectionTable |
[M,F] |
64 |
javax.persistence |
ElementCollection |
[M,F] |
65 |
javax.persistence |
MapKeyClass |
[M,F] |
66 |
javax.persistence |
MapKeyColumn |
[M,F] |
67 |
javax.persistence |
MapKeyEnumerated |
[M,F] |
68 |
javax.persistence |
MapKeyJoinColumn |
[M,F] |
69 |
javax.persistence |
MapKeyJoinColumns |
[M,F] |
70 |
javax.persistence |
MapKeyTemporal |
[M,F] |
71 |
javax.persistence |
MapsId |
[M,F] |
72 |
javax.persistence |
OrderColumn |
[M,F] |
73 |
javax.persistence.metamodel |
StaticMetamodel |
[T] |
74 |
org.eclipse.persistence.annotations |
AdditionalCriteria |
[T] |
75 |
org.eclipse.persistence.annotations |
Array |
[M,F] |
76 |
org.eclipse.persistence.annotations |
BasicCollection |
[M,F] |
77 |
org.eclipse.persistence.annotations |
BasicMap |
[M,F] |
78 |
org.eclipse.persistence.annotations |
BatchFetch |
[M,F] |
79 |
org.eclipse.persistence.annotations |
Cache |
[T] |
80 |
org.eclipse.persistence.annotations |
CacheInterceptor |
[T] |
81 |
org.eclipse.persistence.annotations |
CascadeOnDelete |
[M,F,T] |
82 |
org.eclipse.persistence.annotations |
ChangeTracking |
[T] |
83 |
org.eclipse.persistence.annotations |
ClassExtractor |
[T] |
84 |
org.eclipse.persistence.annotations |
CloneCopyPolicy |
[T] |
85 |
org.eclipse.persistence.annotations |
CollectionTable |
[M,F] |
86 |
org.eclipse.persistence.annotations |
CompositeMember |
[M,F] |
87 |
org.eclipse.persistence.annotations |
ConversionValue |
[] |
88 |
org.eclipse.persistence.annotations |
Convert |
[M,F] |
89 |
org.eclipse.persistence.annotations |
Converter |
[T,M,F] |
90 |
org.eclipse.persistence.annotations |
Converters |
[T,M,F] |
91 |
org.eclipse.persistence.annotations |
CopyPolicy |
[T] |
92 |
org.eclipse.persistence.annotations |
Customizer |
[T] |
93 |
org.eclipse.persistence.annotations |
DiscriminatorClass |
[] |
94 |
org.eclipse.persistence.annotations |
ExcludeDefaultMappings |
[T] |
95 |
org.eclipse.persistence.annotations |
ExistenceChecking |
[T] |
96 |
org.eclipse.persistence.annotations |
FetchAttribute |
[] |
97 |
org.eclipse.persistence.annotations |
FetchGroup |
[T] |
98 |
org.eclipse.persistence.annotations |
FetchGroups |
[T] |
99 |
org.eclipse.persistence.annotations |
HashPartitioning |
[T,M,F] |
100 |
org.eclipse.persistence.annotations |
Index |
[M,F,T] |
101 |
org.eclipse.persistence.annotations |
Indexes |
[M,F,T] |
102 |
org.eclipse.persistence.annotations |
InstantiationCopyPolicy |
[T] |
103 |
org.eclipse.persistence.annotations |
JoinFetch |
[M,F] |
104 |
org.eclipse.persistence.annotations |
MapKeyConvert |
[M,F] |
105 |
org.eclipse.persistence.annotations |
Multitenant |
[T] |
106 |
org.eclipse.persistence.annotations |
Mutable |
[M,F] |
107 |
org.eclipse.persistence.annotations |
NamedStoredFunctionQueries |
[T] |
108 |
org.eclipse.persistence.annotations |
NamedStoredFunctionQuery |
[T] |
109 |
org.eclipse.persistence.annotations |
NamedStoredProcedureQueries |
[T] |
110 |
org.eclipse.persistence.annotations |
NamedStoredProcedureQuery |
[T] |
111 |
org.eclipse.persistence.annotations |
Noncacheable |
[M,F] |
112 |
org.eclipse.persistence.annotations |
ObjectTypeConverter |
[T,M,F] |
113 |
org.eclipse.persistence.annotations |
ObjectTypeConverters |
[T,M,F] |
114 |
org.eclipse.persistence.annotations |
OptimisticLocking |
[T] |
115 |
org.eclipse.persistence.annotations |
OrderCorrection |
[M,F] |
116 |
org.eclipse.persistence.annotations |
Partitioned |
[T,M,F] |
117 |
org.eclipse.persistence.annotations |
Partitioning |
[T,M,F] |
118 |
org.eclipse.persistence.annotations |
PinnedPartitioning |
[T,M,F] |
119 |
org.eclipse.persistence.annotations |
PrimaryKey |
[T] |
120 |
org.eclipse.persistence.annotations |
PrivateOwned |
[M,F] |
121 |
org.eclipse.persistence.annotations |
Properties |
[M,F,T] |
122 |
org.eclipse.persistence.annotations |
Property |
[M,F,T] |
123 |
org.eclipse.persistence.annotations |
QueryRedirectors |
[T] |
124 |
org.eclipse.persistence.annotations |
RangePartition |
[T,M,F] |
125 |
org.eclipse.persistence.annotations |
RangePartitioning |
[T,M,F] |
126 |
org.eclipse.persistence.annotations |
ReadOnly |
[T] |
127 |
org.eclipse.persistence.annotations |
ReadTransformer |
[M,F] |
128 |
org.eclipse.persistence.annotations |
ReplicationPartitioning |
[T,M,F] |
129 |
org.eclipse.persistence.annotations |
ReturnInsert |
[M,F] |
130 |
org.eclipse.persistence.annotations |
ReturnUpdate |
[M,F] |
131 |
org.eclipse.persistence.annotations |
RoundRobinPartitioning |
[T,M,F] |
132 |
org.eclipse.persistence.annotations |
StoredProcedureParameter |
[] |
133 |
org.eclipse.persistence.annotations |
Struct |
[T,M,F] |
134 |
org.eclipse.persistence.annotations |
StructConverter |
[T,M,F] |
135 |
org.eclipse.persistence.annotations |
StructConverters |
[T,M,F] |
136 |
org.eclipse.persistence.annotations |
Structure |
[M,F] |
137 |
org.eclipse.persistence.annotations |
TenantDiscriminatorColumn |
[T] |
138 |
org.eclipse.persistence.annotations |
TenantDiscriminatorColumns |
[T] |
139 |
org.eclipse.persistence.annotations |
TimeOfDay |
[] |
140 |
org.eclipse.persistence.annotations |
Transformation |
[M,F] |
141 |
org.eclipse.persistence.annotations |
TypeConverter |
[T,M,F] |
142 |
org.eclipse.persistence.annotations |
TypeConverters |
[T,M,F] |
143 |
org.eclipse.persistence.annotations |
UnionPartitioning |
[T,M,F] |
144 |
org.eclipse.persistence.annotations |
ValuePartition |
[T,M,F] |
145 |
org.eclipse.persistence.annotations |
ValuePartitioning |
[T,M,F] |
146 |
org.eclipse.persistence.annotations |
VariableOneToOne |
[M,F] |
147 |
org.eclipse.persistence.annotations |
VirtualAccessMethods |
[T] |
148 |
org.eclipse.persistence.annotations |
WriteTransformer |
[M,F] |
149 |
org.eclipse.persistence.annotations |
WriteTransformers |
[M,F] |
150 |
org.eclipse.persistence.oxm.annotations |
XmlAccessMethods |
[F,M] |
151 |
org.eclipse.persistence.oxm.annotations |
XmlCDATA |
[F,M] |
152 |
org.eclipse.persistence.oxm.annotations |
XmlClassExtractor |
[T] |
153 |
org.eclipse.persistence.oxm.annotations |
XmlCustomizer |
[T] |
154 |
org.eclipse.persistence.oxm.annotations |
XmlDiscriminatorNode |
[T] |
155 |
org.eclipse.persistence.oxm.annotations |
XmlDiscriminatorValue |
[T] |
156 |
org.eclipse.persistence.oxm.annotations |
XmlElementsJoinNodes |
[M,F] |
157 |
org.eclipse.persistence.oxm.annotations |
XmlInverseReference |
[F,M] |
158 |
org.eclipse.persistence.oxm.annotations |
XmlIsSetNullPolicy |
[F,M] |
159 |
org.eclipse.persistence.oxm.annotations |
XmlJoinNode |
[M,F] |
160 |
org.eclipse.persistence.oxm.annotations |
XmlJoinNodes |
[M,F] |
161 |
org.eclipse.persistence.oxm.annotations |
XmlKey |
[M,F] |
162 |
org.eclipse.persistence.oxm.annotations |
XmlNameTransformer |
[Pkg,T] |
163 |
org.eclipse.persistence.oxm.annotations |
XmlNullPolicy |
[F,M] |
164 |
org.eclipse.persistence.oxm.annotations |
XmlParameter |
[] |
165 |
org.eclipse.persistence.oxm.annotations |
XmlPath |
[F,M] |
166 |
org.eclipse.persistence.oxm.annotations |
XmlPaths |
[F,M] |
167 |
org.eclipse.persistence.oxm.annotations |
XmlProperties |
[M,F,T] |
168 |
org.eclipse.persistence.oxm.annotations |
XmlProperty |
[M,F,T] |
169 |
org.eclipse.persistence.oxm.annotations |
XmlReadOnly |
[F,M] |
170 |
org.eclipse.persistence.oxm.annotations |
XmlReadTransformer |
[M,F] |
171 |
org.eclipse.persistence.oxm.annotations |
XmlTransformation |
[M,F] |
172 |
org.eclipse.persistence.oxm.annotations |
XmlVirtualAccessMethods |
[T] |
173 |
org.eclipse.persistence.oxm.annotations |
XmlWriteOnly |
[F,M] |
174 |
org.eclipse.persistence.oxm.annotations |
XmlWriteTransformer |
[M,F] |
175 |
org.eclipse.persistence.oxm.annotations |
XmlWriteTransformers |
[M,F] |
176 |
org.eclipse.persistence.platform.database.oracle.annotations |
NamedPLSQLStoredFunctionQueries |
[T] |
177 |
org.eclipse.persistence.platform.database.oracle.annotations |
NamedPLSQLStoredFunctionQuery |
[T] |
178 |
org.eclipse.persistence.platform.database.oracle.annotations |
NamedPLSQLStoredProcedureQueries |
[T] |
179 |
org.eclipse.persistence.platform.database.oracle.annotations |
NamedPLSQLStoredProcedureQuery |
[T] |
180 |
org.eclipse.persistence.platform.database.oracle.annotations |
PLSQLParameter |
[] |
181 |
org.eclipse.persistence.platform.database.oracle.annotations |
PLSQLRecord |
[T] |
182 |
org.eclipse.persistence.platform.database.oracle.annotations |
PLSQLRecords |
[T] |
183 |
org.eclipse.persistence.platform.database.oracle.annotations |
PLSQLTable |
[T] |
184 |
org.eclipse.persistence.platform.database.oracle.annotations |
PLSQLTables |
[T] |
Memo
javax.persistenceパッケージに置くPersistenceContext(s)とPersistenceUnit(s)アノテーションがJava
EE共通カテゴリに移動します。
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.xml.bind.annotation |
XmlAccessorOrder |
[Pkg, T] |
2 |
javax.xml.bind.annotation |
XmlAccessorType |
[Pkg, T] |
3 |
javax.xml.bind.annotation |
XmlAnyAttribute |
[F, M] |
4 |
javax.xml.bind.annotation |
XmlAnyElement |
[F, M] |
5 |
javax.xml.bind.annotation |
XmlAttachmentRef |
[F, M, Par] |
6 |
javax.xml.bind.annotation |
XmlAttribute |
[F, M] |
7 |
javax.xml.bind.annotation |
XmlElement |
[F, M] |
8 |
javax.xml.bind.annotation |
XmlElementDecl |
[M] |
9 |
javax.xml.bind.annotation |
XmlElementRef |
[F, M] |
10 |
javax.xml.bind.annotation |
XmlElementRefs |
[F, M] |
11 |
javax.xml.bind.annotation |
XmlElements |
[F, M] |
12 |
javax.xml.bind.annotation |
XmlElementWrapper |
[F, M] |
13 |
javax.xml.bind.annotation |
XmlEnum |
[T] |
14 |
javax.xml.bind.annotation |
XmlEnumValue |
[F] |
15 |
javax.xml.bind.annotation |
XmlID |
[F, M] |
16 |
javax.xml.bind.annotation |
XmlIDREF |
[F, M] |
17 |
javax.xml.bind.annotation |
XmlInlineBinaryData |
[F, M, T] |
18 |
javax.xml.bind.annotation |
XmlList |
[F, M, Par] |
19 |
javax.xml.bind.annotation |
XmlMimeType |
[F, M, Par] |
20 |
javax.xml.bind.annotation |
XmlMixed |
[F, M] |
21 |
javax.xml.bind.annotation |
XmlNs |
[] |
22 |
javax.xml.bind.annotation |
XmlRegistry |
[T] |
23 |
javax.xml.bind.annotation |
XmlRootElement |
[T] |
24 |
javax.xml.bind.annotation |
XmlSchema |
[Pkg] |
25 |
javax.xml.bind.annotation |
XmlSchemaType |
[F, M, Pkg] |
26 |
javax.xml.bind.annotation |
XmlSchemaTypes |
[Pkg] |
27 |
javax.xml.bind.annotation |
XmlSeeAlso |
[T] |
28 |
javax.xml.bind.annotation |
XmlTransient |
[F, M] |
29 |
javax.xml.bind.annotation |
XmlType |
[T] |
30 |
javax.xml.bind.annotation |
XmlValue |
[F, M] |
31 |
javax.xml.bind.annotation.adapters |
XmlJavaTypeAdapter |
[F, M, Pkg, Par, T] |
32 |
javax.xml.bind.annotation.adapters |
XmlJavaTypeAdapters |
[Pkg] |
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.jws |
WebService |
[T] |
2 |
javax.jws |
WebMethod |
[M] |
3 |
javax.jws |
WebParam |
[Par] |
4 |
javax.jws |
WebResult |
[M] |
5 |
javax.jws |
HandlerChain |
[T,M,F] |
6 |
javax.jws |
Oneway |
[M] |
7 |
javax.jws.soap |
SOAPBinding |
[T,M] |
8 |
javax.xml.ws |
WebServiceProvider |
[T] |
9 |
javax.xml.ws |
WebServiceClient |
[T] |
10 |
javax.xml.ws |
WebServiceRef |
[T,M,F] |
11 |
javax.xml.ws |
WebServiceRefs |
[T] |
12 |
javax.xml.ws |
ServiceMode |
[T] |
13 |
javax.xml.ws |
WebFault |
[T] |
14 |
javax.xml.ws |
BindingType |
[T] |
15 |
javax.xml.ws |
RequestWrapper |
[M] |
16 |
javax.xml.ws |
ResponseWrapper |
[M] |
17 |
javax.xml.ws |
WebEndpoint |
[M] |
18 |
javax.xml.ws |
RespectBinding |
[T,M,F] |
19 |
javax.xml.ws.soap |
Addressing |
[T,M,F] |
20 |
javax.xml.ws.soap |
MTOM |
[T,M,F] |
21 |
javax.xml.ws |
FaultAction |
[M] |
22 |
javax.xml.ws |
Action |
[M] |
23 |
javax.xml.ws.spi |
WebServiceFeatureAnnotation |
[A] |
24 |
com.nec.webotx.webservice.xml.ws.api |
FeatureConstructor |
[C] |
25 |
com.nec.webotx.webservice.xml.ws.api.server |
InstanceResolverAnnotation |
[A] |
26 |
com.nec.webotx.webservice.xml.ws.developer |
MemberSubmissionAddressing |
[T,M,F] |
27 |
com.nec.webotx.webservice.xml.ws.developer.servlet |
HttpSessionScope |
[T] |
Caution
1.
javax.jws.soapパッケージに置くInitParam、SOAPMessageHandlerとSOAPMessageHandlersの3つのアノテーションがJAX-WSでは未サポートのアノテーションのため、サポートしません。
2.
com.nec.webotx.webservice.xml.ws.developer.Statefulは、javax.ejb.Statefulとクラス名衝突が発生しまった原因で、現時点でサポートしません。
3.
FeatureConstructorはコンストラクターで表示されません。
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.ws.rs |
Consumes |
[T,M] |
2 |
javax.ws.rs |
Produces |
[T,M] |
3 |
javax.ws.rs |
GET |
[M] |
4 |
javax.ws.rs |
POST |
[M] |
5 |
javax.ws.rs |
PUT |
[M] |
6 |
javax.ws.rs |
DELETE |
[M] |
7 |
javax.ws.rs |
HEAD |
[M] |
8 |
javax.ws.rs |
ApplicationPath |
[T] |
9 |
javax.ws.rs |
Path |
[T,M] |
10 |
javax.ws.rs |
PathParam |
[Par,M,F] |
11 |
javax.ws.rs |
QueryParam |
[Par,M,F] |
12 |
javax.ws.rs |
FormParam |
[Par,M,F] |
13 |
javax.ws.rs |
MatrixParam |
[Par,M,F] |
14 |
javax.ws.rs |
CookieParam |
[Par,M,F] |
15 |
javax.ws.rs |
HeaderParam |
[Par,M,F] |
16 |
javax.ws.rs |
Encoded |
[Par,M,F,C,T] |
17 |
javax.ws.rs |
DefaultValue |
[Par,M,F] |
18 |
javax.ws.rs |
HttpMethod |
[A] |
19 |
javax.ws.rs.core |
Context |
[Par,M,F] |
20 |
javax.ws.rs.ext |
Provider |
[T] |
21 |
javax.ws.rs |
OPTIONS |
[M] |
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.servlet.annotation |
ServletSecurity |
[T] |
2 |
javax.servlet.annotation |
WebFilter |
[T] |
3 |
javax.servlet.annotation |
WebInitParam |
[T] |
4 |
javax.servlet.annotation |
MultipartConfig |
[T] |
5 |
javax.servlet.annotation |
WebServlet |
[T] |
6 |
javax.servlet.annotation |
HttpConstraint |
[] |
7 |
javax.servlet.annotation |
HandlesTypes |
[T] |
8 |
javax.servlet.annotation |
WebListener |
[T] |
9 |
javax.servlet.annotation |
HttpMethodConstraint |
[] |
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.faces.component |
FacesComponent |
[T] |
2 |
javax.faces.component.behavior |
FacesBehavior |
[T] |
3 |
javax.faces.validator |
FacesValidator |
[T] |
4 |
javax.faces.event |
ListenerFor |
[T] |
5 |
javax.faces.event |
ListenersFor |
[T] |
6 |
javax.faces.application |
ResourceDependency |
[T] |
7 |
javax.faces.application |
ResourceDependencies |
[T] |
8 |
javax.faces.render |
FacesBehaviorRenderer |
[T] |
9 |
javax.faces.render |
FacesRenderer |
[T] |
10 |
javax.faces.convert |
FacesConverter |
[T] |
11 |
javax.faces.event |
NamedEvent |
[T] |
12 |
javax.faces.bean |
RequestScoped |
[T] |
13 |
javax.faces.bean |
ApplicationScoped |
[T] |
14 |
javax.faces.bean |
NoneScoped |
[T] |
15 |
javax.faces.bean |
SessionScoped |
[T] |
16 |
javax.faces.bean |
ReferencedBean |
[T] |
17 |
javax.faces.bean |
ManagedProperty |
[F] |
18 |
javax.faces.bean |
ViewScoped |
[T] |
19 |
javax.faces.bean |
ManagedBean |
[T] |
20 |
javax.faces.bean |
CustomScoped |
[T] |
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.decorator |
Decorator |
[T] |
2 |
javax.decorator |
Delegate |
[F,Par] |
3 |
javax.enterprise.context |
ApplicationScoped |
[T,M,F] |
4 |
javax.enterprise.context |
ConversationScoped |
[T,M,F] |
5 |
javax.enterprise.context |
Dependent |
[M,T,F] |
6 |
javax.enterprise.context |
NormalScope |
[A] |
7 |
javax.enterprise.context |
RequestScoped |
[T,M,F] |
8 |
javax.enterprise.context |
SessionScoped |
[T,M,F] |
9 |
javax.enterprise.event |
Observes |
[Par] |
10 |
javax.enterprise.inject |
Alternative |
[T,M,F] |
11 |
javax.enterprise.inject |
Any |
[T,M,F,Par] |
12 |
javax.enterprise.inject |
Default |
[T,M,Par,F] |
13 |
javax.enterprise.inject |
Disposes |
[Par] |
14 |
javax.enterprise.inject |
Model |
[T,M,F] |
15 |
javax.enterprise.inject |
New |
[F,Par,M,T] |
16 |
javax.enterprise.inject |
Produces |
[M,F] |
17 |
javax.enterprise.inject |
Specializes |
[T,M] |
18 |
javax.enterprise.inject |
Stereotype |
[A] |
19 |
javax.enterprise.inject |
Typed |
[F,M,T] |
20 |
javax.enterprise.util |
Nonbinding |
[M] |
21 |
javax.inject |
Inject |
[M,C,F] |
22 |
javax.inject |
Named |
[] |
23 |
javax.inject |
Qualifier |
[A] |
24 |
javax.inject |
Scope |
[A] |
25 |
javax.inject |
Singleton |
[] |
Caution
javax.injectパッケージに置くNamedとSingletonは注釈プロパティー・ビューで編集できませんが、エディタからの入力は可能です。
項番 | パッケージ名 | アノテーション名 | Target |
---|---|---|---|
1 |
javax.validation |
Constraint |
[A] |
2 |
javax.validation |
GroupSequence |
[T] |
3 |
javax.validation |
OverridesAttribute |
[M] |
4 |
javax.validation |
ReportAsSingleViolation |
[A] |
5 |
javax.validation |
Valid |
[M,F,C,Par] |
6 |
javax.validation.constraints |
AssertFalse |
[M,F,A,C,Par] |
7 |
javax.validation.constraints |
AssertTrue |
[M,F,A,C,Par] |
8 |
javax.validation.constraints |
DecimalMax |
[M,F,A,C,Par] |
9 |
javax.validation.constraints |
DecimalMin |
[M,F,A,C,Par] |
10 |
javax.validation.constraints |
Digits |
[M,F,A,C,Par] |
11 |
javax.validation.constraints |
Future |
[M,F,A,C,Par] |
12 |
javax.validation.constraints |
Max |
[M,F,A,C,Par] |
13 |
javax.validation.constraints |
Min |
[M,F,A,C,Par] |
14 |
javax.validation.constraints |
NotNull |
[M,F,A,C,Par] |
15 |
javax.validation.constraints |
Null |
[M,F,A,C,Par] |
16 |
javax.validation.constraints |
Past |
[M,F,A,C,Par] |
17 |
javax.validation.constraints |
Pattern |
[M,F,A,C,Par] |
18 |
javax.validation.constraints |
Size |
[M,F,A,C,Par] |
アノテーション名 | カテゴリ | Target |
---|---|---|
javax.ejb.ActivationConfigProperty |
EJB
|
MessageDrivenアノテーションのactivationConfig属性の値。 |
javax.persistence.ColumnResult |
JPA |
SqlResultSetMappingアノテーションのcolumns属性の値。 |
javax.persistence.EntityResult |
JPA |
SqlResultSetMappingアノテーションのentities属性の値。 |
javax.persistence.FieldResult |
JPA |
EntityResultアノテーションのfields属性の値。 |
javax.persistence.PersistenceProperty |
JPA |
PersistenceContextアノテーションのproperties属性の値。 |
javax.persistence.QueryHint |
JPA |
NamedQueryとNamedNativeQueryアノテーションのhints属性の値。 |
javax.persistence.UniqueConstraint |
JPA |
Table、SecondaryTable、JoinTable、TableGeneratorアノテーションのuniqueConstraints属性の値。 |
org.eclipse.persistence.annotations.ConversionValue |
JPA |
ObjectTypeConverterアノテーションのconversionValues属性の値。 |
org.eclipse.persistence.annotations.DiscriminatorClass |
JPA |
VariableOneToOneアノテーションのdiscriminatorClasses属性の値。 |
org.eclipse.persistence.annotations.FetchAttribute |
JPA |
FetchGroupアノテーションのattributes属性の値。 |
org.eclipse.persistence.annotations.StoredProcedureParameter |
JPA |
NamedStoredProcedureQueryアノテーションのparameters属性の値。 |
org.eclipse.persistence.annotations.TimeOfDay |
JPA |
CacheアノテーションのexpiryTimeOfDay属性の値。 |
org.eclipse.persistence.oxm.annotations.XmlParameter |
JPA |
XmlIsSetNullPolicyアノテーションのisSetParameters属性の値。 |
org.eclipse.persistence.platform.database.oracle.annotations.PLSQLParameter |
JPA |
NamedPLSQLStoredProcedureQueryアノテーションのparameters属性、或いはNamedPLSQLStoredFunctionQueryアノテーションのreturnParameter属性、或いはPLSQLRecordアノテーションのfields属性の値。 |
javax.servlet.annotation.HttpMethodConstraint |
Servlet |
ServletSecurityアノテーションのhttpMethodConstraints属性の値。 |
javax.servlet.annotation.HttpConstraint |
Servlet |
ServletSecurityアノテーションのvalue属性の値。 |
javax.xml.bind.annotation.XmlNs |
JAXB |
XmlSchemaのxmlns属性の値。 |
Caution
org.eclipse.persistence.annotations.TimeOfDayとjavax.servlet.annotation.HttpConstraintは注釈プロパティー・ビューで編集できませんが、エディタからの入力は可能です。
図8.5.1.1-1
図8.5.1.1-2