bodybuilder.util
クラス ExtendedPropertyUtils

java.lang.Object
  拡張org.apache.commons.beanutils.PropertyUtils
      拡張bodybuilder.util.ExtendedPropertyUtils

public class ExtendedPropertyUtils
extends org.apache.commons.beanutils.PropertyUtils

拡張プロパティユーティリティ


フィールドの概要
 
クラス org.apache.commons.beanutils.PropertyUtils から継承したフィールド
INDEXED_DELIM, INDEXED_DELIM2, MAPPED_DELIM, MAPPED_DELIM2, NESTED_DELIM
 
コンストラクタの概要
ExtendedPropertyUtils()
           
 
メソッドの概要
static void copyProperties(java.lang.Object dest, java.lang.Object orig)
          プロパティをコピーする。
static java.util.Map getProperties(java.lang.Object bean)
          プロパティをマップとして取得する。
static java.lang.Object getProperty(java.lang.Object bean, java.lang.String name)
          プロパティを取得する。
static void setProperty(java.lang.Object bean, java.lang.String name, java.lang.Object value)
          プロパティを取得する。
 
クラス org.apache.commons.beanutils.PropertyUtils から継承したメソッド
clearDescriptors, describe, getDebug, getIndexedProperty, getIndexedProperty, getMappedProperty, getMappedProperty, getMappedPropertyDescriptors, getMappedPropertyDescriptors, getNestedProperty, getPropertyDescriptor, getPropertyDescriptors, getPropertyDescriptors, getPropertyEditorClass, getPropertyType, getReadMethod, getSimpleProperty, getWriteMethod, isReadable, isWriteable, setDebug, setIndexedProperty, setIndexedProperty, setMappedProperty, setMappedProperty, setNestedProperty, setSimpleProperty
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ExtendedPropertyUtils

public ExtendedPropertyUtils()
メソッドの詳細

getProperties

public static java.util.Map getProperties(java.lang.Object bean)
プロパティをマップとして取得する。

パラメータ:
bean - ビーン
戻り値:
プロパティのマップ

getProperty

public static java.lang.Object getProperty(java.lang.Object bean,
                                           java.lang.String name)
プロパティを取得する。

パラメータ:
bean - ビーン
name - プロパティ名
戻り値:
プロパティ値

setProperty

public static void setProperty(java.lang.Object bean,
                               java.lang.String name,
                               java.lang.Object value)
プロパティを取得する。

パラメータ:
bean - ビーン
name - プロパティ名
value - プロパティ値

copyProperties

public static void copyProperties(java.lang.Object dest,
                                  java.lang.Object orig)
プロパティをコピーする。

パラメータ:
dest - コピー先
orig - コピー元