본문 바로가기

SW 공부/OOP_OOAD_UML15

[UML] Class Diagram Class Diagrams - static structure를 그릴 때 사용 - The same UML class diagrams can be used in multiple perspectives. * In a conceptual perspective, Domain model - OOA : 간단하게 * In a design perspective, Design Class Diagram (DCD) -OOD : 구현될 때, Design Model code Generation 수준으로 Object - Object Diagram :특정 시점의 관계를 표시 - Object name은 소문자로 시작 - obeject들의 관계는 링크를 연결해서 표시 From Object to Class - A class is a co.. 2022. 8. 29.
[UML] Use Case Diagram Use Case = 시나리오 - text stories of some actors using a system to meet goals. = 외부 사용자가 우리 시스템을 어떻게 사용하는지 글로 써둔 것 → 요구사항을 분석하는 방법/ 장치 - UP에서는 Use case = Functional Requirement 로도 쓰임 Use Case Diagram - Use Case Diagram의 용도 ① 모든 use case에 대한 Summary ② system Context Diagram : 시스템의 바운더리를 그림 3 Formats of Use cases - Brief : Terse one paragraph summary : Usually the main success scenario or a happy pat.. 2022. 8. 29.
[UML] 13개의 UML Diagrams 소개 UML 이란 - Unified Modeling Language - OMG2.0에서 제공하는 SW 외에도 범용 되는 표준 - Combine the best of the best from – Data Modeling (Entity Relationship Diagrams) – Business Modeling (workflow) – Object Modeling – Component Modeling (development and reuse - middleware, COTS) → SW 개발 아니라도 다양한 모델링에도 사용됨 The UML Semantics (UML 의미론) - MOF (Meta Object Facility) defines a four-layer meta model hierarchy. – Layer .. 2022. 8. 29.
[OOP] 3. Object-Oriented Development (객체지향 개발론) Software Development Software Development ≈ Solving Problems with Software in Computer Procedural Programming (절차적 프로그래밍) - 그 방법론이 SASD(Structured Analysis and Structured Design, 구조적 분석 설계) : 전통적인 개발 방법 : Top-Down Divide and Conquer : DFD (Data Flow Diagram)를 사용함 - Structure Analysis : SA/ DFD(level3) → 생각의 흐름대로 진행함 - Structure Design : SD/ Structured chart (케인 모델링 다이어그램) → data in- 계산 - out Obj.. 2022. 8. 29.
[OOP] 2. Object-Oriented Principles (객체지향 원칙) * 5 basic principles : 이 개념들을 이해하면 c++, java를 잘 구현할 수 있다. 1. Abstraction (추상화) - Abstraction 하는 과정을 Modeling 이라고도 함 - Emphasizes relevant characteristics, but suppresses other characteristics - 중요한 건 include (관련 특성을 강조), 나머지는 remove( 다른 특성은 억제) → 현실의 객체를 Abstraction 해서 Model을 만듦 2. Encapsulation (캡슐화) - “Design, produce and describe software so that it can be easily used without knowing the deta.. 2022. 8. 29.
[OOP] 1. Object-Oriented (객체지향) 정의 Object An object (객체) represents an entity(개체). - physical, conceptual or software, informally. - 객체는 다양한 분야에서 일반적인 모든 사물을 지칭함! An object is an entity with a well-defined boundary and identity that encapsulates state and behavior. – State : represented by attributes and relationships – Behavior : represented by operations, methods, and state machines → Objects are grouped into class. → An object.. 2022. 8. 29.