Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1243

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-1243
    Summary: Only attribute getter in CMP-bean, results in unset values for 
this attribute in VO (return null)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: XDoclet
 Components: 
             Core
   Versions:
             1.2.2

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Ronny Eckardt

    Created: Fri, 21 Jan 2005 7:50 AM
    Updated: Fri, 21 Jan 2005 7:50 AM

Description:
Situation:
* CMP bean contains only getter methods for some attributes. 
* Value-object getter and setter methods are generated by XDoclet.
* it is correct the the value-object has no setter methods for the attributes 
that are only readably by the bean.

Result/Failor: 
* Value-object returned by cmpBean.getCmpBeanValue():CmpBeanValue contains only 
values for attributes having setters also in the bean class itself.

Wished behavior:
* the getter returns same value like the method of the bean 
cmpBean.getReadonlyAttribute()

Reason:
* the generated code uses only the setters of the value-object and not the 
constructor of the value-object (that contains a parameter for the read-only 
value!)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to