public enum ElementKind extends Enum<ElementKind>
Mostly elements that can be constrained and described in the metadata
but also elements that can be part of a Path and represented
by a Path.Node
| 列挙型定数と説明 |
|---|
BEAN
A Java Bean or object.
|
CONSTRUCTOR
A constructor.
|
CONTAINER_ELEMENT
An element stored in a container, e.g. a key or value of a
Map or an element
of a List. |
CROSS_PARAMETER
Element holding cross-parameter constraints of a method or constructor.
|
METHOD
A method.
|
PARAMETER
A parameter of a method or constructor.
|
PROPERTY
A property of a Java Bean.
|
RETURN_VALUE
The return value of a method or constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static ElementKind |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ElementKind[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final ElementKind BEAN
public static final ElementKind PROPERTY
public static final ElementKind METHOD
public static final ElementKind CONSTRUCTOR
public static final ElementKind PARAMETER
public static final ElementKind CROSS_PARAMETER
public static final ElementKind RETURN_VALUE
public static final ElementKind CONTAINER_ELEMENT
Map or an element
of a List.public static ElementKind[] values()
for(ElementKind c: ElementKind.values()) System.out.println(c);
public static ElementKind valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合Copyright © 2007-2018 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0. Translated by @megascus.