org.seasar.framework.util
クラス FieldUtil

java.lang.Object
  拡張org.seasar.framework.util.FieldUtil

public final class FieldUtil
extends Object

作成者:
higa

メソッドの概要
static Object get(Field field, Object target)
           
static int getInt(Field field)
           
static int getInt(Field field, Object target)
           
static String getString(Field field)
           
static String getString(Field field, Object target)
           
static boolean isInstanceField(Field field)
           
static boolean isPublicField(Field field)
           
static void set(Field field, Object target, Object value)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

get

public static Object get(Field field,
                         Object target)
                  throws IllegalAccessRuntimeException
例外:
IllegalAccessRuntimeException

getInt

public static int getInt(Field field)
                  throws IllegalAccessRuntimeException
例外:
IllegalAccessRuntimeException

getInt

public static int getInt(Field field,
                         Object target)
                  throws IllegalAccessRuntimeException
例外:
IllegalAccessRuntimeException

getString

public static String getString(Field field)
                        throws IllegalAccessRuntimeException
例外:
IllegalAccessRuntimeException

getString

public static String getString(Field field,
                               Object target)
                        throws IllegalAccessRuntimeException
例外:
IllegalAccessRuntimeException

set

public static void set(Field field,
                       Object target,
                       Object value)
                throws IllegalAccessRuntimeException
例外:
IllegalAccessRuntimeException

isInstanceField

public static boolean isInstanceField(Field field)

isPublicField

public static boolean isPublicField(Field field)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.