Reply To: Addtional info for Code Generation for class relat

Hello DuĊĦan,

in addition to my last mail here is the (beautiful) sample code from FUJABA:

public class Client

{

/**

* <pre>

* 0..1 is connected to 0..*

* Client ------------------------------- Server

* myClient myServer

* </pre>

*/

private FHashSet myServer;

public boolean addToMyServer(Server value) {...}

public boolean hasInMyServer(Server value) {...}

public Iterator iteratorOfMyServer() {...}

public void removeAllFromMyServer() {...}

public boolean removeFromMyServer(Server value) {...}

public int sizeOfMyServer() {...}

public void removeYou() {...}

}

Stephan 28 September 2010 11:08:09

New Comment

Comment
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]