IM-ERP Real Connect

jp.co.intra_mart.foundation.sap.common.util
クラス PropertyDescriptorBox

java.lang.Object
  上位を拡張 jp.co.intra_mart.foundation.sap.common.util.PropertyDescriptorBox

public final class PropertyDescriptorBox
extends Object

JavaBeansクラスから取得するPropertyDescriptorをキャッシュするためのクラスです。

バージョン:
8.0

メソッドの概要
static void clear()
          キャッシュしたPropertyDescriptorをクリアします。
static PropertyDescriptor[] getPropertyDescriptor(Object beanObject)
          引数JavaBeansオブジェクトのPropertyDescriptor[]を取得します。
static PropertyDescriptor[] getPropertyDescriptor(String beanClassPath)
          引数JavaBeansクラス名からPropertyDescriptor[]を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getPropertyDescriptor

public static PropertyDescriptor[] getPropertyDescriptor(String beanClassPath)
                                                  throws IntrospectionException,
                                                         ClassNotFoundException
引数JavaBeansクラス名からPropertyDescriptor[]を取得します。

パラメータ:
beanClassPath - JavaBeansクラス名
戻り値:
引数beanClassPathで指定したJavaBeansクラス名のPropertyDescriptor[]
例外:
IntrospectionException - イントロスペクション中に例外が発生した場合にスローされます。
ClassNotFoundException - 引数で指定したクラスが見つからない場合にスローされます。

getPropertyDescriptor

public static PropertyDescriptor[] getPropertyDescriptor(Object beanObject)
                                                  throws IntrospectionException
引数JavaBeansオブジェクトのPropertyDescriptor[]を取得します。

パラメータ:
beanObject - PropertyDescriptor[]を取得したい BeanObject
戻り値:
引数JavaBeansオブジェクトのPropertyDescriptor[]
例外:
IntrospectionException - イントロスペクション中に例外が発生した場合にスローされます。

clear

public static void clear()
キャッシュしたPropertyDescriptorをクリアします。


IM-ERP Real Connect

Copyright (c) 2013 NTT DATA INTRAMART CORPORATION.