×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Visio UML Class Diagrams

Visio UML Class Diagrams

Visio UML Class Diagrams

(OP)
I've been using Visio 2007 SP2 since early 2008 for generating MEP P&ID's.  But, recently I've been taking C/C++ Programming courses at UCSD.  This semester we are learning OOP and UML Diagrams.  The 1st lesson required us to create a UML class diagram with 3 private objects, 5 public functions and a <<constructor>> function.  

However, the Visio help (off/on-line) does not explain how to create this constructor function that initializes the 3 private
objects when the instance is created.  I created a function in the operation properties for a constructor - Data(month: Integer, day: Integer, year: Integer).  But, I don't know how to make this a Visio 2007 UML constructor identified by <<constructor>> in front of Date(...).

According to what I could find on-line, I created a new stereotype(UML --> stereotype) "constructor" with Base Class = "Class" and
IsRoot, IsLeaf and IsAbstract unchecked.  I then Right+Clicked on
the Date Class block, clicked on Operations, selected the
constructor "Date", clicked on Properties --> UML Operation
Properties for Date.  Can you tell me why Visio will not let me set the stereotype for Date to constructor?  What am I missing here?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close