You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/04/19 16:31:32 UTC

DO NOT REPLY [Bug 34523] New: - Need a BeanUtils.describeRaw method

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34523>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34523

           Summary: Need a BeanUtils.describeRaw method
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Bean Utilities
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: negge@vt.edu


Similar to the issue I submitted here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=34470

It woudld be nice to have a method on BeanUtils that would return a Map that
just contains the values from the bean.  That is, the proposed method
describeRaw would simply iterate over all readable methods (ones that look like
get*) and return a Map where the key is the name of the attribute and the value
is the Object that calling get* returns.

Having this method would make it easy to create generic code that pulls values
out of objects and creates an audit trail using AOP constructs.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org