mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 19:26:12 +00:00
b5ddd62145
* #1596:Adding module for SLOB Pattern * #1596:Adding Interface for Serializers * #1596:Adding Objects * #1596:Adding BLOB Based Serializer * #1596:Implemented Clob Based Serializer * #1596:Implemented Service for DB operations * #1596:Implemented basic flow using Clob Serializer * #1596:Added H2 DB Dependency * #1596:Added Java Doc Stubs * Updating Objects * #1596:Completed Clob Serializer along with Tests * #1596:Completed Slob Serializer along with Tests * #1596:Completed Blob Serializer along with Tests * #1596:Updated DatabaseService to handle Blob and Clob Data * #1596:Added UML and updated README.md * #1596:Updated data types for DB * #1596:Code Style Formatting Cnames * Adding Java Docs * #1596:Reformatted as per Code Style * #1596:Updating Java Doc * #1596:Updating Main function to handle both Serializers * #1596:Updated Java Docs * #1596:Updated Java Docs * #1596:Updated Java Docs and formatting * #1596:Updated Java Docs and formatting * #1596:Adding Java Docs * #1596:Reformatted as per Code Style * #1596:Updating Java Doc * #1596:Updating Main function to handle both Serializers * #1596:Updated Java Docs * #1596:Updated Java Docs * #1596:Updated Java Docs and formatting * #1596:Updated Java Docs and formatting * #1596:Updated Java Docs and formatting * #1596:Updated Java Docs and formatting * #1596:Updated README.md * #1596:Updated Java Docs and README.md * #1596:Updated Extension * #1596:Updated README.md * #1596:Updated Documentation as per review comments * #1596:Updated Documentation as per review comments * #1596: Updated README.md * #1596:Updated Documentation as per review comments * #1596: Added SLOB Module --------- Co-authored-by: SHRADDHAP18 <87650482+SHRADDHAP18@users.noreply.github.com>
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
@startuml
|
|
|
|
!theme plain
|
|
top to bottom direction
|
|
skinparam linetype ortho
|
|
|
|
class Animal {
|
|
- animalsEaten: Set<Animal>
|
|
- name: String
|
|
- plantsEaten: Set<Plant>
|
|
animalsEaten: Set<Animal>
|
|
name: String
|
|
plantsEaten: Set<Plant>
|
|
}
|
|
class App
|
|
class BlobSerializer
|
|
class ClobSerializer
|
|
class DatabaseService
|
|
class Forest {
|
|
- animals: Set<Animal>
|
|
- name: String
|
|
- plants: Set<Plant>
|
|
animals: Set<Animal>
|
|
name: String
|
|
plants: Set<Plant>
|
|
xmlDoc: Document
|
|
}
|
|
class LobSerializer
|
|
class Plant {
|
|
- name: String
|
|
- type: String
|
|
name: String
|
|
type: String
|
|
}
|
|
|
|
Animal -[#595959,dashed]-> Plant : "«create»"
|
|
Animal "1" *-[#595959,plain]-> "plantsEaten\n*" Plant
|
|
App -[#595959,dashed]-> Animal : "«create»"
|
|
App -[#595959,dashed]-> ClobSerializer : "«create»"
|
|
App -[#595959,dashed]-> Forest : "«create»"
|
|
App -[#595959,dashed]-> Plant : "«create»"
|
|
BlobSerializer -[#000082,plain]-^ LobSerializer
|
|
ClobSerializer -[#595959,dashed]-> Forest : "«create»"
|
|
ClobSerializer -[#000082,plain]-^ LobSerializer
|
|
Forest "1" *-[#595959,plain]-> "animals\n*" Animal
|
|
Forest "1" *-[#595959,plain]-> "plants\n*" Plant
|
|
LobSerializer "1" *-[#595959,plain]-> "databaseService\n1" DatabaseService
|
|
LobSerializer -[#595959,dashed]-> DatabaseService : "«create»"
|
|
@enduml
|