The following comment has been added to this issue:
Author: Dennis Sosnoski
Created: Thu, 24 Feb 2005 6:49 PM
Body:
Yes, this needs to have a cast added to the code. I don't have time right now
to point you in the right direction, but the same sort of thing goes on for
regular structures in the ComponentObject code generation.
I was planning to take care of this for the new release. It's messy because of
the ugly BindingBuilder code, but not too bad otherwise from what I remember.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/JIBX-48?page=comments#action_30288
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/JIBX-48
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JIBX-48
Summary: Use item-type as the parameter type of the add-method in collection
Type: Improvement
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: JiBX
Components:
core
Versions:
1.0-beta3c
Assignee:
Reporter: Juan Carlos Estibariz
Created: Tue, 2 Nov 2004 5:21 PM
Updated: Thu, 24 Feb 2005 6:49 PM
Description:
The current implementation only allows java.lang.Object as the parameter type
for the method specified in the attribute add-method of the element collection.
Instead, it should use the class specified in the attribute item-type (if this
attribute is not specified it should use java.lang.Object).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs