<UML CHAP 3>
Mulitplicity
CRC(class responsibility-collaboration) 카드를 이용하면 클래스 설계라는 목적에 좀 더
구체적으로 다가갈 수 있음. CRC카드에는 맨 위에 클래스의 이름이 있고 resonsibilities,
즉 해당 클래스 메소드가 있고 그리고 가장 밑에 collaborations, 즉 어떤 다른 클래스와
협동하는지를 나타냄.
Focus on the principal responsibilities of that class
Do not specify constructors
Which operations change the state of the system which do not?
Query without side effects
Modifiers change state
Dependency
Lossely coupled?
'Object Oriented Design with Java' 카테고리의 다른 글
렉쳐 5 리뷰 (0) | 2015.11.08 |
---|---|
렉쳐 4 리뷰 (0) | 2015.11.08 |
렉쳐 3 리뷰 (0) | 2015.11.08 |
클래스 다이어그램 설명 펌 (0) | 2015.11.08 |
렉쳐 2 리뷰 (0) | 2015.11.08 |