As soon
as we move into the UML unified modeling 
language
section of our class we are going to move from 
using visual logic
to visual paradigm this is a free program
You will want to use the free community edition 
for noncommercial use for classroom use this is 
fineYou will notice that  they have versions that 
to install and versions that you don't install
for the
diversions you don't install it explains how to set 
this up its just run as an executable to it is not
tied into your computer, so you can run it from a 
thumb drive
in this one  can also be installed
on many different operating systems including 
Mac if you wish to
see want to go to visual - paradigm dot com 
download download the free community edition 
that works for your computer
once you've downloaded and installed it when 
you open that this is what you going to see an 
you will notice it is not for commercial in use 
and we will get some watermarks when we use 
it
visual paradigm is a fairly deep program and 
we're not going to get all the way into it but is an 
excellent tool for creating unified modeling 
language diagrams we are going to start with our 
initial diagram which will be a class diagram
to create a class diagram
just double click where it says class diagram
actually, right click and choose a new class 
diagram
and then
it's going to put in the diagram name you're just 
class diagram one
an under class diagram
and just going to
select and then draw my class diagram
at the top it says class I'm going to click next to 
it and put in the class name my sample class 
will be student
I can right click to add items to it and this is 
going be very simple to do what has been to add 
attributes with getter and setter
methods to my first attribute will be student
ID and try to avoid using spaces could you really 
shouldn't in this automatically puts a minus in 
front of it because
typically in object oriented programming those 
properties
those variables should be private and the - 
indicates that they are private when it creates 
that
attibut, it also creates methods getter and setter 
methods which are have plus signs to the left of 
them indicating that they are public methods 
and that they are available from outside of the 
imeadiate program
you'll see that it is going to get student ID here, 
and return nothing because it has a void return 
type
You have get and set student ID methods
methods already put in place now the next 
attribute that I'm going to add will be first
name and
 it automatically adds the first
name getter and setter functions and am also 
going to add the last name
and this is if this is a very standard programs for 
creating UML diagrams, and this is one of the 
most basic diagrams you can create 
something I would like to show you, in the full 
version
there is actually an option
let me see if I can get it to open up on screen,
there's actually an option
you right click
to create
either Java or C++ round trip
what that means that you can either generate 
code or you can reverse code  and create class 
diagrams from the code 
You can see how using a planning to like this 
they can just create the basic code for you from 
the click of a button would make software 
development standardized
less error prone and much faster
so for your homework for this week we have two 
class diagrams that you need to create an you 
need look of the example in the book in from my 
lecture
on how to create pseudocode for classes 
because you'll you'll create two class diagrams 
and the pseudocode go with them. To hand this 
in
I want you to select
a file
export
active diagram as an image
and so I'm going to just save this
to my desktop for right now and it can be called
Winchester, because I download these, please 
use your last name
and that's when the dash
student because it's a student diagram
and I'm going to save it
I'm going to open the file so you can see can 
see what you get
and it does have the condition behind it don't 
worry about that
but I want you to hand in the image
of your file that'll make it easy for everyone to a 
look at them quickly without having to download 
them and open them
so you'll have to hand in your
classes plus your pseudocode for the homework 
for this week
