This is an old revision of the document!


Unified Modeling Language

시스템을 시각화하거나 시스템의 사양이나 설계를 문서화하기 위한 방법

http://www.uml.org/

Class Diagram
  • Class 표기
    • 클래스명, 필드명, 메소드명순으로 직사각형 분할.
    • Abstract Class/Method : Italic
    • static Field/Method : Underline
  • Inheritance(상속) : 하위 클래스가 상위 클래스로부터 확장한 관계 (─▷)
  • Interface의 구현 관계 : —▷
  • Aggregation(집약) : 인스턴스를 갖고 있는 관계 (◇─>)

/* [Customer] ◇─> [Person] */

class Person { //... }
class Customer {
  Person[] person;
}

  • 접근 제어 (Java 기준으로)
    • + : public
    • - : private
    • # : protected
    • ~ : default
Sequence Diagram
  • Class의 표현은 “:Class”
  • ─▶ : Method 호출
  • ←- : Method의 Return
unified_modeling_language.1509091412.txt.gz · Last modified: (external edit)