• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Showing spring datatype in RationalRose class diagram

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am new to both Rational Rose 2003 version and UML. I read some books on UML.
I want to draw a class diagram. I have a class say EmployeeDao which has an attribute name "template" of type "org.springframework.orm.hibernate3.HibernateTemplate". How can show a datatype of type "org.springframework.orm.hibernate3.HibernateTemplate" ? in RationalRose 2003

 
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just create a class HibernateTemplate under org.springframework.orm.hibernate3 package.

Try to look at Help, Rose should have a feature to import .java/.class to Classes.
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried to import spring-orm.jar, but the import expects petal file(.ptl extension). If I define attribute type just as HibernateTemplate, it does not give any error and code gets generated but in the class it does not define full class name of HibernateTemplate, nor it adds import in java class. So obviously compiler will give error. There must be some way but I don't know how to it. Even if I could do this with STARUml, I am still ok with it because I am just learning.
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry reopening this thread but I still could not get answer to this.

I want to draw a class diagram. I have a class say EmployeeDao which has an attribute name "template" of type "org.springframework.orm.hibernate3.HibernateTemplate". How can show a datatype of type "org.springframework.orm.hibernate3.HibernateTemplate" ? in RationalRose 2003
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic