blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 5 227 | content_id stringlengths 40 40 | detected_licenses listlengths 0 28 | license_type stringclasses 2 values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 36 values | visit_date timestamp[us]date 2015-08-14 10:26:58 2023-09-06 06:45:32 | revision_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | committer_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | github_id int64 206k 631M ⌀ | star_events_count int64 0 6.51k | fork_events_count int64 0 1.54k | gha_license_id stringclasses 11 values | gha_event_created_at timestamp[us]date 2012-08-01 17:54:24 2023-09-14 21:57:05 ⌀ | gha_created_at timestamp[us]date 2009-05-21 02:09:00 2023-04-21 10:18:22 ⌀ | gha_language stringclasses 55 values | src_encoding stringclasses 12 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 16 1.74M | extension stringclasses 12 values | code stringlengths 16 1.74M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ceb1296cf599ffbc3a66f387a1dbe3d1d2bb5b6 | f17f77128c254105d3b7f967fc02fdd0ba6f89fc | /informe/ejemplo_inclusión2.plantuml | 152cc4d48e023091bff63d617f1343e7c8debd61 | [] | no_license | pablodanielrey/dsbm | 35ce53e0075980e31a96a40229d2babaefd4b476 | 722a6b02b637f7d989d0ba9b1c4c45a4caf3938c | refs/heads/master | 2023-06-11T00:01:34.747361 | 2021-07-01T12:53:04 | 2021-07-01T12:53:04 | 355,921,264 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 53 | plantuml | @startuml inclusión2
class Clase2 {
}
@enduml |
2e3566a3c10c2c2602af113333ca4cf55b0714c0 | e5c092a77299001abd168cf62a5ca58aafc116f7 | /docs/diagrams/GenericProcessFunction.puml | 1e7bc351ab9f32cc43de64f4a38a3e999193c2e6 | [] | no_license | vgrme/iudx-adaptor-framework | 93d50e40b8f5ce95f7f63f4da21497473a64478f | 95ad59f890a126fb1eaad87466f58e847c6ac9e8 | refs/heads/master | 2023-05-05T19:49:03.826927 | 2021-05-31T14:17:16 | 2021-05-31T14:17:16 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 315 | puml | @startuml
class GenericProcessFunction {
<extends KeyedProcessFunction>
-- public --
Transformer transform // Json-to-json
Deduplicator deduplicate
Aggregater aggregate
-- private (stateful) --
State state
-- public --
void open()
void onTimer()
processElement(Message msg, ...)
}
@enduml
|
dfb0e4b16752b8d325854830b30216f1299dc086 | b97eb1712cbe8e6917603c1efb868407669692e5 | /docs/design/003-wallet-storage/wallet-encryption.puml | e3882103aa21fe086ce382c1a96ecb8258b73c24 | [
"Apache-2.0"
] | permissive | evernym/indy-sdk | 3fefe08927cfe0cbd2efcd2e1f9b4e72bf3f53b2 | 714d449353518f929d9787d3156af785e2a42ccb | refs/heads/master | 2021-04-15T10:21:56.633058 | 2019-07-02T18:28:20 | 2019-07-02T18:28:20 | 126,876,532 | 5 | 19 | Apache-2.0 | 2023-02-22T23:46:03 | 2018-03-26T19:02:36 | Rust | UTF-8 | PlantUML | false | false | 1,087 | puml | @startuml wallet-encryption
interface Tag {
+name
+value
}
class EncryptedTag {
+name: XChaCha20-Poly1305(data=tag_name, key=k5, iv=HMAC-SHA256(data=tag_name, key=k7))
+value: XChaCha20-Poly1305(data=tag_value, key=k6, iv=HMAC-SHA256(data=tag_value, key=k7))
}
Tag <|-- EncryptedTag
class UnencryptedTag {
+name: XChaCha20-Poly1305(data=tag_name, key=k5, iv=HMAC-SHA256(data=tag_name, key=k7))
+value: plain(data=tag_value)
}
Tag <|-- UnencryptedTag
interface Record {
+type
+id
+value
}
Record "1" --* "*" Tag : tags
class KeysRecord {
+type: "KEYS"
+id: "KEYS_ID"
+value: XChaCha20-Poly1305(data=k1||k2||k3||k4||k5||k6||k7, key=master_key, iv=rand())
}
KeysRecord --|> Record
class WalletRecord {
+type: XChaCha20-Poly1305(data=type, key=k1, iv=HMAC-SHA256(data=type, key=k4))
+name: XChaCha20-Poly1305(data=name, key=k2, iv=HMAC-SHA256(data=name, key=k4))
+value: XChaCha20-Poly1305(data=value_key, key=k3, iv=rand())||XChaCha20-Poly1305(data=value, key=value_key, iv=rand())
}
WalletRecord --|> Record
@enduml |
308b85620e1de4d8fff24e285e16532914fa7992 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/Utils/MonoBehaviourTest/MonoBehaviourTest.puml | f0017d3842f3d49936d07f4f69d734acb3126866 | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 275 | puml | @startuml
class "MonoBehaviourTest`1"<T> {
+ component : T <<get>>
+ MonoBehaviourTest(dontDestroyOnLoad:bool)
+ <<override>> keepWaiting : bool <<get>>
}
CustomYieldInstruction <|-- "MonoBehaviourTest`1"
"MonoBehaviourTest`1" --> "gameObject" GameObject
@enduml
|
9fa68373909eb686887e11b404888bc9c8f8f060 | 569cfca76020969f3b9f9e89997ecf52ec631436 | /diagramas/dc.plantuml | 0a1b5076beafc497992d209b623a7f05d8516ed2 | [] | no_license | fiuba/algo3_inscripciones | 2d04445ed278765baf715efe8e1c91032093e478 | 085a19a71cbad316c85897f0b58e7e419b5cb948 | refs/heads/master | 2023-08-11T12:46:46.773111 | 2021-10-08T01:17:38 | 2021-10-08T01:19:37 | 414,805,922 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 405 | plantuml | @startuml
class Alumno {
- padron
+ padron(unPadron)
+ sos(unPadron) : boolean
}
class VerificacionCupo {
- cota
+ valor(cota)
+ ejecutar(valor)
}
class Materia {
- cupo
+ inscribir( a : Alumno)
+ alumnoPorPadron( p : Padron)
}
Materia o- "0..*" Alumno
Materia ..> VerificacionCupo: "<<instanciate>>"
@enduml
|
665e6c881227302b3e3567d506c1286bf7053640 | 7fbdb3db8e966a7f78cad2d9e6798dfd8aedea01 | /src/com/cjj/designpattern/creator/builder/BuilderClassGraph.puml | 7f12d287959bbba91d33a8a5bd4677d0ca7f45dc | [] | no_license | vuquangtin/DesignPattern-1 | 3d1fc64e8412bf5ba3a10a38dde121c68ffc8b9a | 47182c1c6e3f7e4126d33bdca53e055d9f0b3b5d | refs/heads/master | 2021-10-09T20:10:01.009239 | 2019-01-03T01:33:51 | 2019-01-03T01:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 503 | puml | @startuml
class Builder{
makeTitle()
makeString()
makeItems()
close()
}
class TextBuilder{
private buffer
makeTitle()
makeString()
makeItems()
close()
getResult()
}
class HTMLBuilder{
private filename
private writer
makeTitle()
makeString()
makeItems()
close()
getResult()
}
class Director{
private Builder builder
construct()
}
class Main{
}
TextBuilder --|>Builder
HTMLBuilder --|>Builder
Director o->Builder
Main -->TextBuilder:Uses >
Main -->HTMLBuilder:Uses >
Main -->Director:Uses >
@enduml |
e280249a48615c7431649b6c2ee75cbd3eb90975 | 644b7bb773b84596a2de4d31a0603284d9562e56 | /react/routes/index.iuml | 46a2c8981a7f10fdb57dbf5e1704551df4e207bd | [] | no_license | M9k/Marvin-Uml | e62d17245cf493d53f0b80f633a47be8ec44569e | 0fe9bc36f947535ae4397181ccf8c85291244a87 | refs/heads/master | 2021-04-15T17:44:22.461549 | 2018-05-10T07:52:19 | 2018-05-10T07:52:19 | 126,618,685 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,853 | iuml | package Routes{
class RoutesFactory {
{static} + createRoutes(userType: number): object
}
Page ..> Router
Router --> RoutesFactory
RoutesFactory ..>UniversityRoutes
RoutesFactory ..>AdminRoutes
RoutesFactory ..>TeacherRoutes
RoutesFactory ..>StudentRoutes
RoutesFactory ..>PublicRoutes
class Router <<created by react-router>>{
}
class UniversityRoutes {
--routes--
index -> UniversityIndex
academicyears -> UniversityAcademicYears
admins -> UniversityAdmins
logout -> LogoutPage
help -> HelpPage
price -> PricePage
}
/'
UniversityRoutes ..> UniversityPages
'/
UniversityRoutes ..> UniversityIndex
UniversityRoutes ..> UniversityAcademicYears
UniversityRoutes ..> UniversityAdmins
UniversityRoutes ..> LogoutPage
UniversityRoutes ..> HelpPage
UniversityRoutes ..> PricePage
class AdminRoutes{
--routes--
index -> AdminIndex
confirm/teacher -> AdminUsersNotConfirmed
confirm/students -> AdminUsersNotConfirmed
user/teacher -> AdminUserConfirmed
user/students -> AdminUserConfirmed
courses -> AdminCourses
courses/:examId -> AdminCourseExams
logout -> LogoutPage
help -> HelpPage
price -> PricePage
}
/'
AdminRoutes ..> AdminPages
'/
AdminRoutes ..> AdminIndex
AdminRoutes ..> AdminUsersConfirmed
AdminRoutes ..> AdminUsersNotConfirmed
AdminRoutes ..> AdminCourses
AdminRoutes ..> AdminCourseExams
AdminRoutes ..> LogoutPage
AdminRoutes ..> HelpPage
AdminRoutes ..> PricePage
class TeacherRoutes {
--routes--
index -> TeacherIndex
exams -> TeacherExams
exams/:examid -> TeacherExamStudents
logout -> LogoutPage
help -> HelpPage
price -> PricePage
}
/'
TeacherRoutes ..> TeacherPages
'/
TeacherRoutes ..> TeacherIndex
TeacherRoutes ..> TeacherExams
TeacherRoutes ..> TeacherExamStudents
TeacherRoutes ..> LogoutPage
TeacherRoutes ..> HelpPage
TeacherRoutes ..> PricePage
class StudentRoutes{
--routes--
index -> StudentIndex
other exams -> OptionalExams
logout -> LogoutPage
help -> HelpPage
price -> PricePage
}
/'
StudentRoutes ..> StudentPages
'/
StudentRoutes ..> StudentIndex
StudentRoutes ..> StudentExams
StudentRoutes ..> StudentOptionalExams
StudentRoutes ..> StudentSummary
StudentRoutes ..> LogoutPage
StudentRoutes ..> HelpPage
StudentRoutes ..> PricePage
class PublicRoutes{
--routes--
login -> LoginPage
index -> PublicIndex
help -> HelpPage
price -> PricePage
request -> SubmissionPage
}
PublicRoutes ..> LoginPage
PublicRoutes ..> PublicIndex
PublicRoutes ..> HelpPage
PublicRoutes ..> PricePage
PublicRoutes ..> SubmissionPage
}
|
a166a3dc737740a18e2e59690c816c827baa9021 | 9cccabca8eff25502a735f8fe4ceff3a09b4c444 | /res/uml/ExecutionContext.puml | 52057bec1b45f86130259bc653fe4bc4dcefbdbd | [
"CC-BY-SA-3.0",
"CC-BY-SA-4.0",
"Apache-2.0"
] | permissive | NiccoMlt/protelis-web-thesis | 1d077bf8180c415789d52f4a7bb9e5c67d470bb3 | 49bf1e3a3b89df55f0a4176bb4c3b3a14941d497 | refs/heads/master | 2020-12-23T14:02:23.293073 | 2020-03-23T19:14:45 | 2020-03-23T19:14:45 | 237,173,330 | 0 | 0 | Apache-2.0 | 2020-03-11T13:34:43 | 2020-01-30T08:51:15 | TeX | UTF-8 | PlantUML | false | false | 1,040 | puml | @startuml ExecutionContext
' skinparam groupInheritance 2
' skinparam linetype polyline
' skinparam linetype ortho
skinparam linetype straight
' skinparam monochrome true
skinparam ClassBorderColor black
skinparam ArrowColor black
skinparam backgroundColor transparent
skinparam classBackgroundColor transparent
' skinparam style strictuml
class ProtelisVM {
- ctx: ExecutionContext
- prog: ProtelisProgram
+ runCylce()
}
interface ExecutionContext {
+ deviceUID
+ currentTime
}
together {
interface TimeAwareDevice extends ExecutionContext
interface SpatiallyEmbeddedDevice extends ExecutionContext
interface LocalizedDevice extends ExecutionContext {
+ coordinates
}
abstract class AbstractExecutionContext extends ExecutionContext
}
interface NetworkManager
AbstractExecutionContext o.up. NetworkManager: features
ProtelisVM o.. ExecutionContext: uses
interface ProtelisProgram {
+ name
+ currentValue
+ compute(executionContext)
}
ProtelisVM o.left. ProtelisProgram: executes
@enduml
|
b03836d472cd77fe537ee88c5100bf4097ee91cf | f876fcde7a637d67bbbabb83624c28045c9675ae | /diagrams/src/Application/Exceptions/InvalidEvent.puml | c857a9c1722dfe74cd84299ac1530d07cfc5bc87 | [
"MIT"
] | permissive | converge-app/chat-service | aa431668be05ea646fd781d52d8bb18b9ff5a1fd | 1ecce444167925467a8ff2235509353c076a1236 | refs/heads/master | 2023-03-11T14:28:10.323241 | 2019-12-17T12:06:22 | 2019-12-17T12:06:22 | 213,873,991 | 0 | 0 | MIT | 2023-03-04T01:15:45 | 2019-10-09T09:17:45 | C# | UTF-8 | PlantUML | false | false | 258 | puml | @startuml
class InvalidMessage {
+ InvalidMessage()
+ InvalidMessage(message:string)
+ InvalidMessage(message:string, inner:Exception)
# InvalidMessage(info:SerializationInfo, context:StreamingContext)
}
Exception <|-- InvalidMessage
@enduml
|
ec31524bdffaa79cc6cc847fce7d9891e3477d71 | e07dc55c0ba41b7bb2b38eedc093e412f7f12ce2 | /assets/architecture/diagrams/UserAggregation.puml | 878f81bbbb50cc19a11cf3d87445a135f95ef1df | [] | no_license | pigplan-club/piggyplanner | 1900de8cce45df7f746fdc0da9fd41e23db360ad | e52b06019793a6e9a6bf45b42ab6708f9fac8b85 | refs/heads/master | 2022-11-30T10:04:09.171438 | 2020-08-07T14:46:05 | 2020-08-07T14:46:05 | 248,398,351 | 0 | 0 | null | 2020-04-28T03:46:18 | 2020-03-19T03:05:44 | Kotlin | UTF-8 | PlantUML | false | false | 220 | puml | @startuml
class User <<Aggregate>> {
username: String
password: String
salt: String
premium: Boolean
tokenId: String
accessToken: String
}
class UserId<<ValueObject>>{
userId: UUID
}
UserId -* User
@enduml
|
4a1f6bba0841a77b00406c391477b1a642af9c2e | 279cc8e145ee24a54642cf65fd211ec86119d904 | /Structure/UML/plantUML/game.plantuml | 3decd622a83ecaccbbc06e8efc1c9e957f3ee1dc | [] | no_license | inf112-v21/Snokarane | df3f335d043aae1949cd25cb240987df1aeef9ac | e9efa51936ec6ee65a189003938d196e70b1a4f8 | refs/heads/master | 2023-04-13T03:20:26.577259 | 2021-04-27T11:18:07 | 2021-04-27T11:18:07 | 335,426,577 | 1 | 0 | null | 2021-04-21T11:14:01 | 2021-02-02T21:21:40 | Java | UTF-8 | PlantUML | false | false | 3,025 | plantuml | @startuml
title __GAME's Class Diagram__\n
namespace inf112.skeleton.app {
namespace game {
class inf112.skeleton.app.game.GameClient {
+ name : String
+ GameClient()
+ drawCards()
+ registerChosenCards()
+ setMap()
+ updateMap()
}
}
}
namespace inf112.skeleton.app {
namespace game {
class inf112.skeleton.app.game.GameHost {
+ clientPlayers : HashMap<Integer, PlayerToken>
+ isShowingCards : boolean
- cardPlayerTokenMap : HashMap<Card, PlayerToken>
- cardsPerPlayerTurn : List<List<Card>>
- cardsProcessedPerRound : int
- currentCardListBeingProcessed : List<Card>
- currentCardRound : int
- timeSinceLastCardProcessed : long
+ GameHost()
+ allCardsReady()
+ checkCards()
+ drawCards()
+ endOfTurn()
+ handleSingleCardRound()
+ initializeHostPlayerToken()
+ initializePlayerPos()
+ registerChosenCards()
+ resetPlayerTokens()
+ resolveCard()
+ setMap()
+ updateMap()
+ wrapper()
- findPlayerRespawnLocation()
- getNthSelectionFromEachPlayer()
- handleSinglePlayerCard()
- movePlayer()
- processCards()
- resetCardDelayVariables()
}
}
}
namespace inf112.skeleton.app {
namespace game {
abstract class inf112.skeleton.app.game.GamePlayer {
+ chosenCards : ArrayList<Card>
+ damageCounters : int
+ discard : ArrayList<Card>
+ hand : ArrayList<Card>
+ newCardsDelivered : boolean
+ powerDown : boolean
# deck : ArrayList<Card>
+ GamePlayer()
+ chooseCards()
{abstract} + drawCards()
+ drawCardsFromDeck()
{abstract} + registerChosenCards()
{abstract} + setMap()
{abstract} + updateMap()
}
}
}
namespace inf112.skeleton.app {
namespace game {
enum PLAYERSTATE {
NONE
PICKING_CARDS
SENDING_CARDS
}
}
}
inf112.skeleton.app.game.GameClient -up-|> inf112.skeleton.app.game.GamePlayer
inf112.skeleton.app.game.GameClient o-- inf112.skeleton.app.network.NetworkClient : client
inf112.skeleton.app.game.GameHost -up-|> inf112.skeleton.app.game.GamePlayer
inf112.skeleton.app.game.GameHost o-- inf112.skeleton.app.network.NetworkHost : host
inf112.skeleton.app.game.GameHost o-- inf112.skeleton.app.libgdx.Map : map
inf112.skeleton.app.game.GamePlayer o-- inf112.skeleton.app.game.GamePlayer.PLAYERSTATE : state
inf112.skeleton.app.game.GamePlayer +-down- inf112.skeleton.app.game.GamePlayer.PLAYERSTATE
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
ac15f5b5bf1d044e36f03ed7546fa1e37ce5c017 | 5124b2dbc6276b681910d5584179a02ddc345669 | /documentation/uml/class/GuestProvider.puml | 6fd1223a80e193ed63d1dc2da0347529aa447069 | [] | no_license | Dedda/paintball | 258257ce2b0b6160abe4a9dbbbf7c7a658416d5b | fb18cf11e2fc3f7eca7e0d26a2847743b560dc2f | refs/heads/master | 2020-12-30T09:58:02.507682 | 2015-06-16T17:22:59 | 2015-06-16T17:22:59 | 30,232,508 | 1 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 613 | puml | @startuml
class hotel.db.provider.GuestProvider {
- roomProvider : RoomProvider
+ getAll() : List<Guest>
+ getCurrents() : List<Guest>
+ getForId(int) : Guest
+ getForName(String) : Guest
+ getForNameLike(String) : List<Guest>
+ saveNew(Guest) : int
+ remove(Guest) : void
+ toPay(Guest) : int
- createForName(String, Connection) : PreparedStatement
- createForFullName(String, String, Connection) : PreparedStatement
- createForNameLike(String, Connection) : PreparedStatement
- createForFullNameLike(String, String, Connection) : PreparedStatement
}
@enduml |
1eefb2ed14cb4dac5d78aaf548df108dd894c706 | ad220fbaa3799ab6669a89b07f799234424efa96 | /src/game/level/level.plantuml | 694afea668fcbd44f484371aa81c7d1fcb01cc34 | [] | no_license | Bert54/ACL_2019_TP11_GROUPE3 | 271befc364675de7f346618af7e51d542c922a21 | ec7e5036d1bfb81e5b70b6f05579cb938485f7d7 | refs/heads/master | 2020-11-27T03:04:42.612167 | 2019-12-14T01:38:56 | 2019-12-14T01:38:56 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,384 | plantuml | @startuml
title __LEVEL's Class Diagram__\n
namespace game.level {
class game.level.Background {
+ Background()
+ draw()
}
}
namespace game.level {
class game.level.Button {
- text : String
+ Button()
+ draw()
+ getBox()
+ setButton()
}
}
namespace game.level {
class game.level.Camera {
+ Camera()
}
}
namespace game.level {
class game.level.CollisionResolver {
+ CollisionResolver()
+ resolve()
- collision()
- collision()
- noCollision()
}
}
namespace game.level {
interface game.level.Drawable {
{abstract} + draw()
}
}
namespace game.level {
class game.level.HealthBar {
- healthBarWidth : int
- height : int
- text : String
- width : int
+ HealthBar()
+ draw()
+ getWidth()
+ setHealthBarWidth()
+ setText()
}
}
namespace game.level {
class game.level.Maze {
+ Maze()
+ cleanup()
+ getEntities()
+ getTiles()
+ spawnProjectile()
}
}
namespace game.level {
class game.level.TextureFactory {
{static} - textures : Map<String, Texture>
{static} + get()
~ TextureFactory()
}
}
namespace game.level {
class game.level.Vec2 {
+ x : int
+ y : int
+ Vec2()
+ Vec2()
+ Vec2()
+ normalize()
}
}
game.level.Background .up.|> game.level.Drawable
game.level.Background o-- game.level.Vec2 : box
game.level.Background o-- engine.Texture : texture
game.level.Button .up.|> game.level.Drawable
game.level.Button -up-|> javax.swing.JPanel
game.level.Button o-- game.level.Vec2 : box
game.level.Button o-- game.level.Vec2 : position
game.level.Camera o-- game.level.Vec2 : position
game.level.Camera o-- game.level.Vec2 : scissor
game.level.HealthBar .up.|> game.level.Drawable
game.level.Maze --"*" game.entities.GameEntity : entities
game.level.Maze --"*" game.entities.GameEntity : pending
game.level.Maze --"*" game.entities.Tile : tiles
game.level.Maze o-- game.entities.EntityBuilder : builder
game.level.Maze o-- model.WorldController : controller
game.level.Maze o-- game.tiles.TileBuilder : tileBuilder
@enduml
|
587fbdf96f64739c7f24a7a54a2a81098db868c1 | e5c5b38d8ed2bbc5dcc461d97e5107ca6a39f598 | /bytecode/etc/bytecode.urm.puml | d675ae398c6c2c4f9320b0eb4b4cd0ca10ae57fe | [
"MIT"
] | permissive | silviotorre/java-dp-test | 9483ea5e559d34c903119340b8a5a56345ca2e67 | 9120ef9244c568a9992de0a5fbb4d1bff33ef4d3 | refs/heads/main | 2023-03-21T14:34:01.218147 | 2021-03-17T17:58:05 | 2021-03-17T17:58:05 | 348,780,777 | 1 | 0 | MIT | 2021-03-17T17:58:05 | 2021-03-17T16:37:58 | Java | UTF-8 | PlantUML | false | false | 1,943 | puml | @startuml
package com.iluwatar.bytecode {
class App {
- LOGGER : Logger {static}
+ App()
- interpretInstruction(instruction : String, vm : VirtualMachine) {static}
+ main(args : String[]) {static}
}
enum Instruction {
+ ADD {static}
+ DIVIDE {static}
+ GET_AGILITY {static}
+ GET_HEALTH {static}
+ GET_WISDOM {static}
+ LITERAL {static}
+ PLAY_SOUND {static}
+ SET_AGILITY {static}
+ SET_HEALTH {static}
+ SET_WISDOM {static}
+ SPAWN_PARTICLES {static}
- value : int
+ getInstruction(value : int) : Instruction {static}
+ getIntValue() : int
+ valueOf(name : String) : Instruction {static}
+ values() : Instruction[] {static}
}
class VirtualMachine {
- stack : Stack<Integer>
- wizards : Wizard[]
+ VirtualMachine()
+ execute(bytecode : int[])
+ getAgility(wizard : int) : int
+ getHealth(wizard : int) : int
+ getStack() : Stack<Integer>
+ getWisdom(wizard : int) : int
+ getWizards() : Wizard[]
+ setAgility(wizard : int, amount : int)
+ setHealth(wizard : int, amount : int)
+ setWisdom(wizard : int, amount : int)
}
class Wizard {
- LOGGER : Logger {static}
- agility : int
- health : int
- numberOfPlayedSounds : int
- numberOfSpawnedParticles : int
- wisdom : int
+ Wizard()
+ getAgility() : int
+ getHealth() : int
+ getNumberOfPlayedSounds() : int
+ getNumberOfSpawnedParticles() : int
+ getWisdom() : int
+ playSound()
+ setAgility(agility : int)
+ setHealth(health : int)
+ setWisdom(wisdom : int)
+ spawnParticles()
}
}
package com.iluwatar.bytecode.util {
class InstructionConverterUtil {
+ InstructionConverterUtil()
+ convertToByteCode(instructions : String) : int[] {static}
- isValidInstruction(instruction : String) : boolean {static}
- isValidInt(value : String) : boolean {static}
}
}
@enduml |
efe22c8259817cdbb6b136fd19c3e1085de462de | 1c70d2377c157d5fbdc09fd1b632dc0c4bf995cc | /de.gematik.ti.openhealthcard.events/src/main/java/de/gematik/ti/openhealthcard/events/control/control.plantuml | 4cacbc21290a3677ea82bbcef677c6f00f74dd43 | [
"Apache-2.0"
] | permissive | gematik/ref-OpenHealthCard-Events | 8bbe0eadbb401f4266728adfd09f4f6fe53a428c | 7e295edba16ded76504226edf8960d7875691b76 | refs/heads/master | 2022-02-03T17:08:51.607464 | 2022-01-07T07:35:58 | 2022-01-07T07:35:58 | 214,091,929 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,940 | plantuml | @startuml
title __CONTROL's Class Diagram__\n
namespace de.gematik.ti.openhealthcard.events.control {
class de.gematik.ti.openhealthcard.events.control.CommonEventTransmitter {
{static} - packageFilter : String
{static} + postError()
{static} + postError()
{static} + postInfo()
{static} + postWarn()
{static} + setPackageFilter()
- CommonEventTransmitter()
{static} - checkStackTraceElement()
{static} - findClassName()
}
}
namespace de.gematik.ti.openhealthcard.events.control {
enum PinType {
MRPIN_AMTS
MRPIN_DPE
MRPIN_DPE_READ
MRPIN_GDD
MRPIN_NFD
MRPIN_NFD_READ
MRPIN_OSE
PIN_CH
}
}
namespace de.gematik.ti.openhealthcard.events.control {
class de.gematik.ti.openhealthcard.events.control.RequestTransmitter {
+ cardAccessNumber()
+ paceKey()
+ pinNumber()
+ requestCardAccessNumber()
+ requestPaceKey()
}
}
namespace de.gematik.ti.openhealthcard.events.control {
class de.gematik.ti.openhealthcard.events.control.RequestTransmitterCardAccessNumber {
+ request()
+ request()
~ RequestTransmitterCardAccessNumber()
}
}
namespace de.gematik.ti.openhealthcard.events.control {
class de.gematik.ti.openhealthcard.events.control.RequestTransmitterPaceKey {
+ request()
+ request()
~ RequestTransmitterPaceKey()
}
}
namespace de.gematik.ti.openhealthcard.events.control {
class de.gematik.ti.openhealthcard.events.control.RequestTransmitterPinNumber {
+ RequestTransmitterPinNumber()
+ request()
+ request()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
6d06c942f624e0f5e0b69ba6b12c9acc6bcdebe6 | 372d0fe94d7e59fd48620c687fee8fc94841408b | /deadheat-lock-example/microservices-example/booking-service/src/main/java/com/vrush/microservices/booking/config/config.plantuml | 376cb02836272e3602c8fc99cc3404a000d2fe7d | [
"Apache-2.0"
] | permissive | vrushofficial/deadheat-lock | 4ae44e23fea2ad57db17aadeba58e39ef4f63822 | 11c516a2ca0e58dd2d6b2ef8c54da0975fcbe5d2 | refs/heads/main | 2023-01-14T17:28:38.161881 | 2020-11-29T11:11:55 | 2020-11-29T11:11:55 | 310,531,739 | 2 | 1 | null | 2020-11-19T08:16:25 | 2020-11-06T08:06:52 | CSS | UTF-8 | PlantUML | false | false | 517 | plantuml | @startuml
title __CONFIG's Class Diagram__\n
namespace com.vrush.microservices.booking {
namespace config {
class com.vrush.microservices.booking.config.SwaggerConfig {
{static} + DEFAULT_API_INFO : ApiInfo
{static} + DEFAULT_CONTACT : Contact
+ api()
}
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
622026914bc6dcc7065f4b0fb16f74a4103d444f | 572ba864d71dd56bff48ce6eef55d8bfd611fd45 | /diagram.puml | 5d6ec59decebbff77e628cca2e5505042222cc03 | [] | no_license | Umnica/oop-1 | c8942643cccc2e6309eed995f8c9163d37828245 | d934d88551d7716faa126a2685569b6e9dac20ef | refs/heads/main | 2023-01-30T13:23:08.600643 | 2020-12-09T10:26:22 | 2020-12-09T10:26:22 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,452 | puml | @startuml
class Document{
~_propsToSave
-_id
-_collection
-_provider
+getId()
+getCollection()
+setCollection(collection)
+__str__()
+__iter__()
~__generateId()
}
class User <<Document>> {
~_propsToSave
-_secname
-_firstname
-_patronym
-_adress
-_phone
+getSecname()
+getFirstname()
+getPatronym()
+getAdress()
+getPhone()
+setSecname(secname)
+setFirstname(firstname)
+setPatronym(patronym)
+setAdress(adress)
+setPhone(phone)
}
class Hotel <<Document>> {
~_propsToSave
-_name
-_cost
-_country
+getName()
+getCost()
+getCountry()
+setName(name)
+setCost(cost)
+setCountry(country)
}
class Route <<Document>> {
~_propsToSave
-_duration
-_hotelID
-_climate
+getDuration()
+getHotelID()
+getClimate()
+getHotel()
+setDuration(duration)
+setClimate(climate)
+setHotel(hotel)
}
class Waybill <<Document>> {
~_propsToSave
-_routeID
-_userID
-_departureDate
-_count
+getRouteID()
+getUserID()
+getDepartureDate()
+getCount()
+getUser()
+getRoute()
+getDiscount()
+getCost()
+setRoute(route)
+setUser(user)
+setDepartureDate(departureDate)
+setCount(count)
}
class Collection {
-_provider
-_itemClass
-_name
+getItemClass()
+getName()
+getProvider()
+map(fn)
+find(fn)
+filter(fn)
+getIdList()
+findById(id)
+deleteById(id)
+append(item)
+clear()
+__str__()
+getDictsList()
}
class Provider {
-_models
-_collections
+getModels()
+getModel(modelName)
+getCollection(name)
+findItem(collectionName, itemId)
+appendItem(collectionName, item)
+removeItem(collectionName, itemId)
+load(): pass
+save(): pass
}
class JSONProvider <<Provider>> {
-_readFile
-_writeFile
+load()
+save()
}
class SQLiteProvider <<Provider>> {
-_connection
-_cursor
+removeItem(collectionName, itemId)
+save()
+load()
-__get_table(tablename)
-__post_row(tablename, itemDict)
-__remove_row(tablename, id)
}
SQLiteProvider <|-- Provider
JSONProvider <|-- Provider
Provider *-- Collection
Collection *-- Document
User <|-- Document
Route <|-- Document
Hotel <|-- Document
Waybill <|-- Document
Waybill o-- User
Waybill o-- Route
Route o-- Hotel
Waybill o-- Hotel
@enduml |
ebb7f9bc4bc7c5520c48e51be618e15695bc2b42 | 73071b503ae97c90519e39dbc4bd83f9f6786c46 | /project_diagrams/classDiagrams/couponManagement.puml | 7b8590028d3e7df9d5e2bb59b93570375029907d | [] | no_license | guillaume-chebib/StudEasy | 3327c1ddfe16b4068332a179ede5913c0cef6c0c | 17a90a16cd1d1a954941d5acea26ce0c1b22231a | refs/heads/master | 2023-02-14T20:32:03.490210 | 2021-01-11T15:09:17 | 2021-01-11T15:09:17 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,322 | puml | @startuml
skinparam classAttributeIconSize 0
package GUI{
abstract class AbstractRouter{
+ {static} load(String pathFXML) : Parent
+ changeView(String pathFXML, ActionEvent event)
+ adminRestricted(String pathFXML, ActionEvent event)
+ studentRestricted(String pathFXML, ActionEvent event)
+ partnerRestricted(String pathFXML, ActionEvent event)
}
class CouponRouter{
+ {static} ADD_UPDATE_COUPON_FXML_PATH : String = "Views/coupons/addUpdateCoupon.fxml"
+ {static} COUPON_FXML_PATH : String = "views/coupon/coupon.fxml"
+ {static} SEE_COUPON_FXML_PATH : String = "views/coupon/seeCoupon.fxml"
+ {static} getInstance() : CouponRouter
}
class HomePartnerController{
+ seeMyCoupons(ActionEvent event)
}
class HomeStudentController{
+ searchCoupon(ActionEvent event)
}
class HomeAdminController{
+ addCoupon(ActionEvent event)
+ manageCoupon(ActionEvent event)
}
class AddUpdateCouponController{
- labelPrintCoupon : Label
- couponTitleTF : TextField
- couponDescriptionTF : TextField
- couponValueTF : TextField
- couponCostTF : TextField
- couponQuantityTF : TextField
- partnerTF : TextField
+ addCoupon(ActionEvent event)
+ updateCoupon(ActionEvent event)
+ cancel(ActionEvent event)
+ initialize(URL location, RessourceBundle resources)
}
class AllCouponsController{
- couponList : Label
- searchCouponTF : TextField
- couponTexts : Text[]
+ seeCoupon(ActionEvent event)
+ searchCoupon(ActionEvent event)
+ cancel(ActionEvent event)
+ initialize(URL location, RessourceBundle resources)
}
class SeeCouponController{
- labelPrintCoupon : Label
- couponTitleTF : TextField
- couponDescriptionTF : TextField
- couponValueTF : TextField
- couponCostTF : TextField
- couponPartnerTF : TextField
- updateB : Button
- deleteB : Button
- buyB : Button
+ deleteCoupon(ActionEvent event)
+ updateCoupon(ActionEvent event)
+ buyCoupon(ActionEvent event)
+ cancel(ActionEvent event)
+ initialize(URL location, RessourceBundle resources)
}
AbstractRouter <|-right- CouponRouter
AbstractRouter <-- HomePartnerController
AbstractRouter <-- HomeStudentController
AbstractRouter <-- HomeAdminController
AbstractRouter <-- AddUpdateCouponController
AbstractRouter <-- AllCouponsController
AbstractRouter <-- SeeCouponController
HomePartnerController <.. AbstractRouter : creates
HomeStudentController <.. AbstractRouter : creates
HomeAdminController <.. AbstractRouter : creates
AddUpdateCouponController <.. AbstractRouter : creates
SeeCouponController <.. AbstractRouter : creates
AllCouponsController <.. AbstractRouter : creates
}
package BusinessLogic{
class FacadeCoupon{
+ {static} getInstance() : FacadeCoupon
+ addCoupon(String title, String description, double value, double cost, int quantity, String partner)
+ updateCoupon(String title, String description, double value, double cost, int quantity, String partner, Coupon coupon)
+ deleteCoupon(Coupon coupon)
+ searchCoupon(String couponTitle) : Coupon[]
+ searchAllCoupon() : Coupon[]
+ seeCoupon() : Coupon
+ buyCoupon(Coupon coupon)
+ seeMyCoupons() : Coupon[]
}
abstract class Factory{
+ {static} getInstance() : Factory
+ CreateCouponDAO() : CouponDAO
}
class MySQLFactory{
- db : Connection
+ CreateCouponDAO() : CouponDAO
- openConnection()
- closeConnection()
}
AddUpdateCouponController --> FacadeCoupon
AllCouponsController --> FacadeCoupon
SeeCouponController --> FacadeCoupon
MySQLFactory -left-|> Factory
}
package DAO{
abstract class CouponDAO{
+ {static} getInstance() : CouponDAO
+ addCoupon(String title, String description, double value, double cost, int quantity, String partner)
+ updateCoupon(String title, String description, double value, double cost, int quantity, String partner, Coupon coupon)
+ deleteCoupon(Coupon coupon)
+ searchCoupon(String couponTitle) : Coupon[]
+ searchAllCoupon() : Coupon[]
+ buyCoupon(Coupon coupon)
+ seeMyCoupons(User u) : Coupon[]
}
class MySQLCouponDAO{
- DB : Connection
+ addCoupon(String title, String description, double value, double cost, int quantity, String partner)
+ updateCoupon(String title, String description, double value, double cost, int quantity, String partner, Coupon coupon)
+ deleteCoupon(Coupon coupon)
+ searchCoupon(String couponTitle) : Coupon[]
+ searchAllCoupon() : Coupon[]
+ buyCoupon(Coupon coupon)
+ seeMyCoupons(User u) : Coupon[]
}
MySQLCouponDAO -up-|> CouponDAO
CouponDAO <-right- FacadeCoupon
CouponDAO ..> Factory : creates
MySQLCouponDAO <.right. MySQLFactory : creates
}
@enduml |
bb3f5ffe094346ff00eb405660bf7515df99163b | 896ff399894d0228e3dd74b0649fc1aed7714581 | /docs/Class.puml | bd2b2c2a786736c4fb25d44f451aa3efa63dbd84 | [] | no_license | a191409/System_design | f7df924556620e3b5e6e9fbcb6e14c6b4337405a | 3fdf3da8287a95e9dff02baac665aecb2201d74c | refs/heads/master | 2023-06-16T21:13:54.911390 | 2021-07-07T03:12:40 | 2021-07-07T03:12:40 | 379,300,605 | 0 | 0 | null | 2021-07-10T03:11:07 | 2021-06-22T14:34:56 | Dockerfile | UTF-8 | PlantUML | false | false | 336 | puml | @startuml classsample
title: 情報システム設計最終課題
class Opponent {
int id
String name
}
class Result{
int id
int round
bit didwin
int Opponent_id
int Match_id
}
class Match{
int id
Date date
String name
}
Opponent "0..*" -- "0..*" Result
Match "0..*" -- "0..*" Result
@enduml |
2c9fb4aee298ff2ea6132ba0eafa63f845314b00 | 6fedb79cb2a26d55ec22595e3a001378b97b8f74 | /app/src/main/java/com/alex/kotlin/javadesignmode/strategy/uml/strategy.puml | 48b7644f2c4b6556ee1a0db6b8940c003e6dfadc | [] | no_license | AlexTiti/JavaDesignMode | e3b283b9547207a82b3d1ea7e12e617038a5aacb | c605ca319c20d8628d7fa38c42c5776943568e06 | refs/heads/master | 2020-05-04T19:34:08.751540 | 2019-09-09T08:44:44 | 2019-09-09T08:44:44 | 179,399,468 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 587 | puml | @startuml
title Strategy
note as N1
策略模式:
1、声明策略接口,让具体的策略去实现
2、执行时根据具体传入的策略去执行
意义:保证整个程序中的策略可以整体改变
或替换
使用场景:肯能存在修改算法或计算的方式
end note
interface Strategy{
+ {abstract} {method} actionStrategy
}
class NumberStrategy{
+ {method} actionStrategy
}
class DoubleStrategy{
+ {method} actionStrategy
}
class Player{
+ strategy
}
NumberStrategy ..|> Strategy
DoubleStrategy ..|> Strategy
Player o--> Strategy
@enduml |
eb3eab94b7654e68c53e8ac378772d3359a0f285 | ca0575e1d941ea70b1cea69cb1d2a327d6d02eaa | /doc/entwicklerhandbuch/FahrzeugService.puml | 5591506201459e6d1d7416bcfd8c3f7acbc65b74 | [] | no_license | baranozalp/Abgabe | eda0b331b4755d7adc3257cf76146cf7f6603e28 | cb133f2ae49e51630bb963c754e7845445c926ac | refs/heads/main | 2023-04-19T12:04:32.572266 | 2021-04-29T11:09:00 | 2021-04-29T11:09:00 | 356,399,363 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,062 | puml | @startuml Anwendungskern
!pragma useNewPackage
skinparam classAttributeIconSize 0
skinparam componentStyle uml2
interface Promise<T>
package shared {
class "sendMail()" as sendMail
hide sendMail circle
}
package fahrzeug {
package entity {
class FahrzeugModel
hide FahrzeugModel circle
class "validateFahrzeug()" as validateFahrzeug
hide validateFahrzeug circle
interface FahrzeugData <<entity>>
}
package service #DDDDDD {
FahrzeugService ..> Promise
FahrzeugService ..> FahrzeugModel
FahrzeugService ..> FahrzeugData
FahrzeugService ..> validateFahrzeug
FahrzeugService ..> sendMail
class FahrzeugService << control >> {
+ async findById(id: string): Promise<FahrzeugData | undefined>
+ async find(query?: any): Promise<Array<FahrzeugData>>
+ async create(fahrzeug: FahrzeugData): Promise<FahrzeugData>
+ async update(fahrzeug: FahrzeugData, version: string): Promise<FahrzeugData>
+ async delete(id: string): Promise<boolean>
}
}
}
hide empty members
@enduml
|
d77916d8742f091d7069e4549685eb4483285436 | 088856ec5790009dd9f9d3498a56fe679cfab2e8 | /src/puml/5/ucmitz/svg/class/bc-content-link/manage_content_links.puml | cd887bd5f4018e609e354dcfb521008889e14ede | [] | no_license | baserproject/baserproject.github.io | 21f244348890652286969afa1fde27c5c4d9e4ad | 8d61cf720f833854e1a3c97136e22e75baea7bb0 | refs/heads/master | 2023-08-09T03:21:53.341423 | 2023-07-27T07:28:50 | 2023-07-27T07:28:50 | 228,826,353 | 0 | 12 | null | 2023-08-17T02:31:05 | 2019-12-18T11:31:51 | HTML | UTF-8 | PlantUML | false | false | 1,375 | puml | @startuml
skinparam handwritten true
skinparam backgroundColor white
hide circle
skinparam classAttributeIconSize 0
title コンテンツリンク管理
class ContentLinksController {
+ コンテンツリンクを表示する:view()
}
class BcFrontContentsComponent {
+ フロントエンドのセットアップ:setupFront()
}
class Admin\ContentLinksController {
+ コンテンツリンク編集:edit()
}
class BcAdminContentsComponent {
+ 管理画面のセットアップ:setupAdmin()
+ 編集フォームの設定:settingForm()
}
class ContentLinkService {
+ ContentLinksTable
}
class ContentLinkServiceInterface {
+ 作成:create()
+ 編集:update()
+ 単一データ取得:get()
}
class ContentLinksTable {
+ 削除:delete()
}
note right
削除はゴミ箱を空にするタイミングで
ContentsServiceより呼び出される
endnote
class ContentLink {
+ リンク先URL:url
}
Admin\ContentLinksController -down[#Black]-> ContentLinkService
ContentLinksController -up[#Black]-> BcFrontContentsComponent
Admin\ContentLinksController -up[#Black]-> BcAdminContentsComponent
ContentLinksController -down[#Black]-> ContentLinkService
ContentLinkService -down[#Black]-> ContentLinksTable
ContentLinkService -left[dotted,#Black]-|> ContentLinkServiceInterface
ContentLinksTable -down[#Black]-> ContentLink
@enduml
|
c29213b4c0c8810ed305c6490b81339f496d9d05 | 44ec6861f30cb2068a3bc82236b356ea9bd3ebde | /exercise41/docs/Solution41PUML.puml | 76b20a7d9c9795ff4aa43541bebed9dd23f5913c | [] | no_license | EmanuelPadro/Padro-a04 | af5470e3cb54f13e3b85ecc073e76f626d598c63 | d621a4a5b85fd637eeead15e08f7af0b79e90340 | refs/heads/master | 2023-08-24T04:30:06.039303 | 2021-10-20T20:44:42 | 2021-10-20T20:44:42 | 414,044,684 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 441 | puml | @startuml
'https://plantuml.com/class-diagram
class Solution41{
}
Solution41 <|-- main
main <|-- WriteToFile
main <|-- ReadFile
Solution41 <|-- names
abstract ReadFile{
+Input file reader
+Adds input list names
}
abstract WriteToFile{
+Write to Output file
+Adds input read to the list names
}
abstract main{
+Creates List to be passed along solution41
+Calls eachWriteToFile and ReadFile
}
class names {
+Lastname,Firstname
}
@enduml |
db01a23e2f75256bdbdb224653565718e12818bb | bb1c82eddd547ade9b396e7134db0f927c205f51 | /src/main/java/br/com/alg/trufflesapi/model/dto/dto.plantuml | ec0ca577b07e2d209a0d92749573bde089e3640a | [] | no_license | andrelgirao22/truffle-api | 3f71a26f3e0a491a9d3d39c193d2c7617c745336 | 3193a6b072c6e482ccc28a8d86021e385a708396 | refs/heads/master | 2021-07-16T13:32:26.947243 | 2021-07-01T19:09:53 | 2021-07-01T19:09:53 | 125,250,626 | 0 | 0 | null | 2021-04-26T19:34:40 | 2018-03-14T17:38:01 | Java | UTF-8 | PlantUML | false | false | 3,212 | plantuml | @startuml
title __DTO's Class Diagram__\n
namespace br.com.alg.trufflesapi {
namespace model {
namespace dto {
class br.com.alg.trufflesapi.model.dto.AccountDTO {
- addresses : List<Address>
- email : String
- id : Long
- imageUrl : String
- name : String
- password : String
- register : String
{static} - serialVersionUID : long
+ AccountDTO()
+ AccountDTO()
+ getAddresses()
+ getEmail()
+ getId()
+ getImageUrl()
+ getName()
+ getPassword()
+ getRegister()
+ setAddresses()
+ setEmail()
+ setId()
+ setImageUrl()
+ setName()
+ setPassword()
+ setRegister()
}
}
}
}
namespace br.com.alg.trufflesapi {
namespace model {
namespace dto {
class br.com.alg.trufflesapi.model.dto.ItemDTO {
- date : Date
- description : String
- id : Long
- imageUrl : String
- name : String
- price : Double
- prices : List<Price>
{static} - serialVersionUID : long
+ ItemDTO()
+ ItemDTO()
+ ItemDTO()
+ getCategory()
+ getDate()
+ getDescription()
+ getId()
+ getImageUrl()
+ getName()
+ getPrice()
+ getPrices()
+ setCategory()
+ setDate()
+ setDescription()
+ setId()
+ setImageUrl()
+ setName()
+ setPrice()
+ setPrices()
}
}
}
}
namespace br.com.alg.trufflesapi {
namespace model {
namespace dto {
class br.com.alg.trufflesapi.model.dto.OrderDTO {
{static} - serialVersionUID : long
}
}
}
}
namespace br.com.alg.trufflesapi {
namespace model {
namespace dto {
class br.com.alg.trufflesapi.model.dto.TaxDeliveryDTO {
- distance : Double
- distanceMax : Double
- id : Long
{static} - serialVersionUID : long
- value : Double
+ TaxDeliveryDTO()
+ getDistance()
+ getDistanceMax()
+ getId()
+ getValue()
+ setDistance()
+ setDistanceMax()
+ setId()
+ setValue()
}
}
}
}
br.com.alg.trufflesapi.model.dto.AccountDTO .up.|> java.io.Serializable
br.com.alg.trufflesapi.model.dto.ItemDTO .up.|> java.io.Serializable
br.com.alg.trufflesapi.model.dto.ItemDTO o-- br.com.alg.trufflesapi.model.Category : category
br.com.alg.trufflesapi.model.dto.OrderDTO .up.|> java.io.Serializable
br.com.alg.trufflesapi.model.dto.TaxDeliveryDTO .up.|> java.io.Serializable
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
078baf0706aaa99f456f4324d918d9acb7b874d1 | 4f029f90b241f8b1e4a0179d27c92be6b87c761c | /lib_design_pattern/src/main/java/com/mxdl/desigin/pattern/create/a06_prototype/uml/prototype.puml | dcd357aa9c9a7ae79fb0e7c756639e74c145d364 | [] | no_license | mxdldev/java-design-pattern | 806cdb2f4ec87d121c10db4952ed67476772ff29 | f42813ccdb2a1cfdcc790935e41747098467e7e5 | refs/heads/master | 2020-11-26T22:15:35.016854 | 2020-01-08T07:10:34 | 2020-01-08T07:10:34 | 229,215,001 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 453 | puml | @startuml
skinparam classAttributeIconSize 0
package "Prototype Pattern"{
abstract class APerson
class PrototypePerson
note bottom:由原型对象来指定创建对象的类型,\n并通过拷贝原型对象来创建新的对象
class PrototypePerson extends APerson{
+clonePerson():APerson
}
class CopyPerson
note bottom:新建对象
class CopyPerson extends APerson
PrototypePerson .> CopyPerson
}
@enduml |
908897e10344a5e643f9e7bc71c3f5e40a828c6c | 92d15cfae4cc378e13b8d7270ddcae4dfe9cdde7 | /Design/DataManagement/pssm_dml.puml | 463f29cf3ad0eef2c73cf7dc698b5c93d78118d6 | [] | no_license | rtk4616/CIS641-capstone | 96bf1804d57090b1e0c9378b49ed4ec11d4a127f | c2bca7f9a652580468356ed4b3b95c74f73eecd8 | refs/heads/master | 2021-04-15T16:41:15.447930 | 2016-12-07T22:58:13 | 2016-12-07T22:58:13 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,498 | puml | @startuml
left to right direction
skinparam monochrome true
title Professional and Scientific\nStaff Management\n
package "Problem Domain" {
class Role
class User
class TempEmployee
class PSSMUser
class ContractManager
class StaffingRequest
class Contract
Role "1..*" --- "1" User
User <|-- TempEmployee
User <|-- PSSMUser
User <|-- ContractManager
PSSMUser "1" --- "0..*" StaffingRequest : fulfill
TempEmployee "1" --- "0..*" StaffingRequest : accept
ContractManager "1" --- "0..*" StaffingRequest : manage
ContractManager "1" --- "0..*" Contract : has
Contract "1" --- "0..*" StaffingRequest : has
}
'''
'' CRUD: Create Read Update Delete, Table contains DB
'' specific implementation.
''
'' CRUD_DAM: Logic of data manipulation using the DAO
'' Classes
'''
package "Data Management" {
class RoleDAO as "Role Table"{
-id : int
-description : string
+CRUD()
}
class UserDAO as "User Table"{
-id : int
-name : String
-address : String
-phone : String
-email : String
+CRUD()
}
class TempEmployeeDAO as "TempEmployee Table"{
-qualificationList : [String]
-yearsExperience : int
-is_available : bool
-full_cv : String {link to file}
-staffingRequestList : [StaffingRequest]
+CRUD()
}
class PSSMUserDAO as "PSSMUser Table"{
-staffingRequestList : [StaffingRequest]
+CRUD()
}
class ContractManagerDAO as "ContractManager Table"{
-employee_id : int
-contractList : [Contract]
-staffingRequestList : [StaffingRequest]
+CRUD()
}
class StaffingRequestDAO as "StaffingRequest Table"{
-id : int
-contract : Contract
-qualificationList : [String]
-minimum_experience_years : int
-start_date : Date
-end_date : Date
-salary_offer : double
+CRUD()
}
class ContractDAO as "Contract Table"{
-id : int
-client : String
-short_desc : String
-field : String
-qualificationList : [String]
-start_date : Date
-end_date : Date
-minimum_salary : double
+CRUD()
}
class UserDAM{
-user : User
-role : Role
+CRUD_DAM()
}
class TempEmployeeDAM{
-tempEmployee : TempEmployee
+CRUD_DAM()
+acceptStaffingRequest()
}
class StaffingRequestDAM{
''-contractManager : ContractManager
''-PSSMUser : PSSMUser
''-tempEmployee : TempEmployee
''-contract : Contract
-staffingRequest : StaffingRequest
+CRUD_DAM()
+changeRequestStatus()
+sendNotificationsToActors()
}
class ContractDAM{
-contractManager : ContractManager
-contract : contract
+CRUD_DAM()
+validateContractConstraints(StaffingRequest)
}
RoleDAO <.. UserDAM
UserDAO <.. UserDAM
UserDAM ..> User
UserDAM ..> Role
TempEmployeeDAO <.. TempEmployeeDAM
TempEmployeeDAM ..> TempEmployee
TempEmployeeDAO <.. StaffingRequestDAM
PSSMUserDAO <.. StaffingRequestDAM
StaffingRequestDAO <.. StaffingRequestDAM
ContractManagerDAO <.. StaffingRequestDAM
ContractDAO <.. StaffingRequestDAM
ContractManagerDAO <.. ContractDAM
ContractDAO <.. ContractDAM
ContractDAM ..> Contract
Role <.. RoleDAO
hide Role
User <.. UserDAO
hide User
TempEmployee <.. TempEmployeeDAO
hide TempEmployee
PSSMUser <.. PSSMUserDAO
hide PSSMUser
ContractManager <.. ContractManagerDAO
hide ContractManager
StaffingRequest <.. StaffingRequestDAO
hide StaffingRequest
Contract <.. ContractDAO
hide Contract
}
@enduml
|
951cf2edc5ac021e1af696ca301a5f9954597aae | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/TestRunner/PlaymodeTestsControllerSettings.puml | 12aee5716c9846d984aae9e09a8a3075a5249bab | [] | no_license | TakanoVineYard/AMHH | 215a7c47049df08c5635b501e74f85137b9e985b | 68887a313587a2934fb4ceb2994cbc2a2191d6a3 | refs/heads/master | 2023-01-13T02:08:02.787083 | 2020-11-17T14:51:57 | 2020-11-17T14:51:57 | 303,631,593 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 241 | puml | @startuml
class PlaymodeTestsControllerSettings {
+ sceneBased : bool
+ originalScene : string
+ bootstrapScene : string
+ {static} CreateRunnerSettings(filters:TestRunnerFilter[]) : PlaymodeTestsControllerSettings
}
@enduml
|
95630b42124ab4ab7074f8fdf4c30f0682944de7 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderSearchLongRangeExpression.puml | 4037f5c5488cde4452dec01f65f259161e3bd229 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 489 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface OrderSearchLongRangeExpression [[OrderSearchLongRangeExpression.svg]] extends OrderSearchQueryExpression {
range: [[OrderSearchLongRangeValue.svg OrderSearchLongRangeValue]]
}
interface OrderSearchQueryExpression [[OrderSearchQueryExpression.svg]] {
}
@enduml
|
1afe94ec270e3bca031592255d9a2ba78c2e4f33 | 008380a4479bddd6b17b6d752b0d91ba220e6b33 | /Eureka/Assets/Scripts/plantuml/TiltWindow.puml | aedc4a79784a36ceb4e377d0ecb386e9d068ddab | [] | no_license | xxbokusu/Eureka | bb2b8c92973905c05a38b4661d00d4d0090bf918 | e4e2284d304bfd76ba0aa9cd735fb30f73a3d722 | refs/heads/master | 2023-06-09T06:13:54.758394 | 2023-06-08T03:33:01 | 2023-06-08T03:33:01 | 195,805,623 | 0 | 0 | null | 2023-06-08T03:55:52 | 2019-07-08T12:16:08 | C# | UTF-8 | PlantUML | false | false | 206 | puml | @startuml
class TiltWindow {
+ range : Vector2
- mTrans : Transform
- mStart : Quaternion
- mRot : Vector2
- Start() : void
- Update() : void
}
MonoBehaviour <|-- TiltWindow
@enduml
|
cb1a541573466f9c69e1aa49060ce28a6520c79a | 4b19d6ea3ca5cb2d4a6c4cecde436ef851fd2bf4 | /mvvm.puml | 6d24f69f433c15fd9b6e8de4220d35a4d4ada0ff | [] | no_license | RTUITLab/WifiLocalPositioning | 4450fce72ecce0185092b0ae03dc9f98f56f15c8 | fff18a7ea1980a5f0a5c10db2b4972899a83f2fe | refs/heads/main | 2023-05-26T17:42:32.905263 | 2021-06-06T12:31:41 | 2021-06-06T12:31:41 | 366,454,023 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 13,507 | puml | @startuml
class com.mrkiriss.wifilocalpositioning.mvvm.repositiries.TrainingMapRepository {
- LocationDataApi retrofit
- MapImageManager mapImageManager
- WifiScanner wifiScanner
- MutableLiveData<String> toastContent
- MutableLiveData<Floor> changeFloor
- MutableLiveData<String> serverResponse
- MutableLiveData<List<MapPoint>> serverConnectionsResponse
- MutableLiveData<String> requestToUpdateFloor
- LiveData<CompleteKitsContainer> completeKitsOfScansResult
- LiveData<Integer> remainingNumberOfScanning
- CalibrationLocationPoint calibrationLocationPoint
+ void changeFloor(int,boolean)
+ void changeFloor(int,boolean,MapPoint)
- boolean checkContainsInCurrentData(FloorId)
+ MapPoint findMapPointInCurrentData(int,int,int)
+ void runScanInManager(int,String)
+ void processCompleteKitsOfScanResults(CompleteKitsContainer)
+ void startDownloadingDataOnPointsOnAllFloors()
+ void postFromTrainingWithCoordinates(int,int,String,int,String)
- void saveNewLPInfoIntoLocaleMap(LocationPointInfo)
- void postFromTrainingWithAPs()
+ void deleteLocationPointInfoOnServer(String)
+ void deleteLocationPointOnServer(String)
+ void startDownloadingConnections(String)
+ void postChangedConnections(List<MapPoint>,String)
}
class com.mrkiriss.wifilocalpositioning.mvvm.view.LocationDetectionFragment {
# LocationDetectionViewModel viewModel
- FragmentLocationDetectionBindingImpl binding
- TouchImageView touchImageView
- AutoCompleteAdapter autoCompleteAdapter
+ void onCreate(Bundle)
+ View onCreateView(LayoutInflater,ViewGroup,Bundle)
- void createAndShowMapView()
- void createSearchAdapterAndSetSettings()
- void initObservers()
- void showToastContent(String)
- void drawCurrentLocation(MapPoint)
- void drawCurrentFloor(Floor)
- void showCurrentLocation(MapPoint)
+ {static} void hideKeyboard(Activity)
}
class com.mrkiriss.wifilocalpositioning.mvvm.view.SettingsFragment {
# SettingsViewModel viewModel
- FragmentSettingsBinding binding
+ void onCreate(Bundle)
+ View onCreateView(LayoutInflater,ViewGroup,Bundle)
- void initObservers()
- void showToastContent(String)
- void setContentToChangeBuffer(String)
}
class com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.TrainingMapViewModel {
- TrainingMapRepository repository
- ObservableInt selectedMod
- ObservableBoolean showMapPoints
- ObservableInt floorNumber
- ObservableField<MapPoint> selectedMapPoint
- ObservableField<String> serverResponse
- ObservableField<String> inputY
- ObservableField<String> inputX
- ObservableField<String> inputCabId
- ObservableInt selectedRoomType
- ObservableInt selectedFloorId
- ObservableInt remainingNumberOfScanKits
- ObservableField<String> inputNumberOfScanKits
- ObservableField<MapPoint> selectedToChangMapPoint
- ObservableField<String> contentOnActionsButtonChangesNeighbors
+ String MODE_SELECT_MAIN
+ String MODE_ADD_SECONDLY
- List<MapPoint> currentChangeableConnections
- LiveData<Floor> changeFloor
- LiveData<String> serverResponseRequest
- MutableLiveData<String> requestToUpdateFloor
- MutableLiveData<String> toastContent
- MutableLiveData<int[]> moveCamera
- LiveData<CompleteKitsContainer> completeKitsOfScansResult
- LiveData<Integer> remainingNumberOfScanning
- MutableLiveData<List<MapPoint>> serverConnectionsResponse
- MutableLiveData<MapPoint> requestToAddSecondlyMapPointToRV
- MutableLiveData<List<MapPoint>> requestToChangeSecondlyMapPointListInRV
+ void processShowSelectedMapPoint(boolean)
- void processModePointInfo(boolean)
- void startFindNearPoint()
+ void arrowInc()
+ void arrowDec()
+ void startFloorChanging()
+ void startFloorChanging(MapPoint)
+ void startUpdatingMapPointLists()
+ void updateFloor(String)
+ void postPointInformationToServer()
+ void startScanning()
+ void processCompleteKitsOfScanResults(CompleteKitsContainer)
+ void selectActionForChangingNeighbors()
- void processSelectMainMode(MapPoint)
+ void processServerConnectionsResponse(List<MapPoint>)
- void processAddSecondlyMode(MapPoint)
+ void processDeleteSecondly(MapPoint)
+ void acceptPointChangingNeighbors()
+ void cancelPointChangingNeighbors()
+ void startDeletingLPINfo()
+ void startDeletingLP()
}
class com.mrkiriss.wifilocalpositioning.mvvm.view.TrainingScanFragment {
- FragmentTrainingScanBinding binding
# TrainingScanViewModel viewModel
- ScanResultsRVAdapter adapter
+ View onCreateView(LayoutInflater,ViewGroup,Bundle)
- void initObservers()
- void addKitOfAPsOnRecyclerView(String)
}
class com.mrkiriss.wifilocalpositioning.mvvm.repositiries.LocationDetectionRepository {
- LocationDataApi retrofit
- WifiScanner wifiScanner
- MapImageManager mapImageManager
- ConnectionManager connectionManager
- SettingsManager settingsManager
- LiveData<CompleteKitsContainer> completeKitsOfScansResult
- LiveData<Integer> requestToUpdateAccessLevel
- MutableLiveData<MapPoint> requestToChangeFloorByMapPoint
- MutableLiveData<Floor> requestToChangeFloor
- MutableLiveData<String> toastContent
- MutableLiveData<String> requestToRefreshFloor
- MutableLiveData<Map<FloorId,List<MapPoint>>> requestToAddAllPointsDataInAutoFinders
- MutableLiveData<Boolean> wifiEnabledState
- MutableLiveData<String> requestToHideKeyboard
- MutableLiveData<Boolean> requestToUpdateProgressStatusBuildingRoute
- List<LocationPointInfo> listOfSearchableLocations
- MapPoint resultOfDefinition
- boolean showRoute
- int currentFloorIdInt
+ void showWifiOffering(Context)
+ void changeFloor()
- Floor defineNecessaryFloor()
- Floor defineNecessaryFloorForShowCurrentLocation()
+ void changeFloorWithMapPoint()
+ void clearRouteFloors()
+ void findRoom(String)
+ void startProcessingCompleteKitsOfScansResult(CompleteKitsContainer)
- void requestDefinitionLocation(CalibrationLocationPoint)
- MapPoint convertToMapPoint(DefinedLocationPoint)
+ void requestRoute(String,String)
+ void requestListOfLocationPointsInfo()
}
class com.mrkiriss.wifilocalpositioning.mvvm.repositiries.TrainingScanRepository {
- LocationDataApi retrofit
- WifiScanner wifiScanner
- CalibrationLocationPoint calibrationLocationPoint
- int scanningMode
+ {static} int MODE_TRAINING_APS
+ {static} int MODE_DEFINITION
- LiveData<CompleteKitsContainer> completeKitsOfScansResult
- MutableLiveData<String> requestToAddAPs
- MutableLiveData<String> serverResponse
- MutableLiveData<String> toastContent
- LiveData<Integer> remainingNumberOfScanning
+ void runScanInManager(int,int)
+ void runScanInManager(int,String,int)
+ void processCompleteKitsOfScanResults(CompleteKitsContainer)
- String convertKitToString(List<AccessPoint>,int)
- void chosePostCalibrationLPToServer()
- void postFromTrainingWithAPs()
- void postFromDefinitionLocation()
}
class com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.LocationDetectionViewModel {
- LocationDetectionRepository repository
- LiveData<CompleteKitsContainer> completeKitsOfScansResult
- LiveData<MapPoint> requestToChangeFloorByMapPoint
- LiveData<Floor> requestToChangeFloor
- LiveData<Map<FloorId,List<MapPoint>>> requestToAddAllPointsDataInAutoFinders
- LiveData<Boolean> wifiEnabledState
- LiveData<String> requestToHideKeyboard
- LiveData<Boolean> requestToUpdateProgressStatusBuildingRoute
- LiveData<Integer> requestToUpdateAccessLevel
- MutableLiveData<String> requestToRefreshFloor
- MutableLiveData<String> toastContent
- ObservableInt floorNumber
- ObservableField<String> findInput
- ObservableField<String> departureInput
- ObservableField<String> destinationInput
- ObservableBoolean showRoute
- ObservableBoolean showFind
- ObservableBoolean progressOfBuildingRouteStatus
+ void startProcessingCompleteKitsOfScansResult(CompleteKitsContainer)
+ void onShowRoute()
+ void onHideRoute()
+ void onShowFind()
+ void onHideFind()
+ void arrowInc()
+ void arrowDec()
+ void startFloorChanging()
+ void onShowCurrentLocation()
+ void startBuildRoute()
+ void startFindRoom()
+ void showWifiOffering(Context)
}
class com.mrkiriss.wifilocalpositioning.mvvm.view.MainActivity {
# MainViewModel viewModel
- NavigationView navigationView
- AppBarConfiguration mAppBarConfiguration
- Toolbar toolbar
- DrawerLayout drawer
- NavController navController
- NavHostFragment navHostFragment
- Fragment[] fragments
- String[] fragmentTAGS
- String[] typesOfRequestSources
- int currentFragmentIndex
# void onCreate(Bundle)
- void createNavigationView()
+ boolean onCreateOptionsMenu(Menu)
+ boolean onSupportNavigateUp()
- void createFragments()
- int defineFragmentIndex(MenuItem)
- void setBottomNavigationListener(NavigationView)
+ void changeFragment(int)
- void checkPermissions()
- void notifyAboutLackOfAccess()
+ void watchYoutubeVideo(String)
+ {static} void hideKeyboard(Activity)
}
class com.mrkiriss.wifilocalpositioning.mvvm.view.TrainingMapFragment {
# TrainingMapViewModel viewModel
- FragmentTrainingMapBinding binding
- PhotoView photoView
- MapPointsRVAdapter mapPointsAdapter
+ View onCreateView(LayoutInflater,ViewGroup,Bundle)
- void initMapPointsAdapter()
- void initPhotoView()
- void initObservers()
- void changeBitmap(Bitmap)
- void showToast(String)
- void moveCamera(int[])
}
class com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.TrainingScanViewModel {
- TrainingScanRepository trainingScanRepository
- ObservableInt remainingNumberOfScanning
- ObservableField<String> inputNumberOfScanKits
- ObservableField<String> inputY
- ObservableField<String> inputX
- ObservableField<String> inputCabId
- ObservableInt scanningMode
- ObservableBoolean isScanningStarted
- ObservableInt selectedMod
- LiveData<CompleteKitsContainer> completeKitsOfScansResult
- LiveData<String> requestToAddAPs
- MutableLiveData<String> resultOfScanningAfterCalibration
- MutableLiveData<String> toastContent
- MutableLiveData<List<String>> requestToClearRV
- LiveData<Integer> remainingNumberOfScanningLD
+ void startScanning()
- void convertScanningMode()
+ void startProcessingCompleteKitsOfScansResult(CompleteKitsContainer)
+ void changeScanningStatus(boolean)
+ void resetElements()
}
class com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.SettingsViewModel {
- SettingsRepository repository
- ObservableField<String> scanInterval
- ObservableInt numberOfScanning
- ObservableInt accessLevel
- LiveData<Integer> requestToUpdateNumberOfScanning
- LiveData<String> requestToUpdateScanInterval
- LiveData<Integer> requestToUpdateAccessLevel
- LiveData<String> requestToUpdateCopyUUID
- MutableLiveData<String> toastContent
- void initSettingValuesFromDB()
+ void acceptSettingsChange()
+ void requestToUpdateAccessLevel()
+ void requestToCopyUUID()
}
class com.mrkiriss.wifilocalpositioning.mvvm.repositiries.MainRepository {
- WifiScanner wifiScanner
- SettingsManager settingsManager
- ScanningAbilitiesManager abilitiesManager
- LiveData<String> requestToOpenInstructionObYouTube
+ LiveData<String> getRequestToOpenInstructionObYouTube()
+ boolean isPresentAccessPermission(String)
+ void setCurrentTypeOfRequestSource(String)
+ void checkAndroidVersionForShowingScanningAbilities(Context)
}
class com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.MainViewModel {
- MainRepository repository
- LiveData<String> requestToOpenInstructionObYouTube
+ LiveData<String> getRequestToOpenInstructionObYouTube()
+ boolean isPresentAccessPermission(String)
+ void setCurrentTypeOfRequestSource(String)
+ void checkAndroidVersionForShowingScanningAbilities(Context)
}
class com.mrkiriss.wifilocalpositioning.mvvm.repositiries.SettingsRepository {
- SettingsDao settingsDao
- SettingsManager settingsManager
- MutableLiveData<Integer> requestToUpdateNumberOfScanning
- MutableLiveData<String> requestToUpdateScanInterval
- MutableLiveData<Integer> requestToUpdateAccessLevel
- MutableLiveData<String> requestToUpdateCopyUUID
- MutableLiveData<String> toastContent
- int currentSavedScanInterval
- int currentSavedNumberOfScanning
- int numberOfTryingToCopy
- int requiredNumberOfTryingToCopy
+ void updateSettingValuesFromDB()
+ void updateDataFromSaved()
+ void requestToUpdateAccessLevel()
+ void requestToGetUUID()
+ void acceptSettingsChange(int,int)
- boolean isValidSettingsData(int,int)
}
class com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.ItemMapPointViewModel {
- MapPoint mapPoint
- MutableLiveData<MapPoint> requestToDelete
+ void onDeleteClick()
}
java.io.Serializable <|.. com.mrkiriss.wifilocalpositioning.mvvm.repositiries.TrainingMapRepository
androidx.fragment.app.Fragment <|-- com.mrkiriss.wifilocalpositioning.mvvm.view.LocationDetectionFragment
androidx.fragment.app.Fragment <|-- com.mrkiriss.wifilocalpositioning.mvvm.view.SettingsFragment
androidx.lifecycle.ViewModel <|-- com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.TrainingMapViewModel
androidx.fragment.app.Fragment <|-- com.mrkiriss.wifilocalpositioning.mvvm.view.TrainingScanFragment
java.io.Serializable <|.. com.mrkiriss.wifilocalpositioning.mvvm.repositiries.LocationDetectionRepository
androidx.lifecycle.ViewModel <|-- com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.LocationDetectionViewModel
androidx.appcompat.app.AppCompatActivity <|-- com.mrkiriss.wifilocalpositioning.mvvm.view.MainActivity
androidx.fragment.app.Fragment <|-- com.mrkiriss.wifilocalpositioning.mvvm.view.TrainingMapFragment
androidx.lifecycle.ViewModel <|-- com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.TrainingScanViewModel
androidx.lifecycle.ViewModel <|-- com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.SettingsViewModel
androidx.lifecycle.ViewModel <|-- com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.MainViewModel
androidx.lifecycle.ViewModel <|-- com.mrkiriss.wifilocalpositioning.mvvm.viewmodel.ItemMapPointViewModel
@enduml |
d86b543e64102c89ec5f456bd7a0e9379288bb46 | a62b883e492fc9b1116bdcbef0b3f5674b7fc580 | /listManager.puml | 5f7b96e1170776dbd7ebe516643028ce1b1ba6d4 | [] | no_license | raymepersad/persad-cop3330-assignment4-problem-repository-use-most-recent | ff0e917c5c7d65222a6727123d4cc4d06d6639e5 | b0ebe01824893418ae3966e242ccc36559ac1479 | refs/heads/master | 2023-06-10T10:46:39.620856 | 2021-07-06T02:08:43 | 2021-07-06T02:08:43 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 541 | puml | @startuml
'https://plantuml.com/sequence-diagram
class todoList {
todoList(topic:string)
display()
assignTask(taskName:String, employee:string)
assignDeadline(taskName:string, dueDate:Date)
createTask()
markAsDone(taskName:String)
removeTask((taskName:String)
renameTask(oldName:String, newName:String)
}
class task {
name:String
deadLine: Date
employee:String
Task(name:String)
setName(name:String)
setDeadline(date:String)
setEmployee(name:String)
display()
}
@enduml |
b108cd82e6fabfcb13b46d63068d4d56beceee2b | 625517108615e50180082e3c6d7d1444f643485e | /test/fixtures/class-member-types-after-name/in.plantuml | c32f9a79f689cd6535f14a7d9ae941f5dcc16d56 | [
"TCL",
"BSD-3-Clause",
"HPND",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"LicenseRef-scancode-openssl",
"MIT",
"LicenseRef-scancode-ssleay-windows",
"ISC",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Enteee/plantuml-parser | 180c370b3025bb7566bd86576d327364b3d5a425 | 765ac61d0c29c7c8f39310cfa7c385017997aeb8 | refs/heads/master | 2023-07-26T02:00:39.582527 | 2023-03-27T20:49:09 | 2023-03-27T20:49:09 | 177,091,179 | 132 | 33 | Apache-2.0 | 2023-05-21T07:11:53 | 2019-03-22T07:20:31 | TypeScript | UTF-8 | PlantUML | false | false | 70 | plantuml | @startuml
!theme plain
class Publication {
title : String
}
@enduml
|
36aca8c6644bdecbfc71abda69a5ab3307e2a1d3 | 7eb0a3429f021f1a046bed8e667a6911d789d065 | /FacadePattern/FacadePattern.puml | 4b81cab0f323699d784118c72447de1373f5fc48 | [
"MIT"
] | permissive | gama79530/DesignPattern | d99431711fda65cfb7d790b2959ba0a712fa3f86 | 4730c50cdd839072ae50eef975cbed62b5a2a41c | refs/heads/master | 2023-08-03T04:35:54.561642 | 2023-06-08T03:13:08 | 2023-07-31T12:32:13 | 269,562,362 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 523 | puml | @startuml FacadePattern
hide empty members
interface Facade{
highLevelFunctionA()
highLevelFunctionB()
highLevelFunctionC()
}
interface ComponentA{
lowLevelFunctionA()
lowLevelFunctionB()
lowLevelFunctionC()
}
interface ComponentB{
lowLevelFunctionA()
lowLevelFunctionB()
lowLevelFunctionC()
}
interface ComponentC{
lowLevelFunctionA()
lowLevelFunctionB()
lowLevelFunctionC()
}
Facade -- ComponentA: > use
Facade -- ComponentB: > use
Facade -- ComponentC: > use
@enduml |
bd12f049bbace2d673dde3cb134a43002f86e586 | d93c5e07205317d00942c83f9cd9828d01f8beef | /out/production/AED2_PL/edu/ufp/inf/projeto/argo/argo.puml | b16d5a5eebe843a1614040dbd32e6b839077fa83 | [] | no_license | JorgeSilva97/LP2-AED2_GeoCache | 4ba0d02b536359bce1355864a7acf50edc29731d | baa53b821479744f0e52fc5e6e0146aea45fb799 | refs/heads/master | 2023-05-04T22:31:54.417128 | 2021-04-20T23:33:50 | 2021-04-20T23:33:50 | 354,039,412 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 491 | puml | @startuml
'https://plantuml.com/class-diagram
package ProjetoLP2_AED2{
class Participante{
- nome: String
- mail: String
}
class CoordenadasGPS{
- x: float
- y: float
}
class GeoCache{
}
class PontoDeInteresse{
- nome: String
}
class Objeto{
- nome: String
}
class TravelBug
{
}
enum Tipo{
admin,
premium,
basic
}
GeoCache "1" --- "1" CoordenadasGPS
PontoDeInteresse "1" --- "1" CoordenadasGPS
GeoCache "1" --- "0..*" Objeto
}
@enduml |
5f9c62cc5faeafb484a7d437e87cfe943a9b7c2f | b12398ba16bcc093f7aa7384cc6f7f0a24b002b0 | /etc/singleto.umr.puml | f8ef1ca1dc0e98d1ab3387d92c6ca6dab52978b8 | [] | no_license | AndresTY/BancoPDUSA | f3f2e8d3ed81f133cc812b0219c7f762995e3cc9 | 1a6727f5911e5d870e4e013a3a5b442aefc08ef4 | refs/heads/Master | 2023-08-03T15:21:39.136064 | 2021-09-15T17:12:55 | 2021-09-15T17:12:55 | 406,444,696 | 1 | 1 | null | 2021-09-15T17:12:56 | 2021-09-14T16:31:39 | Java | UTF-8 | PlantUML | false | false | 625 | puml | @startuml
package Launcher{
class Validador{
~numgen:String
-Validador()
+getValidador(): Validador {static}
+validar(String): boolean
+next():String
}
}
package Perfil{
class Perfil{
- creditoRotativo: Creditorotativo
- cdt:CDT
-cuentaAhorros: CuentaAhorros
-cuentaCorriente: CuentaCorriente
-tarjetasCredito: ArrayList<TarjetaCredito>
-tarjetaDebito: ArrayList<TarjetaDebito>
+checkNumero(Tarjeta): void
+anadirTarjetaDebito(TarjetaDebito): void
+anadirTarjetaCredito(TarjetaCredito): void
}
}
Validador --> Validador :"new"
Perfil --> Validador :"use"
@enduml
|
2243c59da54794f2fe4ede73d57bf2746c7e56a1 | 30bc94fe49b28656c408148438ba2de897db2626 | /mymovies/class.puml | 4ea6700e2845377faa1a25c828f298dec95ad233 | [] | no_license | victoriahopso/IT1901 | 2aff22385084928d0d85e17b6622b0d5aa4e4433 | e1fdafca7f752aeae9865ed5a0a707179c4552bb | refs/heads/master | 2023-08-19T07:46:16.836999 | 2020-11-19T14:27:45 | 2020-11-19T14:27:45 | 412,639,210 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,494 | puml | @startuml
AllUsers <-- RemoteUserAccess
AllUsers <-- MockUserAccess
User <-- AllUsers
User <-- MyMoveisController
User <-- LogInController
User <-- RemoteUserAccess
User <-- MockUserAccess
Film <-- User
Film <-- MyMoveisController
MyMoveisController <-- LogInController
UserAccess <|.. MockUserAccess
UserAccess <|.. RemoteUserAccess
RemoteUserAccess <-- MyMoveisController
RemoteUserAccess <-- LogInController
class AllUsers{
Collection<User> users
Collection<User> getAllUsers()
}
class User{
#String userName
#String password
#Collection<Film> myMovies
User(String, String)
void addMovie(Film)
void removeMovie(Film)
}
class Film{
String name
String genre
int Rating
Film(String, String, int)
String toString()
String displayText()
}
class LogInController{
UserAccess access
User user
void handleSignUp(ActionEvent)
void handleSignIn(ActionEvent)
void logIn(ActionEvent)
void logInFailure(String)
}
class MyMoveisController{
#ObservableList<String> ratings
#ObservableList<String> genres
#ObservableList<String> moviesList
#TableView<Film> table
#User user
#UserAccess access
void handleSubmit()
void submitted()
void generateList(ActionEvent)
}
class RemoteUserAccess{
AllUsers allUsers
URI uri
ObjectMapper objectMapper
RemoteUserAccess()
String param(String)
URI uri(String)
}
interface UserAccess{
boolean isUser(String, String)
User getUser(String)
void addUser(User)
void updateUser(User)
boolean usernameTaken(String)
}
class MockUserAccess{
AllUsers allUsers
}
@enduml |
90270f1fe5f5c41fa56b89f19589bdfb541dd2c4 | ae18f3805c2044dd28acb0e54142ffa3a213decf | /simplefactory/class.puml | ce7c5bd436e753c1d33c21784339f6718150b194 | [] | no_license | GochenRyan/DesignPatternsInPython | c125bff53b4edc73cba0eef4ed4408033ff28711 | 47103f46d9b803c0f53902e83daf7b7be032903b | refs/heads/main | 2023-06-05T12:40:40.219251 | 2021-06-21T16:48:52 | 2021-06-21T16:49:05 | 366,058,078 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 239 | puml | @startuml
class CSimpleFactory {
CreateOperate(sOperate)
}
class COperation {
m_iNumberA
m_iNumberB
}
CSimpleFactory <-- COperation
COperation <|-- CAdd
COperation <|-- CSub
COperation <|-- CMul
COperation <|-- CDiv
@enduml |
707d8f07a1d87f21bc16571adf19626272d557b2 | c9c618e7ea0dc7e1e8957ddba74791e0b34419af | /src/main/java/comportement/interpreter/eni/interpreter.puml | b592274ad625c47db20efa3a4463a828a64b3e5f | [] | no_license | soffiane/java-design-patterns | c978e24723721895e559683ad3334a44ce540a05 | bff3ce4caf56590daa35e8b1a08bdcdf6e118e73 | refs/heads/master | 2020-12-03T06:12:13.046057 | 2020-02-13T21:48:22 | 2020-02-13T21:48:22 | 231,225,139 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,159 | puml | @startuml
note "Le pattern Interpreter fournit un cadre pour donner une\nrepresentation par objets de la grammaire d'un langage,\nafin d'evaluer en les interpretant des expressions ecrites\ndans ce langage. Ici, on veut creer un moteur de recherche\ndes vehicules par mot-clé selon une certaine grammaire.\nOn va evaluer des expressions selon un arbre syntaxique\ncomposé d'objets : operateurs et operandes" as N0
abstract class Expression{
+evalue(description)
}
class MotCle{
#motCle
+evalue(description)
}
interface OperateurBinaire
class OperateurEt{
+evalue(description)
}
class OperateurOu{
+evalue(description)
}
note left of MotCle : fleche vide -|>: relation is-a = heritage
Expression <|-- MotCle
Expression <|-- OperateurBinaire
OperateurBinaire <|-- OperateurEt
OperateurBinaire <|-- OperateurOu
note left of Expression : fleche normale -> est une\nrelation HAS - A composition
Expression "1 #operandeGauche" <-- OperateurBinaire
Expression "1 #operandeDroite" <-- OperateurBinaire
MotCle <|-- ElementTerminal
MotCle <|-- ElementTerminal2
note left of ElementTerminal : peut etre un nom de variable\nentiers, nombres reels, chaines...
@enduml |
fc193207ee688918c786efc1b6c8061d56877dd2 | eb79b5e41b205bca757ecb47616d107d0c78e13d | /design_patterns/structural/decorator/2. beverages_bad_design2.puml | 59f71eca45f4e933ecdec3eb1af117e0bb3c5cae | [] | no_license | kevinwong1983/exploration | 6023bb1c903c316794b132b1bff4ef817fe55f5d | 20029c025c7ae44e0dba535a6ec47b065b19f65b | refs/heads/master | 2022-06-09T09:48:26.087800 | 2022-06-05T22:29:47 | 2022-06-05T22:29:47 | 207,248,735 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,010 | puml | @startuml
skinparam monochrome true
abstract Beverages {
Bool milk
bool soy
bool mocha
getDescription()
cost()
hasMilk
hasSoy
hasMocha
setMilk
setSoy
setMocha
// other usefull methods
}
note left of Beverages
<b>Bad design 2: Overuse of composition
*condements added to beverages
using composition.
end note
note right of Beverages::cost
Need to add complex logic in cost() and
in getDescription() e.g.
if (hasMik(){ cost += 0.10 }
if (hasSoy(){ cost += 0.10 }
if (hasMocha(){ cost += 0.20 }
Also we cannot add for example a double
mocha without modifying the logic here.
<b>Not flexible nor maintainable!
end note
class HouseBlend {
HouseBlend
cost()
}
class DarkRoast {
HouseBlend
cost()
}
class Decaf {
HouseBlend
cost()
}
class Espresso {
HouseBlend
cost()
}
Beverages <|.. HouseBlend
Beverages <|.. DarkRoast
Beverages <|.. Decaf
Beverages <|.. Espresso
@enduml |
4eb625be3f2ab715e46cfb43ee3aced96e5f7fb8 | 326f0532299d6efcaec59d5a2cc95c31d9af9ef2 | /src/com/atguigu/principle/ocp/ocp.plantuml | ed55dc382a643d99e2fd07d162c964b1265708a5 | [] | no_license | srefp/design_pattern | 4b45ceb0808a8ae98a007bc5b0e01825693dcf7b | b7ff2d80172c55848b8f59530da6ccca477dfd24 | refs/heads/main | 2023-01-19T06:12:14.495913 | 2020-11-24T08:48:53 | 2020-11-24T08:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,279 | plantuml | @startuml
title __OCP's Class Diagram__\n
namespace com.atguigu.principle.ocp {
class com.atguigu.principle.ocp.Circle {
~ Circle()
}
}
namespace com.atguigu.principle.ocp {
class com.atguigu.principle.ocp.GraphicEditor {
+ drawCircle()
+ drawRectangle()
+ drawShape()
+ drawTriangle()
}
}
namespace com.atguigu.principle.ocp {
class com.atguigu.principle.ocp.Ocp {
{static} + main()
}
}
namespace com.atguigu.principle.ocp {
class com.atguigu.principle.ocp.Rectangle {
~ Rectangle()
}
}
namespace com.atguigu.principle.ocp {
class com.atguigu.principle.ocp.Shape {
~ m_type : int
}
}
namespace com.atguigu.principle.ocp {
class com.atguigu.principle.ocp.Triangle {
~ Triangle()
}
}
com.atguigu.principle.ocp.Circle -up-|> com.atguigu.principle.ocp.Shape
com.atguigu.principle.ocp.Rectangle -up-|> com.atguigu.principle.ocp.Shape
com.atguigu.principle.ocp.Triangle -up-|> com.atguigu.principle.ocp.Shape
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
df35d1523c368195643c741fcfdae436ca28761a | 7c2a17fd3d19a13fb71558f79900a2908de98c58 | /docs/uml-class-diagrams/admin/test/TrackDataTests/TrackDataTests.puml | 751dbd5c30502764e79601ed6ac9f97bfdd5e2e9 | [] | no_license | casher-ou/csi-3370-software-project | 483b1add9fbab8349f30009eecc123c884bdcc7b | 629fb9cce10429c2b80bd1ad33ab898d1466883b | refs/heads/main | 2023-01-22T00:44:50.062944 | 2020-11-29T23:00:50 | 2020-11-29T23:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,312 | puml | @startuml TrackDataTests
package edu.oakland.test.admin {
class TrackDataTests {
+ void pointsOnlyConstructorCourseIs0()
+ void fullDataConstructorCourseInIsCourseOut()
+ void pointsOnlyConstructorSpeedIs0()
+ void fullDataConstructorSpeedInIsSpeedOut()
+ void pointsOnlyConstructorValidIsFalse()
+ void fullDataConstructorValidIsTrue()
+ void pointsOnlyConstructorPointsInArePointsOut()
+ void fullDataConstructorPointsInArePointsOut()
+ void statusMessageInIsStatusMessageOut()
+ void noValidDataViaPointsOnlyConstructor()
+ void noNullDataViaPointsOnlyConstructor()
+ void noNullDataViaFullDataConstructor()
+ void noTooLittleDataViaFullDataConstructor()
+ void noTooMuchDataViaFullDataConstructor()
+ void noNegativeSpeedViaFullDataConstructor()
+ void noNegativeCourseViaFullDataConstructor()
+ void noTooLargeCourseViaFullDataConstructor()
- float generateRandomCourse()
- float generateRandomSpeed()
- int generateRandomTooSmallArrayLength()
- LocationDataPoint[] generateRandomLocationDataPointsArray(int length)
- LocationDataPoint generateRandomLocationDataPoint()
- String generateRandomString()
}
}
@enduml |
81f7aea459887a15d2b311ea037fc18b34669ce5 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/BusinessUnitAddBillingAddressIdAction.puml | 43b3cc56467f370065562ac0e4f77b4c2df5a2de | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 509 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface BusinessUnitAddBillingAddressIdAction [[BusinessUnitAddBillingAddressIdAction.svg]] extends BusinessUnitUpdateAction {
action: String
addressId: String
addressKey: String
}
interface BusinessUnitUpdateAction [[BusinessUnitUpdateAction.svg]] {
action: String
}
@enduml
|
8dfafdaa04912240361e3be27eb9e1f0a22793eb | c8921fe77a5927904ac3c04bfd080851403dab94 | /uml/uml2/actD.puml | 8a80c69c326d87ec96c1bf0ef70ab2882dc7a8e1 | [] | no_license | turanukimaru/fehs | cc06f5a3d007a2633373d09281304571e132748b | 8764ad4521c7a0f66a911578b536f9be4e598fdb | refs/heads/master | 2021-06-03T05:53:52.465995 | 2020-04-19T18:59:06 | 2020-04-19T18:59:06 | 111,425,822 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 885 | puml | @startuml
class 盤{
matrix : 駒[][]
載せる(駒, 座標)
動かす(駒, 座標)
取り除く(駒)
駒を見る(座標)
駒を探す(駒)
}
class 駒{
動かす(座標)
移動範囲を得る(盤)
成る(新能力)
}
class 能力{
移動範囲を得る()
行動範囲を得る()
全ての能力に共通のルール()
}
class 行動駒{
行動(座標)
行動範囲を得る()
}
class 行動盤{
行動範囲matrix : Boolean[][]
行動(駒, 座標)
行動範囲を探索(行動駒)
}
class 侵入状況{
対象 : 駒?
歩数 : Int
侵入角 : Int[]
地形 : 地形?=null
対象の枡と前後2枡を得る() : 枡[5]
}
行動盤 -> "載る" 行動駒
行動駒 --> "自分を動かす" 行動盤
駒 -right-> 能力
人 -down-> "動かす" 行動駒
人 -down-> "俯瞰する" 行動盤
行動駒 -down-|> 駒
行動盤 -down-|> 盤
侵入状況 --> 行動盤
@enduml |
aacc7c0d5043a968a77f1cba59026ea7aa14ab17 | 31a840c3423754734e6d9b06b19ea273a8bedfa9 | /ejemplo-diagrama-dominio.puml | b99e42e75d081da7df12d638ad7dad36d0a129b3 | [] | no_license | wormaza/EjemploModeloDominio | c3954ab982a244280b16968c824c4b8ee736f587 | 3b253d9dbf09c7ebe34c4481bfc6183c45eeea1c | refs/heads/master | 2023-03-29T13:02:22.448116 | 2021-04-09T15:33:39 | 2021-04-09T15:33:39 | 297,212,230 | 1 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 807 | puml | @startuml
title Modelo de Dominio (INF 236)
skinparam style strictuml
hide methods
hide empty members
note as nota1
Por simplicidad, el estado
sera un texto.
end note
class Autor {
nombre : String
}
class Libro {
titulo : String
año : Int
genero: String
}
class Biblioteca {
nombre : String
telefono : Int
email: String
}
class Usuario {
rut: Int
dv : Char
telefono : Int
emal : String
}
class Multa {
fecha : Date
monto : Int
}
class Prestamo{
fecha_inicio: Date
fecha_termino: Date
estado: string
}
nota1 .up. Prestamo
Biblioteca "1" -- "1..*" Libro : almacena >
Libro "1..*" -- "0..*" Autor : fue-escrito >
Usuario "1" -up- "0..*" Prestamo : realiza >
Usuario "1" -- "0..*" Multa : posee >
Prestamo "0..*" -- "1..*" Libro : contiene >
@enduml |
3cc2be11f49e154f1a567345abfb963ccb76521e | 58f5766244826918a3cf79312f861f76c5aa6f7d | /Documents/uml/ViewModels/MainWindowViewModel.puml | e81e1810fbc9b91d7205d67b533a76985ba06c37 | [
"MIT"
] | permissive | BillKrat/CsvEditSharp | 3835aa9d7955a33830be47b044d3c05763c68dff | a91334a8aa1b08c4f7fe38116892b088e92d4da4 | refs/heads/master | 2022-01-28T15:31:06.719793 | 2019-07-28T11:39:25 | 2019-07-28T11:39:25 | 198,216,226 | 0 | 1 | MIT | 2019-07-22T12:10:45 | 2019-07-22T12:10:44 | null | UTF-8 | PlantUML | false | false | 1,432 | puml | @startuml
class MainWindowViewModel {
+ SelectedTab : int <<get>> <<set>>
+ SelectedTemplate : string <<get>> <<set>>
+ CurrentFilePath : string <<get>> <<set>>
+ CurrentFileName : string <<get>> <<set>>
+ CurrentConfigName : string <<get>> <<set>>
+ CsvRows : ObservableCollection<object> <<get>> <<set>>
+ ErrorMessages : ObservableCollection<string> <<get>> <<set>>
+ HasErrorMessages : bool <<get>> <<set>>
+ ConfigFileTemplates : ObservableCollection<string> <<get>>
+ ConfigurationDoc : IDocument <<get>> <<set>>
+ QueryDoc : IDocument <<get>> <<set>>
+ ReadCsvCommand : ICommand <<get>>
+ WriteCsvCommand : ICommand <<get>>
+ QueryCommand : ICommand <<get>>
+ ResetQueryCommand : ICommand <<get>>
+ RunConfigCommand : ICommand <<get>>
+ SaveConfigCommand : ICommand <<get>>
+ SaveConfigAsCommand : ICommand <<get>>
+ ConfigSettingsCommand : ICommand <<get>>
+ DeleteTemplateCommand : ICommand <<get>>
+ MainWindowViewModel(viewServiceProvider:IViewServiceProvider)
+ GetDataGridColumnValidation(propertyName:string) : DataGridColumnValidationRule
+ <<async>> GetCompletionListAsync(position:int, code:string) : Task<IEnumerable<CompletionData>>
+ GetDataGridColumnConverter(propertyName:string) : DataGridColumnConverter
+ Dispose() : void
}
BindableBase <|-- MainWindowViewModel
IDisposable <|-- MainWindowViewModel
@enduml
|
9fa314aa78840a8478661653c6ee89f57471253e | 507366979ab895f19170fa3c3227dd4a64e1ee4a | /diagrama.puml | dfa6c525a9c978f6bccadd73d167bcef6394c644 | [] | no_license | HeraclitoDeEfeso/ayp3-tp2 | b8f4d6aa261e71f4734dd5123a9e39a8e7349526 | c4ef110542700399ab9355a1b031d9afa1fc0491 | refs/heads/master | 2020-05-27T04:34:49.182054 | 2019-06-08T13:46:11 | 2019-06-08T13:46:11 | 188,484,526 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,266 | puml | @startuml
title Aplicación
class Arbol {
int clave
int balance
Arbol* izquierda
Arbol* derecha
Arbol* insertarArbol(Arbol*, int)
Arbol* eliminarArbol(Arbol*, int)
Arbol* buscarArbol(Arbol*, int)
Lista* preordenArbol(Arbol*)
Lista* postordenArbol(Arbol*)
Lista* enordenArbol(Arbol*)
-Arbol* crearArbol(int)
-int insertarArbolBalanceado(Arbol**, int)
-int eliminarArbolBalanceado(Arbol**, int)
-int balancearArbol(Arbol**)
-void rotarDerecha(Arbol**)
-void rotarIzquierda(Arbol**)
-int buscarMaximo(Arbol*)
}
class Lista {
void* dato
Lista* siguiente
Lista* agregarLista(Lista*, void*)
Lista* apilarLista(Lista*, void*)
Lista* desapilarLista(Lista*)
Lista* unirLista(Lista*, Lista*)
void borrarLista(Lista*)
-Lista* crearLista(void*, Lista*)
}
class Menu {
char* titulo
char** opciones
int dimension
Menu* crearMenu(char*, char**, int)
int activarMenu(Menu*)
}
class Aplicacion <<utility>> {
{static} int main()
{static} int solicitarClave()
{static} void mostrarRecorrido(Lista*)
}
Arbol "2" *-- Arbol
Lista "*" <-left- Arbol
Menu <.up. Aplicacion
Arbol <.up. Aplicacion
Lista <.up. Aplicacion
hide <<utility>> circle
@enduml
|
ffa524993f12f85005cb1af2ea01b8d1eed4f43c | b2281338312f6cf7c8e134d67bf1ed5d85ae5ed5 | /TD6/TD6.2.1.plantuml | 78afe5cb949bfd0c255c6e617e834977fff2b05c | [
"MIT"
] | permissive | IUT-Blagnac/bcoo-LordHugo02 | b3136a66301c6bc340585878cd6535054a8d9d8b | 39943919d0a0858ddc6c0ab602b8fec91093547a | refs/heads/main | 2023-04-14T17:54:29.352678 | 2021-04-27T13:31:31 | 2021-04-27T13:31:31 | 335,632,481 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 939 | plantuml | @startuml TD6
hide circle
hide empty methods
'------ Classes Métiers
class Qualification {
code
libelle
tauxHoraire
}
class Artisan {
SIRET
nom
adresse
tph
}
class Tache {
code
designation
}
class Chantier {
nomProprio
adresseProprio
adresseChantier
telProprio
dateOuverture
dateFermeture
estTermine()
cloturer(Date)
cloturer()
'SetDateFermeture(Date)
}
class Modele {
code
designation
prixVenteM
prixRevientM
dureeConstructionM
}
'------ Classes Associations
class Realiser {
date
duree
}
class Executer {
ordre
dureeMoy
}
'------ Associations
Realiser "*" -up- "1" Artisan
Realiser "*" -down- "1" Chantier
Realiser "*" -left- "1" Tache
Tache "*" -up- "1" Qualification
Qualification "1" - "*" Artisan
Modele "0..*" - "1..*" Tache
Modele "1" -down- "*" Chantier
(Tache, Modele) .. Executer
'Main -left-> "*" Artisan
'Main - "*" Chantier
'Main - "*" Modele
@enduml |
d1038c819b4802a2d6ac3e3b366e384d4d8897f5 | e37016f9bea6aac6954954ba33bde705a1245047 | /zx-note/src/test/graph/lucene/lucene-core/search/类图/search相关顶层类图.puml | 6d36215eaac2314f76686a9ba6feb6a256790d3b | [] | no_license | zouxiang1993/es_lucene | 11d558d98a9847b9df1d9d575bc9b362ac548f9b | c463345975db890105124c429965ed96ebd8bf92 | refs/heads/master | 2023-07-19T21:03:26.092718 | 2019-08-27T16:24:46 | 2019-08-27T16:24:46 | 148,873,770 | 3 | 3 | null | 2023-07-18T02:50:13 | 2018-09-15T05:47:30 | Java | UTF-8 | PlantUML | false | false | 2,237 | puml | @startuml
abstract class Query{
// 用户查询的抽象表示
--
// 重写为简单的Query
+Query rewrite(IndexReader reader)
+Weight createWeight(IndexSearcher searcher, boolean needsScores)
}
abstract class Weight{
<b>Query的内部表示</b>。 计算查询权重,并构造Scorer
Weight的主要目的是保证查询过程不会修改Query对象,
这样Query实例就可以被重用。
<b><font color=red>依赖 IndexSearch 的状态应该放在Weight中 全局??
<b><font color=red>依赖 LeafReader 的状态应该放在Scorer中 单个segment??
--
// 创建一个Scorer <b>Weight负责生成匹配Query的DISI,并传递给Scorer
// <b> 每个Weight的Scorer方法都很重要
+{abstract} Scorer scorer(LeafReaderContext context)
// 创建一个BulkScorer
+BulkScorer bulkScorer(LeafReaderContext context)
}
abstract class Scorer {
负责计算得分
--
// 返回**匹配当前Query的所有文档的迭代器**,
遍历迭代器的过程中调用score()来打分
+{abstract} DocIdSetIterator iterator()
// 当前正在打分的文档ID
+{abstract} int docID()
// 当前文档的得分
+{abstract} float score()
}
abstract class BulkScorer{
一次性给一批文档打分
--
//
+void score(LeafCollector collector, Bits acceptDocs)
+{abstract} int score(LeafCollector collector, Bits acceptDocs, int min, int max)
}
interface LeafCollector{
<b>将打分过程从文档收集的过程中解耦</b>
<b><font color=red>也负责排序</b>
如果不需要打分,可以直接忽略。
如果需要打分,则先需要通过setScorer()方法来持有一个Scorer实例,
然后在collect(int)方法中通过调用Scorer.score()方法来为当前文档打分
---
+void setScorer(Scorer scorer)
+void collect(int doc)
}
interface Collector{
主要用来收集一个查询的原始结果
---
// 新建一个LeafCollector, 用来收集指定的context
+LeafCollector getLeafCollector(LeafReaderContext context)
// 是否需要打分
+boolean needsScores()
}
Query -right-- Weight
Weight -down-- Scorer
Weight -down-- BulkScorer
@enduml |
649bf72f91d0853d023abdd5d51f2c900809db24 | ca013075cc64e307300f4f39a45727ed389563b8 | /en-diagram/src/test/java/com/g2forge/enigma/diagram/plantuml/model/klass/members.puml | f0c243d5b634229453190d230fc9d5038d24c8f4 | [
"Apache-2.0"
] | permissive | g2forge/enigma | 6032e09ac347f1ef07853664a04412983b4b4423 | dcd5cbee7664c60334cff9b69502dd0850d8e662 | refs/heads/master | 2022-07-21T12:47:16.635047 | 2022-06-30T00:19:27 | 2022-06-30T00:19:27 | 113,804,682 | 1 | 1 | Apache-2.0 | 2022-06-30T00:19:28 | 2017-12-11T02:51:51 | Java | UTF-8 | PlantUML | false | false | 23 | puml | class A {
zero
one
}
|
23d0e4c24c1c5a8d71b98a34c79b162892970b11 | b5ccccb3984e93d1eee2d3d952d09444e5e7211d | /controlleradvice/src/main/java/com/github/yujiaao/validators/validators.plantuml | eb46e24cb67af65cb5cb6e7ddfb86de5a758fbaf | [] | no_license | yujiaao/spring-mvc-source-analysis | 16837fb7a7dfbca83432e538a732d8cc94517099 | b707e95a44aa093807175fd48010847cc336a982 | refs/heads/master | 2021-07-14T02:28:46.637707 | 2020-10-19T15:55:51 | 2020-10-19T15:55:51 | 213,173,358 | 1 | 0 | null | 2020-10-19T15:56:28 | 2019-10-06T13:26:55 | Java | UTF-8 | PlantUML | false | false | 468 | plantuml | @startuml
title __VALIDATORS's Class Diagram__\n
namespace com.concretepage {
namespace validators {
class UserValidator {
+ supports()
+ validate()
}
}
}
UserValidator .up.|> org.springframework.validation.Validator
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
58eb8f502318aca5120eec6c29c5cef2a3d826c3 | 6d925dce5636b2b3da22e150c73855204eff85e2 | /uml/todolist.puml | 56d160bd0858a353ffab840f79a552317ed94e09 | [] | no_license | brookefuller96/Fuller-cop3330-assignment4 | f09655a8c6bc428166c9d8ac52b17ec029ab60c4 | 9a4d2c63ffbc1a6e2e539944e8a68a2cece94109 | refs/heads/master | 2023-06-01T10:45:42.704617 | 2021-07-06T02:56:16 | 2021-07-06T02:56:16 | 383,283,083 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 136 | puml | @startuml
'https://plantuml.com/class-diagram
class ToDo{
main()
start()
}
javafx.Application <|-- Todo
ToDo -- Controller
@enduml |
08106b2c00dcffe71f04ecf3f0898d803d55f33e | ddd9fceda7accb11f6e5c8f3614ee9b5a717d8e8 | /node/src/deps/v8/FunctionCallbackInfo.puml | 644e46e96572fbb7771c5a6dcf48de7a039bb253 | [] | no_license | Ayase-252/note-figures | e2cf7578aa9363346ac0c97bac38dc88e2afd6c8 | 259f9b7eb718359e7c63f9c5da97b1e6e098b3c2 | refs/heads/master | 2023-04-14T13:19:23.107968 | 2021-05-01T11:26:13 | 2021-05-01T11:26:13 | 337,063,921 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 211 | puml | @startuml v8/FunctionCallbackInfo
namespace v8 {
class FunctionCallbackInfo<T> {
+Local<Object> Holder() const
+Isolate* GetIsolate () const
+ReturnValue<T> GetReturnValue () const
}
}
@enduml
|
a6301c89ea961fd9b33abad0af5652c1243084ed | 86584945baafa0da0342b7e818308cdae55cb07c | /.idea/modules/app/app.plantuml | 5d1fb32583c9f622e3480fe25c9b6f732877d466 | [] | no_license | DMingOu/CalculateExercise | 0a9a963518a4281ab48158cff429fb481b340538 | 3bb4320cfe2e7f5eb863cf8ab3f91e44ddb0ae9e | refs/heads/master | 2022-12-27T08:35:45.184932 | 2020-10-11T09:25:01 | 2020-10-11T09:25:01 | 303,056,326 | 5 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 712 | plantuml | @startuml
title __APP's Class Diagram__\n
namespace com.odm.calculatepractice {
class com.odm.calculatepractice.BuildConfig {
}
}
namespace com.odm.calculatepractice {
namespace bean {
class com.odm.calculatepractice.bean.Exercise {
}
}
}
namespace com.odm.calculatepractice {
namespace widget {
class com.odm.calculatepractice.widget.TextRoundProgress {
}
}
}
com.odm.calculatepractice.widget.TextRoundProgress -up-|> android.view.View
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
41ca65c67ffba9582170f6cc71b6a5bc2fe82e29 | d325933663db06c1c1942acdff1325f57b35b9e5 | /model.puml | 754c6bcb9a21a2f602dabc7d34618a3828d29aa1 | [] | no_license | hakandilek/spring-native-sample | e72dc487ab6a4795183c375543119575be160b47 | f35b558666b1bdfedfd0444391deea85784c9453 | refs/heads/main | 2023-02-05T04:47:17.463266 | 2020-12-20T16:50:33 | 2020-12-20T16:50:33 | 321,148,658 | 0 | 0 | null | 2020-12-18T15:40:53 | 2020-12-13T19:58:59 | Java | UTF-8 | PlantUML | false | false | 71 | puml | @startuml
class Product {
+ String name
+ String code
}
@enduml
|
a8ba93279645ed455e6b8cccdc15cbfba8bfb0ed | 5d49f8a8bde74e9386784c7c78f24123b3b62ba0 | /src/main/java/br/com/ifsp/lds/beans/Usuario.puml | a0a6be06962b641a9bfffbf850af43b3dfb1f64b | [] | no_license | joseguilhermeromano/UFABC | 42e9fc032853ac0b4afa1b04623cef7d7428486b | a31d89983d146bf97c9358ffd6855650b32707f2 | refs/heads/master | 2020-03-29T15:11:03.001134 | 2016-10-15T19:46:39 | 2016-10-15T19:46:39 | 150,047,881 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,568 | puml | /' Para exibir os diagramas é necessário obter o graphviz e o plugin plantuml para o netbeans
http://plugins.netbeans.org/plugin/49069/plantuml
http://www.graphviz.org/Download_windows.php
'/
@startuml
class Usuario {
-codigo:Integer
-nome:String
-cpf:String
-rg:String
-email:String
-telefone:String
-endereco:String
-numero:String
-bairro:String
-cidade:String
-complemento:String
-especialidade:String
-administrador:Integer
-treinamentos:ArrayList
-login:String
-senha:String
+getCodigo():Integer
+setCodigo(codigo:Integer):void
+getNome():String
+setNome(nome:String):void
+getCpf():String
+setCpf(cpf:String):void
+getRg():String
+setRg(rg:String):void
+getEmail():String
+setEmail(email:String):void
+getEndereco():String
+setEndereco(endereco:String):void
+getNumero():String
+setNumero(numero:String):void
+getBairro():String
+setBairro(bairro:String):void
+getCidade():String
+setCidade(cidade:String):void
+getComplemento():String
+setComplemento(complemento:String):void
+getEspecialidade():String
+setEspecialidade(especialidade:String):void
+getAdministrador():Integer
+setAdministrador(iadministrador:Integer):void
+getLogin():String
+setLogin(login:String):void
+getSenha():String
+setSenha(senha:String):void
+getTreinamentos():ArrayList
+setTreinamentos(treinamentos:ArrayList) :void
+getTelefone():String
+setTelefone(telefone:String) :void
}
@enduml |
680837db15feeaf5202f5d89f55d3e4e659edd99 | c0338d362d51a4ca4537dcbcf72cd3db19b442ed | /src/main/java/com/lelib/designpattern/behavior/interpreter/Interpreter.puml | 03c0e5e4322f2e9e50123515ba3f3d16627c48a1 | [] | no_license | lewisliu725/design-pattern | 3f5be8707eba94a2cb22645f336a9e13ed67ed2c | 7c87032b7410f4a759aeabfd542e5444ee90ee13 | refs/heads/master | 2022-12-12T00:19:55.589569 | 2020-09-15T03:07:30 | 2020-09-15T03:07:30 | 283,059,271 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 499 | puml | @startuml
' Class Definitions
interface Expression {
+ interpret(): boolean
}
class TerminalExpression {
- data : String
+ interpret() : boolean
}
class AndExpression {
- leftExp : Expression
- rightExp : Expression
+ interpret() : boolean
}
class OrExpression {
- leftExp : Expression
- rightExp : Expression
+ interpret() : boolean
}
' Class Relationships
Expression <|.. TerminalExpression
Expression <|.. AndExpression
Expression <|.. OrExpression
@enduml |
595c6a285be04cc083350d5279e692b9704c2d59 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ProductSetSearchKeywordsAction.puml | 2f96897e055a453f2ffa043c516c3a8808845405 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 513 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface ProductSetSearchKeywordsAction [[ProductSetSearchKeywordsAction.svg]] extends ProductUpdateAction {
action: String
searchKeywords: [[SearchKeywords.svg SearchKeywords]]
staged: Boolean
}
interface ProductUpdateAction [[ProductUpdateAction.svg]] {
action: String
}
@enduml
|
af4d926d3fb27032fcfe4fe92ff14ee76e83022e | c6c72378a47a34ea7f975cfddd0f6daba6b3b4d2 | /ch06/sample.puml | 56b284960345521e51b3f829b61be7aeb0f7f011 | [] | no_license | yinm/uml-modeling-lesson | 323b45e8bd926ac0b0f94a024bfd6f20a7872d17 | 0bc65be5ee9e957d3627cb9a5986a8ac9a17744c | refs/heads/master | 2020-04-16T10:38:27.352993 | 2019-01-30T12:37:18 | 2019-01-30T12:37:18 | 165,511,559 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 384 | puml | @startuml
class 電話帳登録者 {
氏名
}
class 登録電話番号 {
電話番号
}
class 着信 {
年月日時刻
電話番号通知区分
電話番号
}
class 発信 {
年月日時刻
電話番号通知区分
電話番号
}
電話帳登録者 "1"-d-"*" 登録電話番号
登録電話番号 "0..1"--"*" 着信
登録電話番号 "0..1"--"*" 発信
@enduml
|
26b3b734c24b97cc014f845a85fbfc3aa989b212 | 219f030ff6f9002578859d80f778ef70bfabdbbc | /abstractFactory/abstractFactory.puml | d4830d796a55d0f7797cc6aba9871b4460655392 | [] | no_license | haishenming/go_design_pattern | 2dc317a8f5173314efecabd37e51b4985cc6d7bc | c597a858a51121684972dbb1448753bb5497e215 | refs/heads/master | 2021-04-17T00:30:37.490217 | 2020-03-27T02:24:12 | 2020-03-27T02:24:12 | 249,396,497 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 621 | puml | @startuml
Interface AbstractFactory {
+ createProduct1(): void
+ createProduct2(): void
}
Interface AbstractProductA {
+ use(): void
}
class ConcreteFactory1 implements AbstractFactory {}
class ConcreteFactory2 implements AbstractFactory {}
class ProductA1 implements AbstractProductA {}
class ProductA2 implements AbstractProductA {}
ConcreteFactory1 --> ProductA1
ConcreteFactory1 --> ProductB1
Interface AbstractProductB {
+ eat(): void
}
class ProductB1 implements AbstractProductB {}
class ProductB2 implements AbstractProductB {}
ConcreteFactory2 --> ProductA1
ConcreteFactory2 --> ProductA2
@enduml |
5714e8e1f0cd7aafab55df3842764136fda9dd85 | 27bade928da247751c05e64b7baa7cd79bbc4766 | /oodesignpatterns/diagrams/builder.puml | db5d691c40ff7885a6a400f4ac899721f91dd1cd | [] | no_license | zweibit0110/design-patterns | 7ef005c8f49752545d3093e2de3d7f058c48e278 | c8f88aa916ffdd556026722c4ca80e7555e535fa | refs/heads/master | 2021-07-24T07:50:11.906876 | 2019-11-29T12:51:53 | 2019-11-29T12:51:53 | 224,854,326 | 0 | 0 | null | 2020-10-13T17:50:56 | 2019-11-29T12:55:42 | Java | UTF-8 | PlantUML | false | false | 1,573 | puml | @startuml
skinparam note {
borderColor grey
backgroundColor white
}
skinparam legend {
borderColor white
fontSize 20
fontColor grey
}
package com.deloitte.training.oodesignpatterns.creational.builder {
' Classes and interfaces
interface Builder {
+build(): T
}
class BikeBuilder {
+build(): Bike
}
class CarBuilder {
+build(): Car
}
class Bike
class Car
class CarBuilderTest
class BikeBuilderTest
' relationships
CarBuilder --> Builder : implements
BikeBuilder --> Builder : implements
BikeBuilderTest o- Builder : use
Builder -o CarBuilderTest : use
Car ^. CarBuilder : create
BikeBuilder .^ Bike : create
' hide garbage
hide empty fields
hide empty methods
' notes
note bottom of BikeBuilderTest
Bike bike = new Bike.BikeBuilder().
bikeType(...).
color(...).
build()
<i><size:10><color:grey>read: <b>BikeBuilderTest</b> uses <b>BikeBuilder</b> (which is a <b>Builder</b>) to create a <b>Bike</b></color></size></i>
end note
note bottom of CarBuilderTest
Car car = new CarBuilder().setX(...).setY(...).build()
<i><size:10><color:grey>read: <b>CarBuilderTest</b> uses <b>CarBuilder</b> (which is a <b>Builder</b>) to create a <b>Car</b></color></size></i>
end note
}
'legend
legend bottom left
BUILDER [design pattern]
end legend
@enduml |
c45683fc9d1fb96aa6daf0a31d2b71432e5a8842 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/BusinessUnitContactEmailSetMessagePayload.puml | 94485db85256533bd33029334f5d2029ee1f93b1 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 463 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface BusinessUnitContactEmailSetMessagePayload [[BusinessUnitContactEmailSetMessagePayload.svg]] extends MessagePayload {
type: String
contactEmail: String
}
interface MessagePayload [[MessagePayload.svg]] {
type: String
}
@enduml
|
033ed5ab30ac2f0a7788dd85dd9a4b99d0854e22 | c4f5b716ee28a87b13c5e0f573e9bc43d3f6c2ca | /docs/class_diagram.puml | 3215c2d72777e2684f4dafdcbdce9918133fdc13 | [] | no_license | ronie2/war | 14cb65617fa637f7342ce2f88efff2c3f1dc62ee | 27ca928a124a109afe4c4d93d91518436690c640 | refs/heads/master | 2021-01-19T16:02:17.019853 | 2017-04-18T05:27:38 | 2017-04-18T05:27:38 | 88,240,825 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,564 | puml | @startuml
object get_transaction
object transaction._buy_plane
object transaction._buy_gun
object buyer.get_hangar
object buyer.get_buyer
object buyer.get_account
object validator._player_msg
object validator._equipment_msg
object validator._buy_plane
object validator._buy_gun
object validator.get_validator
class Shop {
+ db
{abstract} + buy_plane()
{abstract} + buy_gun()
}
class WarPlanesShop {
+ buy_plane()
+ buy_gun()
- _product_spec_by_id()
- _product_price_by_id()
# __compatible_guns()
}
class Buyer {
+ id
+ account
+ hangar
}
class Account {
+ account
+ decrease()
+ has_enought_resource()
+ as_dict()
}
class Validator {
- _validation_strategy
- args
- kwargs
+ validate()
}
class Hangar {
+ planes
+ add_plane()
+ has_plane()
+ current_weapon()
+ set_weapon()
+ as_dict()
}
class Transaction {
- _transaction_strategy
+ transaction
+ commit()
}
Shop <|-- WarPlanesShop
Account <.. buyer.get_account
Hangar <.. buyer.get_hangar
Transaction <.. get_transaction
Validator <.. validator.get_validator
Buyer <.. buyer.get_buyer
Buyer ..> buyer.get_account
Buyer ..> buyer.get_hangar
Buyer o--> Account
Buyer o--> Hangar
WarPlanesShop ..> buyer.get_buyer
WarPlanesShop ..> get_transaction
WarPlanesShop ..> validator.get_validator
WarPlanesShop o--> Buyer
WarPlanesShop o--> Transaction
WarPlanesShop o--> Validator
transaction._buy_plane <--o Transaction
transaction._buy_gun <--o Transaction
validator._player_msg <--o Validator
validator._equipment_msg <--o Validator
validator._buy_plane <--o Validator
validator._buy_gun <--o Validator
@enduml |
0886e2e938eab44de31fa40923d5f91be15dc741 | 1ce6145af4ab75460f5b6176dfd22a2426434cb4 | /RoyalWormDemo/Canvas/Canvas.plantuml | 9c5d2bc85d0ef44dac50068b560561c6c151c37a | [] | no_license | zyzzyxxy/RoyalWorm | 89436a49c215f486c8ddeae7213f4640ded1a8d0 | db144a146983a8854a492d17a912922512c47d64 | refs/heads/master | 2020-04-20T20:51:47.678261 | 2019-03-10T22:32:38 | 2019-03-10T22:32:38 | 169,090,100 | 1 | 0 | null | 2019-03-10T12:39:20 | 2019-02-04T14:23:54 | Java | UTF-8 | PlantUML | false | false | 7,080 | plantuml | @startuml
title __CANVAS's Class Diagram__\n
package Canvas {
class ClientCanvas {
- clientWorld : char[][]
- paintCounter : int
+ ClientCanvas()
+ updateClientWorld()
+ getClientWorld()
+ paint()
+ drawWorld()
+ drawObject()
}
}
package Canvas {
class GameCanvas {
+ changes : List<Change>
+ paintCounter : int
+ GameCanvas()
+ paint()
+ drawWorld()
+ drawChanges()
+ drawObject()
}
}
package Canvas {
class GameGraphics {
{static} + drawApple()
{static} + drawSuperApple()
{static} + drawPlayer()
{static} + drawWall()
{static} + erase()
{static} + drawLightninh()
{static} + drawGhost()
{static} + drawBullet()
{static} + drawGun()
}
}
package Canvas {
class PlayerPanel {
- name : JLabel
- lives : JLabel
- score : JLabel
- space : JLabel
- sc : int
- li : int
+ PlayerPanel()
+ update()
}
}
ClientCanvas -up-|> JPanel
AccessibleJPanel -up-|> AccessibleJComponent
AccessibleFocusHandler -up-|> FocusListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
ReadObjectCallback -up-|> ObjectInputValidation
AccessibleJComponent -up-|> AccessibleExtendedComponent
AccessibleJComponent -up-|> AccessibleAWTContainer
AccessibleJComponent +-down- AccessibleFocusHandler
AccessibleJComponent +-down- AccessibleContainerHandler
AccessibleFocusHandler -up-|> FocusListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
KeyboardState -up-|> Serializable
ActionStandin -up-|> Action
AccessibleAWTContainer -up-|> AccessibleAWTComponent
AccessibleAWTContainer +-down- AccessibleContainerHandler
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
WakingRunnable -up-|> Runnable
DropTargetEventTargetFilter -up-|> EventTargetFilter
MouseEventTargetFilter -up-|> EventTargetFilter
AccessibleAWTComponent -up-|> Serializable
AccessibleAWTComponent -up-|> AccessibleComponent
AccessibleAWTComponent -up-|> AccessibleContext
AccessibleAWTComponent +-down- AccessibleAWTFocusHandler
AccessibleAWTComponent +-down- AccessibleAWTComponentHandler
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
DummyRequestFocusController -up-|> RequestFocusController
SingleBufferStrategy -up-|> BufferStrategy
BltSubRegionBufferStrategy -up-|> SubRegionShowable
BltSubRegionBufferStrategy -up-|> BltBufferStrategy
FlipSubRegionBufferStrategy -up-|> SubRegionShowable
FlipSubRegionBufferStrategy -up-|> FlipBufferStrategy
BltBufferStrategy -up-|> BufferStrategy
FlipBufferStrategy -up-|> BufferStrategy
ProxyCapabilities -up-|> ExtendedBufferCapabilities
FlipContents -up-|> AttributeValue
GameCanvas -up-|> JPanel
AccessibleJPanel -up-|> AccessibleJComponent
AccessibleFocusHandler -up-|> FocusListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
ReadObjectCallback -up-|> ObjectInputValidation
AccessibleJComponent -up-|> AccessibleExtendedComponent
AccessibleJComponent -up-|> AccessibleAWTContainer
AccessibleJComponent +-down- AccessibleFocusHandler
AccessibleJComponent +-down- AccessibleContainerHandler
AccessibleFocusHandler -up-|> FocusListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
KeyboardState -up-|> Serializable
ActionStandin -up-|> Action
AccessibleAWTContainer -up-|> AccessibleAWTComponent
AccessibleAWTContainer +-down- AccessibleContainerHandler
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
WakingRunnable -up-|> Runnable
DropTargetEventTargetFilter -up-|> EventTargetFilter
MouseEventTargetFilter -up-|> EventTargetFilter
AccessibleAWTComponent -up-|> Serializable
AccessibleAWTComponent -up-|> AccessibleComponent
AccessibleAWTComponent -up-|> AccessibleContext
AccessibleAWTComponent +-down- AccessibleAWTFocusHandler
AccessibleAWTComponent +-down- AccessibleAWTComponentHandler
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
DummyRequestFocusController -up-|> RequestFocusController
SingleBufferStrategy -up-|> BufferStrategy
BltSubRegionBufferStrategy -up-|> SubRegionShowable
BltSubRegionBufferStrategy -up-|> BltBufferStrategy
FlipSubRegionBufferStrategy -up-|> SubRegionShowable
FlipSubRegionBufferStrategy -up-|> FlipBufferStrategy
BltBufferStrategy -up-|> BufferStrategy
FlipBufferStrategy -up-|> BufferStrategy
ProxyCapabilities -up-|> ExtendedBufferCapabilities
FlipContents -up-|> AttributeValue
PlayerPanel -up-|> Container
AccessibleAWTContainer -up-|> AccessibleAWTComponent
AccessibleAWTContainer +-down- AccessibleContainerHandler
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
WakingRunnable -up-|> Runnable
DropTargetEventTargetFilter -up-|> EventTargetFilter
MouseEventTargetFilter -up-|> EventTargetFilter
AccessibleAWTComponent -up-|> Serializable
AccessibleAWTComponent -up-|> AccessibleComponent
AccessibleAWTComponent -up-|> AccessibleContext
AccessibleAWTComponent +-down- AccessibleAWTFocusHandler
AccessibleAWTComponent +-down- AccessibleAWTComponentHandler
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
DummyRequestFocusController -up-|> RequestFocusController
SingleBufferStrategy -up-|> BufferStrategy
BltSubRegionBufferStrategy -up-|> SubRegionShowable
BltSubRegionBufferStrategy -up-|> BltBufferStrategy
FlipSubRegionBufferStrategy -up-|> SubRegionShowable
FlipSubRegionBufferStrategy -up-|> FlipBufferStrategy
BltBufferStrategy -up-|> BufferStrategy
FlipBufferStrategy -up-|> BufferStrategy
ProxyCapabilities -up-|> ExtendedBufferCapabilities
FlipContents -up-|> AttributeValue
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
5c5eb088092e684a011bd436ca8594196e288574 | b5fc7582d0d738b7bbdf2b6b6e96bf1b700b33f4 | /view/spring/tiny-spring-source/puml/step6.puml | 9138bbdd878e0c0f098f1864619097d8aeee8e03 | [] | no_license | dohoby/dohoby.github.io | ac377bef14084d11c11fad2bd43b11d379859934 | f9d3c434c814481ad8c9d20e49b38373808df347 | refs/heads/master | 2021-10-22T03:31:16.100844 | 2021-10-19T11:55:43 | 2021-10-19T11:55:43 | 71,213,202 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,294 | puml | @startuml
class BeanDefinition {
Object bean
Class beanClass
String beanClassName
PropertyValues propertyValues
getBean(String name)
void setBean(Object bean)
void setBeanClassName(String beanClassName)
void setPropertyValues(PropertyValues propertyValues)
}
'-----------------------------------------------------------------------
interface BeanFactory {
getBean(String name)
registryBeanDefinition(String name,BeanDefinition beanDefinition);
}
abstract class AbstractBeanFactory{
Map<String,BeanDefinition> concurrentHashMap
getBean(String name)
registryBeanDefinition(String name,BeanDefinition beanDefinition)
abstract Object doCreateBean(BeanDefinition beanDefinition);
}
BeanFactory <|.. AbstractBeanFactory
'-----------------------------------------------------------------------
class AutowireCapableBeanFactory{
Object doCreateBean(BeanDefinition beanDefinition);
createBeanInstance(BeanDefinition beanDefinition)
applyPropertyValues(Bean bean,BeanDefinition beanDefinition)
}
AbstractBeanFactory <|-- AutowireCapableBeanFactory
note bottom
createBeanInstance:
Object bean = beanDefinition.getBeanClass().newInstance();
applyPropertyValues:
protected void applyPropertyValues(Object bean, BeanDefinition mbd) throws Exception {
for (PropertyValue propertyValue : mbd.getPropertyValues().getPropertyValues()) {
Field declaredField = bean.getClass().getDeclaredField(propertyValue.getName());
declaredField.setAccessible(true);
Object value = propertyValue.getValue();
if (value instanceof BeanReference) {
BeanReference beanReference = (BeanReference) value;
value = getBean(beanReference.getName());
}
declaredField.set(bean, value);
}
}
end note
'-----------------------------------------------------------------------
class PropertyValues{
List<PropertyValue> propertyValueArrayList
}
class PropertyValue{
String name
Object value
}
PropertyValues *--> PropertyValue
BeanDefinition o--> PropertyValues
AbstractBeanFactory *--> BeanDefinition
'-----------------------------------------------------------------------
interface BeanDefinitionReader{
void loadBeanDefinitions(String location)
}
class AbstractBeanDefinitionReader{
Map<String,BeanDefinition> registry
ResourceLoader resourceLoader
protected AbstractBeanDefinitionReader(ResourceLoader resourceLoader)
}
AbstractBeanDefinitionReader *--> BeanDefinition
BeanDefinitionReader <|.. AbstractBeanDefinitionReader
'-----------------------------------------------------------------------
class XmlBeanDefinitionReader{
void loadBeanDefinitions(String location)
protected void doLoadBeanDefinitions(InputStream inputStream)
}
note top
@Override
public void loadBeanDefinitions(String location) throws Exception {
InputStream inputStream = getResourceLoader().getResource(location).getInputStream();
doLoadBeanDefinitions(inputStream);
}
end note
AbstractBeanDefinitionReader <|-- XmlBeanDefinitionReader
'-----------------------------------------------------------------------
class ResourceLoader{
void getResource(String location)
}
note bottom
public Resource getResource(String location){
URL resource = this.getClass().getClassLoader().getResource(location);
return new UrlResource(resource);
}
end note
interface Resource{
InputStream getInputStream() throws IOException;
}
class UrlResource{
private final URL url;
UrlResource(URL url)
void getInputStream()
}
Resource <|.. UrlResource
ResourceLoader --> UrlResource
AbstractBeanDefinitionReader *--> ResourceLoader
'-----------------------------------------------------------------------
class BeanReference{
String name
Object bean
}
BeanDefinition o-->BeanReference
'-----------------------------------------------------------------------
interface ApplicationContext{
}
ApplicationContext --|> BeanFactory
'-----------------------------------------------------------------------
abstract AbstractApplicationContext{
AbstractBeanFactory beanFactory
void refresh()
Object getBean(String name)
}
AbstractApplicationContext ..|> ApplicationContext
AbstractApplicationContext o--> AbstractBeanFactory
'-----------------------------------------------------------------------
class ClassPathXmlApplicationContext{
String configLocation
void refresh()
}
AbstractApplicationContext <|-- ClassPathXmlApplicationContext
note top
@Override
public void refresh() throws Exception {
XmlBeanDefinitionReader xmlBeanDefinitionReader = new XmlBeanDefinitionReader(new ResourceLoader());
xmlBeanDefinitionReader.loadBeanDefinitions(configLocation);
for (Map.Entry<String, BeanDefinition> beanDefinitionEntry : xmlBeanDefinitionReader.getRegistry().entrySet()) {
beanFactory.registerBeanDefinition(beanDefinitionEntry.getKey(), beanDefinitionEntry.getValue());
}
}
public ClassPathXmlApplicationContext(String configLocation) throws Exception {
this(configLocation, new AutowireCapableBeanFactory());
}
public ClassPathXmlApplicationContext(String configLocation, AbstractBeanFactory beanFactory) throws Exception {
super(beanFactory);
this.configLocation = configLocation;
refresh();
}
end note
'-----------------------------------------------------------------------
/'
注释
'/
@enduml |
63700d86fe93b374660c0b892da39a2171726228 | 740ec837551b09f09677854163ecd30ba6ea3cb7 | /documents/sd/plantuml/application/BrowserExtension/Listeners/DOMListener.puml | 6b20eaae7a5663ad0b2894ccc101b7e39cf92581 | [
"MIT"
] | permissive | insightmind/MORR | 913c0c16d14745cbde40af07322ca339a0373f32 | 0830f2155fb3b32dc127587e07cbd780deb0e118 | refs/heads/develop | 2020-12-08T00:23:17.488431 | 2020-04-05T20:50:44 | 2020-04-05T20:50:44 | 232,827,908 | 5 | 1 | MIT | 2020-04-05T20:55:27 | 2020-01-09T14:28:48 | HTML | UTF-8 | PlantUML | false | false | 588 | puml | @startuml
skinparam linetype ortho
skinparam monochrome true
skinparam classAttributeIconSize 0
class DOMListener {
+ DOMListener(callback : function(BrowserEvent) : void)
+ start()
+ stop()
}
interface IListener {
+ IListener(callback : function(BrowserEvent) : void)
+ start() : void
+ stop() : void
}
DOMListener .UP.|> IListener : implements
DOMListener ..> TextInputEvent : creates
DOMListener ..> ButtonClickEvent : creates
DOMListener ..> HoverEvent : creates
DOMListener ..> TextSelectionEvent : creates
DOMListener ..> DOMEventRecorder : injects
@enduml
|
cde925ce46459fe2063410ea685dbcf7d2f55433 | dc20115738d63d9d0dbd16fab019785740465cc7 | /plantuml/Users/hunter/Coding/maternity-ward-system/FoodDistributer.puml | e69bed0bc217177e9c3dc38bb2c2afa1bcd6a971 | [] | no_license | W0lfCr0w/maternity-ward-system | b2a9201111079ce3f638ff78cadb6aa9ecb4e04f | ee9aac0f52841c4083f1666dc4628f9c0d9b34af | refs/heads/main | 2023-06-06T10:33:10.231707 | 2021-06-29T10:20:54 | 2021-06-29T10:20:54 | 379,371,068 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 344 | puml | @startuml
class FoodDistributer {
+ HourlyPay : double <<get>>
+ FoodDistributer(fname:string, lname:string, id:string, age:int, hours:double)
+ FoodDistributer(fname:string, lname:string, id:string, age:int)
+ <<override>> EndOfMonthSalary() : double
}
Employee <|-- FoodDistributer
IMinorEmployee <|-- FoodDistributer
@enduml
|
c4d7433c75826cc39c68bbddf107b893f19c3a0f | d07e234bbdaa30c3c73189f55020dbe08174e613 | /docs/state-machine-classes.puml | f954d9b09ea1de12575cf232801d746719f33aea | [
"BSD-3-Clause"
] | permissive | the-matrix/finite-state-machine | e665a8d7ea3f63e3940b2cee91cd784296f9c63f | d850f034e840fc60cddadedc144d8d2498f68f1e | refs/heads/master | 2020-09-02T23:47:22.792278 | 2019-11-07T23:11:27 | 2019-11-07T23:11:27 | 219,333,977 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,351 | puml | @startuml
hide empty members
title Finite State Machine Classes
namespace Chippyash\StateMachine {
interface "Interfaces\Describable" as Describable {
getName(): string
getDescription(): string
}
interface "Interfaces\StateAware" as StateAware {
getState(): State
setState(State $state): StateAware
hasState(): bool
}
class "Traits\HasState" as HasState << (T, cyan) >> {
#state: State
}
StateAware <|-- HasState
class "Traits\Describing" as Describing << (T, cyan)>> {
#name: string
#description: string
}
Describable <|-- Describing
class State <? Describable>{
__construct(string $name, ?string $description = '')
}
class StateGraph <? Describable>{
#graph: Graphviz\Graph
#states: States
#transitions: Transitions
__construct(string $name, ?string $description = '')
addState(State $state): StateGraph
addTransition(State $from, State $to, Transition $transition): StateGraph
getTransitionsForState(StateAware $statefulObject): Transitions
isInitialState(State $state): bool
isFinalState(State $state): bool
getInitialStates(): States
getNextStateForTransition(Transition $transition): State
isValid(): bool
getGraph(): Graph
getTransitions(): Transitions
getStates(): States
transition(StateAware $object, Transition $transition): StateGraph
__call(string $method, array $arguments = [])
}
class States <<Monad\Map>> {
}
State --o States
class Transition <? Describable>{
#fromStateName: string
#toStateName: string
__construct(string $name, ?string $description = '')
getFromStateName(): string
getToStateName(): string
setFromStateName(string $fromStateName): Transition
setToStateName(string $toStateName): Transition
}
Transition -o Transitions
Describing <|-- State
Describing <|-- Transition
Describing <|-- StateGraph
class Transitions <<Monad\Map>> {
}
StateAware -* StateGraph
Transition --* StateGraph
Transitions --* StateGraph
State --* StateGraph
States --* StateGraph
}
@enduml |
afbefd0c4f0170e5911eb8d4c27f90baa3b83f26 | faa8c72dcae4db938a2c29538fdebc0fb8c7a4c5 | /docs/Dokumentation/uml/UML.puml | b32ab3477d943a87434f3a3f772ba561947cb781 | [] | no_license | Menschomat/fancyYooloo | 1c7c075d714fbb6b6ad21543861992b91f4462b4 | 125d7745ab4d4279dedb0b4e13b21840531c3886 | refs/heads/master | 2022-06-11T19:30:56.963048 | 2020-01-24T08:20:54 | 2020-01-24T08:20:54 | 235,041,371 | 0 | 0 | null | 2022-05-20T21:23:28 | 2020-01-20T07:19:15 | Java | UTF-8 | PlantUML | false | false | 10,467 | puml | @startuml
namespace allgemein {
class Starter {
+ main(args: String[])
}
class StarterClient {
+ main(args: String[])
}
class StarterServer {
+ main(args: String[])
}
}
allgemein.StarterClient -- client.YoolooClient
allgemein.StarterServer -- server.YoolooServer
allgemein.Starter -- common.YoolooKartenspiel
namespace client {
enum ClientState {
+ CLIENTSTATE_NULL
+ CLIENTSTATE_CONNECT
+ CLIENTSTATE_LOGIN
+ CLIENTSTATE_RECEIVE_CARDS
+ CLIENTSTATE_SORT_CARDS
+ CLIENTSTATE_REGISTER
+ CLIENTSTATE_PLAY_SINGLE_GAME
+ CLIENTSTATE_DISCONNECT
+ CLIENTSTATE_DISCONNECTED
}
class YoolooClient {
- serverHostname: String
- serverPort: int
- serverSocket: Socket
- ois: ObjectInputStream
- oos: ObjectOutputStream
- clientState: ClientState
- spielerName: string
- newLogin: LoginMessage
- meinSpieler: YoolooSpieler
- spielVerlauf: YoolooStich[]
- logger: Logger
+ YoolooClient()
+ YoolooClient(serverHostname: String, serverPort: int, nameCheck: boolean)
+ startClient(): void
- verbindeZumServer(): void
- spieleStich(stichNummer: int): void
- spieleKarteAus(i: int): void
- empfangeKommando(): ServerMessage
- empfangeSpieler(): void
- empfangeStich(): YoolooStich
- empfangeErgebnis(): String
- eingabeSpielerDatenFuerLogin(): LoginMessage
- ausgabeKartenSet(): void
- sortierungFestlegen(): YoolooKarte[]
- fancySortierung(): YoolooKarte[]
}
}
client.YoolooClient "1" *-- "1" client.ClientState
client.YoolooClient "1" *-- "1" common.LoginMessage
client.YoolooClient "1" *-- "1" common.YoolooSpieler
client.YoolooClient "1" *-- "0..*" common.YoolooStich
namespace common {
class LoginMessage {
- serialVersionUID: long
- spielerName: string
- gameMode: GameMode
+ LoginMessage(name: String, play_mode: GameMode)
+ LoginMessage()
+ LoginMessage(spielerName: String)
+ getSpielerName(): String
+ setSpielerName(spielerName: String): void
+ getGameMode(): GameMode
+ setGameMode(gameMode: GameMode): void
+ toString(): string
}
class YoolooKarte {
- serialVersionUID: long
- farbe: Kartenfarbe
- wert: int
+ YoolooKarte(kartenfarbe: Kartenfarbe, kartenwert: int)
+ getFarbe(): Kartenfarbe
+ getWert(): int
+ toString(): String
}
enum Kartenfarbe {
Gelb,
Rot,
Gruen,
Blau,
Orange,
Pink,
Violett,
Tuerkis
}
class YoolooKartenspiel {
- logger: Logger
- Spielname: String
- minKartenWert: int
- maxKartenWert: int
# spielkarten: YoolooKarte[][]
# anzahlFarben: int
# anzahlWerte: int
- spielerliste: ArrayList<YoolooSpieler>
+ YoolooKartenspiel()
+ listeSpielstand(): void
+ spielerRegistrieren(name: String): void
+ spielerRegistrieren(neuerSpieler YoolooSpieler): YoolooSpieler
+ toString(): String
+ spielerSortierungFestlegen(): void
+ spieleRunden(): void
+ berechneGewinnerIndex(karten: YoolooKarte[]): int
+ getSpielname(): String
+ setSpiename(spielname: String): void
}
class YoolooSpieler {
- serialVersionUID: int
- private: String
- spielfarbe: Kartenfarbe
- clientHandlerId: int
- punkte: int
- aktuelleSortierung: YoolooKarte[]
+ YoolooSpieler(name: String, maxKartenWert: int)
+ sortierungFestlegen(): void
+ erhaeltPunkte(neuePunkte: int): int
+ toString(): String
+ getName(): String
+ setName(name: String): void
+ getSpielfarbe(): Kartenfarbe
+ setSpielfarbe(spielfarbe: Kartenfarbe)
+ getClientHandlerId(): int
+ setClientHandlerId(clientHandlerId: int)
+ getPunkte(): int
+ setPunkte(puntke: int): void
+ getAktuelleSortierung(): YoolooKarte[]
+ stichAuswerten(stich: YoolooStich): void
}
class YoolooStich {
- serialVersionUID: long
- stichNummer: int
- spielerNummer: int
- karten: YoolooKarte[]
+ YoolooStich()
+ YoolooStich(YoolooKarte[] stich)
+ getStichNummer(): int
+ setStichNummer(stichNummer: int): void
+ getSpielerNummer(): int
+ setSpielerNummer(spielerNummer: int): void
+ getStich(): YoolooKarte[]
+ setStich(YoolooKarte[] stich): void
+ toString(): String
}
}
common.LoginMessage "1" *-- "1" server.GameMode
common.YoolooKarte "1" *-- "1" common.Kartenfarbe
common.YoolooKartenspiel "1" *-- "0..*" common.YoolooKarte
common.YoolooKartenspiel "1" *-- "0..*" common.YoolooSpieler
common.YoolooSpieler "1" *-- "1" common.Kartenfarbe
common.YoolooSpieler "1" *-- "0..*" common.YoolooKarte
common.YoolooStich "1" #-- "0..*" common.YoolooKarte
namespace messages {
enum ClientMessageType {
ClientMessage_OK,
ClientMessage_NOT_OK
}
class ClientMessage {
- serialVersionUID: long
- message: String
- type: ClientMessageType
+ ClientMessage(clientMessageType: ClientMessageType, messagetext: String)
+ getMessage(): String
+ setMessage(message: String): void
+ getType(): ClientMessageType
+ setType(type: ClientMessageType): void
}
enum ServerMessageType {
SERVERMESSAGE_ACKNOWLEDGE
SERVERMESSAGE_SENDLOGIN
SERVERMESSAGE_SORT_CARD_SET
SERVERMESSAGE_SEND_CARD
SERVERMESSAGE_RESULT_SET
SERVERMESSAGE_CHANGE_STATE
}
enum ServerMessageResult {
SERVER_MESSAGE_RESULT_OK
SERVER_MESSAGE_RESULT_NOT_OK
}
class ServerMessage {
- serialVersionUID: long
- serverMessageType: ServerMessageType
- nextClientState: ClientState
- serverMessageResult: ServerMessageResult
- paramInt: int
+ ServerMessage()
+ ServerMessage(type: ServerMessageType, nextState: ClientState, result: ServerMessageResult)
+ ServerMessage(type: ServerMessageType, nextState: ClientState, result: ServerMessageResult, paramInt: int)
+ getServerMessageType(): ServerMessageType
+ setServerMessageType(serverMessageType: ServerMessageType): void
+ getNextClientState(): ClientState
+ setNextClientState(nextClientState: ClientState): void
+ getServerMessageResult(): ServerMessageResult
+ setServerMessageResult(serverMessageResult: ServerMessageResult): void
+ getParamInt(): int
+ setParamInt(paramInt: int): void
+ toString(): String
}
}
namespace persistence {
class YoolooFileWriter {
- filePath: String
- logger: Logger
+ YoolooFileWriter()
+ saveUsers(users: YoolooPersistance): void
+ loadUsers(): YoolooPersistance
}
class YoolooPersistence {
- users: Map<String, List<Integer>>
+ getUsers(): Map<String, List<Integer>>
+ setUsers(users: Map<String, List<Integer>>): void
+ toString(): String
}
class YoolooUsers {
- logger: Logger
- fileWriter: YoolooFileWriter
- persistence: YoolooPersistance
+ YoolooUsers()
+ setUserCardOrder(meinSpieler: YoolooSpieler): void
+ getUserCardOrder(meinSpieler: YoolooSpieler): YoolooKarte[]
- valuesAreValid()
}
}
persistence.YoolooUsers "1" --* "1" persistence.YoolooPersistence
persistence.YoolooUsers "1" --* "1" persistence.YoolooFileWriter
namespace server {
enum ServerState {
ServerState_NULL
ServerState_CONNECT
ServerState_LOGIN
ServerState_REGISTER
ServerState_MANAGE_SESSION
ServerState_PLAY_SESSION
ServerState_DISCONNECT
ServerState_DISCONNECTED
}
class YoolooClientHandler {
- logger: Logger
- delay: int
- myServer: YoolooServer
- socketAddress: SocketAddress
- clientSocket: Socket
- oos: ObjectOutputStream
- ois: ObjectInputStream
- state: ServerState
- session: YoolooSession
- meinSpieler: YoolooSpieler
- clientHandlerId: int
- gespielteKarten: ArrayList<YoolooKarte> gespielteKarten
+ YoolooClientHandler(yoolooServer: YoolooServer, clientSocket: Socket)
+ run(): void
- sendeKommando(serverMessageType: ServerMessageType, clientState: ClientState, serverMessageResult: ServerMessageResult, paramInt: int): void
- sendeKommando(serverMessageType: ServerMessageType, clientState: ClientState, serverMessageResult: ServerMessageResult): void
- verbindeZumClient(): void
- empfangeVomClient(): Object
- registriereSpielerInSession(meinSpieler: YoolooSpieler): void
- spieleKarte(stichNummer: int, empfangeneKarte: YoolooKarte): YoolooStich
+ setHandlerID(clientHandlerId): void
+ ausgabeSpielplan(): void
+ joinSession(session: YoolooSession): void
}
enum GameMode {
GAMEMODE_NULL
GAMEMODE_SINGLE_GAME
GAMEMODE_PLAY_ROUND_GAME
GAMEMODE_PLAY_LIGA
GAMEMODE_PLAY_POKAL
GAMEMODE_PLAY_POKAL_LL
}
class YoolooServer {
- port: int
- spielerProRunde: int
- minRealPlayers: int
- waitForPlayers: int
- botSpawnerRunning: boolean
- serverGameMode: GameMode
- users: YoolooUsers
- logger: Logger
- serverSocket: ServerSocket
- serverAktiv: boolean
- clientHandlerList: ArrayList<YoolooClientHandler>
- spielerPool: ExecutorService
+ YoolooServer(port: int, spielerProRunde: int, minRealPlayers: int, waitForPlayers: int, gameMode GameMode, nameCheck: boolean)
+ startServer(): void
+ shutDownServer(code: int): void
+ getUsers(): YoolooUsers
+ getClientCount(): int
+ getSpielerProRunde(): int
+ getServerGameMode(): GameMode
+ setServerGameMode(serverGameMode: GameMode)
- printBanner(): void
- spawnBots(): void
- botSpawnCriteriaOk(startedSearchTime: long): boolean
- clientSpawnTimeExceeded(startedSearch: long): boolean
}
class YoolooSession {
- anzahlSpielerInRunde: int
- gameMode: GameMode
- spielplan: YoolooKarte[][]
- aktuellesSpiel: YoolooKartenspiel
- ausgewerteteStiche: YoolooStich[] ausgewerteteStiche
+ YoolooSession(anzahlSpielerInRunde: int)
+ YoolooSession(anzahlSpielerInRunde: int, gamemode: GameMode)
+ spieleKarteAus(stichNummer: int, spielerID: int, karte: YoolooKarte)
+ stichFuerRundeAuswerten(stichNummer: int): YoolooStich
+ getAktuellesSpiel(): YoolooKartenspiel
+ setAktuellesSpiel(aktuellesSpiel: YoolooKarte): void
+ getAnzahlSpielerInRunde(): int
+ setAnzahlSpielerInRunde(anzahlSpielerInRunde: int): void
+ getGamemode(): GameMode
+ setGamemode(gamemode: GameMode): void
+ getSpielplan(): YoolooKarte[][]
+ setSpielplan(spielplan: YoolooKarte[][]): void
+ getErgebnis(): String
}
}
@enduml |
f5dec5ddbc5b272261c4f974e3cfd0a398ecd460 | 3b4dfa59b081892e05047ef558a49048b3cd8e89 | /import/src/main/java/com/flyread/file/imp0rt/container_file_import_component_class.puml | 3c63edde3a95365bb4438edf7264edbdc9b559c9 | [] | no_license | hongbofan/file-import-export | 820833d127ba859f75f124a3cb69088543c7a53f | 655de6e45cfdd1420275d3346e5b69c88e536841 | refs/heads/master | 2021-05-01T13:08:30.030073 | 2018-05-10T08:13:38 | 2018-05-10T08:13:38 | 121,071,258 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,834 | puml | @startuml
interface ImportHandlerContext {
ImportHandler handler()
ImportPipeline pipeline()
BaseImportHandlerContext fireChannelRead(Object msg)
}
abstract class BaseImportHandlerContext implements ImportHandlerContext {
volatile BaseImportHandlerContext next
volatile BaseImportHandlerContext prev
private final DefaultImportPipeline pipeline
private final String name
BaseImportHandlerContext fireChannelRead(Object msg)
ImportPipeline pipeline()
String getName()
BaseImportHandlerContext findContextInbound()
}
class DefaultImportHandlerContext extends BaseImportHandlerContext {
private final ImportHandler handler
ImportHandler handler()
}
interface ImportHandler {
void handleRequest(BaseImportHandlerContext context, Object msg) throws Exception
}
abstract class BaseReadHandler implements ImportHandler {
private List<Object> list = new ArrayList<>()
void handleRequest(BaseImportHandlerContext context, Object msg)
void readLine(BaseImportHandlerContext context,List<Object> list,Object msg)
}
abstract class BaseDecodeHandler implements ImportHandler {
void handleRequest(BaseImportHandlerContext context, Object msg)
ImportRecord decode(String[] splits, Map<String, String> headerMap)
}
abstract class BaseToJavaBeanHandler implements ImportHandler {
private ImportRecord header
void handleRequest(BaseImportHandlerContext context, Object msg)
Object toJavaBean(String clazzName, ImportRecord record)
}
interface ImportPipeline {
ImportPipeline addFirst(String name, ImportHandler handler)
ImportPipeline addFirst(ImportHandler... handlers)
Map<String, ImportHandler> toMap()
ImportRequest getRequest()
ImportResponse getResponse()
BaseImportHandlerContext getHead()
BaseImportHandlerContext getTail()
}
class DefaultImportPipeline implements ImportPipeline {
private final BaseImportHandlerContext head
private final BaseImportHandlerContext tail
private ImportRequest request
private ImportResponse response
ImportPipeline addFirst(String name, ImportHandler handler)
ImportPipeline addFirst(ImportHandler... handlers)
Map<String, ImportHandler> toMap()
Iterator<Map.Entry<String, ImportHandler>> iterator()
void addFirst0(BaseImportHandlerContext newCtx)
BaseImportHandlerContext newContext(ImportHandler handler,String name)
class TailContext extends BaseImportHandlerContext implements ImportHandler
class HeadContext extends BaseImportHandlerContext implements ImportHandler
BaseImportHandlerContext getHead()
BaseImportHandlerContext getTail()
ImportRequest getRequest()
ImportResponse getResponse()
}
interface ImportService {
ImportResponse importFile()
}
class ExcelImportServiceImpl implements ImportService {
private ImportPipeline pipeline
ImportResponse importFile()
}
class TxtImportServiceImpl implements ImportService {
private ImportPipeline pipeline
ImportResponse importFile()
}
class ImportUtil {
Object getCellValue(Cell cell)
}
enum ExcelCellType {
CELL_TYPE_NUMERIC
CELL_TYPE_STRING
CELL_TYPE_FORMULA
CELL_TYPE_BLANK
CELL_TYPE_BOOLEAN
CELL_TYPE_ERROR
}
class ImportResponse {
int importCount
List<Object> result
int getImportCount()
void setImportCount(int importCount)
List<Object> getResult()
void setResult(List<Object> result)
}
class ImportRequest {
File importFile
ImportConfig config
ImportRequest(File importFile)
File getImportFile()
void setImportFile(File importFile)
ImportConfig getConfig()
void setConfig(ImportConfig config)
}
class ImportFactory {
ImportService create(ImportType type, ImportRequest request)
}
enum ImportType {
EXCEL("excel", "excel","excel"),
TXT("txt","txt","txt");
}
class ImportBootstrap {
File file
ImportConfig config
ImportRequest request
ImportBootstrap initFile(String path)
ImportBootstrap initConfig(String configId)
ImportBootstrap build()
ImportResponse start(ImportType type)
ImportConfig getConfig(String configId)
}
class ImportConfig {
private String separator
private Map<String,String> headerMap
private String clazzName
}
class ImportRecord {
private List<String> list
private boolean isHeader
}
class ImportRow {
private String data
private boolean isHeader
}
ImportBootstrap <-- ImportRequest
ImportBootstrap <-- ImportConfig
ImportBootstrap <-- ImportFactory
ImportFactory <-- ImportType
ImportFactory <-- ImportService
ImportUtil <-- ExcelCellType
DefaultImportPipeline <-- ImportRequest
DefaultImportPipeline <-- ImportResponse
ImportHandlerContext <-- ImportHandler
ImportHandlerContext <-- ImportPipeline
BaseDecodeHandler <-- ImportRecord
BaseToJavaBeanHandler <-- ImportRow
@enduml
|
467fe31881f85c479281d9711b993815c12bc1f9 | 94dba241318957952430596f87177728b3cd0611 | /doc/Diagramas/Diagramas_Clase/pregunta/pregunta.plantuml | 61b12fbd35177817e1cdd4a20517c5d81f94e85d | [
"MIT"
] | permissive | diegosanchez/TP2 | 8a8ed478ea6cabca8c53787163b3076d2fffbad0 | 1650035bf76c5c4044ff8fdfb0ecbd3b57806df1 | refs/heads/master | 2022-11-25T07:36:52.092998 | 2020-07-30T18:00:13 | 2020-07-30T18:00:13 | 285,419,187 | 0 | 0 | MIT | 2020-08-05T22:37:43 | 2020-08-05T22:37:42 | null | UTF-8 | PlantUML | false | false | 1,690 | plantuml |
@startuml
title Modelo de Pregunta usando Simple Factory
skinparam classAttributeIconSize 0
class PreguntaCreador{
+ crearPregunta(tipoPregunta: TipoPregunta): Preguntable
}
interface Preguntable{
+ obtenerOpciones():List
+ establecerPuntuacion(opciones:List): int
+ obtenerPregunta():str
}
enum TipoPreguntaConcreta{
VerdaderoFalsoClasico
VerdaderoFalsoPenalidad
MultipleChoiceClasico
MultipleChoiceParcial
}
abstract class VerdaderoFalso{
~ opciones: List<Opcion>
~ pregunta: String
~ validarOpciones(opciones: List<Opcion>)
- tieneCantidadOpcionesValida(opciones:List<Opcion>): Boolean
- tieneOpcionesCorrectas(opciones:List<Opcion>): Boolean
}
' sin penalidad
class VerdaderoFalsoClasico{
}
class MultipleChoiceClasico{
}
class MultipleChoiceParcial{
}
' con penalidad
class VerdaderoFalsoPenalidad{
}
class MultipleChoicePenalidad{
}
' Especiales
class GroupChoice{
}
class OpcionesOrdenadas{
}
abstract class MultipleChoice{
~ opciones: List<Opcion>
~ pregunta: String
~ validarOpciones(opciones: List<Opcion>)
- tieneCantidadOpcionesValida(opciones:List<Opcion>): Boolean
- tieneOpcionesCorrectas(opciones:List<Opcion>): Boolean
}
PreguntaCreador -down->TipoPreguntaConcreta
PreguntaCreador -> Preguntable
Preguntable <.. VerdaderoFalso
' Preg_Penal
VerdaderoFalso <|-- VerdaderoFalsoPenalidad
MultipleChoice <|-- MultipleChoicePenalidad
' Pregun_Sin_Penal
VerdaderoFalso <|-- VerdaderoFalsoClasico
Preguntable <.. MultipleChoice
MultipleChoice <|-- MultipleChoiceParcial
MultipleChoice <|-- MultipleChoiceClasico
Preguntable <.. GroupChoice
Preguntable <.. OpcionesOrdenadas
@enduml |
acdfe1a178f10640afa13046c441b13835521a19 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ProductVariantSelection.puml | 9d3bf8104cffac8c0cf5ba39b276f750a1d0742e | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 7,156 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface ProductVariantSelection [[ProductVariantSelection.svg]] {
type: [[ProductVariantSelectionTypeEnum.svg ProductVariantSelectionTypeEnum]]
}
interface ProductVariantSelectionExclusion [[ProductVariantSelectionExclusion.svg]] {
type: [[ProductVariantSelectionTypeEnum.svg ProductVariantSelectionTypeEnum]]
skus: [[String.svg List<String>]]
}
interface ProductVariantSelectionIncludeAllExcept [[ProductVariantSelectionIncludeAllExcept.svg]] {
type: [[ProductVariantSelectionTypeEnum.svg ProductVariantSelectionTypeEnum]]
skus: [[String.svg List<String>]]
}
interface ProductVariantSelectionIncludeOnly [[ProductVariantSelectionIncludeOnly.svg]] {
type: [[ProductVariantSelectionTypeEnum.svg ProductVariantSelectionTypeEnum]]
skus: [[String.svg List<String>]]
}
interface ProductVariantSelectionInclusion [[ProductVariantSelectionInclusion.svg]] {
type: [[ProductVariantSelectionTypeEnum.svg ProductVariantSelectionTypeEnum]]
skus: [[String.svg List<String>]]
}
interface ProductPresentWithDifferentVariantSelectionError [[ProductPresentWithDifferentVariantSelectionError.svg]] {
code: String
message: String
product: [[ProductReference.svg ProductReference]]
existingVariantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
interface GraphQLProductPresentWithDifferentVariantSelectionError [[GraphQLProductPresentWithDifferentVariantSelectionError.svg]] {
code: String
product: [[ProductReference.svg ProductReference]]
existingVariantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
interface ProductSelectionProductAddedMessage [[ProductSelectionProductAddedMessage.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
sequenceNumber: Long
resource: [[Reference.svg Reference]]
resourceVersion: Long
type: String
resourceUserProvidedIdentifiers: [[UserProvidedIdentifiers.svg UserProvidedIdentifiers]]
product: [[ProductReference.svg ProductReference]]
variantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
interface ProductSelectionVariantSelectionChangedMessage [[ProductSelectionVariantSelectionChangedMessage.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
sequenceNumber: Long
resource: [[Reference.svg Reference]]
resourceVersion: Long
type: String
resourceUserProvidedIdentifiers: [[UserProvidedIdentifiers.svg UserProvidedIdentifiers]]
product: [[ProductReference.svg ProductReference]]
oldVariantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
newVariantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
interface ProductSelectionProductAddedMessagePayload [[ProductSelectionProductAddedMessagePayload.svg]] {
type: String
product: [[ProductReference.svg ProductReference]]
variantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
interface ProductSelectionVariantSelectionChangedMessagePayload [[ProductSelectionVariantSelectionChangedMessagePayload.svg]] {
type: String
product: [[ProductReference.svg ProductReference]]
oldVariantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
newVariantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
interface AssignedProductReference [[AssignedProductReference.svg]] {
product: [[ProductReference.svg ProductReference]]
variantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
variantExclusion: [[ProductVariantExclusion.svg ProductVariantExclusion]]
}
interface AssignedProductSelection [[AssignedProductSelection.svg]] {
productSelection: [[ProductSelectionReference.svg ProductSelectionReference]]
variantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
variantExclusion: [[ProductVariantExclusion.svg ProductVariantExclusion]]
createdAt: DateTime
}
interface ProductSelectionAssignment [[ProductSelectionAssignment.svg]] {
product: [[ProductReference.svg ProductReference]]
productSelection: [[ProductSelectionReference.svg ProductSelectionReference]]
variantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
variantExclusion: [[ProductVariantExclusion.svg ProductVariantExclusion]]
}
interface ProductSelectionAddProductAction [[ProductSelectionAddProductAction.svg]] {
action: String
product: [[ProductResourceIdentifier.svg ProductResourceIdentifier]]
variantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
interface ProductSelectionSetVariantSelectionAction [[ProductSelectionSetVariantSelectionAction.svg]] {
action: String
product: [[ProductResourceIdentifier.svg ProductResourceIdentifier]]
variantSelection: [[ProductVariantSelection.svg ProductVariantSelection]]
}
ProductVariantSelection --> ProductVariantSelectionExclusion #blue;text:blue : "type : exclusion"
ProductVariantSelection --> ProductVariantSelectionIncludeAllExcept #blue;text:blue : "type : includeAllExcept"
ProductVariantSelection --> ProductVariantSelectionIncludeOnly #blue;text:blue : "type : includeOnly"
ProductVariantSelection --> ProductVariantSelectionInclusion #blue;text:blue : "type : inclusion"
ProductVariantSelection --> ProductPresentWithDifferentVariantSelectionError #green;text:green : "existingVariantSelection"
ProductVariantSelection --> GraphQLProductPresentWithDifferentVariantSelectionError #green;text:green : "existingVariantSelection"
ProductVariantSelection --> ProductSelectionProductAddedMessage #green;text:green : "variantSelection"
ProductVariantSelection --> ProductSelectionVariantSelectionChangedMessage #green;text:green : "oldVariantSelection"
ProductVariantSelection --> ProductSelectionVariantSelectionChangedMessage #green;text:green : "newVariantSelection"
ProductVariantSelection --> ProductSelectionProductAddedMessagePayload #green;text:green : "variantSelection"
ProductVariantSelection --> ProductSelectionVariantSelectionChangedMessagePayload #green;text:green : "oldVariantSelection"
ProductVariantSelection --> ProductSelectionVariantSelectionChangedMessagePayload #green;text:green : "newVariantSelection"
ProductVariantSelection --> AssignedProductReference #green;text:green : "variantSelection"
ProductVariantSelection --> AssignedProductSelection #green;text:green : "variantSelection"
ProductVariantSelection --> ProductSelectionAssignment #green;text:green : "variantSelection"
ProductVariantSelection --> ProductSelectionAddProductAction #green;text:green : "variantSelection"
ProductVariantSelection --> ProductSelectionSetVariantSelectionAction #green;text:green : "variantSelection"
@enduml
|
7c8afe07749abba0e847fdce52413a28691faab3 | 372e13940be1f116c671dbb746617a331f06899e | /Assets/TPPackages/com.cocoplay.core/Documentation-/puml/Runtime/Extension/AnimationExtensions.puml | 5c86739b397644059a619f05a605efc00b85d4b2 | [] | no_license | guolifeng2018/CIGA-Game-Jam | 797734576510e27b5c5cee2eb17c1444f51d258c | fcd03e5579bef3bffe2cb51f52ba11a49a9cc02d | refs/heads/master | 2022-12-10T19:21:15.522141 | 2020-08-16T10:06:23 | 2020-08-16T10:06:23 | 285,986,041 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 323 | puml | @startuml
class AnimationExtensions <<static>> {
+ {static} GetAnimState(anim:Animation, clipName:string) : AnimationState
+ {static} Sample(anim:Animation, time:float, clipName:string, normalized:bool) : void
+ {static} Sample(animator:Animator, time:float, stateName:string, normalized:bool) : void
}
@enduml
|
e9628e07492a4217f31b5df7a9ea65cec0fdec36 | 61f77755f3ca65fa0a0dfbbdc51137e01ded03fc | /design_model/src/main/resources/面向对象设计原则/Dependency Inversion Principle.puml | 443be91748d82e1efabfb405002951fc8aa87e5d | [] | no_license | lyszhen3/myWeb | 670e02a585ea3193f6c388b9cea37969a94792dc | c1543ec5f48d84e6c6481a95e54b84f04654b323 | refs/heads/master | 2023-07-11T02:29:33.530130 | 2019-02-25T01:39:29 | 2019-02-25T01:39:29 | 78,835,228 | 0 | 1 | null | 2022-12-16T04:38:41 | 2017-01-13T09:31:45 | Java | UTF-8 | PlantUML | false | false | 773 | puml | @startuml
class TXTDataConvertor{
+readFile():void
}
class ExcelDataConvertor{
+readFile():void
}
class CustomerDao{
+addCustomers():void
}
note left:没有使用依赖倒转
CustomerDao..>TXTDataConvertor
CustomerDao..>ExcelDataConvertor
abstract class AbstractDataConvertor{
+abstract readFile():void
}
class TXTDataConvertor2{
+readFile():void
}
class ExcelDataConvertor2{
+readFile():void
}
class CustomerDao2{
+addCustomers():void
}
mix_file config.xml
note bottom:<classNmae>TXTDataConvertor</className>
TXTDataConvertor2--|>AbstractDataConvertor
ExcelDataConvertor2--|>AbstractDataConvertor
CustomerDao2..>AbstractDataConvertor
CustomerDao2..>config.xml
note "依赖倒转原则\n'抽象不应该依赖于细节,细节应该依赖于抽象'" as N1
@enduml |
46cc5dde6a173926113e338a573290f40002a863 | d3f921b9e488b1d7e2fa86d01a2e6855219b1d05 | /fdv.session.handler/fdv.session.handler.plantuml | 1a6a6dca58d67f31bbf6ff6680bf1920ddc8ed27 | [
"Apache-2.0"
] | permissive | gematik/ref-ePA-FdV-Modul | d50e244d781702b95a9a31dc4efee09765546d79 | 2c6aba13f01c4fb959424342a5fa8ce1660ffad4 | refs/heads/master | 2022-01-19T20:31:23.703274 | 2022-01-07T07:24:03 | 2022-01-07T07:24:03 | 239,501,237 | 2 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 299 | plantuml | @startuml
namespace de.gematik.ti.epa.fdv.session.handler {
class de.gematik.ti.epa.fdv.session.handler.ServiceLocalizerLoader {
}
}
namespace de.gematik.ti.epa.fdv.session.handler {
class de.gematik.ti.epa.fdv.session.handler.ServiceLocalizerLoaderTest {
}
}
@enduml
|
18728a30c09cd6a008e69b9f7802a565a8595690 | 5182c071d0316eff5aad407dff1872e3ef8f0c10 | /readmeFiles/RequestStatus.iuml | f2b5510c138a444db67a748fda70c52987a25939 | [
"Apache-2.0"
] | permissive | fh-erfurt/1234Altwagen | 99bdd696c68b32fb20577ab5b6b411d65853eaae | 3a90aa709cbfb481a74cdaa94ea16c7579c9c7a0 | refs/heads/master | 2020-08-29T12:27:59.230959 | 2020-08-03T17:08:57 | 2020-08-03T17:08:57 | 218,030,883 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 94 | iuml | @startuml
enum RequestStatus {
+PENDING
+ACCEPTED
+DENIED
+CANCELLED
}
@enduml |
f74466ff7a953b96f8d7f829381b6a8c4f73a031 | 317138d37430f9f52d740b823ba81162886cd8d9 | /main/src/main/java/com/anniefraz/dissertation/main/algorithms/algorithms.plantuml | 43f85b1a51463c8abafc1a219df1a8712f7e408c | [] | no_license | AnnieFraz/GIN | dffb35140a7080d6a9b814f986225dda1240f1ec | e3dfe1e87cea21b4897399fb5e64a48ba9d67e1a | refs/heads/master | 2021-10-26T00:15:41.820527 | 2019-02-27T12:23:43 | 2019-02-27T12:23:43 | 150,884,121 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,390 | plantuml | @startuml
title __ALGORITHMS's Class Diagram__\n
package com.anniefraz.dissertation.main.algorithms {
class GAMain {
{static} - ITERATIONS : int
{static} - editNumberSeed : int
{static} - noofEditsNoRandom : int
{static} - compileSuccess : boolean
{static} - LOG : Logger
{static} ~ APPLICATIONCONTEXT : ApplicationContext
{static} - PATHNAME : String
{static} - RESULTWRITER : CSVResultWriter
{static} - genetic : GA
{static} + main()
{static} - initialise()
{static} - getGa()
{static} - secondPopulation()
}
}
package com.anniefraz.dissertation.main.algorithms {
class HCMain {
{static} - LOG : Logger
{static} ~ APPLICATIONCONTEXT : ApplicationContext
{static} - PATHNAME : String
{static} - ITERATIONS : int
{static} - editNumberSeed : int
{static} - noofEditsNoRandom : int
{static} - compileSuccess : boolean
{static} - RESULTWRITER : CSVResultWriter
{static} - genetic : GA
{static} + main()
{static} - initialise()
{static} - getHillClimbing()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
b952d121cc986ed6c4ee60da82a19df9ae093cb2 | d48322c0aad6c3312b00a71f926914a34a0be1b0 | /src/main/java/view/interfaceTool/interfaceTool.puml | e2dc27ce90b8762ba15310f9afcd0e5d127b1330 | [] | no_license | xloypaypa/HomeworkFramework | 3dbf75dd310d1af6a80e312d7c8007e4f14dcf4a | 83cc2bc866aa5955e1308572e0f6eb77b3c10f9a | refs/heads/master | 2020-05-18T02:47:18.887917 | 2015-08-18T07:57:54 | 2015-08-18T07:57:54 | 37,009,888 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 6,279 | puml | @startuml
abstract class AbstractComponent extends JPanel {
# extraComponentSet:Set<AbstractExtraComponent>
# visitablePanel:JPanel
__
+ AbstractComponent()
+ void addSubComponent (AbstractExtraComponent subComponent)
+ void removeSubComponent (AbstractExtraComponent subComponent)
+ void removeAllSubComponent()
+ AbstractExtraComponent getSubComponent(String componentName)
+ void setVisitableBounds(Rectangle r)
+ void setVisitableBounds(int x, int y, int width, int height)
+ Rectangle getVisitableBounds()
--override panel method--
+ void setSize(Dimension d)
+ void setSize(int width, int height)
+ void setBounds(Rectangle r)
+ void setBounds(int x, int y, int width, int height)
--update components' size--
# void updateAllComponentSize()
--abstract method--
# {abstract} void updateBounds();
# {abstract} void updateVisitableBounds();
}
abstract class AbstractExtraComponent extends JPanel {
# componentCallBack: JComponent;
__
+ AbstractExtraComponent()
+ void setComponentCallBack(JComponent component)
+ {abstract} void updateBoundsWithCallBackComponent()
}
package title {
interface TitleAbleComponent {
+void setTitle(String title)
+String getTitle()
}
interface InputAbleComponent {
+void setWords(String words)
+String getWords()
+void clearWords()
}
abstract class ComponentWithTitle extends AbstractComponent implements TitleAbleComponent {
- title:Title
+ ComponentWithTitle()
+ void setTitle(String title)
+ String getTitle()
# void updateVisitableBounds()
}
class Title extends AbstractExtraComponent implements TitleAbleComponent {
- label:JLabel
+Title()
+void setTitle(String title)
+String getTitle()
+void updateBoundsWithCallBackComponent()
}
class InputWithTitle extends ComponentWithTitle implements InputAbleComponent {
# JTextField textField;
__
--instance--
+ InputWithTitle()
# void buildTextField()
--method--
+ void setName(String name)
+ void setWords(String words)
+ String getWords()
+ void clearWords()
+ JTextField getTextField()
+ void setFocus()
# void updateBounds()
}
class PasswordWithTitle extends InputWithTitle {
# void buildTextField()
}
class InputWithLeftTitle extends InputWithTitle {
- titleWidth:int
+ InputWithLeftTitle()
+ void setTitleWidth(int width)
+ int getTitleWidth()
# void updateVisitableBounds()
# void updateBounds()
}
class ChoiceBarWithTitle extends ComponentWithTitle {
# comboBox:JComboBox<Object>;
__
--instance--
+ ChoiceBarWithTitle()
--data operation--
+ void addChoice(Object item)
+ void removeChoice(Object item)
+ void removeAllChoice()
+ void setChoices(Vector<Object> a)
--other operation--
+ Object getChoosenItem()
+ void addSelectAction(ActionListener listener)
+ void setSelectedItem(String item)
+ JComboBox<Object> getComboBox()
# void updateBounds()
}
class ChoiceButtonWithTitle extends ComponentWithTitle {
-horizontalRadioButtons:HorizontalRadioButtons;
+ ChoiceButtonWithTitle()
+ JRadioButton addChoose(String name,int width)
+ void removeChoose(String name)
+ void removeChoose(JRadioButton b)
+ JRadioButton getChoosen()
# void updateBounds()
}
}
package button {
interface ComponentWithButtons {
+ AbstractButton addButton(String name, int width, ActionListener action)
+ AbstractButton addButton(String name, ActionListener action)
+ AbstractButton addButton(String name)
+ AbstractButton addButton(String name, int width)
+ AbstractButton addBreak(int width)
+ AbstractButton addBreak()
+ void removeButton(AbstractButton button)
+ void removeButton(String buttonName)
+ void removeAllButtons()
}
abstract class AbstractButtons extends AbstractComponent implements ComponentWithButtons {
- buttons:Vector<AbstractButton>
+ AbstractButtons()
+ void removeButton(AbstractButton button)
+ void removeButton(String buttonName)
+ void removeAllButtons()
# void updateAllComponentSize()
# void updateVisitableBounds()
# AbstractButton getNewButton(String name)
# void addButtonToThis(AbstractButton button)
}
class Button extends AbstractExtraComponent {
- button:JButton;
+ Button()
+ void addActionListener(ActionListener actionListener)
+ void removeActionListener(ActionListener actionListener)
+ void updateBoundsWithCallBackComponent()
}
class HorizontalButtons extends AbstractButtons {
+ AbstractButton addButton(String name, int width, ActionListener action)
+ AbstractButton addButton(String name, ActionListener action)
+ AbstractButton addButton(String name)
+ AbstractButton addButton(String name, int width)
+ AbstractButton addBreak(int width)
+ AbstractButton addBreak()
# void updateBounds()
}
class HorizontalRadioButtons extends HorizontalButtons {
- group:ButtonGroup
+ HorizontalRadioButtons()
+ void removeButton(AbstractButton button)
+ void removeAllButtons()
+ JRadioButton getChoosen()
# AbstractButton getNewButton(String name)
# void addButtonToThis(AbstractButton button)
}
class VerticalButtons extends AbstractButtons {
+ AbstractButton addButton(String name, int height, ActionListener action)
+ AbstractButton addButton(String name, ActionListener action)
+ AbstractButton addButton(String name)
+ AbstractButton addButton(String name, int height)
+ AbstractButton addBreak(int height)
+ AbstractButton addBreak()
# void updateBounds()
}
}
ChoiceButtonWithTitle <--* HorizontalRadioButtons
@enduml |
68a9b2245c2588a171ffbb9ef91c8146ca35128a | cb1bdaea1cc52faec0b4614ea5adb47852bc5c13 | /app/src/main/java/com/utilisateur/orthomem/adapters/adapters.plantuml | 74057ce02860a7d24b86825454b41040a46d199a | [] | no_license | rv25oc/orthomem | 88e6c775438c02a58fdbadbfc28104c4a4ec9287 | 8c5679a3a94f742c9356a9cdf484b74a4a27c058 | refs/heads/master | 2020-03-21T15:56:09.569758 | 2018-10-09T11:09:08 | 2018-10-09T11:09:08 | 136,359,136 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,697 | plantuml | @startuml
title __ADAPTERS's Class Diagram__\n
package com.utilisateur.orthomem {
package com.utilisateur.orthomem.adapters {
class ExerciceListRecyclerViewAdapter {
- mExercicesList : ArrayList<Exercice>
+ onCreateViewHolder()
+ getItemCount()
+ getExerciceFromPosition()
+ ExerciceListRecyclerViewAdapter()
+ onBindViewHolder()
}
}
}
package com.utilisateur.orthomem {
package com.utilisateur.orthomem.adapters {
interface FavoriteIconListener {
{abstract} + onClickFavoriteIcon()
}
}
}
package com.utilisateur.orthomem {
package com.utilisateur.orthomem.adapters {
class WordListRecyclerViewAdapter {
- mWordsList : List<Word>
+ onCreateViewHolder()
+ onBindViewHolder()
+ getItemCount()
+ getWordFromPosition()
+ WordListRecyclerViewAdapter()
}
}
}
package com.utilisateur.orthomem {
package com.utilisateur.orthomem.adapters {
interface CheckBoxListener {
{abstract} + onClickCheckBox()
}
}
}
ExerciceListRecyclerViewAdapter -up-|> Adapter
ExerciceListRecyclerViewAdapter o-- FavoriteIconListener : mCallback
ExerciceListRecyclerViewAdapter +-down- FavoriteIconListener
WordListRecyclerViewAdapter -up-|> Adapter
WordListRecyclerViewAdapter o-- CheckBoxListener : mCallback
WordListRecyclerViewAdapter +-down- CheckBoxListener
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
5b8005991ced69ca9ec2e37533be740adf856726 | 58f5766244826918a3cf79312f861f76c5aa6f7d | /Documents/uml/Services/SaveFileDialogService.puml | d5eefe72e56ff92ad9a10f7ab86946d96ec2e0a9 | [
"MIT"
] | permissive | BillKrat/CsvEditSharp | 3835aa9d7955a33830be47b044d3c05763c68dff | a91334a8aa1b08c4f7fe38116892b088e92d4da4 | refs/heads/master | 2022-01-28T15:31:06.719793 | 2019-07-28T11:39:25 | 2019-07-28T11:39:25 | 198,216,226 | 0 | 1 | MIT | 2019-07-22T12:10:45 | 2019-07-22T12:10:44 | null | UTF-8 | PlantUML | false | false | 179 | puml | @startuml
class SaveFileDialogService {
+ SelectFile(title:string, filter:string, initialDirectory:string) : string
}
IFileSelectionService <|-- SaveFileDialogService
@enduml
|
54d2addc4d88ba50e5a2004b5bfe18523456fde5 | f55cb098f1edb6223ba210d06ba836893a387e95 | /objects/extends.puml | 8c6b09792eeb8209a989541de94bb144d857eb00 | [] | no_license | mrzhangboss/plantuml-introduction | ec9813b107ffdf211313bb4a6e29d46f24262a4b | f1e31f94f6d5a8886015798b60b1d69cd4f0e94b | refs/heads/master | 2023-03-23T22:01:30.892056 | 2021-03-15T10:27:58 | 2021-03-15T10:27:58 | 347,925,613 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 181 | puml | @startuml
'两种实现方式
'第一种使用类 猫是动物
class Animal{}
class Cat extends Animal{}
' 第二种直接使用标注 女人也是人
People <|-- Woman
@enduml
|
24a7ab03f35d0c1d415ea96cd21c5df191175593 | 57515bfad33d5ab1e68cccc924700e88316e19b9 | /DiagramaClases/Clases/Ciudades.puml | ede504ded9a4bb6d4a624b040c15183cf38eb525 | [] | no_license | NicolasBachs/DocumentacionZMGestion | 0e42009bf3bbf4d244e85a8545997c880f233074 | a099ddb44b8911b8428b9c4bdc2f9156c480af47 | refs/heads/master | 2023-01-27T17:57:29.235074 | 2020-12-02T15:35:21 | 2020-12-02T15:35:21 | 232,633,959 | 1 | 0 | null | 2020-01-08T18:44:12 | 2020-01-08T18:44:11 | null | UTF-8 | PlantUML | false | false | 132 | puml | @startuml Ciudades
hide circle
class Ciudades{
idCiudad: int
idPais: int
idProvincia: int
ciudad: string
}
@enduml |
014de96971ada20130eb05ac7f83550fe3bc9a64 | 605cac101260b1b451322b94580c7dc340bea17a | /malokhvii-eduard/malokhvii03/doc/plantuml/ua/khpi/oop/malokhvii03/text/Anagrams.puml | 4c8d56b93efe7c54cf55931d2b59ff173d55383f | [
"MIT"
] | permissive | P-Kalin/kit26a | fb229a10ad20488eacbd0bd573c45c1c4f057413 | 2904ab619ee48d5d781fa3d531c95643d4d4e17a | refs/heads/master | 2021-08-30T06:07:46.806421 | 2017-12-16T09:56:41 | 2017-12-16T09:56:41 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 889 | puml | @startuml
class Anagrams {
{static} +DEFAUL_WORD_PATTERN: String
-Anagrams()
{static} +findAllAnanyms(CharSequence, String): Collection<Ananym>
{static} +findAllAnanyms(Iterable<CharSequence>): Collection<Ananym>
{static} +findAllAnanyms(Iterable<CharSequence>, String): Collection<Ananym>
{static} +findAllAnanymsInString(Iterable<String>): Collection<Ananym>
{static} +findAllAnanymsInString(Iterable<String>, String): Collection<Ananym>
{static} +findAllPalindromes(Iterable<CharSequence>): Collection<CharSequence>
{static} +findAllPalindromes(Iterable<CharSequence>, String): Collection<CharSequence>
{static} +findAllPalindromesInString(Iterable<String>): Collection<String>
{static} +findAllPalindromesInString(Iterable<String>, String): Collection<String>
}
@enduml
|
2c93baa9d9d195d0cd87e41cd5c0f47abd75e3b2 | 1484f4a4d4c5b4689f8525742d1e4cda8fdb6d3a | /docs/diagrams/implementation_module/Data.puml | 7b12c616c26c8625afaa3b3636b91133e5aaa105 | [] | no_license | AY2021S1-CS2113-T16-1/tp | 8abd1e1798a8ecc64b4b3ae28dd5da618714b972 | 6ef0845c809addb46fef872101ef528780571b5d | refs/heads/master | 2023-01-13T17:13:34.579399 | 2020-11-16T05:03:49 | 2020-11-16T05:03:49 | 300,199,426 | 0 | 1 | null | 2020-11-16T05:03:50 | 2020-10-01T08:10:30 | Java | UTF-8 | PlantUML | false | false | 3,383 | puml | @startuml
hide circle
skinparam classAttributeIconSize 0
skinparam BoxPadding 50
skinparam shadowing false
skinparam package<<Layout>> {
borderColor Transparent
backgroundColor Transparent
fontColor Transparent
stereotypeFontColor Transparent
}
rectangle Storage {
}
rectangle Model {
rectangle Data {
class Ledger {
# date : LocalDate = null
+ entryList : EntryList
+ Ledger()
+ handlePacket(packet : CommandPacket) : void
+ getName() : String
+ handleSingleParam(packet : CommandPacket, paramType : String)
+ setDate() : void
+ getDate() : LocalDate
}
class Entry {
# date : LocalDate = null
+ Entry()
+ handlePacket(packet : CommandPacket) : void
+ getName() : String
+ handleSingleParam(packet : CommandPacket, paramType : String)
+ setTime() : void
+ getTime() : LocalTime
}
class DateTimeItem {
+ setDate() : void
+ getDate() : LocalDate
+ setTime() : void
+ getTime() : LocalTime
}
abstract class "{abstract}\nItem"{
}
}
rectangle DataList {
abstract class "{abstract}\nItemList"{
# currItem : Item
# items : ArrayList<Item>
# indexToModify : int
+ addItemAndSort(item : Item, comparator : Comparator)
+ getItemSize() : int
+ getItemAtIndex() : Item
+ getItemAtIndex(index : int) : Item
+ {abstract} printList()
}
class LedgerList {
# currItem : Item
# items : ArrayList<Item>
# indexToModify : int
+ addItemAndSort(item : Item, comparator : Comparator)
+ getItemSize() : int
+ getItemAtIndex() : Item
+ getItemAtIndex(index : int) : Item
+ printList()
}
class EntryList {
# currItem : Item
# items : ArrayList<Item>
# indexToModify : int
+ addItemAndSort(item : Item, comparator : Comparator)
+ getItemSize() : int
+ getItemAtIndex() : Item
+ getItemAtIndex(index : int) : Item
+ printList()
}
}
DateTimeItem --|> "{abstract}\nItem"
Ledger --|> DateTimeItem
Entry --|> DateTimeItem
LedgerList --|> "{abstract}\nItemList"
EntryList --|> "{abstract}\nItemList"
LedgerList --> "*" Ledger : contains >
EntryList --> "*" Entry : contains >
Ledger *-> "1" EntryList #line:blue;text:blue : Maintains >
}
rectangle LogicManagers {
class GoalTracker {
}
class ManualTracker {
~ {static} handleCreateLedger() : State
~ {static} handleOpenLedger() : State
~ {static} handleDeleteLedger() : State
}
class EntryTracker {
~ {static} handleCreateEntry() : State
~ {static} handleEditEntry() : State
~ {static} handleDeleteEntry() : State
}
EntryTracker --> EntryList : stores entries with >
ManualTracker -right-> LedgerList : stores ledgers with >
}
GoalTracker --> Entry : Tracks against \n input goal >
GoalTracker ..> EntryTracker : Displays\ngoal\nprogress >
Storage ..> LedgerList : Saves and \nLoads DataList >
Storage ..> EntryList : Saves and \nLoads DataList >
@enduml |
b7a1651dc45a6e7b8c0282fa13493b9e18f83460 | 694fd70b693c9670161b2492ece407123bf11cad | /plantuml/designpattern/concept-chainofresponsibility-2.plantuml | 21f0d467d6f88885c4ab8541fd35a73dd3e72d31 | [
"CC-BY-3.0-US",
"BSD-3-Clause",
"WTFPL",
"GPL-1.0-or-later",
"MIT",
"OFL-1.1"
] | permissive | windowforsun/blog | 4a341a9780b8454a9449c177f189ca304569031b | b0bce013f060f04a42dfa7ef385dbeea1644fdab | refs/heads/master | 2023-09-04T03:17:39.674741 | 2023-08-21T14:39:37 | 2023-08-21T14:39:37 | 170,632,539 | 0 | 1 | MIT | 2023-09-05T17:48:27 | 2019-02-14T05:26:51 | HTML | UTF-8 | PlantUML | false | false | 951 | plantuml | @startuml
skinparam classAttributeIconSize 0
class Request {
-int id
Request(int id)
int getId()
}
class Response {
-int id
-String receiverName
Response(int id, String receiverName)
int getId()
String getReceiverName()
}
abstract class Receiver {
-String name
-Receiver next
+Receiver(String name)
+Receiver setNext(Receiver next)
+String getName()
+Response receive(Request request)
#Response done(Request request)
#Response fail(Request request)
#{abstract} boolean resolve(Request request)
}
class OddReceiver {
+OddReceiver(String name)
#boolean resolve(Request request)
}
class RangeReceiver {
+RangeReceiver(String name)
#boolean resolve(Request request)
}
class ListReceiver {
+ListReceiver(String name)
#boolean resolve(Request request)
}
Receiver <--o Receiver
Receiver <|-- OddReceiver
Receiver <|-- RangeReceiver
Receiver <|-- ListReceiver
Response <-- Receiver : < Use
Request <-- Receiver : < Use
@enduml |
a26afacb71aaf466178609bac6a7524bfe55fa49 | 6d09b49d8ce9eae8ac0c9c476687b3d3229ec169 | /uml/parking_lot_simulators.plantuml | a26e0d66c3efa8a698fc29c448e201bdb00e5ce7 | [] | no_license | janstrohbeck/projektarbeit_simulationen | 2a3fa4fcd65d11690ab3935333b9bd87e6a1a179 | b42163527c65b0010c74fdfdf8a32623a9fafc45 | refs/heads/master | 2020-05-26T11:50:51.677974 | 2017-03-27T06:45:05 | 2017-03-27T06:45:05 | 82,477,693 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,761 | plantuml | @startuml
package "IO" {
together {
interface IO << global functions >> {
+read_entry_request(ER: out EntryRequest);
+read_exit_request(ER: out ExitRequest);
+read_entry_sensor_state(ESS: out EntrySensorState);
+read_exit_sensor_state(ESS: out ExitSensorState);
+write_signal_state(S: out SignalState);
+write_entry_gate_state(E: out EntryGateState);
+write_exit_gate_state(E: out ExitGateState);
}
class SimulatorState << (M,orange) monitor >> {
-random_seed : Object
-entry_request : EntryRequest
-exit_request : ExitRequest
-entry_sensor_state : EntrySensorState
-exit_sensor_state : ExitSensorState
-entry_gate_state : EntryGateState
-exit_gate_state : ExitGateState
-signal_state : SignalState
-car_cnt : Natural
-entry_queue_cnt : Natural
-exit_queue_cnt : Natural
+init_random()
.. Getters ..
+get_random() : Natural
+get_entry_request() : EntryRequest
+get_exit_request() : ExitRequest
+get_entry_sensor_state() : EntrySensorState
+get_exit_sensor_state() : ExitSensorState
+get_entry_gate_state() : EntryGateState
+get_exit_gate_state() : ExitGateState
+get_signal_state() : SignalState
+get_car_cnt() : SignalState
+get_entry_queue_cnt() : SignalState
+get_exit_queue_cnt() : SignalState
.. Setters ..
+set_entry_request(ER : EntryRequest)
+set_exit_request(ER : ExitRequest)
+set_entry_sensor_state(ER : EntrySensorState)
+set_exit_sensor_state(ER : ExitSensorState)
+set_entry_gate_state(ER : EntryGateState)
+set_exit_gate_state(ER : ExitGateState)
+set_signal_state(S : SignalState)
.. Manipulators ..
+inc_car_cnt()
+dec_car_cnt()
+inc_entry_queue_cnt()
+dec_entry_queue_cnt()
+inc_exit_queue_cnt()
+dec_exit_queue_cnt()
.. Wait methods ..
+wait_entry_gate_open()
+wait_exit_gate_open()
+wait_entry_gate_closed()
+wait_exit_gate_closed()
}
}
together {
class EntryGateSimulator << (T,#ADD1B2) Thread >> {
+run()
}
class ExitGateSimulator << (T,#ADD1B2) Thread >> {
+run()
}
class Logger << (T,#ADD1B2) Thread >> {
+run()
}
}
class Car << (T,#ADD1B2) Thread >> {
+run()
}
class RequestQueue {
+enqueue(timeout_ms : Integer)
+enqueue()
+receive()
}
together {
class EntryGateRequestQueue {
}
class ExitGateRequestQueue {
}
}
EntryGateRequestQueue <|-- RequestQueue
ExitGateRequestQueue <|-- RequestQueue
ExitGateSimulator -> ExitGateRequestQueue
EntryGateSimulator -> EntryGateRequestQueue
IO -> SimulatorState
ExitGateSimulator -> SimulatorState
EntryGateSimulator -> SimulatorState
Car -> EntryGateRequestQueue
Car -> ExitGateRequestQueue
Car -> SimulatorState
Logger -> SimulatorState
@enduml
|
0be70dacdbcb81515ea4afe8925e6a806ef664a3 | 4c9b022706780c646e4fce886ae7c907d8644cc5 | /doc/pic/src/class.puml | 636e65cb0b25257548250b3b8e94c462cb2cbf8e | [
"Apache-2.0"
] | permissive | nrempel/demo-agent | 85dbf6e19d0daca0b5b42f01d8186342a1e92401 | 9e2ab2b37096a7868b1ea514d8b6bc2b978fd323 | refs/heads/master | 2021-08-07T06:44:05.156834 | 2017-11-07T19:23:12 | 2017-11-07T19:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,669 | puml | @startuml
/'
Copyright 2017 Government of Canada - Public Services and Procurement Canada - buyandsell.gc.ca
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'/
title Class Diagram
class Wallet {
-_seed
+pool_name
+base_name
+name
+num
+handle
+cfg_json
+did
+verkey
}
class NodePool {
+name
+genesis_txn_path
+handle
+open()
+close()
}
class BaseAgent {
+pool
+wallet
+did
+verkey
+open()
+close()
+get_nym()
+get_schema()
+get_endpoint()
}
class BaseListeningAgent {
+host
+port
+agent_api_path
+schema_cache
-_vet_keys()
-_schema_info()
-_response_from_proxy()
-_mro_dispatch()
+send_endpoint()
+get_claim_def()
+process_post()
+process_get_txn()
+process_get_did()
}
class AgentRegistrar {
+send_nym()
+process_post()
}
class Origin {
+send_schema()
+process_post()
}
class Issuer {
+send_claim_def()
+create_claim()
+process_post()
}
class Prover {
-_master_secret
+claim_req_json
+send_claim_def()
+create_claim()
+create_master_secret()
+store_claim_offer()
+store_claim_req()
+store_claim()
+create_proof()
+get_claims()
+get_claim_by_claim_uuid()
+reset_wallet()
+process_post()
}
class Verifier {
+verify_proof()
+process_post()
}
class TrustAnchorAgent {
+process_post()
}
class SRIAgent {
+process_post()
}
class BCRegistrarAgent {
+process_post()
}
class OrgBookAgent {
+process_post()
}
BaseAgent "1" *-left- "1" NodePool
BaseAgent "1" *-right- "1" Wallet
BaseAgent <|-down- BaseListeningAgent
BaseListeningAgent <|-left- AgentRegistrar
BaseListeningAgent <|-left- Origin
BaseListeningAgent <|-right- Issuer
BaseListeningAgent <|-down- Prover
BaseListeningAgent <|-down- Verifier
AgentRegistrar <|-down- TrustAnchorAgent
Origin <|-down- TrustAnchorAgent
Issuer <|-right- SRIAgent
Verifier <|-right- SRIAgent
Issuer <|- BCRegistrarAgent
Prover <|-down- OrgBookAgent
@enduml
|
93b97f8f5323a86e83ea0d36a598dcc6f620a5f4 | 105171abc9ad1f14285ff1e839ce907a44a06195 | /src/data/data.plantuml | ffa8b5b5c6a9a959f2282be0d750f60930b19785 | [] | no_license | Sam-Malpass/Build-A-Net | 517e20ff04764fc104db7e063da35a38bafff26f | e8259a031b588cd6087cc94f2349bcbb751fb4a2 | refs/heads/master | 2022-12-08T17:01:09.936646 | 2020-09-11T06:46:10 | 2020-09-11T06:46:10 | 232,276,459 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,591 | plantuml | @startuml
title __DATA's Class Diagram__\n
namespace data {
class data.AND {
+ AND()
+ toString()
}
}
namespace data {
abstract class data.Dataset {
- columnHeaders : ArrayList<String>
- dataFrame : ArrayList<ArrayList<Double>>
- inputCols : ArrayList<Integer>
- name : String
- outputCols : ArrayList<Integer>
+ addWholeRow()
+ createEmptyDataFrame()
+ findUniques()
+ getColumnHeaders()
+ getDataFrame()
+ getInputCols()
+ getName()
+ getOutputCols()
+ getRow()
+ getRowExpected()
+ getWholeRow()
+ numAttributes()
+ numEntries()
+ numInputs()
+ numOutputs()
+ setColumnHeaders()
+ setDataFrame()
+ setInputCols()
+ setName()
+ setOutputCols()
}
}
namespace data {
class data.OR {
+ OR()
+ toString()
}
}
namespace data {
class data.UserSpecified {
- mappings : HashMap<String, Double>
+ UserSpecified()
+ UserSpecified()
- setup()
}
}
namespace data {
class data.XOR {
+ XOR()
+ toString()
}
}
data.AND -up-|> data.Dataset
data.OR -up-|> data.Dataset
data.UserSpecified -up-|> data.Dataset
data.XOR -up-|> data.Dataset
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
0da0f7669ce91f68aaba9ecb316f0f5a50c1e843 | 740ec837551b09f09677854163ecd30ba6ea3cb7 | /documents/sd/plantuml/application/Common/Shared/Events/Queue/Strategy/MultiConsumer/UnboundedMultiConsumerChannelStrategy.puml | 698b7dbb2cdb1a61c8ad02ffd2704ef4d8d40ec8 | [
"MIT"
] | permissive | insightmind/MORR | 913c0c16d14745cbde40af07322ca339a0373f32 | 0830f2155fb3b32dc127587e07cbd780deb0e118 | refs/heads/develop | 2020-12-08T00:23:17.488431 | 2020-04-05T20:50:44 | 2020-04-05T20:50:44 | 232,827,908 | 5 | 1 | MIT | 2020-04-05T20:55:27 | 2020-01-09T14:28:48 | HTML | UTF-8 | PlantUML | false | false | 617 | puml | @startuml
skinparam monochrome true
skinparam classAttributeIconSize 0
!startsub default
class "UnboundedMultiConsumerChannelStrategy<TEvent>" {
}
interface "IEventQueueStorageStrategy<TEvent>"
"IEventQueueStorageStrategy<TEvent>" <|-- "MultiConsumerChannelStrategy<TEvent>"
abstract class "MultiConsumerChannelStrategy<TEvent>" {
+ IsClosed : bool <<get>>
+ GetEvents(token: CancellationToken) : IAsyncEnumerable<TEvent>
+ Enqueue(event: T) : void
+ Open() : void
+ Close() : void
}
"MultiConsumerChannelStrategy<TEvent>" <|-- "UnboundedMultiConsumerChannelStrategy<TEvent>"
!endsub
@enduml |
4def6e0b607b8d5a3578a2fc6a49e1aa0f16f14d | 4831b8d3c95595367c9bb95adbc32f77fce5accf | /component/etc/component.uml.puml | 1c386fa30f755dbc1bdbcf0e62179f3119f17f3d | [
"LGPL-2.0-or-later",
"LGPL-3.0-only",
"MIT"
] | permissive | SergeyZhernovoy/java-design-patterns | bcccb330a44b3d09a991b943668416d725212157 | 1e654067c9761f4db800508d431769e3474e9c7c | refs/heads/master | 2023-03-11T08:59:09.285082 | 2023-03-02T18:07:23 | 2023-03-02T18:07:23 | 73,673,158 | 0 | 5 | MIT | 2021-05-07T13:38:25 | 2016-11-14T06:20:24 | Java | UTF-8 | PlantUML | false | false | 1,343 | puml | @startuml
class App
class GameObject
interface GraphicComponent
interface InputComponent
interface PhysicComponent
class ObjectGraphicComponent
class DemoInputComponent
class PlayerInputComponent
class ObjectPhysicComponent
GraphicComponent <|.. ObjectGraphicComponent
InputComponent <|.. DemoInputComponent
InputComponent <|.. PlayerInputComponent
PhysicComponent <|.. ObjectPhysicComponent
GameObject *-- ObjectGraphicComponent
GameObject *.. DemoInputComponent
GameObject *.. PlayerInputComponent
GameObject *-- ObjectPhysicComponent
class App {
+main(String[] args)
}
class GameObject{
- inputComponent;
- physicComponent;
- graphicComponent;
- name;
- velocity
- coordinate
+GameObject()
+createPlayer()
+createNpc()
+demoUpdate()
+update(e:int)
+getName()
+getVelocity()
+setVelocity(acceleration:int)
+getCoordinate()
+setCoordinate()
}
interface GraphicComponent{
+update()
}
interface InputComponent{
+update()
}
interface PhysicComponent{
+update()
}
class ObjectGraphicComponent{
+update(gameObject:GameObject)
}
class DemoInputComponent{
-walkAcceleration
+update(gameObject:GameObject,e:int)
}
class PlayerInputComponent{
-walkAcceleration
+update(gameObject:GameObject,e:int)
}
class ObjectPhysicComponent{
+update(gameObject:GameObject)
}
@enduml |
6881030a30245818e42fe3665c0ce18c63ef2281 | 40c869f0582027d38e82f0366b0ea2424654cc9a | /com/m2i/poe/poe.plantuml | 70fe122692350fcf047d3fe67fc409761dcf38f4 | [] | no_license | mikachm/java | a9d074b7aa8cfe4b03b89dff6d91b18838221fe9 | 806583f017f9ee624117e7bba4ffd4a5088b2371 | refs/heads/master | 2020-03-22T03:46:44.507020 | 2018-07-03T13:12:57 | 2018-07-03T13:12:57 | 139,451,884 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 712 | plantuml | @startuml
title __POE's Class Diagram__\n
package com.m2i.poe {
class Main {
{static} + main()
{static} + isPrime()
{static} + getPrimeNumbers()
{static} + factorielle()
{static} + multiplier_classic()
{static} + multiplier_recursif()
+ sum()
+ max()
+ sum()
+ max()
+ average()
{static} + getPrimeNumbers()
{static} + inverse()
{static} + permut()
{static} + inverse2()
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
da89b42fe5c22774730acf0df89b47a60e585c82 | 1e01c12863bd1e4b7303dc91ffbb7dc24707d592 | /Structural/Facade/uml/Facade.puml | f1b7ca72d1c6b59a2925cc189554321ba094da29 | [] | no_license | xghell/DesignPatterns | 5f7a32853cfafbc7f669a126ba1055690763aa93 | 7b536d49e869473eab14605b3b44829e20b72475 | refs/heads/master | 2020-04-05T08:08:01.961250 | 2018-11-07T10:10:20 | 2018-11-07T10:10:20 | 156,702,578 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 291 | puml | @startuml
class Facade {
# $os : OsInterface
# $bios : BiosInterface
+ turnOn()
+ turnOff()
}
interface OsInterface {
+ halt()
+ getName()
}
interface BiosInterface {
+ execute()
+ waiteForKeyPress()
+ launch(OsInterface $os)
+ powerDown()
}
@enduml |
4785b9f250ed5429d54d04f9ce02ee9cc1b8106a | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/StandalonePriceSetKeyAction.puml | 778d4f9a533f1565d95bd1cdcb4f2d9ed952c8db | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 469 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface StandalonePriceSetKeyAction [[StandalonePriceSetKeyAction.svg]] extends StandalonePriceUpdateAction {
action: String
key: String
}
interface StandalonePriceUpdateAction [[StandalonePriceUpdateAction.svg]] {
action: String
}
@enduml
|
859ed872ddd2cb3568973043cd01dc2be522f6e2 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CartRemoveDiscountCodeAction.puml | 8a6f88c3c6d93a217a99009ff9416e1bf0f6be39 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 492 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface CartRemoveDiscountCodeAction [[CartRemoveDiscountCodeAction.svg]] extends CartUpdateAction {
action: String
discountCode: [[DiscountCodeReference.svg DiscountCodeReference]]
}
interface CartUpdateAction [[CartUpdateAction.svg]] {
action: String
}
@enduml
|
c44107b6be80d2154965da5892f3c8a27ec6820b | 101ae3436fd49a43ce1c52ef69d38e14e2178768 | /docs/class-design.puml | 63a6ea4ffee0db2d3c26e1cdd17fe0e8ef286e57 | [] | no_license | codeflood/chel | 80dfb688af6bfcf69622253ef23ec750355a8afb | 26ceefdc32bc85a75fc9b110ebe17e97e174b6ca | refs/heads/master | 2023-08-08T20:08:20.275544 | 2023-08-08T01:31:09 | 2023-08-08T01:31:09 | 199,281,426 | 0 | 0 | null | 2021-07-11T11:49:52 | 2019-07-28T11:56:02 | C# | UTF-8 | PlantUML | false | false | 1,734 | puml | @startuml class
interface ICommand {
ExecuteAsync() : Task<CommandResult>
}
abstract class CommandResult {
Success : bool
}
class ValueCommandResult
CommandResult <|-- ValueCommandResult
class ListCommandResult
CommandResult <|-- ListCommandResult
class MapCommandResult
CommandResult <|-- MapCommandResult
class FailedCommandResult
CommandResult <|-- FailedCommandResult
ICommand --> CommandResult
interface ICommandFactory {
Create(:CommandInput) : ICommand
}
ICommandFactory -- ICommand
class CommandDescriptor {
ImplementingType : Type
CommandName : string
}
interface ICommandRegistry {
Register(:Type)
Resolve(commandName : string) : CommandDescriptor
GetAllRegistrations() : IEnumerable<CommandDescriptor>
}
ICommandRegistry *-- CommandDescriptor
class CommandRegistry implements ICommandRegistry {
ctor()
ctor(:ICommandRegistry)
}
CommandRegistry --> ICommandRegistry
class CommandFactory implements ICommandFactory
CommandFactory o-- ICommandRegistry
CommandFactory o-- ICommandServices
interface INameValidator {
IsValid(name : string) : bool
}
class NameValidator implements INameValidator
CommandRegistry *-- INameValidator
interface ISession {
Execute(input : string, resultHandler : Action<CommandResult>)
}
ISession --> CommandResult
class Session implements ISession
Session *-- ICommandFactory
Session *-- IParser
interface ICommandServices {
Register(:object)
Resolve(:Type) : object
}
class CommandServices implements ICommandServices
class Runtime {
RegisterCommandType(:Type)
RegisterCommandService<T>(:T)
NewSession() : ISession
}
Runtime o-- ISession
Runtime *-- ICommandRegistry
Runtime *-- ICommandServices
@enduml
|
5d8844297fc35ddb837e8ed477cd915e73945073 | 947f83bf4340ed37c3edb1986914875a26375988 | /diagrams/lineup.puml | 1d98702ae32d1c5fd463b6e7048e460f9d75a5f2 | [] | no_license | ben05s/league-montecarlo-simulation | 4d2df6b316af0f4e0c256ed84b27eaa5f77a0a40 | 1360e5d8f7a8c4f3479ba566615f24d47bc08f6b | refs/heads/master | 2020-03-11T05:34:46.418385 | 2018-06-16T14:31:50 | 2018-06-16T14:31:50 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 922 | puml | @startuml
skinparam class {
FontColor black
BackgroundColor white
BorderColor grey
FontName Monospaced
}
package "Lineup" {
abstract AbstractLineupSelector {
#int gamesPerMatch
#String optimizeLineupTeamName
#List<Player> alreadySelectedPlayers
+Player pickPlayerFromTeam()
#{abstract} Map<Player, Double> calculateLineupProbabilities()
}
AscendingRatingSelection -|> AbstractLineupSelector
DescendingRatingSelection --|> AbstractLineupSelector
AbstractLineupSelector <|- RandomSelection
}
package "OldSelection" {
class LineupSelector {
-int gamesPerMatch
-LineupStrategy
-String optimizeLineupTeamName
+{abstract}Player pickPlayerFromTeam()
}
enum LineupStrategy {
DESCENDING_RATING_STRENGTH
AVOID_STRONG_OPPONENTS
WHITE_BLACK_PERFORMANCE
RANDOM
}
}
@enduml |
8c1e227e3459989978779972a9b580e116f05347 | b6efbd25adb6181536c2fd4c796b31342a849900 | /assets/ClassDiagram.plantuml | 2bb55d309f8966225e5c0ff1ee05c2dd4d32980e | [] | no_license | zdodev/VisitKoreaApp | 0a2267e211689a2a7a26076a163f8dc908a952b2 | 52b718caae5ed307aa9c2f3dd5be5c259d9bd348 | refs/heads/main | 2023-05-04T22:04:14.407675 | 2021-05-31T17:11:00 | 2021-05-31T17:11:00 | 367,902,613 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,065 | plantuml | @startuml
' STYLE START
hide empty members
skinparam shadowing false
' STYLE END
package Model {
class "TourInformation" as TourInformation << (S, SkyBlue) struct >> {
~response : Response
}
class "TourInformationSingleItem" as TourInformationSingleItem << (S, SkyBlue) struct >> {
~response : Response
}
class "TourViewModel" as TourViewModel << (S, SkyBlue) struct >> {
~title : String
~address : String
~inquiringNumber : String
~imageURLString : String
}
}
package Services {
class "ImageCache" as ImageCache << (S, SkyBlue) struct >> {
-fileManager
-memoryCache
-tourImageService
-path : URL
~init()
~fetchImage(urlString:cell:)
-createMemoryCache(_:_:)
-createDiskCache(_:_:)
-fetchDiskCache(_:)
-downloadImage(_:_:)
-isMemoryCached(_:)
-isDiskCached(_:)
}
class "NetworkError" as NetworkError << (E, LightSteelBlue) enum >> {
~networkError
~dataReceiveError
~decodeError
}
class "TourAPIService" as TourAPIService << (S, SkyBlue) struct >> {
-sessionManager : SessionManagerProtocol
~init(sessionManager:)
~search(pageNumber:type:completionHandler:)
-makeURL(_:)
}
class "SessionManagerProtocol" as SessionManagerProtocol << (P, GoldenRod) protocol >> {
~dataTask(with:completionHandler:)
}
class "TourImageService" as TourImageService << (S, SkyBlue) struct >> {
-sessionManager : SessionManagerProtocol
~init(sessionManager:)
~downloadImage(url:completionHandler:)
}
}
package Utility {
class "JSONAnalyzer" as JSONAnalyzer << (S, SkyBlue) struct >> {
~decodeJSON(_:data:)
}
}
package ViewController {
class "TourInformationViewController" as TourInformationViewController << (C, DarkSeaGreen) >> {
~tourListTableView : UITableView!
-tourAPIService
-imageCache
-tourViewModels
-isPaging
-pageNumber
-totalPage
-remainPage
-fetchTourInformation(_:type:)
-fetchTourInformationSingleItem(_:type:)
-nextPaging()
-makeTourViewModel(_:)
-makeTourSingleViewModel(_:)
}
package View {
class "TourTableViewCell" as TourTableViewCell << (C, DarkSeaGreen) >> {
~mainImageView : UIImageView!
~titleLabel : UILabel!
~addressLabel : UILabel!
~inquiringLabel : UILabel!
~configureCellLabel(_:)
~configureCellImage(data:)
~setDefaultImage()
~prepareForReuse()
}
}
}
TourImageService <-- ImageCache
TourTableViewCell <-- ImageCache
SessionManagerProtocol <-- TourImageService
NetworkError <.. TourImageService
SessionManagerProtocol <-- TourAPIService
NetworkError <.. TourAPIService
JSONAnalyzer <.. TourAPIService
TourViewModel <.. TourTableViewCell
TourAPIService <-- TourInformationViewController
ImageCache <-- TourInformationViewController
TourViewModel <-- TourInformationViewController
TourInformation <.. TourInformationViewController
TourInformationSingleItem <.. TourInformationViewController
TourTableViewCell <.. TourInformationViewController
@enduml |
6f6e07d3faaa71008b879ee48ad8cfa85a087ec4 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/DiscountCodeSetMaxApplicationsPerCustomerAction.puml | 67ed25ed27a15c21db71e2b2027e62057c046657 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 521 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface DiscountCodeSetMaxApplicationsPerCustomerAction [[DiscountCodeSetMaxApplicationsPerCustomerAction.svg]] extends DiscountCodeUpdateAction {
action: String
maxApplicationsPerCustomer: Long
}
interface DiscountCodeUpdateAction [[DiscountCodeUpdateAction.svg]] {
action: String
}
@enduml
|
435e274400aa621c6cda348d1145ff8b52b7d993 | ec45fae67e49ab617ad79b8c48fba85261e319c1 | /Doku/Klassendiagramme/Prescaler.puml | 2c12b85e3affdf61dccbbca899c57ef87a5b435d | [] | no_license | nicorahm99/PIC-Simulator | 5d22af8719f7b71608db155ceeb49baebcf4c8a5 | 0e7fb5f10c9392dc3f7438007859dc0f9f670aaa | refs/heads/master | 2023-05-03T22:51:08.168289 | 2021-05-29T06:15:23 | 2021-05-29T06:15:23 | 257,316,241 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 265 | puml | @startuml
class Prescaler {
+ getPrescaler() : int
+ getWDTPrescaler() : int
+ getTMR0Prescaler() : int
- <<readonly>> prescalerTMR0 : Dictionary<int, int>
- <<readonly>> prescalerWDT : Dictionary<int, int>
- getOptionFile() : int
}
@enduml
|
3bd4de4bea602d9b0347974ee74bde907abffc30 | bcb7fd9ec9e69e52780b27da867b8055dfdc043c | /src/lattice/LatticeFactory.iuml | 264edc54a72cf9af4c1cbdaa831bb707179e1dda | [
"CECILL-B"
] | permissive | vanthonguyen/lattice-sequence | 2e962d089b0053ba90332932fe3881dfe8ec71ac | 72ebfe551ef013da521b81121e3f98164b2a00bf | refs/heads/master | 2020-04-15T07:22:32.920465 | 2015-02-01T17:33:59 | 2015-02-01T17:33:59 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 554 | iuml | package lattice {
class LatticeFactory {
.. Constructor ..
+LatticeFactory()
.. Generators ..
{static}+Lattice random(int nb)
{static}+Lattice booleanAlgebra(int nb)
{static}+Lattice permutationLattice(int n)
{static}+Lattice product(Lattice l, Lattice r)
{static}+Lattice doublingConvex(Lattice l, DAGraph c)
.. Operations ..
{static}-recursiveBooleanAlgebra(Node node, Lattice l, int n)
{static}-recursivePermutationLattice(Node node, Lattice l, int n)
}
} |
ed6edf602dd5024325ec243211d2235e8b73784c | 7b9687987c687ca9d2d1a2e2651550922570bd6f | /ImageloaderLib/src/main/java/com/hust_twj/imageloderlibrary/uml.puml | 9808939f6557daf8c719547e5798ce8e50102ee0 | [] | no_license | hust-twj/ImageLoader | 0848e40ed4ae39e9849e9c38cc0ecf0dae304565 | fa6e74aa9e179ad6f549e0169bfdac74bb8a97ad | refs/heads/master | 2020-05-25T14:39:32.131621 | 2019-08-17T07:04:14 | 2019-08-17T07:04:14 | 187,849,789 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,959 | puml | @startuml
interface BitmapCache
class DiskCache
class DiskLruCache
class DoubleCache
class MemoryCache
class LoaderConfig
class DisplayConfig
interface ImageLoadListener
interface ILoadStrategy
abstract BaseLoadStrategy
class NetworkLoadStrategy
class DrawableLoadStrategy
class LocalLoadStrategy
class LoadManager
class LoadRequest
class LoadTask
class ImageLoader
BitmapCache <|.. DiskCache
BitmapCache <|.. DoubleCache
BitmapCache <|.. MemoryCache
ILoadStrategy <|.. BaseLoadStrategy
BaseLoadStrategy <|-- NetworkLoadStrategy
BaseLoadStrategy <|-- DrawableLoadStrategy
BaseLoadStrategy <|-- LocalLoadStrategy
interface BitmapCache {
Bitmap get(String key)
put(String key, Bitmap value)
remove(String key)
clearCache()
}
interface ILoadStrategy {
loadImage(LoadRequest request)
}
abstract class BaseLoadStrategy {
{abstract} Bitmap onLoadImage(LoadRequest request)
updateImageView(LoadRequest request, Bitmap bitmap)
}
class DiskCache {
DiskLruCache mDiskLruCache
}
class MemoryCache {
LruCache<String, Bitmap> mMemoryCache
}
DiskCache <.. DiskLruCache
DoubleCache <.. MemoryCache
DoubleCache <.. DiskCache
class ImageLoader {
static ImageLoader sInstance
LoaderConfig mConfig
BitmapCache mCache
LoadTask mLoadTask
LoadRequest mLoadRequest
void get()
void init(LoaderConfig config)
ImageLoader load(int resID)
ImageLoader load(String uri)
ImageLoader error(int errorResID)
ImageLoader(int placeHoldResID)
ImageLoader displayRaw(boolean displayRaw)
ImageLoader listener(ImageLoadListener listener)
ImageLoader into(ImageView imageView)
}
class LoadTask {
void start()
}
class DoubleCache {
DiskCache mDiskCache;
MemoryCache mMemoryCache
}
ImageLoader <.. LoadTask
ImageLoader <.. LoadRequest
ImageLoader <.. LoaderConfig
ImageLoader <.. BitmapCache
LoadRequest <.. DisplayConfig
LoadRequest <.. ImageLoadListener
class LoadManager {
ILoadStrategy getLoader(String uri)
}
LoadManager <.. ILoadStrategy
LoadTask <.. LoadManager
@enduml |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.