Work on #190: Add first batch of automagically generated puml files

This commit is contained in:
NooBxGockeL
2016-08-30 13:29:12 +02:00
parent e73867f9a1
commit 36fe249960
86 changed files with 4700 additions and 0 deletions

View File

@ -0,0 +1,42 @@
@startuml
package com.iluwatar.datamapper {
interface StudentDataMapper {
+ delete(Student) {abstract}
+ find(int) : Optional<Student> {abstract}
+ insert(Student) {abstract}
+ update(Student) {abstract}
}
class App {
- log : Logger {static}
- App()
+ main(args : String[]) {static}
}
class Student {
- grade : char
- name : String
- serialVersionUID : long {static}
- studentId : int
+ Student(studentId : int, name : String, grade : char)
+ equals(inputObject : Object) : boolean
+ getGrade() : char
+ getName() : String
+ getStudentId() : int
+ hashCode() : int
+ setGrade(grade : char)
+ setName(name : String)
+ setStudentId(studentId : int)
+ toString() : String
}
class StudentDataMapperImpl {
- students : List<Student>
+ StudentDataMapperImpl()
+ delete(studentToBeDeleted : Student)
+ find(studentId : int) : Optional<Student>
+ getStudents() : List<Student>
+ insert(studentToBeInserted : Student)
+ update(studentToBeUpdated : Student)
}
}
StudentDataMapperImpl --> "-students" Student
StudentDataMapperImpl ..|> StudentDataMapper
@enduml