Private setters for Ids

4 views
Skip to first unread message

Flominator

unread,
Mar 3, 2009, 8:15:19 AM3/3/09
to Castle Project Users
Hi,

some days ago I found out, that Castle doesn't care, if setters,
getters or even whole properties were marked as private. Now I wonder
why all tutorials on the Castle pages don't declare the setters of id
fields as private? Why would anyone want to allow to change the id
from within code?

Best regards,

Flo

Markus Zywitza

unread,
Mar 3, 2009, 10:55:35 AM3/3/09
to castle-pro...@googlegroups.com
I added it to the documentation issue at donjon.

-Markus

2009/3/3 Flominator <Flomi...@gmx.net>:

Flominator

unread,
Mar 6, 2009, 10:01:33 AM3/6/09
to Castle Project Users
http://support.castleproject.org/projects/AR/issues/view/AR-ISSUE-237

Thanks.

Do you want me to help with the id thing?

On 3 Mrz., 16:55, Markus Zywitza <markus.zywi...@gmail.com> wrote:
> I added it to the documentation issue at donjon.
>
> -Markus
>
> 2009/3/3 Flominator <Flomina...84@gmx.net>:

Markus Zywitza

unread,
Mar 9, 2009, 4:08:10 AM3/9/09
to castle-pro...@googlegroups.com
I'm thankful for any contributions :-)
 
-Markus

2009/3/6 Flominator <Flomi...@gmx.net>

Flominator

unread,
Mar 13, 2009, 10:49:12 AM3/13/09
to Castle Project Users
That means changing every ID setter in every example, documentation,
etc. right?
I'm not overwhelmed by the consequences of my question, I just don't
want to do anything wrong.

On 9 Mrz., 09:08, Markus Zywitza <markus.zywi...@gmail.com> wrote:
> I'm thankful for any contributions :-)
>
> -Markus
>
> 2009/3/6 Flominator <Flomina...139@gmx.net>
>
>
>
> >http://support.castleproject.org/projects/AR/issues/view/AR-ISSUE-237141
>
> > Thanks.
>
> > Do you want me to help with the id thing?
>
> > On 3 Mrz., 16:55, Markus Zywitza <markus.zywi...142@gmail.com> wrote:
> > > I added it to the documentation issue at donjon.
>
> > > -Markus
>
> > > 2009/3/3 Flominator <Flomina.....143@gmx.net>:

Markus Zywitza

unread,
Mar 15, 2009, 10:17:01 AM3/15/09
to castle-pro...@googlegroups.com
Start wherever you want. If you are intimidated by Anakia.Net, simply send patches for the Getting-Started-samples.

-Markus

2009/3/13 Flominator <Flomi...@gmx.net>

hammett

unread,
Mar 15, 2009, 1:59:39 PM3/15/09
to castle-pro...@googlegroups.com

Stub implementations of a repository needs to set the Id. In-memory
implementations too.

--
Cheers,
hammett
http://hammett.castleproject.org/

Reply all
Reply to author
Forward
0 new messages