commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1240639 - /commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/
Date Sat, 04 Feb 2012 23:17:13 GMT
Author: simonetripodi
Date: Sat Feb  4 23:17:13 2012
New Revision: 1240639

URL: http://svn.apache.org/viewvc?rev=1240639&view=rev
Log:
(keyed|mapped) properties *setters* will need a different extra step as well to specify the
index/key

Added:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyGetterAccessor.java
      - copied, changed from r1240637, commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyAccessor.java
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyGetterAccessor.java
      - copied, changed from r1240637, commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyAccessor.java
Removed:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyAccessor.java
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyAccessor.java
Modified:
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
    commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java?rev=1240639&r1=1240638&r2=1240639&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
Sat Feb  4 23:17:13 2012
@@ -31,10 +31,10 @@ public interface BeanAccessor<B>
     BeanAccessor<?> getProperty( String name )
         throws IllegalAccessException, IntrospectionException, InvocationTargetException,
NoSuchMethodException;
 
-    IndexedPropertyAccessor getIndexedProperty( String name )
+    IndexedPropertyGetterAccessor getIndexedProperty( String name )
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException;
 
-    MappedPropertyAccessor getMappedProperty( String name )
+    MappedPropertyGetterAccessor getMappedProperty( String name )
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException;
 
     B get();

Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java?rev=1240639&r1=1240638&r2=1240639&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
Sat Feb  4 23:17:13 2012
@@ -61,14 +61,14 @@ final class DefaultBeanAccessor<B>
         return new DefaultBeanAccessor<Object>( newBean );
     }
 
-    public IndexedPropertyAccessor getIndexedProperty( String name )
+    public IndexedPropertyGetterAccessor getIndexedProperty( String name )
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
     {
         // TODO Auto-generated method stub
         return null;
     }
 
-    public MappedPropertyAccessor getMappedProperty( String name )
+    public MappedPropertyGetterAccessor getMappedProperty( String name )
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
     {
         // TODO Auto-generated method stub

Copied: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyGetterAccessor.java
(from r1240637, commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyAccessor.java)
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyGetterAccessor.java?p2=commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyGetterAccessor.java&p1=commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyAccessor.java&r1=1240637&r2=1240639&rev=1240639&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/IndexedPropertyGetterAccessor.java
Sat Feb  4 23:17:13 2012
@@ -19,7 +19,7 @@ package org.apache.commons.beanutils2;
  * under the License.
  */
 
-public interface IndexedPropertyAccessor
+public interface IndexedPropertyGetterAccessor
 {
 
     BeanAccessor<?> at( int index );

Copied: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyGetterAccessor.java
(from r1240637, commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyAccessor.java)
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyGetterAccessor.java?p2=commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyGetterAccessor.java&p1=commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyAccessor.java&r1=1240637&r2=1240639&rev=1240639&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyAccessor.java
(original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/MappedPropertyGetterAccessor.java
Sat Feb  4 23:17:13 2012
@@ -19,7 +19,7 @@ package org.apache.commons.beanutils2;
  * under the License.
  */
 
-public interface MappedPropertyAccessor
+public interface MappedPropertyGetterAccessor
 {
 
     BeanAccessor<?> withKey( String key );



Mime
View raw message