commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norm Deane" <norm.de...@vanderbilt.edu>
Subject RE: [beanutils][collections] Transformer, Predicate, and Closure Implementation
Date Wed, 27 Aug 2003 15:36:12 GMT
I've attached a zip file which includes the java files for the
Predicate, Closure, and Transformer along with their respective test
cases.  I wasn't sure what release these might make it into so I did NOT
include an @since in my JavaDocs.  I also included a patch for a couple
very minor changes I made to TestBean to support some of my test cases.

--Norm

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
norm.deane@vanderbilt.edu 

-----Original Message-----
From: Norm Deane [mailto:norm.deane@vanderbilt.edu] 
Sent: Tuesday, August 26, 2003 2:00 PM
To: 'Jakarta Commons Developers List'
Subject: RE: [beanutils][collections] Transformer, Predicate, and
Closure Implementation


Not a problem.  I will add the license and e-mail the new files along
with test cases later this week.  Unless someone speaks up I will leave
the package as is.

--Norm

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
norm.deane@vanderbilt.edu 

-----Original Message-----
From: robert burrell donkin
[mailto:robertburrelldonkin@blueyonder.co.uk] 
Sent: Sunday, August 24, 2003 4:04 AM
To: Jakarta Commons Developers List
Subject: Re: [beanutils][collections] Transformer, Predicate, and
Closure Implementation


hi norm

i've taken a look and these look pretty cool and i'd be interested in 
adding them to beanutils. there are a few issues that should be
discussed 
before i'd be willing to make this happen:

1. the apache license has not been included at the top of each file.
since 
this assigns copyright to the ASF it's taken as a sufficient indication 
that you are willing to donate the code. please either resubmit with the

ASF license at the top of each source file or confirm to the list that
you 
want to donate this code.

2, would you be willing to create and donate some unit tests for these 
class? (all new code should have unit tests and if you're not willing to

create them that means a committer must which is extra work and may lead

to the item sinking down the list of priorities...)

3. packaging. as submitted, these classes will be placed in the root 
beanutils package. if there are going to be a lot of other stuff along 
similar lines, maybe it'd be better to create a new package. comments 
anyone?

- robert

On Thursday, August 21, 2003, at 06:45 PM, Norm Deane wrote:

> I recently implemented a Closure, Transformer, and Predicate which
> make use of PropertyUtils to provide some useful functionality when 
> dealing with Collections of beans.  I wanted to offer them up as a 
> candidate for the BeanUtils package and/or get some feedback from the 
> list.
>
> --> BeanPropertyValueChangeClosure is an implementation of
> Closure</code> that updates a specified property on the object
> provided with a specified value.
>
> --> BeanPropertyValueEqualsPredicate is an implementation of Predicate
> that evaluates a property value on the object provided against a
> specified value and returns true if equal; false otherwise.
>
> --> BeanToPropertyValueTransformer is an implementation of Transformer
> that transforms the object provided by returning the value of a
> specified property of the object.
>
>
> Thanks,
>
> Norm
>
>
> --
> Norm Deane
> MIS Consultant
> Vanderbilt University
> (615) 322-7855
> norm.deane@vanderbilt.edu
>  ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


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



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


Mime
View raw message