-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: lazy collections naming
PostPosted: Thu May 21, 2009 5:35 pm 
Newbie

Joined: Thu May 21, 2009 5:25 pm
Posts: 1
Hello !
I have entity with many lazy collections.
And on manager's layer I need different methods which initialize some of these collections.
E. g.

Code:
class Entity {
    // lazy collection
   private List list1;
   //lazy collection
   private List list2;
  ......
  and so on
}


In managers layer I has to create methods like loadEntityWithList1AndList2(), loadEntityWithList1AndList7, etc
So, can you help me,what is the best practice for developing these methods ?

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.