Meaningless Drivel is fun!*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes How to create a component and a class with same name in StarUML? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "How to create a component and a class with same name in StarUML?" Watch "How to create a component and a class with same name in StarUML?" New topic
Author

How to create a component and a class with same name in StarUML?

Prashanth Jetti
Greenhorn

Joined: Dec 30, 2008
Posts: 5
I am using StarUML for my SCEA assignment. Is it possible to create a component and a class with the same name?
I tried to create a component "SearchProcessorEJB" but was getting "Name Conflict" since I already have a class with the same name.
Any suggestions other than placing the diagrams in different models?!
Thanks.

SCEA 5
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Enter white space might do the trick. Anyway, StarUML is strange, even create 2 classes with the same name, should not be a problem in UML.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Prashanth Jetti
Greenhorn

Joined: Dec 30, 2008
Posts: 5
Thanks! White space did the trick!
ashish bhandari
Greenhorn

Joined: Jul 25, 2013
Posts: 1
Solution for Name conflict error is given even if class is deleted

just open the <name>.uml file in some other editor and find the word which one is conflicting and replace with the original one which you want to replace and replace too as well which is last deleted StarUml take reference of all deleted diagrams and names,

I did it in same way and its working smoothly.
 
 
subject: How to create a component and a class with same name in StarUML?
 
Similar Threads
Looking for a UML tool.
Alternate flows -- sequence diagrams
Does StarUML support UML2.0
Cleared SCEA - Essay on 06-NOV
Which is the best IDE for SCEA part 2?