commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "china m.t.xiatian 11602011 (JIRA)" <j...@apache.org>
Subject [jira] Created: (BEANUTILS-329) get return for a Object
Date Wed, 12 Nov 2008 14:17:44 GMT
get return for a Object
-----------------------

                 Key: BEANUTILS-329
                 URL: https://issues.apache.org/jira/browse/BEANUTILS-329
             Project: Commons BeanUtils
          Issue Type: Improvement
          Components: Bean / Property Utils
    Affects Versions: 1.8.0-BETA
         Environment: eclipse,tomcat
            Reporter: china m.t.xiatian 11602011
             Fix For: Nightly Builds


{code}
// X-UI org/apache/commons/beanutils/BeanUtils.java add by china m.t.xiatian 11602011 start
	public static Object getPropertyForObject(Object bean, String name)
			throws IllegalAccessException, InvocationTargetException,
			NoSuchMethodException {
		return BeanUtilsBean.getInstance().getPropertyForObject(bean, name);
	}
  // X-UI org/apache/commons/beanutils/BeanUtils.java add by china m.t.xiatian 11602011 end
{code}

{code}
// X-UI org/apache/commons/beanutils/BeanUtilsBean.java add by china m.t.xiatian 11602011
start
	public Object getNestedPropertyForObject(Object bean, String name)
			throws IllegalAccessException, InvocationTargetException,
			NoSuchMethodException {
		return getPropertyUtils().getNestedProperty(bean, name);
	}
	public Object getPropertyForObject(Object bean, String name)
			throws IllegalAccessException, InvocationTargetException,
			NoSuchMethodException {
		return (getNestedPropertyForObject(bean, name));
	}
    // X-UI org/apache/commons/beanutils/BeanUtilsBean.java add by china m.t.xiatian 11602011
end

{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message