UML drawing

Subdecks (1)

Cards (28)

  • class diagram: Class title, attributes, and operations
  • class diagram method syntax: (priv/pub sign) (name) (paramName : paramType) : (returnType(if applicable)) (+ bookToPage (x : int) : Page)
  • class diag: + = public, - = private (# = protected, ~ = package)
  • class diag: underline = static
  • class diag attribute syntax: (priv/pub sign) (name) : (type)
  • collaborations should NOT be written as attributes (eg. pages here)
  • classes describe the data and operations to be contained and their responsibilities are typically either to hold info or run operations
  • CRC: describe name, responsibilities (including data held) and collaborators (abstract design)