aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Representing a singleton in star uml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Representing a singleton in star uml" Watch "Representing a singleton in star uml" New topic
Author

Representing a singleton in star uml

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Hi,
According to the UML 2 spec, I should be able to represent a Singleton in a sequence diagram.
I can't in Star UML. Does anybody know a free UML tool which can do everything in the UML2 spec?
Thanks.
Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Just an update on this. Star UML does provide some support for representating classes as singletons. you can select the "Apply Pattern" and then select the singleton pattern. Pretty cool. But the representation is that the class gets a self reference. this can look a bit clunky and I'd much prefer the "1" notation in the right hand corner of the class. This is much neater.

I can't get this. Any ideas?

I have also tried another tool: Software Ideas Modeller which looks really good but can't get this "1" notation on that either.

Does anyone know any free tools I can get this on?

Thanks.

Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
Aren't you overcomplicating such a simple thing? When I wanted to emphasise specific design pattern in my assignment I just used stereotype and that's all.
Kuppusamy Venkatasubramanian
Ranch Hand

Joined: Dec 30, 2004
Posts: 91
Hi,

I used streotype to denote singleton and passed the exam.

Cheers,
Kuppusamy.V.,


SCJP1.4, SCBCD 1.3, SCWCD 1.4, SCEA 5, JLPT-N3
My Blog
Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Pavel Kubal wrote:Aren't you overcomplicating such a simple thing? When I wanted to emphasise specific design pattern in my assignment I just used stereotype and that's all.

I agree. But I am trying to use the SCEA to learn other things not just what I need to pass the exam. I may not even have a singleton in my solultion.

I thought this is the best place to post these types of questions.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Representing a singleton in star uml