|
From: Arne L. (JIRA) <no...@at...> - 2007-11-23 22:37:16
|
Provide a ClassPropertyAccessStrategy
-------------------------------------
Key: RCP-499
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-499
Project: Spring Framework Rich Client Project
Issue Type: New Feature
Components: Binding System
Reporter: Arne Limburg
Attachments: ClassPropertyAccessStrategy.patch
You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Arne L. (JIRA) <no...@at...> - 2007-11-23 22:37:16
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arne Limburg updated RCP-499:
-----------------------------
Attachment: ClassPropertyAccessStrategy.patch
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-499
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Attachments: ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Arne L. (JIRA) <no...@at...> - 2007-11-25 13:37:17
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arne Limburg updated RCP-499:
-----------------------------
Attachment: ClassPropertyAccessStrategy.patch
This patch fixes two minor bugs of the first patch
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-499
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Attachments: ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Jan H. (JIRA) <no...@at...> - 2007-12-03 10:06:20
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28201 ]
Jan Hoskens commented on RCP-499:
---------------------------------
I noticed that there's still the need to provide an object in the constructor of the ClassPropertyAccessStrategy. It should however be possible to provide only a class/interface instead of an instance. I'll see if I can fix this (will take some time).
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-499
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Assignee: Jan Hoskens
> Attachments: ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Arne L. (JIRA) <no...@at...> - 2007-12-03 14:18:22
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28206 ]
Arne Limburg commented on RCP-499:
----------------------------------
The Object is needed for the get- and setPropertyValue-methods. The property-type-determination works without objects, even for (Java-5-)Collections. The underlying MemberPropertyAccessor can take a class or interface in its proteced Constructor. Either way the actual property-access must be implemented.
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-499
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Assignee: Jan Hoskens
> Attachments: ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Arne L. (JIRA) <no...@at...> - 2007-12-08 20:29:17
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arne Limburg updated RCP-499:
-----------------------------
Attachment: ClassPropertyAccessStrategy.patch
I have added a ClassPropertyAccessStrategy that does not need an object (and renamed the old ClassPropertyAccessStrategy to ObjectPropertyAccessStrategy). But whereas the ObjectPropertyAccessStrategy behaves nearly like the BeanPropertyAccessStrategy, there is still some behaviour to be defined for the ClassPropertyAccessStrategy:
If you set a nestedProperty.simpleProperty via the ClassPropertyAccessStrategy and set the nestedProperty afterwards. What should happen? Should the nestedProperty.simpleProperty stay the old value, become the new value of the nestedProperty or shall the simpleProperty of the object set as nestedProperty get the previously set value?
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-499
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Assignee: Jan Hoskens
> Attachments: ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Lieven D. (JIRA) <no...@sp...> - 2008-10-09 19:45:22
|
[ http://jira.springframework.org/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo updated RCP-499:
-----------------------------
Fix Version/s: 1.x
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://jira.springframework.org/browse/RCP-499
> Project: Spring Framework Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Assignee: Jan Hoskens
> Fix For: 1.x
>
> Attachments: ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Arne L. (JIRA) <no...@sp...> - 2008-10-23 18:48:06
|
[ http://jira.springframework.org/browse/RCP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40607#action_40607 ]
Arne Limburg commented on RCP-499:
----------------------------------
The patch is already applied. So this Issue can be closed from my point of view.
> Provide a ClassPropertyAccessStrategy
> -------------------------------------
>
> Key: RCP-499
> URL: http://jira.springframework.org/browse/RCP-499
> Project: Spring Rich Client Project
> Issue Type: New Feature
> Components: Binding System
> Reporter: Arne Limburg
> Assignee: Jan Hoskens
> Fix For: 1.x
>
> Attachments: ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch, ClassPropertyAccessStrategy.patch
>
>
> You discussed the creation of a ClassPropertyAccessStrategy some month ago. My implementation can detect property-types based on provided classes or interfaces even if some object in the property path is null. It can detect collection types if Java 5 Generics are available. Field-access can optionally switched on or off. Within this patch I have abstracted out an AbstractPropertyAccessStrategy. This base-class for BeanPropertyAccessStrategy and ClassPropertyAccessStrategy can easily to be used to implement further PropertyAccessStrategy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|