UML Background Add-on
/CMD=1
/CMD=2
Represents an association between two classifiers.
Represents an association attribute or list of attributes whose values serve to partition the set of objects associated with an object across an association.
UML master stores embedded UML model information.
Root Entry
UML System 2
derived
documentation
friend
IDL Data Types
long(idl)
location
persistence
responsibility
semantics
long double(idl)
unsigned long long(idl)
unsigned long(idl)
string(idl)
unsigned short(idl)
wchar(idl)
sequence(idl)
octet(idl)
float(idl)
long long(idl)
object(idl)
double(idl)
short(idl)
fixed(idl)
char(idl)
boolean(idl)
any(idl)
wstring(idl)
import
instance
metaclass
C# Data Types
bool
byte
char
decimal
double
float
long
object
sbyte
short
string
uint
ulong
ushort
void
responsibilit
Static Model
Drawing Classes
Comment1
"DrawingObject" and "Shape" are both
Abstract Base Classes. The first line of an
Abstract Base Class uses the word "MustInherit",
Example: Class MustInherit DrawingObject
By convention, a class diagram shows the names of
Abstract Base Classes italicized (i.e. slanty)
The "Sub Draw" and "Function Area" should be
designated MustOverride. Example:
Sub MustOverride Draw(c as Canvas)
Generalization2
Canvas
height
width
Display
color
Plot
info
Object
This is the Base class of ALL classes in Visual Basic.Net
ToString
Generalization5
Shape
Area
Point
Line
Draw
Generalization4
Generalization3
Generalization1
DrawingObject
Generalization7
Generalization8
Circle
center
radius
Rectangle
upperLeft
lowerRight
docume
ntation
Class "Rectangle" should have 4 different
constructors (i.e. Sub New). Two of them
take a single point and the dimensions of
the rectangle. The other two will take two
points,one for the upper left hand corner
and one for the lower right hand corner.
Polygon
AddPoint
Generalization6
Triangle
Square
side
Color should be implemented as
a "property" with "get" and "set" methods.
The actual colorValue should be private
but the Property color should be public, i.e.:
Public Property Color as Char
The following is a UML class diagram that shows the inheritance hierarchy of the classes we have been creating. Each "box" stands for a class. The top section shows the name of the class.
The middle section shows the data members for the class. The bottom section of each box shows the methods for the class. A plus sign (+) next to a data member or method
indicates that the item is "Public". A minus sign (-) indicates that the item is "Private". In the methods "in" for a parameter indicates that the parameter is passed ByVal, "out" and "inOut"
indicate that a parameter is passed ByRef. The diagram below does NOT show all of the Private data for each class. You should use whatever Private data and methods that you find necessary
to implement the classes.
x and y should be implemented as
properties. The actual values for
x and y should be private members
of the class, e.g.
Private xValue, yValue as Integer
Public property x as Integer
etc.
ToString should be declared as
Sub Overrides ToString( ) as String.
It should return a string that represents
the point, e.g. for x=3 and y=4 the
string could look as follows (without
the quotes): "(3,4)"
Each class that can have a "color" should
have at least two constructors. One that
takes a color and one that doesn't.
All VB.Net classes are derived
from "Object". You DON'T need
to specify this. Normally I wouldn't
show "Object" on
a diagram.
association
global
local
parameter
self
postcondition
VB Data Types
Decimal
Double
Integer
Boolean
Byte
Char
Date
Long
Short
Single
String
file
library
table
becomes
call
copy
C++ Data Types
signed char
signed short
long double
signed int
signed long
wchar_t
unsigned char
unsigned short
unsigned int
unsigned long
framework
topLevelPackage
subtype
requirement
system
inherits
implementation class
powertype
executable
subclass
precondition
private
destroy
deletion
useCaseModel
struct
send
enumeration
estroy
invariant
thread
protected
document
stereotype
create
process
extends
utility
uses
union
facade
stub
type
<unspecified>
delegate
Object,UML,deployment,software,modeling
Drag onto the page to add a particular instance of a class.
gram.
Width User.DefaultWidth
Represents an instance of a class.
Class,UML,state,structure,software,modeling
Drag onto the page to specify a set of objects that have similar structure, behavior, and relationships.
Represents a descriptor for a set of objects with similar structure, behavior and relationships.
Extend Arrow
Generalization,UML,state,structure,software,modeling
Drag onto the page to add a classification relationship between a more general and a more specific element.
re diagram.
Indicates a classification relationship between a more general and a more specific element.
Note,use,case,UML,software,modeling
Drag onto the page and then type to add text.
iagram.
Connect Note
Use to place a comment on a diagram.
C:\Program Files\Microsoft Office\Visio11\1033\UMLACT_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\UMLCOL_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\UMLCOM_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\UMLDEP_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\UMLSEQ_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\UMLSTA_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\UMLSTR_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\UMLUSE_U.VSS
C:\Program Files\Microsoft Office\Visio11\1033\BASIC_U.VSS
{230FAAA3-8EE4-4FE8-80F9-62CB02B0175D}
{26C4F000-AED2-4555-8BF5-4CCE4DA6DCE1}
{E6BE0200-EFD0-4872-BC03-D22D68E40E8F}
{572ABEAA-28BD-4CD6-8794-BDDD7090658B}
{60A8D9F1-89AB-4ED4-B050-6C5F52A05C86}
{107CF9BC-D8B8-444B-AFA0-107E92634529}
{86A58A9A-AC2A-499A-B30A-963876154C4D}
{68434D1A-E514-44E0-877E-40CD0D4C55CD}
{075D8013-61E1-4968-93DC-BB2620330413}
{42DAD61A-66C6-4AF5-A6F6-7B930D7D6C8B}
{C1CD4F36-5456-4B71-98C5-2A88FF58E8AB}
{359A8499-93CD-49B9-8F1A-E5C669F21B8C}
{9673F9DD-2A33-4F99-AE3E-6FEDF9700C93}
{8E0AD9E7-8573-4CF6-998E-5BA8975E9CDB}
{7398F670-B4E8-4CA9-B88E-AB570C7E84CC}
{3DBA3A6F-361B-45D9-8E05-48BD5DF6BB2A}
{F503A73B-62E9-429B-884B-8E90A4F45F9F}
{C4BB9082-6F2B-4817-AB79-EB06E5F53D4B}
{04885E9C-22A0-40F3-A07C-20D61D50FF55}
{EAF1CB46-DC2A-4183-B0CB-584E2636FFF4}
{5DA29F3B-33DA-4E5E-9FDD-BAEEFB3029E2}
{2DD8ECEA-1743-479C-A83E-8B3758557478}
{B4A7F681-32C7-40EA-8C6E-4D8C8EF50843}
{20376079-CEA4-4998-BD45-64895020F53B}
{41B23789-9ECF-40F9-A436-89434010A1A3}
{FB83E10D-9E63-4523-A122-EF772F3F05F6}
{88F53425-7E88-4A01-A248-239B8660F87D}
{E6A3F799-51D0-4180-9557-3FBEC4A1AA2A}
Arial Unicode MS
Symbol
Wingdings
Arial
SimSun
PMingLiU
MS PGothic
Dotum
Sylfaen
Estrangelo Edessa
Vrinda
Shruti
Mangal
Tunga
Sendnya
Raavi
Dhenu
Latha
Gautami
Cordia New
MS Farsi
Gulim
Times New Roman
Guide
TheDoc
Generalization
Gesture Format
Row_1
UMLDiagramType
UML Normal
Connector
Black fill
White line
Generalization Arrow
Dynamic Connector
Row_2
Row_3
Row_4
Row_5
Row_6
UMLShapeType
UMLObjectGUID
UMLError
BeginAngle
EndAngle
UMLPresOption1
UMLSuppressOption
Navigability
UMLVersion
end1_name
end1_mp
end2_name
end2_mp
Navigable
Shared
Composite
Composite Navigable
Shared Navigable
Qualifier
Shared Qualifier
Composite Qualifier
Composite Navigable Qualifier
Shared Navigable Qualifier
Navigable Qualifier
Procedure Call
Asynchronous Flow
Flat Flow
realize_subshape
real_subshape
Watermark Title
Visio Extended Data
UMLAutoLockTextEdit
UMLPresOption2
DefaultWidth
EnsureWidthOK
visDescription
visVersion
Attributes
Name
HeightRatio
UMLPageGUID
Deployment-1
Class
UMLTemplate
Row_7
Row_8
Operations
Parameters
Class.20
Class.29
Class.38
Class.47
Class.56
Class.65
Class.74
Class.83
Class.92
Discriminator
Generalization.103
Generalization.105
Class Diagram
Note
Note.130
Note.133
Note.124
Note.127
Note.136
Note.139