Ingeniero

Solo disponible en BuenasTareas
  • Páginas : 2 (319 palabras )
  • Descarga(s) : 0
  • Publicado : 28 de enero de 2011
Leer documento completo
Vista previa del texto
UML Cheatsheet
Class Diagram Elements
Package::AbstractClass -Attribute : Type -ClassAttribute : Type +Operation(Arg:Type):Type #AbstractOperation generalization visibility Note dependency Parentmultiplicity 1 parent role association

child

*

Child

Association Class

*
0..1 info

SubClass

Interface

ChildInfo

realizes qualified association Value 1 key Interfacedependency ParameterizedClass Operation(Arg: T) Operation2(): T T

Implementor

Sequence Diagram Elements
Object : Class Object2 object creation call(obj) incoming message new Object3

callbackinteraction frame loop / alt / opt return delete frame type {constraint} {alternative} callUnderConstraint callUnderAlternative object destruction

selfCall

(cc) 2006 Lou Franco - Some Rights Reserved -Attribution-NonCommercial-ShareAlike 2.5 http://creativecommons.org/licenses/by-nc-sa/2.5/

Package Diagram Elements
dependency Data

View

Model

SQLServer

Oracle

Object DiagramElements
parent: Parent

John : Child name = "John" Mary : Child name = "Mary"

Use Case Diagram Elements

system boundary actor

Role

Use Case

Common Use Case Role

Use Case

UseCase Role

Role

(cc) 2006 Lou Franco - Some Rights Reserved - Attribution-NonCommercial-ShareAlike 2.5 http://creativecommons.org/licenses/by-nc-sa/2.5/

Sample Class Diagrams
Component +bg :Color +fg : Color +pos: Point +size: Dimension +Paint(dc) DrawingContext drawRect drawLine drawEllipse

*
children 1 parent

Button

EditBox

Panel

Container

Invoice

*

LineItemquantity : int +calcTotal() : Money

1

Product price : Money

TV

Radio

che

1

Library checkout return

1

Membership start : Date renewal : Date

Lendable

*
1

LendRecordid newArrival : Boolean calcDueDate(member): Date

*

due : Date returned : Boolean LendRecord(lendable, member, date) isDue() : Boolean renew(Date)

*
Book CD 1

*
Member

DVD (cc) 2006...
tracking img