Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I'm so glad I found this site... Now I can get some sleep, because my problem is solved..."

Geography

Where in the world do Tek-Tips members come from?
JohnnyRKSD (Programmer)
15 Jul 11 22:33
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?

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!

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