commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SANDBOX-482) Add short cut methods for accessing property values
Date Thu, 23 Oct 2014 06:40:33 GMT

    [ https://issues.apache.org/jira/browse/SANDBOX-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181067#comment-14181067
] 

Benedikt Ritter commented on SANDBOX-482:
-----------------------------------------

{code}
$ svn ci -m "SANDBOX-482: Add short cut methods for accessing property values"
Sending        src/changes/changes.xml
Sending        src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
Sending        src/main/java/org/apache/commons/beanutils2/DefaultBeanAccessor.java
Sending        src/main/java/org/apache/commons/beanutils2/DefaultIndexedPropertyGetterAccessor.java
Sending        src/main/java/org/apache/commons/beanutils2/DefaultMappedPropertyGetterAccessor.java
Sending        src/main/java/org/apache/commons/beanutils2/IndexedPropertyGetterAccessor.java
Sending        src/main/java/org/apache/commons/beanutils2/MapBeanAccessor.java
Sending        src/main/java/org/apache/commons/beanutils2/MappedPropertyGetterAccessor.java
Sending        src/main/java/org/apache/commons/beanutils2/NullBeanAccessor.java
Sending        src/test/java/org/apache/commons/beanutils2/GetIndexedPropertyTestCase.java
Sending        src/test/java/org/apache/commons/beanutils2/GetMappedPropertyTestCase.java
Sending        src/test/java/org/apache/commons/beanutils2/GetPropertyTestCase.java
Sending        src/test/java/org/apache/commons/beanutils2/MapBeanTestCase.java
Transmitting file data .............
Committed revision 1633693.
{code}

> Add short cut methods for accessing property values
> ---------------------------------------------------
>
>                 Key: SANDBOX-482
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-482
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: BeanUtils2
>            Reporter: Benedikt Ritter
>            Assignee: Benedikt Ritter
>
> When accessing the acutal property values, one always has to call get() to get the wrapped
value. Implement short cut methods:
> * getValue(String propertyName)
> * getMapped(String propertyName).valueOf(String key)
> * getIndexed(String propertyName).valueAt(int index)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message