[jira] Closed: (AXISCPP-228) getter and setter methods should be generated as the Java version do

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (AXISCPP-228) getter and setter methods should be generated as the Java version do

JIRA axis-c-dev@ws.apache.org
     [ http://issues.apache.org/jira/browse/AXISCPP-228?page=all ]
     
Dushshantha Chandradasa closed AXISCPP-228:
-------------------------------------------


Getter and setter methods are now autogenerated by the wsdl2ws tool.

Still the attributes of the partucular generated class are defined as public variables in the header file. I didn't change this in to private variables. to do that change i have to make major modifications in code generation. I think it should be addressed as a seperate issue.  

For elements which belong to wsdl construct 'choice', setters automatically set other choice elements to NULL.

> getter and setter methods should be generated as the Java version do
> --------------------------------------------------------------------
>
>          Key: AXISCPP-228
>          URL: http://issues.apache.org/jira/browse/AXISCPP-228
>      Project: Axis-C++
>         Type: Wish
>   Components: WSDL processing - RPC
>     Versions: 1.5 Alpha
>     Reporter: Geir Egil Hansen
>     Assignee: Dushshantha Chandradasa
>     Priority: Minor

>
> data hiding is of importance in C++ as well as in Java. So I should wish Axis C++ can generate getter and setter methods for the data members the same way as the Java version does

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira