Re: [Tutor] Creating a pojo in python

2015-02-09 Thread Dave Angel
On 02/09/2015 02:20 AM, rakesh sharma wrote: How can one create a POJO in python.I mean a class like this class A { private a; private b; public getA() { return a; } public getB() { return b }} I tried creating class in python but the variables were accessible as public d

Re: [Tutor] Creating a pojo in python

2015-02-09 Thread Mark Lawrence
On 09/02/2015 07:20, rakesh sharma wrote: How can one create a POJO in python.I mean a class like this class A { private a; private b; public getA() { return a; } public getB() { return b }} I tried creating class in python but the variables were accessible as public data

Re: [Tutor] Creating a pojo in python

2015-02-09 Thread Alan Gauld
On 09/02/15 07:20, rakesh sharma wrote: How can one create a POJO in python.I mean a class like this class A { private a; private b; public getA() { return a; } public getB() { return b }} I tried creating class in python but the variables were accessible as public data m

Re: [Tutor] Creating a pojo in python

2015-02-08 Thread Danny Yoo
On Feb 8, 2015 11:21 PM, "rakesh sharma" wrote: > > How can one create a POJO in python.I mean a class like this > class A { private a; private b; public getA() { return a; } public getB() { return b }} > I tried creating class in python but the variables were accessible as p

[Tutor] Creating a pojo in python

2015-02-08 Thread rakesh sharma
How can one create a POJO in python.I mean a class like this class A { private a; private b; public getA() { return a; } public getB() { return b }} I tried creating class in python but the variables were accessible as public data members. Any help?