#631 - Partial Response : Modified puml digram
This commit is contained in:
@ -2,6 +2,7 @@
|
|||||||
package com.iluwatar.partialresponse {
|
package com.iluwatar.partialresponse {
|
||||||
class FieldJsonMapper {
|
class FieldJsonMapper {
|
||||||
+ FieldJsonMapper()
|
+ FieldJsonMapper()
|
||||||
|
- getString(video : Video, declaredField : Field) : String
|
||||||
+ toJson(video : Video, fields : String[]) : String
|
+ toJson(video : Video, fields : String[]) : String
|
||||||
}
|
}
|
||||||
class Video {
|
class Video {
|
||||||
@ -14,6 +15,11 @@ package com.iluwatar.partialresponse {
|
|||||||
+ Video(id : Integer, title : String, length : Integer, description : String, director : String, language : String)
|
+ Video(id : Integer, title : String, length : Integer, description : String, director : String, language : String)
|
||||||
+ toString() : String
|
+ toString() : String
|
||||||
}
|
}
|
||||||
|
class VideoClientApp {
|
||||||
|
- LOGGER : Logger {static}
|
||||||
|
+ VideoClientApp()
|
||||||
|
+ main(args : String[]) {static}
|
||||||
|
}
|
||||||
class VideoResource {
|
class VideoResource {
|
||||||
- fieldJsonMapper : FieldJsonMapper
|
- fieldJsonMapper : FieldJsonMapper
|
||||||
- videos : Map<Integer, Video>
|
- videos : Map<Integer, Video>
|
||||||
|
Reference in New Issue
Block a user