keycloak
公開メンバ関数 | 全メンバ一覧
org.keycloak.models.utils.reflection.Property< V > インタフェーステンプレート
org.keycloak.models.utils.reflection.Property< V > の継承関係図
Inheritance graph
org.keycloak.models.utils.reflection.Property< V > 連携図
Collaboration graph

公開メンバ関数

String getName ()
 
Type getBaseType ()
 
Class< V > getJavaClass ()
 
AnnotatedElement getAnnotatedElement ()
 
Member getMember ()
 
getValue (Object instance)
 
void setValue (Object instance, V value)
 
Class<?> getDeclaringClass ()
 
boolean isReadOnly ()
 
void setAccessible ()
 
boolean isAnnotationPresent (Class<? extends Annotation > annotation)
 

詳解

A representation of a JavaBean style property

引数
<V>the type of the properties value
参照
Properties

関数詳解

◆ getAnnotatedElement()

AnnotatedElement org.keycloak.models.utils.reflection.Property< V >.getAnnotatedElement ( )

Get the element responsible for retrieving the property value

戻り値

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >, org.keycloak.models.utils.reflection.MethodProperty< V >で実装されています。

◆ getBaseType()

Returns the property type

戻り値
The property type

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ getDeclaringClass()

Class<?> org.keycloak.models.utils.reflection.Property< V >.getDeclaringClass ( )

Returns the class that declares the property

戻り値

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ getJavaClass()

Class<V> org.keycloak.models.utils.reflection.Property< V >.getJavaClass ( )

Returns the property type

戻り値
The property type

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ getMember()

Get the member responsible for retrieving the property value

戻り値

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ getName()

Returns the name of the property. If the property is a field, then the field name is returned. Otherwise, if the property is a method, then the name that is returned is the getter method name without the "get" or "is" prefix, and a lower case first letter.

戻り値
The name of the property

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ getValue()

V org.keycloak.models.utils.reflection.Property< V >.getValue ( Object  instance)

Returns the property value for the specified bean. The property to be returned is either a field or getter method.

引数
beanThe bean to read the property from
戻り値
The property value
例外
ClassCastExceptionif the value is not of the type V

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ isAnnotationPresent()

boolean org.keycloak.models.utils.reflection.Property< V >.isAnnotationPresent ( Class<? extends Annotation >  annotation)

Indicates whether the given annotation is defined for this property. This method will consider the annotations present in both field and accessor method.

引数
annotationThe Annotation to check.
戻り値
True if the annotation is defined. Otherwise is false.

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ isReadOnly()

boolean org.keycloak.models.utils.reflection.Property< V >.isReadOnly ( )

Indicates whether this is a read-only property

戻り値

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ setAccessible()

void org.keycloak.models.utils.reflection.Property< V >.setAccessible ( )

Calls the setAccessible method on the underlying member(s).

The operation should be performed within a PrivilegedAction

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。

◆ setValue()

void org.keycloak.models.utils.reflection.Property< V >.setValue ( Object  instance,
value 
)

This method sets the property value for a specified bean to the specified value. The property to be set is either a field or setter method.

引数
beanThe bean containing the property to set
valueThe new property value

org.keycloak.models.utils.reflection.MethodPropertyImpl< V >で実装されています。


このインタフェース詳解は次のファイルから抽出されました: