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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42f586043430747e61d541dc0b8413978c74a578 | e02b559aa78a602139766e0c722b71c77978a1bf | /src/wiki/_Home/uml/class_04.puml | 3da19698469ffd3f0acb2813b3c1a5724284c552 | [] | no_license | vitalispopoff/DSA_LectureAnalysis | ccb06eebdd404565442e965874ca3aa56cc58bcb | 3689ccdfd2299c2402c5bd0415336216eaeadc31 | refs/heads/master | 2022-12-29T20:46:03.754180 | 2020-08-03T21:05:50 | 2020-08-03T21:05:50 | 238,289,756 | 0 | 0 | null | 2020-10-13T19:23:20 | 2020-02-04T19:37:41 | Java | UTF-8 | PlantUML | false | false | 90 | puml | @startuml
hide members
class Equation {
}
class Result{
}
Equation ..> Result
@enduml |
0b382b95691bd597aa4697c99f90549f9622173b | b18eca10731183c9830c8f81deaa9b2fcf42cdb0 | /app/src/test/java/com/example/danie/flexicuapplication/flexicuapplication.plantuml | a1c92f8b8f469ff58ad9fb3af69a34a4fa9d8ea2 | [] | no_license | DanielGreibe/FlexicuApplication | 5f703d39d2fcdf409883d4ace15534a9dc64cfe3 | 5fa4b060abb9374d4edd146aadc9bb7b90c72a91 | refs/heads/master | 2020-04-02T17:58:59.432702 | 2019-01-25T09:34:39 | 2019-01-25T09:34:39 | 154,681,997 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 380 | plantuml | @startuml
title __FLEXICUAPPLICATION's Class Diagram__\n
package com.example.danie.flexicuapplication {
class ExampleUnitTest {
+ addition_isCorrect()
}
}
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
|
0e4188f845ceb40f15688eb78a3004aeafc9ffa9 | 808dca6cbf1bb97cd65c434ed1fc2c4727b9bac6 | /test.puml | 6f2d364744a14d5d332fde5061af30d2b73a992f | [
"MIT"
] | permissive | thexdesk/develop | 4b909d695c5f17bfbf9eca44a420ace4adc6537a | 8a70f739cba227cfd3e8068be7f59132813ffc29 | refs/heads/develop | 2023-03-06T07:18:09.023293 | 2019-04-28T03:00:54 | 2019-04-28T03:00:54 | 405,447,785 | 0 | 0 | NOASSERTION | 2023-02-24T09:56:16 | 2021-09-11T17:58:42 | null | UTF-8 | PlantUML | false | false | 13,772 | puml | @startuml
scale 0.9
class Codex.Projects.Commands.MakeProject {
#configFilePath : string
+handle()
+__construct(configFilePath : string)
}
class Codex.Projects.Commands.FindProjects {
#docsDir : null|string
+handle() : array
+__construct(docsDir : string = null)
}
class Codex.Projects.Project {
+{static}CASTS_PATH = "casts"
+{static}DEFAULTS_PATH = "defaults"
+{static}INHERITS_PATH = "inherits"
#children : Codex.Revisions.RevisionCollection
#fsm : Illuminate.Contracts.Filesystem.Factory
+mergePaths = ["codex.projects.inherits"]
#parent : Codex.Codex
+getDefaultDiskName() : string
+getDefaultRevisionKey()
+getDisk() : Illuminate.Contracts.Filesystem.Filesystem
+getDiskConfig() : Illuminate.Support.Collection
+getDiskName() : array|.Codex.Model.Collection|mixed
+getFsm() : Illuminate.Contracts.Filesystem.Factory
+getRevision(key) : Codex.Contracts.Revisions.Revision|mixed
+getRevisions() : Codex.Revisions.RevisionCollection
+hasRevision(key) : bool
+newCollection(models : array = []) : Codex.Projects.ProjectCollection|.Illuminate.Database.Eloquent.Collection
+revisions()
+setDiskName(diskName) : $this
+setFsm(fsm : Illuminate.Contracts.Filesystem.Factory) : Codex.Contracts.Projects.Project
+setMergedAttributes(attributes)
+updateDisk()
}
class Codex.Projects.Project extends Codex.Mergable.Model
class Codex.Projects.Project implements Codex.Contracts.Projects.Project
class Codex.Projects.Project implements Codex.Contracts.Mergable.ChildInterface
class Codex.Projects.Project implements Codex.Contracts.Mergable.ParentInterface
class Codex.Projects.ProjectCollection {
+getCodex() : mixed
+getDefaultKey() : mixed
#makeModel(key) : Codex.Contracts.Projects.Project
#resolveLoadable() : array
+get($key) : \Codex\Projects\Project
}
class Codex.Projects.ProjectCollection extends Codex.Mergable.ModelCollection
class Codex.Projects.Events.ResolvedProject {
#project : Codex.Contracts.Projects.Project
+getProject() : Codex.Contracts.Projects.Project
+__construct(project : Codex.Contracts.Projects.Project)
}
class Codex.Addons.Addon {
#enabled : bool = false
#extensions : array|string[]
#installed : bool = false
#path : string
#slug : string
#vendor : string
+getExtensions() : array|string[]
+getName()
+getPath() : null
+getServiceProvider() : string
+getSlug() : string
+getVendor() : string
+isEnabled() : bool
+isInstalled() : bool
+newServiceProvider() : Illuminate.Support.ServiceProvider
+path(parts)
+setEnabled(enabled : bool) : Addon
+setExtensions(extensions : array|string[]) : Addon
+setInstalled(installed : bool) : Addon
+setPath(path : null) : Addon
+setSlug(slug : string) : Addon
+setVendor(vendor : string) : Addon
+__toString()
}
class Codex.Addons.AddonProvider {
#application : Illuminate.Contracts.Foundation.Application
#events : Illuminate.Contracts.Events.Dispatcher
#instances : array = []
#providers : array = []
#router : Illuminate.Routing.Router
#bindAliases(provider : Codex.Addons.AddonServiceProvider)
+register(addon : Codex.Addons.Addon)
#registerCommands(provider : Codex.Addons.AddonServiceProvider)
#registerConfig(provider : Codex.Addons.AddonServiceProvider)
#registerEvents(provider : Codex.Addons.AddonServiceProvider)
#registerProviders(provider : Codex.Addons.AddonServiceProvider)
' +__construct(application : Illuminate.Contracts.Foundation.Application, router : Illuminate.Routing.Router, events : Illuminate.Contracts.Events.Dispatcher)
}
class Codex.Addons.AddonRegistry {
#filePath : string
#fs : Illuminate.Filesystem.Filesystem
#registry : array
+create(name : Codex.Addons.string)
+delete(name : Codex.Addons.string)
+exists(name)
#get(name, key, default = null)
+isEnabled(name : Codex.Addons.string)
+isInstalled(name : Codex.Addons.string)
#load(reload = false)
#save()
#set(name, key, value)
+setDisabled(name : Codex.Addons.string)
+setEnabled(name : Codex.Addons.string)
+setInstalled(name : Codex.Addons.string)
+setUninstalled(name : Codex.Addons.string)
+__construct(fs : Illuminate.Filesystem.Filesystem)
}
class Codex.Addons.AddonLoader {
+load(path) : $this
}
class Codex.Addons.AddonManager {
#addons : Codex.Addons.AddonCollection
#config : Illuminate.Contracts.Config.Repository
#dispatcher : Illuminate.Contracts.Events.Dispatcher
#finder : Codex.Addons.AddonFinder
#integrator : Codex.Addons.AddonIntegrator
#registry : Codex.Addons.AddonRegistry
+disable(addon : Codex.Addons.Addon)
+enable(addon : Codex.Addons.Addon)
+install(addon : Codex.Addons.Addon)
+register()
+uninstall(addon : Codex.Addons.Addon)
' +__construct(finder : Codex.Addons.AddonFinder, integrator : Codex.Addons.AddonIntegrator, registry : Codex.Addons.AddonRegistry, addons : Codex.Addons.AddonCollection, dispatcher : Illuminate.Contracts.Events.Dispatcher, config : Illuminate.Contracts.Config.Repository)
}
class Codex.Addons.AddonIntegrator {
#addonProvider : Codex.Addons.AddonProvider
#collection : Codex.Addons.AddonCollection
#events : Illuminate.Contracts.Events.Dispatcher
#extensions : Codex.Addons.Extensions.ExtensionCollection
#registry : Codex.Addons.AddonRegistry
#getComposerData(path)
+register(path)
' +__construct(collection : Codex.Addons.AddonCollection, extensions : Codex.Addons.Extensions.ExtensionCollection, registry : Codex.Addons.AddonRegistry, addonProvider : Codex.Addons.AddonProvider, events : Illuminate.Contracts.Events.Dispatcher)
}
class Codex.Addons.AddonCollection {
+disabled() : AddonCollection
+enabled() : AddonCollection
+installed() : AddonCollection
+uninstalled() : AddonCollection
}
class Codex.Addons.AddonCollection extends Illuminate.Support.Collection
class Codex.Addons.AddonFinder {
#baseDir
+find()
+getBaseDir() : string
+setBaseDir(baseDir : string) : AddonFinder
+__construct()
}
class Codex.Addons.Console.AddonCommand {
#signature = "codex:addon {operation : install/uninstall/enable/disable/list} {name?}"
+handle(addons : Codex.Addons.AddonCollection, manager : Codex.Addons.AddonManager)
}
class Codex.Addons.Console.AddonCommand extends Illuminate.Console.Command
class Codex.Addons.Events.AddonsHaveRegistered {
#addons : Codex.Addons.AddonCollection
+getAddons() : Codex.Addons.AddonCollection
+__construct(addons : Codex.Addons.AddonCollection)
}
class Codex.Addons.Events.AddonWasRegistered {
}
class Codex.Addons.Events.AddonWasRegistered extends Codex.Addons.Events.AddonEvent
class Codex.Addons.Events.AddonWasDisabled {
}
class Codex.Addons.Events.AddonWasDisabled extends Codex.Addons.Events.AddonEvent
class Codex.Addons.Events.AddonWasInstalled {
}
class Codex.Addons.Events.AddonWasInstalled extends Codex.Addons.Events.AddonEvent
class Codex.Addons.Events.AddonWasUninstalled {
}
class Codex.Addons.Events.AddonWasUninstalled extends Codex.Addons.Events.AddonEvent
class Codex.Addons.Events.AddonEvent {
#addon : Codex.Addons.Addon
+getAddon() : Codex.Addons.Addon
+__construct(addon : Codex.Addons.Addon)
}
class Codex.Addons.Events.AddonWasEnabled {
}
class Codex.Addons.Events.AddonWasEnabled extends Codex.Addons.Events.AddonEvent
class Codex.Addons.Extensions.RegisterExtension {
#addon
#class : string[]
+handle(extensions : Codex.Addons.Extensions.ExtensionCollection)
+__construct(class : array|string[]|string, addon : Codex.Addons.Addon = null)
}
class Codex.Addons.Extensions.ExtensionCollection {
' +addon(addon : Codex.Addons.Addon) : Codex.Addons.Extensions.ExtensionCollection|.Codex.Addons.Extensions.Extension[]
+find(key : mixed) : null|Extension
' +search(pattern : mixed, strict : bool = false) : ExtensionCollection|.Codex.Addons.Extensions.Extension[]
}
class Codex.Addons.Extensions.ExtensionCollection extends Illuminate.Support.Collection
class Codex.Addons.Extensions.Extension {
#addon
#provides
+getAddon() : mixed
+getProvides() : mixed
+setAddon(addon : mixed) : Extension
+setProvides(provides : mixed) : Extension
}
class Codex.Documents.Commands.MakeDocument {
#documentPath
#revision : Codex.Contracts.Revisions.Revision
+handle() : Codex.Contracts.Documents.Document
+__construct(revision : Codex.Contracts.Revisions.Revision, documentPath)
}
class Codex.Documents.Commands.FindDocuments {
#revision : Codex.Contracts.Revisions.Revision
+handle() : mixed
+__construct(revision : Codex.Contracts.Revisions.Revision)
}
class Codex.Documents.Document {
+{static}CASTS_PATH = "casts"
+{static}DEFAULTS_PATH = "defaults"
+{static}INHERITS_PATH = "inherits"
#content : string
+mergePaths : array = ["codex.documents.inherits"]
#parent : Codex.Contracts.Revisions.Revision
#postProcessed = false
#preProcessed = false
+getContent()
+{static}getKeyFromPath(path) : string
+getLastModified()
+getRevision() : mixed
+newCollection(models : array = []) : Codex.Documents.DocumentCollection|.Illuminate.Database.Eloquent.Collection
+postprocess()
+preprocess()
+setContent(content) : $this|.Codex.Contracts.Documents.Document
+__construct(attributes : array, revision : Codex.Contracts.Revisions.Revision)
+getParent() : Revision
+getExtension() : string
+getKey() : string
+getPath() : string
}
class Codex.Documents.Document extends Codex.Mergable.Model
class Codex.Documents.Document implements Codex.Contracts.Documents.Document
class Codex.Documents.Document implements Codex.Contracts.Mergable.ChildInterface
class Codex.Documents.DocumentCollection {
+getDefaultKey() : mixed
+getRevision() : Codex.Contracts.Revisions.Revision
#makeModel(key) : mixed
#resolveLoadable() : array
+get($key) : \Codex\Contracts\Documents\Document
}
class Codex.Documents.DocumentCollection extends Codex.Mergable.ModelCollection
class Codex.Documents.Listeners.ProcessDocument {
#extensions : Codex.Addons.Extensions.ExtensionCollection
+handle(event : Codex.Documents.Events.ResolvedDocument)
+__construct(extensions : Codex.Addons.Extensions.ExtensionCollection)
}
class Codex.Documents.Events.ResolvedDocument {
#document : Codex.Contracts.Documents.Document
+getDocument() : Codex.Contracts.Documents.Document
+__construct(document : Codex.Contracts.Documents.Document)
}
abstract class Codex.Documents.Processors.ProcessorExtension {
#defaultConfig
#depends = []
#document : Codex.Contracts.Documents.Document
#pre = false
+config(key = null, default = null, document : Codex.Contracts.Documents.Document = null)
+getDefaultConfig() : null
+getDependencies()
+getHandle()
+getName()
+getProvides()
+handle(document : Codex.Contracts.Documents.Document)
+isEnabledForDocument(document : Codex.Contracts.Documents.Document)
+isPre()
+onRegistered(config : Illuminate.Contracts.Config.Repository)
+process(document : Codex.Contracts.Documents.Document)
+setDefaultConfig(defaultConfig : null) : ProcessorExtension
+setDepends(depends : array) : ProcessorExtension
+setPre(pre : Codex.Documents.Processors.bool) : ProcessorExtension
}
class Codex.Documents.Processors.ProcessorExtension extends Codex.Addons.Extensions.Extension
class Codex.Documents.Processors.ProcessorExtension implements Laradic.DependencySorter.Dependable
class Codex.Documents.Processors.ParserProcessorExtension {
#defaultConfig = "codex.processor-defaults.parser"
#depends = ["attributes"]
#pre = true
#getDocumentParser(document : Codex.Contracts.Documents.Document)
+getName()
+process(document : Codex.Contracts.Documents.Document)
}
class Codex.Documents.Processors.ParserProcessorExtension extends Codex.Documents.Processors.ProcessorExtension
class Codex.Documents.Processors.AttributeProcessorExtension {
#defaultConfig = "codex.processor-defaults.attributes"
#pre = true
+checkHasOpenTag(str : Codex.Documents.Processors.string)
#getAttributes(content)
+getName()
#getTagsPattern()
#mapPregQuote(items)
+process(document : Codex.Contracts.Documents.Document)
}
class Codex.Documents.Processors.AttributeProcessorExtension extends Codex.Documents.Processors.ProcessorExtension
interface Codex.Documents.Processors.Parser.ParserInterface {
+parse(string : string) : string
+setOptions(options)
}
class Codex.Documents.Processors.Parser.MarkdownParser {
#options = []
+setOptions(options)
}
class Codex.Documents.Processors.Parser.MarkdownParser extends cebe.markdown.GithubMarkdown
class Codex.Documents.Processors.Parser.MarkdownParser implements Codex.Documents.Processors.Parser.ParserInterface
interface Codex.Contracts.Projects.Project {
}
interface Codex.Contracts.Documents.Document {
}
interface Codex.Contracts.Revisions.Revision {
}
interface Codex.Contracts.Mergable.MergableDataProviderInterface {
+get(key : string, default : null = null) : array
}
interface Codex.Contracts.Mergable.ParentInterface {
+getChildren()
}
interface Codex.Contracts.Mergable.Mergable {
+{static}CASTS_PATH = "casts"
+{static}DEFAULTS_PATH = "defaults"
+{static}INHERITS_PATH = "inherits"
+getAttributes()
+getDefaultAttributes()
+getInheritableKeys()
+getMergableAttributesCasts()
+getParentAttributes()
+setMergedAttributes(attributes)
}
interface Codex.Contracts.Mergable.ChildInterface {
+getParent() : null
+setParent(parent)
}
@enduml
|
66f37490ae25ec802872564af23f633dbe2c55d5 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEditor.TestRunner/TestLaunchers/PlatformSetup/PlatformSpecificSetup.puml | 631215cfff97faa6e967aa6902a064bd25958339 | [] | 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 | 286 | puml | @startuml
class PlatformSpecificSetup {
+ PlatformSpecificSetup()
+ PlatformSpecificSetup(target:BuildTarget)
+ Setup() : void
+ PostBuildAction() : void
+ PostSuccessfulBuildAction() : void
+ PostSuccessfulLaunchAction() : void
+ CleanUp() : void
}
@enduml
|
c06c83fb345c8b6973d55e48b18d61d6939b0ecd | ebb420ef324e308f3d2928174867443dbc5ff0c4 | /modules.puml | 5e304b2f9d188ce31ecdb2a48e8f8cdb3341ec35 | [] | no_license | TrueAbc/CPLUSPLUS | dbe27c1530d803079564f697f77debcee8cf8e1f | 374cc2292cdac6565def95444facecd09c46deee | refs/heads/main | 2023-08-10T19:04:41.461103 | 2021-09-13T07:56:06 | 2021-09-13T07:56:06 | 404,910,952 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,214 | puml | @startuml
'https://plantuml.com/class-diagram
'
skinparam groupInheritance 2
abstract class net_connection
class conn_callback
class io_callback{}
class io_event{}
class io_event_map
class io_event_map_it
class io_event_set
class task_func
class event_loop
class task_msg
class msg_head
class msg_callback
class msg_router
class config_file{}
class pool_t {
}
class io_buf
class buf_pool{
pool_t _pool
uint64_t _total_mem
{static} buf_pool* _instance;
{static} pthread_once_t _once;
{static} pthread_mutex_t _mutex;
{static} void init()
{static} buf_pool* instance()
io_buf *alloc_buf(int N)
io_buf *alloc_buf(){return alloc_buf(m4K);};
}
class reactor_buf
class input_buf
class out_buf
reactor_buf <|-- input_buf
reactor_buf <|-- out_buf
buf_pool *-- pool_t : 拥有 >
class tcp_client
class tcp_conn
class tcp_server
class thread_pool
class thread_queue
class udp_client
class udp_server
' net_connection的子类实现
net_connection <|-- udp_client
net_connection <|-- tcp_client
net_connection <|-- tcp_conn
net_connection <|-- udp_server
@enduml |
21e7d9be64a73b0ad67debf8f88afa6fa2436214 | 1fef2f0f0ad13aebb3d3f732d0cae8867ee8e87c | /plantuml/Microwave.Classes/Controllers/UserInterface.puml | 4c938ceaffbc9201bdc63ac4be8869dcc642eb98 | [] | no_license | eengstroem/MicrowaveOven | b9711c314f053f00f9208cae69085d7bdf0ba3d4 | ac721f24f0025f5e10f50d4d58c4a7ad30f9fbd2 | refs/heads/master | 2023-04-25T09:55:42.513911 | 2021-05-24T16:45:23 | 2021-05-24T16:45:23 | 363,380,008 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 509 | puml | @startuml
class UserInterface {
+ UserInterface(powerButton:IButton, timeButton:IButton, startCancelButton:IButton, door:IDoor, display:IDisplay, light:ILight, cooker:ICookController)
+ OnPowerPressed(sender:object, e:EventArgs) : void
+ OnTimePressed(sender:object, e:EventArgs) : void
+ OnStartCancelPressed(sender:object, e:EventArgs) : void
+ OnDoorOpened(sender:object, e:EventArgs) : void
+ OnDoorClosed(sender:object, e:EventArgs) : void
+ CookingIsDone() : void
}
@enduml
|
4a42dae1bbb8e2aa248c792bba1117221d603b6c | 831ecbaf5ead20c256583b50e520ebb08eaa9812 | /zaoczne/G1/pkp_class_diagram.plantuml | 704bba931e05c5301d636d4318e597cef3d17250 | [] | no_license | kpodlaski/Projektowanie_obiektowe2020 | 8e71ff68a12d240efe1be353c1a1823e2960e642 | 0ade34f4b8a7e8d346080da8547da8aa98b70b27 | refs/heads/master | 2023-01-30T09:53:25.779580 | 2020-12-10T10:44:52 | 2020-12-10T10:44:52 | 306,864,804 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,089 | plantuml | @startuml
class Bilet{
cel
termin
cena
klasa
}
class Paragon{
'bilet przeniosono na poziom asocjacji
cena
vat
}
class Potwierdzenie{
id_tans
cena
}
class Kasjer{
imie
nazwisko
}
class Kasa{
suma
wplata()
}
class Drukarka{
wydruk()
}
class Baza {
zapis()
}
class Bank{
aktywacja()
}
class SystemSprzdarzy{
kup_bilet()
}
class Drukarka_Biletow{
wyduk()
}
class Drukarka_Paragonow{
wyduk()
}
class Drukarka_Potwierdzen{
wyduk()
}
class UI{
wprowadzanie_danych()
wyświetlanie_informacji()
}
class Konsola{
}
class GUI{}
class WebUI{}
Kasa o-- Kasjer
SystemSprzdarzy *-- Kasa
SystemSprzdarzy *-- Drukarka
SystemSprzdarzy -- Baza
SystemSprzdarzy -- Bank
UI -- SystemSprzdarzy
Bank -- Drukarka
Bank .. Potwierdzenie : <<create>>
SystemSprzdarzy .. Bilet : <<create>>
SystemSprzdarzy .. Paragon : <<create>>
Drukarka <|-- Drukarka_Biletow
Drukarka <|-- Drukarka_Paragonow
Drukarka <|-- Drukarka_Potwierdzen
UI <|-- Konsola
UI <|-- GUI
UI <|-- WebUI
Paragon "bilet" -- Bilet
@enduml |
f2667336ff9e7a5d5177bd6af2f3c46b4a7dc0b1 | 5419ba65627214efbf640b0643d5524c4f2a646f | /Architecture/01.SACP#16/SLAL#17.class.1.plantuml | 75ddf485ce772c90728c7f82a66e26aec9d83f7c | [] | no_license | ovidiomanteiga/horuslauncher | 3ed7ce5283dd4a267b1284f6bc192c0426b98150 | 26159c90e70d3042f2ac04d8cb8284c1c8c26de2 | refs/heads/master | 2020-09-14T05:44:31.073187 | 2019-07-22T19:55:47 | 2019-07-22T19:55:47 | 223,037,096 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,379 | plantuml |
@startuml SLAL#17.class.1
skinparam monochrome true
package UI {
class MainActivity <<Activity>> {
}
class AllActionsFragment <<Fragment>> {
}
MainActivity -u-> AllActionsFragment
}
package Domain {
class HorusAction <<Entity>> {
Drawable icon
UUID identifier
LocalizableString name
}
class AllActions <<Aggregate>> {
}
class GetAllActions <<Interactor>> {
+ AllActions actions
+ void perform()
}
interface AllActionsRepository <<Repository>> {
+ AllActions getAll()
}
AllActionsRepository .u.> AllActions
GetAllActions .u.> AllActions
GetAllActions -r-> AllActionsRepository
AllActions o-u-> "*" HorusAction
}
package Infrastructure {
class AllAppsRepository {
+ AllActions getAll()
}
class App <<Adapter>> {
}
class AllApps {
}
AllApps o-u-> "*" App
}
package Android_SDK {
class Intent {
}
class Context {
}
}
AllActionsFragment -u-> GetAllActions
AllActionsFragment .u.> GetAllActions: <<create>>
AllActionsFragment .r.> AllAppsRepository: <<create>>
AllApps -u-|> AllActions
AllAppsRepository .u.|> AllActionsRepository
AllAppsRepository .u.> AllApps
AllAppsRepository -u-> Context
App -u-|> HorusAction
App -d-> "1" Intent
Context -[hidden]u-> Intent
hide empty members
@enduml
|
d70a64493b7e441e6524b1d9957c17c83bca5240 | 25cf4385e20632db32024255367d97f13ebef022 | /asciidocs/plantuml/hotelbetrieb-cld.puml | 4d1a6858532773d475ff8412a426e58e33b4f28a | [] | no_license | 2122-4ahif-syp/01-cld-hotel-markusremplbauer | 85b4a2ea153690d2a056676e5ad7375fa5244c3f | 8b4f28a8cc88f5955d6c6e681c25aa6e4d0bf114 | refs/heads/master | 2023-08-14T18:14:15.813791 | 2021-10-17T20:45:06 | 2021-10-17T20:45:06 | 418,227,779 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,628 | puml | @startuml
left to right direction
class Hotelzimmer {
- nummer: int
- personen: int
}
class Kategorie {
- id: int
- bezeichnung: String
}
class HotelzimmerKategorie {
- hotelZimmer: Hotelzimmer
- kategorie: Kategorie
}
class Mitarbeiter {
- svnr: String
- name: String
- adresse: String
}
class HotelzimmerMitarbeiter {
- hotelZimmer: HotelzimmerMitarbeiter
- mitarbeiter: Mitarbeiter
}
class Betreuer {
- mitarbeiter: Mitarbeiter
- fach: String
}
class Gast {
- kundenNr: int
- name: String
- adresse: Adresse
}
class Buchung {
- hotelZimmer: Hotelzimmer
- gast: Gast
- anreiseDatum: LocalDate
- abreiseDatum: LocalDate
}
class Leistungspaket {
- bezeichnung: String
- preis: BigDecimal
}
class LeistungspaketBuchung {
- leistungspaket: Leistungspaket
- buchung: Buchung
- anzahl: int
}
class LeistungspaketBetreuer {
- leistungspaket: Leistungspaket
- beteuer: Betreuer
}
class Luxuspaketpaket{
- bezeichnung: String
- leistungspaket: Leistungspaket
}
class HotelzimmerMitarbeiter {
- hotelZimmer: Hotelzimmer
- mitarbeiter: Mitarbeiter
- datum: LocalDate
}
Buchung "*" --> "1" Gast
Buchung "*" --> "1" Hotelzimmer
(Hotelzimmer, Kategorie) .. HotelzimmerKategorie
(Leistungspaket, Buchung) .. LeistungspaketBuchung
(Leistungspaket, Mitarbeiter) .. LeistungspaketBetreuer
(Hotelzimmer, Mitarbeiter) .. HotelzimmerMitarbeiter
Leistungspaket "1" -- "*"Luxuspaketpaket
note right: ein Luxuspaketpaket hat mehrere Einträge mit der gleichen Bezeichnung
Mitarbeiter <|-- Betreuer
@enduml |
cc0d869498c9d414d07b9da27bea3ef512397533 | ccc4b0eaa4448ce6d8e6112f57aa69452357c356 | /themes/aws-orange/puml-theme-aws-orange.puml | c187acb7d3f0b175034d910fa27051f7cb2b1a32 | [
"MIT"
] | permissive | bschwarz/puml-themes | b30d5535f0cc3f673f3b434636b66ce3f9b7cb04 | 2e2152c349e1c53e1a9de727399b4490afa78434 | refs/heads/master | 2023-08-31T03:29:02.229960 | 2023-08-19T00:38:46 | 2023-08-19T00:38:46 | 211,412,178 | 254 | 69 | MIT | 2022-07-17T16:27:21 | 2019-09-27T22:41:33 | CSS | UTF-8 | PlantUML | false | false | 13,385 | puml | ''
'' Theme based off of the colors used by Amazon Web Services
''
'' Author: Brett Schwarz
''
!$PUML_THEME = "aws-orange"
!$THEME = "aws-orange"
''
'' User can specify the PUML_BGCOLOR via command line or set this variable before
'' loading this theme file. PUML_BGCOLOR is the background color of the image that is
'' generated by plantuml
''
!if %not(%variable_exists("$PUML_BGCOLOR"))
!$PUML_BGCOLOR = "transparent"
!endif
''
'' If no gradient is given, default to 20
''
!if %not(%variable_exists("$PUML_GRADIENT"))
!$PUML_GRADIENT = 20
!endif
''
'' User can specify the PUML_MODE via command line or set this variable before
'' loading this theme file. PUML_MODE is either 'light' PUML_MODE or 'dark' PUML_MODE.
''
!if %not(%variable_exists("$PUML_MODE"))
!$PUML_MODE = "light"
!endif
''
'' User can specify the PUML_OUTLINE via command line or set this variable before
'' loading this theme file. PUML_OUTLINE is either 'true' or 'false'.
''
!if %not(%variable_exists("$PUML_OUTLINE"))
!$PUML_OUTLINE = "false"
!endif
''
skinparam BackgroundColor $PUML_BGCOLOR
skinparam useBetaStyle false
''
'' Supplementary Colors
''
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#222"
!$GRAY = "#868e96"
!$PRIMARY = "#EC7211"
!$WARNING = "#EC7211"
!$LIGHT = "#abb6c2"
!$DARK = "#4E5D6C"
''
'' define colors based on PUML_MODE
''
!if ($PUML_MODE == "light")
!$SECONDARY = "#eeeeee"
'' hardcode $SECONDARY_LIGHT since it is so close to white
!$SECONDARY_LIGHT = "ffffff"
!$SUCCESS = "#1D8102"
!$INFO = "#0073bb"
!$DANGER = "#d13212"
!$SECONDARY_TEXT = $DARK
!$FGCOLOR = $DARK
!$DIAMOND_BD = %darken($SECONDARY, $PUML_GRADIENT)
''
'' Assume if the background is transparent, that the
'' background will be dark for this theme
''
!assume transparent light
!else
!$SECONDARY = "#2a2e33"
!$SECONDARY_LIGHT = %lighten($SECONDARY, $PUML_GRADIENT)
!$SUCCESS = "#6aaf35"
!$INFO = "#44b9d6"
!$DANGER = "#ff5d64"
!$SECONDARY_TEXT = $WHITE
!$FGCOLOR = $WHITE
!$DIAMOND_BD = %lighten($SECONDARY, $PUML_GRADIENT)
''
'' Assume if the background is transparent, that the
'' background will be dark for this theme
''
!assume transparent dark
!endif
''
'' *_DARK = tint (lighter) of the main color
'' *_LIGHT = shade (darker) of the main color
''
!$PRIMARY_DARK = %darken($PRIMARY, $PUML_GRADIENT)
!$PRIMARY_LIGHT = %lighten($PRIMARY, $PUML_GRADIENT)
!$SECONDARY_DARK = %darken($SECONDARY, $PUML_GRADIENT)
!$SUCCESS_DARK = %darken($SUCCESS, $PUML_GRADIENT)
!$SUCCESS_LIGHT = %lighten($SUCCESS, $PUML_GRADIENT)
!$INFO_DARK = %darken($INFO, $PUML_GRADIENT)
!$INFO_LIGHT = %lighten($INFO, $PUML_GRADIENT)
!$DANGER_DARK = %darken($DANGER, $PUML_GRADIENT)
!$DANGER_LIGHT = %lighten($DANGER, $PUML_GRADIENT)
!$WARNING_DARK = %darken($WARNING, $PUML_GRADIENT)
!$WARNING_LIGHT = %lighten($WARNING, $PUML_GRADIENT)
!$DARK_DARK = %darken($DARK, $PUML_GRADIENT)
!$DARK_LIGHT = %lighten($DARK, $PUML_GRADIENT)
!$LIGHT_DARK = %darken($LIGHT, $PUML_GRADIENT)
!$LIGHT_LIGHT = %lighten($LIGHT, $PUML_GRADIENT)
''
'' Set text colors
''
!$INFO_TEXT = $WHITE
!$SUCCESS_TEXT = $WHITE
!$WARNING_TEXT = $WHITE
!$DANGER_TEXT = $WHITE
!$PRIMARY_TEXT = $WHITE
!$HEADER_TEXT = $WHITE
''
!if ($PUML_OUTLINE == "true")
!$HEADER_TEXT = $PRIMARY_TEXT
!$PRIMARY_TEXT = $PRIMARY_LIGHT
!$INFO_TEXT = $INFO_LIGHT
!$WARNING_TEXT = $WARNING_LIGHT
!$DARK_BG = $PUML_BGCOLOR
!$INFO_BG = $PUML_BGCOLOR
!$DANGER_BG = $PUML_BGCOLOR
!$WARNING_BG = $PUML_BGCOLOR
!$SECONDARY_BG = $PUML_BGCOLOR
!else
!$DARK_BG = $DARK
!$INFO_BG = $INFO
!$DANGER_BG = $DANGER
!$WARNING_BG = $WARNING
!$SECONDARY_BG = $SECONDARY
!endif
''
'' Called to make the text in the color of SUCCESS
''
!procedure $success($msg)
<font color=$SUCCESS><b>$msg
!endprocedure
''
'' Called to make the text in the color of DANGER
''
!procedure $failure($msg)
<font color=$DANGER><b>$msg
!endprocedure
''
'' Called to make the text in the color of WARNING
''
!procedure $warning($msg)
<font color=$WARNING><b>$msg
!endprocedure
''
'' Called to use the primary color scheme
'' Different colors based on if PUML_OUTLINE
'' is true or not
''
!procedure $primary_scheme()
!if ($PUML_OUTLINE == "true")
FontColor $PRIMARY
BorderColor $PRIMARY
BackgroundColor $PUML_BGCOLOR
!else
FontColor $PRIMARY_TEXT
BorderColor $PRIMARY
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
!endif
!endprocedure
''
'' Called to use the secondary color scheme
''
!procedure $secondary_scheme()
!if ($PUML_OUTLINE == "true")
FontColor $SECONDARY_DARK
BorderColor $SECONDARY_DARK
BackgroundColor $PUML_BGCOLOR
!else
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_DARK
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
!endif
!endprocedure
''
'' HTTP Methods
''
!_POST = "<color #007a3e>POST</color>"
!_PUT = "<color #ea7400>PUT</color>"
!_DELETE = "<color #cf2a2a>DELETE</color>"
!_GET = "<color #009fdb>GET</color>"
!_PATCH = "<color #b5bd00>PATCH</color>"
!_HEAD = "<color #9012fe>HEAD</color>"
''
'' Global Default Values
''
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 8
skinparam ParticipantPadding 40
skinparam BoxPadding 40
skinparam Padding 5
skinparam ArrowColor $DARK
skinparam stereotype {
CBackgroundColor $SECONDARY_LIGHT
CBorderColor $SECONDARY_DARK
ABackgroundColor $SUCCESS_LIGHT
ABorderColor $SUCCESS_DARK
IBackgroundColor $DANGER_LIGHT
IBorderColor $DANGER_DARK
EBackgroundColor $WARNING_LIGHT
EBorderColor $WARNING_DARK
NBackgroundColor $INFO_LIGHT
NBorderColor $INFO_DARK
}
skinparam title {
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
FontColor $PRIMARY
BorderColor $SECONDARY
}
skinparam legend {
$secondary_scheme()
BackgroundColor transparent
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
TitleFontColor $PRIMARY
}
!endsub
' <style>
' mindmapDiagram {
' Padding 15
' Margin 10
' FontSize 12
' FontName Verdana
' Shadowing 0.0
' LineThickness 1.5
' FontColor $PRIMARY_TEXT
' LineColor $PRIMARY_DARK
' node {
' LineColor $PRIMARY
' BackGroundColor $PRIMARY_LIGHT-$PRIMARY
' }
' }
' </style>
!startsub activity
skinparam activity {
$primary_scheme()
BarColor $SUCCESS
StartColor $INFO
EndColor $INFO
''
DiamondBackgroundColor $SECONDARY_BG
DiamondBorderColor $DIAMOND_BD
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $FGCOLOR
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 3
Color $PRIMARY
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
ArrowThickness 3
BorderColor $PRIMARY
' For some reason sequence title font color does not pick up from global
TitleFontColor $PRIMARY
BackgroundColor $PUML_BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
''
BoxBackgroundColor $PUML_BGCOLOR
BoxBorderColor $DARK
BoxFontColor $DARK
''
DelayFontColor $DARK
''
LifeLineBorderColor $LIGHT
LifeLineBorderThickness 2
LifeLineBackgroundColor $LIGHT_DARK
''
GroupBorderColor $DARK
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $SECONDARY
GroupBodyBackgroundColor $PUML_BGCOLOR
GroupHeaderBackgroundColor $PUML_BGCOLOR
''
DividerBackgroundColor $DARK
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
''
ReferenceBackgroundColor $PUML_BGCOLOR
ReferenceBorderColor $DARK
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
ReferenceHeaderBackgroundColor $SECONDARY
''
StereotypeFontColor $PRIMARY_TEXT
StereotypeFontSize 12
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY
BackgroundColor $PUML_BGCOLOR
}
!endsub
!startsub collections
skinparam collections {
$primary_scheme()
}
!endsub
!startsub control
skinparam control {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub entity
skinparam entity {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub boundary
skinparam boundary {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub agent
skinparam agent {
BackgroundColor $WARNING
BorderColor $WARNING_LIGHT
FontColor $DARK
}
!endsub
!startsub note
skinparam note {
BorderThickness 1
BackgroundColor $INFO_BG
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $DARK_BG
BorderColor $DARK_DARK
FontColor $LIGHT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_DARK
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING_BG
BorderColor $WARNING_DARK
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $PUML_BGCOLOR
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor $DARK
FontColor $FGCOLOR
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $FGCOLOR
StereotypeFontColor $FGCOLOR
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
FontColor $HEADER_TEXT
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
BackgroundColor $PUML_BGCOLOR
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_TEXT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $PUML_BGCOLOR
BorderColor $SECONDARY_TEXT
FontColor $SECONDARY_TEXT
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $SECONDARY_BG
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $SECONDARY_BG
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
StartColor $INFO
EndColor $INFO
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO_BG
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_BG
BorderColor $LIGHT
FontColor $FGCOLOR
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
!startsub map
skinparam map {
$primary_scheme()
}
!endsub
''
'' When mixing skinparam and <style>, it is very important to put <style> after skinparam
''
'' Style settings
''
<style>
wbsDiagram, mindmapDiagram {
root {
BackgroundColor $PUML_BGCOLOR
FontColor $PRIMARY_TEXT
HyperLinkColor $INFO_BG
LineColor $PRIMARY_DARK
LineThickness 1
Margin 10
Padding 6
Shadowing 0.0
}
node {
$primary_scheme()
Padding 15
RoundCorner 20
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
groupHeader {
BackgroundColor $SECONDARY_BG
FontColor $INFO_BG
FontStyle bold
}
header {
LineThickness 0
}
referenceHeader {
BackgroundColor $PUML_BGCOLOR
FontColor $DARK_BG
FontStyle bold
}
separator {
BackgroundColor $FGCOLOR
FontColor $PUML_BGCOLOR
FontStyle bold
}
title {
FontSize 20
BorderRoundCorner 8
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_BG
FontColor $PRIMARY_TEXT
BorderColor $SECONDARY_BG
}
}
nwdiagDiagram {
network {
$primary_scheme()
LineColor $PRIMARY_BG
LineThickness 1.0
FontColor $PRIMARY_DARK
}
server {
$primary_scheme()
}
arrow {
FontColor $PRIMARY_DARK
LineColor $PRIMARY_DARK
}
group {
BackGroundColor $LIGHT_BG
LineColor $LIGHT_DARK
LineThickness 2.0
Margin 5
Padding 5
}
}
ganttDiagram {
task {
$primary_scheme()
LineColor $PRIMARY_BG
Margin 10
Padding 6
}
note {
FontColor $INFO_TEXT
LineColor $INFO_DARK
BackGroundColor $INFO_BG
}
separator {
LineColor $SECONDARY_BG
BackGroundColor $secondary_scheme()
FontColor $SECONDARY_TEXT
}
milestone {
FontColor $INFO_BG
FontSize 16
FontStyle italic
BackGroundColor $DIAMOND_BG
LineColor $SECONDARY_DARK
}
timeline {
BackgroundColor $SECONDARY_BG
FontColor $SECONDARY_TEXT
}
closed {
BackgroundColor $WARNING_DARK
FontColor $WARNING_TEXT
}
}
</style>
|
5a6e0274ae5e17064004cdebae3e74a41737efbf | dff544740079c422b535e1bc5ef7d288394c0e9b | /w41/src/Task2/ClassDiagram.puml | 6abe90772c98bdbc5b0c9ed59ebe2fffb872075f | [] | no_license | AugustRead/Assignments | 4a9dc7b82d922ebd19232f80decdb1c14ca2fa2f | a6183246ca610162b54964dd40405953e849d7f1 | refs/heads/main | 2023-08-20T05:21:11.320902 | 2021-10-29T07:47:38 | 2021-10-29T07:47:38 | 408,515,646 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 376 | puml | @startuml
'https://plantuml.com/class-diagram
ComputerVAT o-- Controller
Controller o-- Dialog
Controller o-- CalculateVAT
Controller o-- View
class CalculateVAT {
int PRCVAT
doVAT()
}
class ComputerVAT {
}
class Controller {
String MSG
Dialog dialog
View view
CalculateVAT VAT
runController()
}
class Dialog {
doDiag()
}
class View {
String CURRENCY
doView()
}
@enduml |
70fd0ef199cb450b94efe4d85b74bc1f75d7b162 | 644eadbf61d5ce9b79f5f299348d625dff3017e0 | /vrops-exporter.puml | 1d7e57fdef5d88c5df6a59d0b6b0d99b56b1f656 | [] | no_license | christopherhans/uml | e7e24c12daa3af126785be5375cca708604f5054 | 81343e3c34174897df33101dc34a69e924397932 | refs/heads/master | 2020-09-20T23:05:03.280318 | 2019-11-28T10:25:50 | 2019-11-28T10:25:50 | 224,612,908 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 563 | puml | @startuml
Vcenter *- Cluster
Cluster *- Host
Host *- VirtualMachine
class Vcenter {
-- Attributes --
+ str uuid
+ str name
+ list clusters
+ str datacenter
-- Methods --
+ add_cluster()
}
class Cluster {
-- Attributes --
+ str name
+ str uuid
+ list hosts
-- Methods --
+ add_host()
}
class Host {
-- Attributes --
+ str name
+ str uuid
+ list vms
-- Methods --
+ add_vm()
}
class VirtualMachine {
-- Attributes --
+ str uuid
+ str project_id
+ name
}
@enduml |
38212dc749227cbb01c917142731975ecf3ff868 | 4d66b0a15e5d42eb96ed5e7527ff506757d74285 | /src/lattice/ImplicationalSystem.iuml | a2ebb12c5e178a2c17d55c73ba9c9fa7c4061824 | [
"CECILL-B"
] | permissive | ngocbichdao/java-lattices | 1ac847eaa2bbbcc73ceeb61ec9c5cfa618bac574 | 6742e87de51205923e158db93fd495ffa381f10a | refs/heads/master | 2020-04-05T18:57:29.576127 | 2014-04-04T08:53:29 | 2014-04-04T08:53:29 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,947 | iuml | package lattice {
class ImplicationalSystem {
-TreeSet<Rule> sigma
-TreeSet<Comparable> set
.. Constructors ..
+ImplicationalSystem()
+ImplicationalSystem(Collection<Rule> sigma)
+ImplicationalSystem(ImplicationalSystem s)
+ImplicationalSystem(String filename)
.. Generators ..
{static}+ImplicationalSystem random(int nbS, int nbR)
.. Accessors ..
+TreeSet<Rule> getRules()
+TreeSet<Comparable> getSet()
+int nbElements()
+nbRules()
.. Modifications ..
+boolean addElement(Comparable e)
+boolean addAllElements(TreeSet<Comparable> x)
+boolean deleteElement(Comparable e)
+boolean addRule(Rule r)
+boolean removeRule(Rule r)
+boolean replaceRule(Rule r1, Rule r2)
.. Predicates ..
+boolean checkRuleElements(Rule r)
+boolean containsRule(Rule r)
+boolean isProper()
+boolean isUnary()
+boolean isCompact()
+boolean isRightMaximal()
+boolean isLeftMinimal()
+boolean isDirect()
+boolean isMinimum()
+boolean isCanonicalDirectBasis()
+boolean isCanonicalBasis()
+boolean isIncludedIn(ImplicationalSystem is)
.. Transformers ..
+String toString()
+void toFile(String filename)
.. Operations ..
+int makeProper()
+int makeUnary()
+int makeCompact()
+int makeRightMaximal()
+int makeLeftMinimal()
+int makeDirect()
+int makeMinimum()
+int makeCanonicalDirectBasis()
+int makeCanonicalBasis()
+DGraph representativeGraph()
+DGraph dependencyGraph()
+TreeMap<Comparable, TreeSet<Comparable>> reduction()
+TreeSet<Comparable> closure(TreeSet<Comparable> x)
}
ClosureSystem <|-- ImplicationalSystem
ImplicationalSystem o-- Rule
}
|
aed172b6c1d06ae5a6aeb72ba3572dda94b67669 | ace1c9322bee274dec6c4418355ba53b5364a01f | /com.plantuml | ce72476ff3883ec01e6fd076c821d35108b5d2aa | [] | no_license | javastudent2019/java | 3be4fd302595189523f25a8e6e9a91aac7f0df44 | 29721a67821ce1a45282c575d5b951d1fe1833c4 | refs/heads/master | 2020-07-18T20:02:08.710010 | 2019-09-04T11:43:11 | 2019-09-04T11:43:11 | 206,304,184 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,779 | plantuml | @startuml
title __COM's Class Diagram__\n
namespace Tom.com {
class Tom.com.ConversionAssistant {
{static} + scanner : Scanner
{static} + conversionMenu()
{static} + milesToKilometers()
{static} + kilometersToMiles()
{static} + gallonsToliters()
{static} + poundstoKilos()
{static} + ounceToGrams()
{static} + dollarsToEuros()
{static} + eurosToDollars()
{static} + fahrenheitTocelsius()
{static} + celsiusToFarhenheit()
}
}
namespace Tom.com {
class Tom.com.DigitalAssistant {
- username : String
{static} - scanner : Scanner
+ DigitalAssistant()
+ getDriveAssistant()
+ getDigitalWallet()
+ getDigitalDiary()
+ getUsername()
+ startAssistant()
+ mainMenu()
{static} + welcome()
{static} + initialiseusername()
{static} + initialisemilestodrive()
{static} + initialisebudget()
+ exit()
}
}
namespace Tom.com {
class Tom.com.DigitalDiary {
- scanner : Scanner
- placesVisited : ArrayList<String>
+ DigitalDiary()
+ digitalDiaryMenu()
+ addPlaceVisited()
+ printPlacesVisitedList()
}
}
namespace Tom.com {
class Tom.com.DigitalWallet {
~ scanner : Scanner
- budget : double
- spend : double
- earned : double
+ DigitalWallet()
+ getBudget()
+ setBudget()
+ getSpend()
+ setSpend()
+ getEarned()
+ setEarned()
+ digitalWalletMenu()
+ useBudget()
+ earnings()
+ getRemainingbudget()
}
}
namespace Tom.com {
class Tom.com.DriveAssistant {
- milesToDrive : double
- milesDriven : double
- remainingMiles : double
{static} + scanner : Scanner
+ DriveAssistant()
+ getMilesToDrive()
+ setMilesToDrive()
+ getMilesdriven()
+ setMilesdriven()
+ getRemainingmiles()
+ setRemainingmiles()
+ driveAssistantMenu()
+ addMilesdriven()
+ RemainingMiles()
}
}
namespace Tom.com {
class Tom.com.Main {
{static} + main()
}
}
Tom.com.DigitalAssistant o-- Tom.com.DriveAssistant : driveAssistant
Tom.com.DigitalAssistant o-- Tom.com.DigitalWallet : digitalWallet
Tom.com.DigitalAssistant o-- Tom.com.ConversionAssistant : conversionAssistant
Tom.com.DigitalAssistant o-- Tom.com.DigitalDiary : digitalDiary
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
|
d878f7cbb1525f4f20f037c1f97e7699ef7b7877 | ad3cc5450c8e0d30e3ddbc36db6fbb053e8965fb | /projects/oodp/html/umlversion/sg/edu/ntu/scse/cz2002/ui/MenuChoiceInvalidException.puml | 9e9071e7c208488e76b48b9078adafedff55518a | [] | no_license | itachi1706/How-to-use-Git-NTUSCSE1819-Site | d6fcba79d906e9916c3961b11a6e1318d8a0f602 | dbce2f56b42e15be96bd40fd63e75389d397ca34 | refs/heads/master | 2021-07-12T15:24:44.197085 | 2020-08-01T12:31:23 | 2020-08-01T12:31:23 | 172,893,030 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 233 | puml | @startuml
class MenuChoiceInvalidException [[../sg/edu/ntu/scse/cz2002/ui/MenuChoiceInvalidException.html]] {
+MenuChoiceInvalidException(tag:String)
}
center footer UMLDoclet 1.1.3, PlantUML 1.2018.12
@enduml
|
2aef7ce5a0ea282e92767b36bdb444d03888b4b0 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/MyShoppingListAddTextLineItemAction.puml | 900fba2961e929811feeb397aebfd21febb79955 | [] | 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 | 686 | 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 MyShoppingListAddTextLineItemAction [[MyShoppingListAddTextLineItemAction.svg]] extends MyShoppingListUpdateAction {
action: String
name: [[LocalizedString.svg LocalizedString]]
key: String
description: [[LocalizedString.svg LocalizedString]]
quantity: Long
addedAt: DateTime
custom: [[CustomFieldsDraft.svg CustomFieldsDraft]]
}
interface MyShoppingListUpdateAction [[MyShoppingListUpdateAction.svg]] {
action: String
}
@enduml
|
3aac656f8e607ebd1d354bb8fef9b469c65c6353 | d702b31e656edcb9944228c0309f153bdff29eec | /doc/plantuml/HCARDA/command/EnableVerificationRequirementCommand.plantuml | cb761fc5d199597c2c142828c1f04dc3cef90143 | [
"Apache-2.0"
] | permissive | gematik/ref-HealthCardAccess | 4f3957bfe40c56ffbf82782528a6e543ea00e9e3 | eb9a12f7eea309bb5b23269de9d8fa924f91fe4f | refs/heads/master | 2022-02-14T18:25:41.769547 | 2022-01-07T07:24:17 | 2022-01-07T07:24:17 | 213,916,430 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,529 | plantuml | @startuml
package de.gematik.ti.healthcardaccess {
interface IHealthCardCommand {
{abstract} + executeOn()
}
}
package de.gematik.ti.healthcardaccess {
abstract class AbstractHealthCardCommand {
{static} - LOG : Logger
{static} # NE_MAX_EXTENDED_LENGTH : int
{static} # NE_MAX_SHORT_LENGTH : int
{static} # EXPECT_ALL : int
# cla : int
# ins : int
# p1 : int
# p2 : int
# data : byte[]
# ne : int
# AbstractHealthCardCommand()
# AbstractHealthCardCommand()
{abstract} + getTechnicalResponseApdus()
- inferResponseStatusFromResponseCode()
+ executeOn()
# sendApdu()
- getCommandApdu()
}
}
package de.gematik.ti.healthcardaccess {
package de.gematik.ti.healthcardaccess.commands {
class EnableVerificationRequirementCommand {
{static} - CLA : int
{static} - INS : int
{static} - MODE_VERIFICATION_DATA : int
{static} - MODE_NO_VERIFICATION_DATA : int
{static} - technicalResponseApdus : Map<Integer, ResponseStatus>
+ getTechnicalResponseApdus()
+ EnableVerificationRequirementCommand()
+ EnableVerificationRequirementCommand()
}
}
}
AbstractHealthCardCommand -up-|> IHealthCardCommand
EnableVerificationRequirementCommand -up-|> AbstractHealthCardCommand
@enduml |
ceeb9e37f7da23a3cd52cd764dc952342049e236 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/NUnitExtensions/TestExtensions.puml | 7d41a5895d0fb4e66ebeddb319d80c21c864aeb5 | [] | 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 | 700 | puml | @startuml
class TestExtensions <<static>> {
+ {static} HasCategory(test:ITest, categoryFilter:string[]) : bool
+ {static} GetAllCategoriesFromTest(test:ITest) : List<string>
+ {static} ParseForNameDuplicates(test:ITest) : void
+ {static} GetChildIndex(test:ITest) : int
+ {static} HasChildIndex(test:ITest) : bool
{static} GetAncestorPath(test:ITest) : string
+ {static} GetUniqueName(test:ITest) : string
+ {static} GetFullName(test:ITest) : string
+ {static} GetSkipReason(test:ITest) : string
+ {static} GetParentId(test:ITest) : string
+ {static} GetParentFullName(test:ITest) : string
+ {static} GetParentUniqueName(test:ITest) : string
}
@enduml
|
25a18d8f4d62fa554c7df63c39636bdf17d5668c | 3662b2e08ec5aef2e3dfd1e527b5e50f44d91e1c | /docs/diagrams/CommandClassDiagram3.puml | 852d2da45553a4393e9fc3082fdf66d8c4c74bfe | [] | no_license | AY2021S2-CS2113T-W09-2/tp | 0585f03b1390bf9385a5caef22f00aa599b18d13 | 7d4443d633ae380505f7a69687cc34ab71e0a06b | refs/heads/master | 2023-04-17T11:33:49.033344 | 2021-04-16T02:46:37 | 2021-04-16T02:46:37 | 343,961,010 | 0 | 5 | null | 2021-04-16T02:46:37 | 2021-03-03T01:14:38 | Java | UTF-8 | PlantUML | false | false | 711 | puml | @startuml
hide circle
skinparam classAttributeIconSize 0
class "{abstract}\n<i>Command" {
+<i>execute(ModuleList:moduleList, Ui:ui, Storage:storage)
}
class "InfoCommand" {
#moduleCode:String
+execute(ModuleList:moduleList, Ui:ui, Storage:storage)
}
class "DoneCommand" {
#moduleCode:String
#moduleGrade:String
+execute(ModuleList:moduleList, Ui:ui, Storage:storage)
}
class "ExitCommand" {
}
class "ListCommand" {
-scope:String
+execute(ModuleList:moduleList, Ui:ui, Storage:storage)
}
"{abstract}\n<i>Command" <|-- "ExitCommand"
"{abstract}\n<i>Command" <|-- "ListCommand"
"{abstract}\n<i>Command" <|-- "DoneCommand"
"{abstract}\n<i>Command" <|-- "InfoCommand"
@enduml |
702d38c9bed9f03d79791e725be80d30e6bc3031 | 4e162b5483004189980b6f010a787cd88c782802 | /src/design/direct-location-class-diagram.puml | 5ef90fba59cacaee330d5d327594bee96f12653e | [
"EPL-1.0",
"Apache-2.0"
] | permissive | CS-SI/Rugged | 407e32bc80d589b32d133a8d2c0fb1e6530f4ab6 | acf902ea88dcd4c8df1afafa4b15d49ad949e9da | refs/heads/master | 2023-06-07T19:19:24.995766 | 2023-03-23T10:49:18 | 2023-03-23T10:49:18 | 45,696,988 | 6 | 4 | Apache-2.0 | 2022-07-03T18:15:18 | 2015-11-06T17:35:21 | Java | UTF-8 | PlantUML | false | false | 2,559 | puml | ' Copyright 2013-2022 CS GROUP
' Licensed to CS GROUP (CS) under one or more
' contributor license agreements. See the NOTICE file distributed with
' this work for additional information regarding copyright ownership.
' CS licenses this file to You 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.
@startuml
skinparam svek true
skinparam ClassBackgroundColor #F3EFEB/CCC9C5
skinparam ClassArrowColor #691616
skinparam ClassBorderColor #691616
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #691616
skinparam NoteFontColor #691616
skinparam ClassFontSize 11
package rugged #ECEBD8 {
package raster #DDEBD8 {
interface Tile {
+interpolateElevation(φ, λ)
+pixelIntersection(NormalizedGeodeticPoint, los, φ index, λ index)
}
}
package intersection #DDEBD8 {
interface IntersectionAlgorithm {
+intersection(ellipsoid, position, los)
+refineIntersection(ellipsoid, position, los, closeGuess)
}
Tile <-- IntersectionAlgorithm : evaluate DEM
}
package utils #DDEBD8 {
class ExtendedEllipsoid {
+pointAtLatitude(position, los, φ, closereference)
+pointAtLongitude(position, los, λ)
+pointAtAltitude(position, los, h)
+pointOnGround(position, los)
}
class SpacecraftToObservedBody
IntersectionAlgorithm --> ExtendedEllipsoid : compute grid points crossings
}
package api #DDEBD8 {
class Rugged {
+directLocation(sensorName, line)
}
IntersectionAlgorithm "1" <--o Rugged : delegate DEM intersection
ExtendedEllipsoid <-- Rugged : convert geodetic points
SpacecraftToObservedBody <-- Rugged : convert positions/directions
}
package linesensor #DDEBD8 {
class LineSensor
Rugged --> LineSensor : getLOS(date, pixel)
Rugged --> LineSensor : getDate(line)
}
}
package mission.specific #C4D2C5 {
class UserMain #D5E0D5/E2EBE2
UserMain --> Rugged
}
@enduml
|
5839b8257c4c5578babd66b48e3c86e58c4ec744 | 5852f6b38b87d13b732b67c8fdef4c22ae215a8f | /docs/diagrams/src/movies11.plantuml | 35f5cda095ba9163c34efa24e59fbf82eead61fd | [] | no_license | ivlago/Refactor | bbc940ba59aa2b397d52c3c041e3b1db97f8b22d | 5fc9ddb4517bc21dba3a8df0b629637b213cff79 | refs/heads/main | 2023-04-05T18:22:56.671516 | 2021-04-22T20:14:21 | 2021-04-22T20:14:21 | 359,514,464 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 822 | plantuml | @startuml movies
class Customer {
- String name;
- List<Rental> rentals;
+ Costumer(String name)
+ void addRental(Rental rental)
+ String getName()
+ String statement()
- double getTotalCharge()
- int getTotalFrequentRenterPoints()
}
class Rental {
- Movie movie;
- int daysRented;
+ Rental(Movie movie, int daysRented)
+ int getDaysRented()
+ Movie getMovie()
+ double getCharge()
+ int getFrequentRenterPoints()
}
class Movie {
+ static final int REGULAR = 0;
+ static final int NEW_RELEASE = 1;
+ static final int CHILDRENS = 2;
- String title;
- int priceCode;
+ Movie(String title, int priceCode)
+ double getCharge(int daysRented)
+ int getFrequentRenterPoints(int daysRented)
+ int getPriceCode()
+ void setPriceCode(int priceCode)
+ String getTitle()
}
Customer o-down-> Rental
Rental -down-> Movie
@enduml
|
9fac04d395c7052c1741c8a25bf1b2bb976f8b85 | f843c9d5922c2ef92cc3ca50f20f44184ed27ef8 | /src/main/java/TemplateMethod/Starbuzz/README.puml | 1f57489757e472da9a9bf8ac32bcf21ddbf2cd14 | [] | no_license | yvanross/LOG121-GOF-exemples | c80a4d1b29f0b953e4666e100a82d4fde1923bea | 7cff56d019b40901ed54b85a62d69317cf61da59 | refs/heads/master | 2023-05-04T07:39:48.742354 | 2021-05-21T13:43:50 | 2021-05-21T13:43:50 | 261,219,115 | 2 | 25 | null | 2021-01-25T22:44:14 | 2020-05-04T15:11:44 | Java | UTF-8 | PlantUML | false | false | 1,153 | puml | @startuml Diagramme de classe
class Boisson <<Abstract>>{
preparer(): void
bouillir_eau(): void
infusser(): void
verser_tasse(): void
ajouter_condiments(): void
}
class The extends Boisson{
infuser(): void
ajouter_condiment(): void
}
class Cafe extends Boisson{
infuser(): void
ajouter_condiments(): void
}
@enduml
@startuml ds-preparer
skinparam style strictuml
participant ":StarbuzzTest" as S
participant ":The" as T
participant ":Boisson" as B
participant "System.out" as P
-> S: preparer_the()
S --> T: create()
T --> B: create()
S -> T: prepare()
activate T
T -> B: prepare()
activate B
B -> B: bouillir_eau()
activate B
B -> P: println(...)
deactivate B
B -> T: infuser()
activate T
T -> P: println(...)
deactivate T
B -> B: verser_tasse()
activate B
B -> P: println(...)
deactivate B
B -> T: ajouter_condiments()
activate T
T -> P: println(...)
deactivate T
deactivate B
deactivate T
@enduml |
b8fba8368e96a7939be70fc5f572bf1a40a3e6d0 | b511574ac3a58a8e61d987b33bcc11bd97fcd0bf | /docs/diagrams/AddBudgetCommandClassDiagram.puml | 3efac7f21a4a7e65681dd37316d0ff7583deb80e | [
"MIT"
] | permissive | briyanii/main | 78914ac3ebcac79ddeb491afc02ec87102353b20 | a35ffba3265a0abe0546dc3465572560f1a21468 | refs/heads/master | 2020-07-28T09:38:24.226164 | 2019-11-01T07:34:37 | 2019-11-01T07:34:37 | 209,382,846 | 0 | 0 | NOASSERTION | 2019-10-02T17:58:33 | 2019-09-18T18:57:56 | Java | UTF-8 | PlantUML | false | false | 478 | puml | @startuml
class AddBudgetCommand {
+{static} COMMAND_WORD: String
+{static} MESSAGE_USAGE: String
+{static} MESSAGE_SUCCESS: String
+{static} MESSAGE_DUPLICATE_BUDGET: String
#validate(model: Model)
#execute(model: Model): CommandResult
}
abstract class UndoableCommand
AddBudgetCommand -up-|> UndoableCommand
AddBudgetCommand -right-> "1" Budget: toAdd
AddBudgetCommand ..> Model
AddBudgetCommand ..> CommandResult
AddBudgetCommand .left.> CommandException: throws
@enduml
|
90ee479b80bcb83587384c261f0786b190a60b8d | 1796581f86afff7ca46e44c51358bc4b38a5375a | /programming/design-pattern/plantuml/decorator.puml | d2f19e30ad9c1a7d35e4eb313d5bf8bf9305f13c | [] | no_license | ruleless/ORG | 7de911d850c3861d44ecb5ee395874c637e22380 | cd3021a55f2ac47e0c1271fe745c1d2c28289eca | refs/heads/master | 2023-06-01T04:41:54.376093 | 2023-05-17T14:28:44 | 2023-05-17T14:28:44 | 44,298,812 | 2 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 419 | puml | @startuml Decorator
class Component {
+Operation()
}
class ConcreteComponent {
+Operation()
}
Component <|-- ConcreteComponent
class Decorator {
+Operation()
}
Component <|-- Decorator
Component --o Decorator
class ConcreteDecoratorA {
+Operation()
}
Decorator <|-- ConcreteDecoratorA
class ConcreteDecoratorB {
+Operation()
+AddedBehavior()
}
Decorator <|-- ConcreteDecoratorB
@enduml |
1d78d3f304fd50facad887059f0ca282feffc968 | ea8df3c7306a15dcfe74e7faaa1c1b782a76ea83 | /user-guide/puml/norm-database-schema.puml | 59fc272ef8d6eab36f9fbeefb435cbb01a2a6fd7 | [
"MIT"
] | permissive | InseeFr/ARC | 0d1569bca2d1b0e26f57a2f7d2847b90b6fe04f6 | 7bfff28d86a6b4e728d1dc0e3872ac15ab8b87aa | refs/heads/master | 2023-09-01T00:32:19.872539 | 2023-08-22T07:15:27 | 2023-08-22T07:15:27 | 187,840,296 | 13 | 8 | MIT | 2023-04-25T14:45:36 | 2019-05-21T13:12:52 | Java | UTF-8 | PlantUML | false | false | 372 | puml | @startuml database_norm
!define table << (T,orchid) >>
!define primary_key(x) <u>x</u>
hide methods
hide stereotypes
class norm_family << table >> {
text primary_key(id_family)
}
class norm << table >> {
text primary_key(id_norm)
text periodicity
text def_norm
text def_validity
text state
}
norm_family "1" -right- "0..n" norm : < implements
@enduml |
59d0a34a8abc8d2c198e63b1acd3457d61211aab | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/AssociateRoleDeletedMessage.puml | 31b9cff5f4c964340474e292dea5926186ab3f2b | [] | 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 | 1,135 | 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 AssociateRoleDeletedMessage [[AssociateRoleDeletedMessage.svg]] extends Message {
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]]
}
interface Message [[Message.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]]
}
@enduml
|
69a2b33fe913f100207c323fc0d09fec9f18fa8f | 94db8bf82cab4aeef38721ec5e730199415d49be | /asciidocs/plantuml/cld.puml | 6d2b82bf1236b30fb6b5738faf331dc03dc5e353 | [] | no_license | 2122-5ahif-nvs/02-microproject-danielandricic | de2d479f9756c94353425f70c2ec31d09d0222ca | ec639ff3997a35910393aef9316bf1e1105a7115 | refs/heads/main | 2023-08-28T00:09:27.500170 | 2021-10-15T10:36:21 | 2021-10-15T10:36:21 | 414,311,492 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 503 | puml | @startuml
Author "1" <-right- "*" Article : writes >
Reader "1" <-left- "*" Article : reads >
class Author {
-id: Long
+firstName: String
+lastName: String
+birthDate: LocalDate
+String getFullName()
+String toString()
}
class Article {
-id: Long
+name: String
+content: String
+releaseDate: LocalDate
+authorID: Long
}
class Reader {
-id: Long
+firstName: String
+lastName: String
+birthDate: LocalDate
+String toString()
}
@enduml
|
6d1b4a5fb0fb9ba35dba0062ec1695afb4c4abea | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/MyCartSetLineItemShippingDetailsAction.puml | 95265118a3b84c73d358b29560c614c5861602cc | [] | 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 | 574 | 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 MyCartSetLineItemShippingDetailsAction [[MyCartSetLineItemShippingDetailsAction.svg]] extends MyCartUpdateAction {
action: String
lineItemId: String
lineItemKey: String
shippingDetails: [[ItemShippingDetailsDraft.svg ItemShippingDetailsDraft]]
}
interface MyCartUpdateAction [[MyCartUpdateAction.svg]] {
action: String
}
@enduml
|
4d770c9c684209c486f706f9f5f8cd7820533af1 | 3652eb1544783c098246f4c773abc276d54398b2 | /UMLProyecto/CodePlant/Diagrama de Clases.puml | c9cea582e33046f04bbc265711b3567df5c4d533 | [] | no_license | ManuBenito98/seisdos | 306c7289ea84d735a2e14ee0c6809ed6787170d3 | 39bec7279e61fad0257b95762b137cfae493e42f | refs/heads/master | 2018-12-06T04:37:15.740773 | 2018-11-30T00:52:37 | 2018-11-30T00:52:37 | 145,494,186 | 0 | 0 | null | null | null | null | WINDOWS-1250 | PlantUML | false | false | 24,264 | puml | @startuml
package "diagrama de clases"{
package Collisions{
interface Visitable{
}
ColliderMaster "-instance" -->"1" ColliderMaster
ColliderMaster "-collisions"-->"0..*" Collider
class ColliderMaster{
-ColliderMaster()
{static} + getInstance()
+ removeCollider(c:Collider)
+ findCollisions(c:Collider):Collection<Collider>
+ addCollider(c:Collider)
}
PowerUpVisitor<|--UnfrozeVisitor
class UnfrozeVisitor{
+UnfrozeVisitor()
+visitEnemyController(e:VisitableEnemyController)
}
Visitable<|--Collider
Collider "c" --> "1" ColliderMaster
Collider "o" --> "1" DestroyableObject
Collider "v" --> "1" Visitor
Collider "collisions" --> "0..*" Collider
abstract class Collider{
# x:float
# y:float
# ex:float
# ey:float
# dx:float
# dy:float
+ Collider(o:DestroyableObject)
+ update()
# solveCollision()
# scanCollisions()
+ intersects(co:Collider):boolean
+ getX():float
+ getY():float
+ getEx():float
+ getEy():float
+ getO():DestroyableObject
+ destroySelf()
}
Collider<|--CommonBarricadeCollider
class CommonBarricadeCollider{
+CommonBarricadeCollider(commonBarricade:CommonBarricade)
+accept(v:Visitor)
+update()
}
Visitor<|--CommonBarricadeVisitor
class CommonBarricadeVisitor{
+visitPlayerBullet(b:PlayerBulletCollider)
+visitEnemyBullet(b:EnemyBulletCollider)
+visitPiercingBullet(b:PiercingBulletCollider)
}
Collider<|--DummyCollider
class DummyCollider{
+DummyCollider(o:DestroyableObject)
+accept(v:Visitor)
}
Visitor<|-- DummyVisitor
Collider<|--EnemyBarricadeCollider
class EnemyBarricadeCollider{
+EnemyBarricadeCollider(c:EnemyBarricade)
+accept(v:Visitor)
+update()
}
Visitor<|--EnemyBarricadeVisitor
class EnemyBarricadeVisitor{
+visitPlayerBullet(b:PlayerBulletCollider)
+visitPiercingBullet(b:PiercingBulletCollider)
}
Collider<|--EnemyBulletCollider
EnemyBulletCollider "collided" --> "0..*" Collider
class EnemyBulletCollider{
+EnemyBulletCollider(o:EnemyBullet)
+accpet(v:Visitor)
#solveCollisions()
+update()
}
Visitor<|--EnemyBulletVisitor
class EnemyBulletVisitor{
#d:float
+EnemyBulletVisitor(dmg:float)
+visitPlayer(p:PlayerCollider)
+visitEnemyBarricade(b:EnemyBarricadeCollider)
+visitPowerUp(b:PowerUpCollider)
+visitCommonBarricade(b:CommonBarricadeCollider)
+visitKamikazeShield(b:KamikazeShieldCollider)
}
Collider<|--EnemyCollider
class EnemyCollider{
#danio:float
+EnemyCollider(o:Enemy,d:float)
+accept(v:Visitor)
}
Visitor<|--EnemyVisitor
class EnemyVisitor{
#d:float
+EnemyVisitor(dmg:float)
+visitPlayer(p:PlayerCollider)
+visitKamikazeShield(b:KamikazeShieldCollider)
+visitPiercingBullet(b:PiercingBulletCollider)
}
PowerUpVisitor<|--FrozeVisitor
class FrozeVisitor{
+FrozeVisitor()
+visitEnemyController(e:VisitableEnemyController)
}
Collider<|--KamikazeShieldCollider
class KamikazeShieldCollider{
+KamikazeShieldCollider(o:DestroyableObject)
+accept(v:Visitor)
}
PlayerVisitor<|--KamikazeShieldVisitor
class KamikazeShieldVisitor{
+KamikazeShieldVisitor()
+visitEnemy(e:EnemyCollider)
}
Collider<|--PiercingBulletCollider
PiercingBulletCollider "collided"-->"0..*" Collider
class PiercingBulletCollider{
+PiercingBulletCollider(o:PiercingBullet)
+accept(v:Visitor)
}
PlayerBulletVisitor<|--PiercingBulletVisitor
class PiercingBulletVisitor{
PiercingBulletVisitor(danio:float)
}
Collider<|--PlayerBulletCollider
class PlayerBulletCollider{
+PlayerBulletCollider(o:PlayerBullet)
+accept(v:Visitor)
}
Visitor<--PlayerBulletVisitor
class PlayerBulletVisitor{
+PlayerBulletVisitor(d:float)
+visitEnemy(e:EnemyCollider)
+visitEnemyBarricade(b:EnemyBarricadeCollider)
+visitCommonBarricade(b:CommonBarricadeCollider)
}
Collider<|--PlayerCollider
class PlayerCollider{
+PlayerCollider(o:Player)
+accept(v:Visitor)
}
Visitor<|--PlayerVisitor
class PlayerVisitor{
+PlayerVisitor()
+visitEnemy(e:EnemyCollider)
+visitPlayerBullet(b:PlayerBulletCollider)
+visitEnemyBullet(b:EnemyBulletCollider)
+visitCommonBarricade(b:CommonBarricadeCollider)
+visitPlayer(p:PlayerCollider)
+visitEnemyBarricade(b:EnemyBarricadeCollider)
+visitPowerUp(b:PowerUpCollider)
+visitKamikazeShield(b:KamikazeShieldCollider)
+visitPiercingBullet(b:PiercingBulletCollider)
}
Collider<|--PowerUpCollider
class PowerUpCollider{
+PowerUpCollider(o:AbstractPU)
+accept(v:Visitor)
+trigger(o:AbstractPU)
}
Visitor<|--PowerUpVisitor
class PowerUpVisitor{
+visitEnemyController(e:VisitableEnemyController)
}
interface Visitable{
accept(v:Visitor)
}
abstract class Visitor{
+visitEnemy(e:EnemyCollider)
+visitPlayerBullet(b:PlayerBulletCollider)
+visitEnemyBullet(b:EnemyBulletCollider)
+visitPlayer(p:PlayerCollider)
+visitEnemyBarricade(b:EnemyBarricadeCollider)
+visitPowerUp(b:PowerUpCollider)
+visitKamikazeShield(b:KamikazeShieldCollider)
+visitPiercingBullet(b:PiercingBulletCollider)
+visitCommonBarricade(commonBarricadeCollider:CommonBarricadeCollider)
}
}
package Controllers{
Behaviour "direc" --> "1" Vector2
Behaviour "m" --> "1" MovementPattern
abstract class Behaviour{
#isPaused:boolean
{abstract} +getDir():Vector2
#updateDir()
+pause()
+unPause()
+isPaused()
}
Behaviour<|--DizzyBehaviour
class DizzyBehaviour{
+DizzyBehaviour()
+getDir()
}
MovementPattern<|--DizzyMovement
class DizzyMovement{
+DizzyMovement()
+getX():float
+getY():float
}
Behaviour<|--EnemyBehaviour
class EnemyBehaviour{
+EnemyBehaviour(mov:MovementPattern)
+getDir():Vector2
#updateDir()
}
MovementController<|--EnemyMovementController
VisitableEnemyController<|--EnemyMovementController
abstract class EnemyMovementController{
+EnemyMovementController()
+update(map:Map)
+destroyMe(map:Map)
{abstract} +activate()
{abstract} +setBehaviour()
+accept(v:PowerUpVisitor)
+Freeze()
+Unfreeze()
+isFrozen():boolean
}
IFireController<|--FighterFireController
FighterFireController "controlled"-->"1" EnemyFighter
class FighterFireController{
+FighterFireController(f:EnemyFighter)
+destroyMe(map:Map)
#checkShoot()
+update(map:Map)
+fire():boolean
}
EnemyMovementController<|--FighterMovementEnemyMovementController
class FighterMovementEnemyMovementController{
+FighterMovementEnemyMovementController(pos:GameObject)
+setBehaviour(be:Behaviour)
+activate()
}
Behaviour<|--FollowBehaviour
class FollowBehaviour{
+FollowBehaviour(or:GameObject,de:GameObject)
+getDir():Vector2
}
EnemyMovementController<|--FollowerMovementEnemyMovementController
class FollowerMovementEnemyMovementController{
+FollowerMovementEnemyMovementController(pos:GameObject)
+activate()
+setBehaviour(be:Behaviour)
}
MovementPattern<|--FollowMovement
FollowMovement "o"-->"1" Vector2
FollowMovement "d"-->"1" Vector2
FollowMovement "so"-->"1" GameObject
FollowMovement "sd"-->"1" GameObject
class FollowMovement{
#distX:float
#x1:float
#x2:float
#y1:float
#y2:float
+FollowMovement(or:GameObject,de:GameObject)
+getX():float
+getY():float
-updateP()
}
Behaviour<|--FormationBehaviour
class FormationBehaviour{
-radioGral:float
+FormationBehaviour()
+getDir():Vector2
#updateDir()
}
EnemyMovementController<|--FormationMovementEnemyMovementController
class FormationMovementEnemyMovementController{
+FormationMovementEnemyMovementController(f:Formation)
+setBehaviour(be:Behaviour)
+activate()
}
EnemyMovementController<|--HybridFollowerMovementEnemyMovementController
class HybridFollowerMovementEnemyMovementController{
-health:float
+HybridFollowerMovementEnemyMovementController(pos:GameObject)
+activate()
+setBehaviour(be:Behaviour)
+update(map:Map)
}
EnemyMovementController<|--HybridMovementEnemyMovementController
class HybridMovementEnemyMovementController{
-health:float
+HybridMovementEnemyMovementController(pos:GameObject)
+setBehaviour(be:Behaviour)
+activate()
+update(map:Map)
}
IUpdateable<|--IController
interface IController
IController<|--IFireController
abstract class IFireController{
+IFireController()
}
IMovementController "r" --> "1" Icon
IMovementController "l" --> "1" Icon
IMovementController "d" --> "1" Icon
IMovementController "u" --> "1" Icon
IMovementController "lu" --> "1" Icon
IMovementController "ru" --> "1" Icon
IMovementController "rd" --> "1" Icon
IMovementController "ld" --> "1" Icon
IMovementController "c" --> "1" Icon
IMovementController "m" --> "1..*" Icon
IMovementController "b" --> "1" Behaviour
abstract class IMovementController{
{abstract} #move(vec:Vector2)
+update(map:Map)
#armarVector():Vector2
+destroyMe(map:Map)
}
EnemyMovementController<|--KamikazeMovementEnemyMovementController
class KamikazeMovementEnemyMovementController{
+KamikazeMovementEnemyMovementController(pos:GameObject)
+activate()
+setBehaviour(be:Behaviour)
}
IMovementController<|--MovementController
abstract class MovementController{
#controlled:E
#move(vec:Vector2)
}
abstract class MovementPattern{
#ampy:float
#ampx:float
#t:float
{abstract} +getX():float
{abstract} +getY():float
#updateT()
}
IController<|--PlayerFireController
class PlayerFireController{
+PlayerFireController()
+Fire()
+update(map:Map)
+destroyMe(map:Map)
}
MovementController<|--PlayerMovementController
class PlayerMovementController{
+PlayerMovementController(p:Player)
+update(map:Map)
+destroyMe(map:Map)
#armarVector():Vector2
}
Behaviour<|--PowerUpBehaviour
class PowerUpBehaviour{
+PowerUpBehaviour()
+getDir():Vector2
}
MovementPattern<|--PowerUpMovement
class PowerUpMovement{
#randomSpeed:int
+PowerUpMovement()
+getX():float
+getY():float
}
IMovementController<|--PowerUpMovementController
class PowerUpMovementController{
+PowerUpMovementController(o:AbstractPU,b:Behaviour)
#move(vec:Vector2)
+update(map:Map)
}
MovementPattern<|--Sinusoidal
class Sinusoidal{
+Sinusoidal()
+getX():float
+getY():float
}
interface VisitableEnemyController{
accept(v:PowerUpVisitor)
Freeze()
Unfreeze()
}
}
package GameMaster{
IUpdateable<|--DoWhen
class DoWhen{
-Condition:Callable<Boolean>
-Action:Runnable
-excecuted:boolean
+DoWhen(condition:Callable<Boolean>,action:Runnable)
+update(map:Map)
+destroyMe(map:Map)
}
Thread<|--Level
Level "map"-->"1" Map
class Level{
#nanostowait:long
#seguir:boolean
+Level()
+run()
}
Callable<|--Timer
interface Callable
class Timer{
-current:long
-ending:long
+Timer(t:long)
+call():Object
}
}
package Map{
abstract class AbstractControllerFactory{
{abstract} +createController(pos:GameObject):EnemyMovementController
}
AbstractControllerFactory<|--FighterControllerFactory
class FighterControllerFactory{
+FighterControllerFactory()
+createController(pos:GameObject):EnemyMovementController
}
AbstractControllerFactory<|--FollowerControllerFactory
class FollowerControllerFactory{
+FollowerControllerFactory()
+createController(pos:GameObject):EnemyMovementController
}
Enemy<|--Formation
Formation "enemies"-->"0..*" EnemyMovementController
Formation "factories"-->"0..*" AbstractControllerFactory
Formation "offset"-->"1" Vector2
class Formation{
#lvl:int
#contToPositionMap:Map<EnemyMovementController,OffsetPosition>
#distX:int
#distY:int
#initialized:boolean
-cont:int
+Formation(d:int)
+createEnemies()
+affectPowerUp(v:PowerUpVisitor)
+update(map:Map)
#updatePosition(m:Map)
-createFactories()
+removeCont(e:EnemyMovementController)
+destroySelf()
}
IUpdateable<|--GraphicObject
GraphicObject "object"-->"1" DestroyableObject
GraphicObject "model"-->"1" JLabel
class GraphicObject{
+GraphicObject(o:DestroyableObject,l:JLabel)
+update(map:Map)
+destroyMe(map:Map)
+destroy()
}
AbstractControllerFactory<|--HybridControllerFactory
class HybridControllerFactory{
+HybridControllerFactory()
+createController(pos:GameObject):EnemyMovementController
}
AbstractControllerFactory<|--HybridFollowerControllerFactory
class HybridFollowerControllerFactory{
+HybridFollowerControllerFactory()
+createController(pos:GameObject):EnemyMovementController
}
AbstractControllerFactory<|--KamikazeControllerFactory
class KamikazeControllerFactory{
+KamikazeControllerFactory()
+createController(pos:GameObject):EnemyMovementController
}
Map "toDestroy"-->"0..*" IUpdateable
Map "list"-->"0..*" IUpdateable
Map "toAdd"-->"0..*" IUpdateable
Map "form"-->"1" Formation
Map "instance"-->"1" Map
class Map{
-lvl:int
-wind:Window
-Map(w:Window)
{static} +getInstance():Map
{static} +newInstance():Map
+add(o:GameObject)
+add(o:DestroyableObject)
+add(u:IUpdateable)
+update()
+remove(upda:IUpdateable)
+destroy(gam:GameObject)
+destroy(controller:IController)
+getFormation():Formation
+newLevel()
+getLevel():int
}
GameObject<|--OffsetPosition
OffsetPosition "offset"-->"1" Vector2
OffsetPosition "followed"-->"1" MovingObject
class OffsetPosition{
+ObjectPosition(f:MovingObject,o:Vector2)
+update(map:Map)
+destroyMe(map:Map)
}
}
package "Game Objects" {
IUpdateable<|--GameObject
abstract class GameObject{
#ubication:Vector2
#fieldLimitX:int
#fieldLimitY:int
getUbication(): Vector2
setUbication(u:Vector2)
getX():int
getY():int
}
GameObject <|-- DestroyableObject
DestroyableObject "c" --* "1" Collider
abstract class DestroyableObject{
#health: float
#sprite: icon
+update()
+getSprite():Icon
+getHealth():float
+getCollider():Collider
+isAlive():boolean
+destroySelf()
+damage(d:float)
}
DestroyableObject<|--MovingObject
abstract class MovingObject{
#speed:float
#{static}maxSpeed:float
#dir:Vector2
+update()
#updatePosition(m:Map)
+destroyMe(m:Map)
+setDirec(v:Vector2)
+setSprite(s:icon)
+destroySelf()
}
MovingObject<|--Ship
abstract class Ship{
+updatePosition()
}
class Vector2{
-x:float
-y:float
+{static}UP()
+{static}DOWN()
+{static}LEFT()
+{static}RIFGHT()
+{static}ORiGIN()
+{static}UP(len:float)
+{static}DOWN(len:float)
+{static}LEFT(len:float)
+{static}RIFGHT(len:float)
+getY():float
+getX():float
+sum(v:Vector2):Vector2
+prod(constante:float):Vector2
+large():float
+versor():Vector2
+max(l:float):Vector2
}
package player{
abstract class Weapon{
#gunPosition:int
#gunPhaseShift:int
#damage:float
+{abstract}shoot()
}
Weapon <|-- BasicWeapon
class BasicWeapon{
+BasicWeapon(dmg:float)
+shoot()
}
Weapon <|-- MissilWeapon
class MissilWeapon{
+MissilWeapon(dmg:float)
+shoot()
}
Weapon <|-- PiercingWeapon
class PiercingWeapon{
+PiercingWeapon(dmg:float)
+shoot()
}
Shield "modifiers" --o "0..*" Modifiers
class Shield{
-baseReduction:float
-extraPower:float
+Shield(baseR:float)
+calculateDamage(d:float):float
+addPower(p:float)
}
abstract class Modifiers{
+{abstract}modify(d:float):float
}
Ship<|--Player
Player "instance"--*"1"Player
Player "shield" o-- "1"Shield
class Player{
-damage:int
-attackSpeed:int
-loaded:boolean
-time:long
-weapon:Weapon
-initialPosition:Vector2
-Player()
+getInstance:Player
+update()
+fire()
#updatePosition(map:Map)
+getShield():Shield
+damage(d:float)
+setCollider(c:Collider)
+getDamage():float
+setWeapon(w:Weapon)
+setHealth(h:float)
}
}
package "Enemies"{
Ship<|--Enemy
abstract class Enemy{
#score:int
#speed:float
#kamikazeDamage:float
#level:int
#posInicial:Vector2
+destroySelf()
}
Enemy<|--FollowerEnemy
class FollowerEnemy{
+FollowerEnemy()
+update()
}
Enemy<|--HybridFollowerEnemy
class HybridFollowerEnemy{
+HybridFollowerEnemy()
+update()
}
Enemy<|--KamikazeEnemy
class KamikazeEnemy{
+KamikazeEnemy()
+update()
}
Enemy<|--EnemyFighter
abstract class EnemyFighter{
#damage:float
#attackSpeed:int
#loaded:boolean
#time:long
#gunPosition:int
#gunPhaseShift:int
+fire()
}
EnemyFighter<|--EnemyFighterOnlyShoot
class EnemyFighterOnlyShoot{
+EnemyFighterOnlyShoot()
+update()
}
EnemyFighter<|--EnemyFighterHybrid
class EnemyFighterHybrid{
+EnemyFighterHybrid()
+update()
}
}
package "Bullets"{
Ship<|--Bullet
abstract class Bullet{
#danio:float
+getDanio():float
+destroyMe(map:Map)
+destroySelf()
#updatePosition
}
Bullet<|--PlayerBullet
PlayerBullet<|--BasicPlayerBullet
class BasicPLayerBullet{
+BasicPlayerBullet()
+update()
}
PlayerBullet<|--PiercingPlayerBullet
class PiercingPlayerBullet{
+PiercingPlayerBullet()
+update()
}
PlayerBullet<|--MissilPlayerBullet
class MissilPLayerBullet{
+MissilPlayerBullet()
+update()
}
Bullet<|--EnemyBullet
EnemyBullet<|--EnemyFighterBullet
class EnemyFighterBullet{
+EnemyFighterBullet()
+update()
}
}
package "Barricades"{
DestroyableObject<|--Barricade
Barricade<|--CommonBarricade
class CommonBarricade{
+CommonBarricade()
+destroyMe(map:Map)
+destroySelf()
+update()
}
Barricade<|--EnemyBarricade
class EnemyBarricade{
+EnemyBarricade()
+destroyMe(map:Map)
+destroySelf()
+update()
}
}
}
package "Power Ups"{
MovingObject <|-- AbstractPU
abstract class AbstractPU{
#controller:IMovementController
#revert:Reversion
#time:long
------
+UpdatePosition(map :Map)
+destroySelf()
+trigger()
}
AbstractPU <|-- FrozePU
FrozePU "-frozev" --> "1" FrozeVisitor
class FrozePU{
+FrozePU(pos: Vector2)
+trigger()
+update(map:Map)
+destroySelf
}
AbstractPU <|-- KamikazeShieldPU
class KamikazeShieldPU{
+KamikazeShieldPU(pos: Vector2)
+trigger()
+update(map:Map)
+destroySelf
}
AbstractPU <|-- MissilPU
class MissilPU{
+MissilPU(pos: Vector2)
+trigger()
+update(map:Map)
+destroySelf
}
AbstractPU <|-- PierceBulletPU
class PierceBulletPU{
+PierceBulletPU(pos: Vector2)
+trigger()
+update(map:Map)
+destroySelf
}
AbstractPU <|-- PotionPU
class PotionPU{
+PotionPU(pos: Vector2)
+trigger()
+update(map:Map)
+destroySelf
}
AbstractPU <|-- ShieldPU
class ShieldPU{
+ShieldPU(pos: Vector2)
+trigger()
+update(map:Map)
+destroySelf
}
package "Reverters"{
DoWhen <|-- Reverter
abstract class Reverter{
+Reverter(condition:Callable<Boolean>, action:Reversion)
}
Reverter <|-- BasicWeaponReverter
class BasicWeaponReverter{
+BasicWeaponReverter(condition:Callable<Boolean>, action:Reversion)
}
Reverter <|-- FrozenReverter
class FrozenReverter{
+FrozenReverter(condition:Callable<Boolean>, action:Reversion)
}
Reverter <|-- KSReverter
class KSReverter{
+KSReverter(condition:Callable<Boolean>, action:Reversion)
}
Runnable <|-- Reversion
interface Reversion
Reversion <|-- BasicWeaponReversion
Reversion <|-- FrozenReversion
Reversion <|-- KamikazeReversion
class BasicWeaponReversion{
+BasicWeaponReversion()
+run()
}
FrozenReversion "-v" --> "1" UnfrozeVisitor
class FrozenReversion{
+FrozenReversion()
+run()
}
}
package "PowerUpFactories"{
abstract class AbstractPowerUpFactory{
+{abstract}newPowerUp´:AbstractPowerUp
}
AbstractPowerUpFactory <|-- FrozePUFactory
class FrozePUFactory{
+FrozePUFactory()
+newPowerUp(vec:Vector2):AbstractPowerUp
}
AbstractPowerUpFactory <|-- KamikazeShieldFactory
class KamikazeShieldFactory{
+KamikazeShieldFactory()
+newPowerUp(vec:Vector2):AbstractPowerUp
}
AbstractPowerUpFactory <|-- MissilPUFactory
class MissilPUFactory{
+MissilPUFactory()
+newPowerUp(vec:Vector2):AbstractPowerUp
}
AbstractPowerUpFactory <|-- PierceBulletPUFactory
class PierceBulletPUFactory{
+PierceBulletPUFactory()
+newPowerUp(vec:Vector2):AbstractPowerUp
}
AbstractPowerUpFactory <|-- PotionPUFactory
class PotionPUFactory{
+PotionPUFactory()
+newPowerUp(vec:Vector2):AbstractPowerUp
}
AbstractPowerUpFactory <|-- ShieldPUFactory
class ShieldPUFactory{
+ShieldPUFactory()
+newPowerUp(vec:Vector2):AbstractPowerUp
}
PowerUpPool "instance" --> "1" PowerUpPool
PowerUpPool "pool" --> "1..*" AbstractPowerUpFactory
class PowerUpPool{
-PowerUpPool()
+getInstance():PowerUpPool
+getPool():LinkedList<AbstractPowerUpFactory>
}
}
}
}
@enduml |
0fcce5368a1574eb1697e7c605974e045568ae4f | a8e5b8bc028ab50ec3264245ab000671ac38e2c0 | /model.puml | c69885721bb50b8ef49670ec8b8b07574084ba1f | [] | no_license | cikasfm/portfolio-tracker-service | 6780909f184500a835bb640100fb3579dbeeb2ea | 55c59fac7cd1a684d9fb9c0ad5fc60b8d99a4af3 | refs/heads/main | 2023-05-02T19:38:25.459889 | 2021-05-27T00:44:55 | 2021-05-27T00:44:55 | 369,327,460 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 743 | puml | @startuml
'https://plantuml.com/class-diagram
Account *-- Holding
Account *-- Trade
Stock o-- Holding
Stock o-- StockPrice
Stock o-- Trade
Trade -- DirectionEnum
class Account {
accountName : String
accountNumber : String
}
class Stock {
stock : String
description : String
}
class StockPrice {
stock : String
date : Date
price : BigDecimal
increaseAlertSent : boolean
decreaseAlertSent : boolean
}
class Holding {
accountNumber : String
stock : String
avgPrice : BigDecimal
quantity : BigDecimal
}
class Trade {
txId : Long
timestamp : Date
stock : String
direction : DirectionEnum
price : BigDecimal
quantity : BigDecimal
getValue() : BigDecimal
}
enum DirectionEnum {
BUY
SELL
}
@enduml |
154b001468fc71968d04704d45fb218ccc4e9ba8 | 1f9d63f2cb9f17d564c34e67fe10a18c6e764538 | /uml/class/keyple_2_0_class_utils_api.puml | 01741c6e6a409b0d4ee7437848729b934064f10e | [] | no_license | jeanpierrefortune/keyple_2_0 | d07861c0c7792a1cf3dce705fef3565b53cf01cb | 6716a69547fcfa797986a2b02ed904bf8f33b9a2 | refs/heads/master | 2023-02-25T16:40:54.126427 | 2021-02-02T16:34:21 | 2021-02-02T16:34:21 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,416 | puml | @startuml
title
Keyple 2.0 - keyple-utils - 2.0.0 (22/01/2021)
end title
' == THEME ==
'Couleurs issues de : https://htmlcolorcodes.com/fr/tableau-de-couleur/tableau-de-couleur-design-plat/
!define C_GREY1 F8F9F9
!define C_GREY2 F2F3F4
!define C_GREY3 E5E7E9
!define C_GREY4 D7DBDD
!define C_GREY5 CACFD2
!define C_GREY6 BDC3C7
!define C_LINK 3498DB
!define C_USE 27AE60
skinparam Shadowing false
skinparam ClassFontStyle italic
skinparam ClassBorderColor #D4AC0D
skinparam stereotypeABorderColor #A9DCDF
skinparam stereotypeIBorderColor #B4A7E5
skinparam stereotypeCBorderColor #ADD1B2
skinparam stereotypeEBorderColor #EB93DF
' Red
skinparam ClassBackgroundColor<<red>> #FDEDEC
skinparam ClassBorderColor<<red>> #E74C3C
hide <<red>> stereotype
' Purple
skinparam ClassBackgroundColor<<purple>> #F4ECF7
skinparam ClassBorderColor<<purple>> #8E44AD
hide <<purple>> stereotype
' blue
skinparam ClassBackgroundColor<<blue>> #EBF5FB
skinparam ClassBorderColor<<blue>> #3498DB
hide <<blue>> stereotype
' Green
skinparam ClassBackgroundColor<<green>> #E9F7EF
skinparam ClassBorderColor<<green>> #27AE60
hide <<green>> stereotype
' Grey
skinparam ClassBackgroundColor<<grey>> #EAECEE
skinparam ClassBorderColor<<grey>> #2C3E50
hide <<grey>> stereotype
' == CONTENT ==
+class RuntimeException {
}
+interface JsonSerializer {
--
+JsonElement serialize (
\tbyte[] data, Type typeOfSrc,
\tJsonSerializationContext context)
}
+interface JsonDeserializer<T> {
--
+T deserialize (
\tJsonElement jsonElement, Type type,
\tJsonDeserializationContext jsonDeserializationContext)
}
+class "**final** Gson" as Gson {
...
}
package "org.eclipse.keyple.utils" as utils {
+class "**final** Assert" as Assert {
--
+{static} Assert getInstance ()
..
+Assert notNull (Object obj, String name)
+Assert notEmpty (String obj, String name)
+Assert notEmpty (List<? extends Object> obj, String name)
+Assert notEmpty (byte[] obj, String name)
+Assert isTrue (Boolean condition, String name)
+Assert greaterOrEqual (Integer number, int minValue, String name)
+Assert isEqual (Integer number, int value, String name)
+Assert isInRange (Integer number, int minValue, int maxValue, String name)
}
+class "**final** ByteArrayUtil" as ByteArrayUtil {
+{static} byte[] fromHex (String hex)
+{static} String toHex (byte[] byteArray)
+{static} int twoBytesToInt (byte[] bytes, int offset)
+{static} int twoBytesSignedToInt (byte[] bytes, int offset)
+{static} int threeBytesToInt (byte[] bytes, int offset)
+{static} int threeBytesSignedToInt (byte[] bytes, int offset)
+{static} int fourBytesToInt (byte[] bytes, int offset)
}
package bertlv {
+class TLV {
--
+TLV (byte[] binary)
..
+boolean parse (Tag tag, int offset)
+int getPosition ()
+byte[] getValue ()
}
+class Tag {
+{static} **final** byte UNIVERSAL
+{static} **final** byte APPLICATION
+{static} **final** byte CONTEXT
+{static} **final** byte PRIVATE
--
+Tag (int tagNumber, byte tagClass, TagType tagType, int tagSize)
+Tag (byte[] binary, int offset)
..
+int getTagNumber ()
+byte getTagClass ()
+TagType getTagType ()
+int getTagSize ()
}
+enum TagType {
PRIMITIVE
CONSTRUCTED
}
}
package json {
+class BodyError {
--
+BodyError (RuntimeException exception)
..
+String getCode ()
+RuntimeException getException ()
}
+class BodyErrorJsonDeserializer implements JsonDeserializer {
+BodyErrorJsonDeserializer ()
}
+class ByteArrayJsonAdapter implements JsonSerializer, JsonDeserializer {
+ByteArrayJsonAdapter ()
}
+class ThrowableJsonSerializer implements JsonSerializer {
+ThrowableJsonSerializer ()
}
+class "**final** KeypleGsonParser" as KeypleGsonParser {
--
+{static} Gson getParser ()
+{static} Gson registerTypeAdapter (
\tClass<?> matchingClass,
\tObject adapter,
\tboolean withSubclasses)
}
}
package protocols {
+enum ContactCardCommonProtocols {
ISO_7816_3
ISO_7816_3_TO
ISO_7816_3_T1
INNOVATRON_HIGH_SPEED_PROTOCOL_SAM
}
+enum ContactlessCardCommonProtocols {
ISO_14443_4
NFC_A_ISO_14443_3A
NFC_B_ISO_14443_3B
NFC_F_JIS_6319_4
NFC_V_ISO_15693
INNOVATRON_B_PRIME_CARD
}
}
}
' Associations
Tag +-- TagType
Tag *-- "1" TagType #C_LINK
BodyError *-up- "1" RuntimeException #C_LINK
KeypleGsonParser *-up- "1" Gson #C_LINK
' == LAYOUT ==
json -[hidden]- protocols
json -[hidden]- ByteArrayUtil
ByteArrayUtil -[hidden]- Assert
protocols -[hidden]- bertlv
' == STYLE ==
package utils #C_GREY1 {}
package bertlv #C_GREY2 {}
package json #C_GREY2 {}
package protocols #C_GREY2 {}
'class PoolLocalServiceServerUtils <<blue>>
@enduml |
b72f23a25c6377ee1978946498d33db4bb738862 | 0c4947dd88f0571925ba65e79fd2ea6c6f35cdda | /src/main/java/cn/strategy/InstantiationStrategy.puml | 09af7cc08d8a9b7b9a560435e2a2b148f0046b94 | [] | no_license | zou2561789/springuml | e31ad444152730d961a37d900951f1a1d3dd9609 | 15a505af77591b3e08a091dda2382940e8e6c48e | refs/heads/master | 2020-05-05T08:10:03.561315 | 2019-06-15T10:36:34 | 2019-06-15T10:36:34 | 179,853,364 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,900 | puml | @startuml
class CglibSubclassingInstantiationStrategy{
-{static,final} PASSTHROUGH
-{static,final} LOOKUP_OVERRIDE
-{static,final} METHOD_REPLACER
Object instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner)
Object instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, @Nullable Constructor<?> ctor, Object... args)
}
class CglibSubclassCreator{
-{static,final} Class<?>[] CALLBACK_TYPES
-{final} RootBeanDefinition beanDefinition
-{final} BeanFactory owner
+ Object instantiate(@Nullable Constructor<?> ctor, Object... args)
- Class<?> createEnhancedSubclass(RootBeanDefinition beanDefinition)
}
class LookupOverrideMethodInterceptor{
Object intercept(Object obj, Method method, Object[] args, MethodProxy mp) throws Throwable
}
class ReplaceOverrideMethodInterceptor{
Object intercept(Object obj, Method method, Object[] args, MethodProxy mp) throws Throwable
}
class CglibIdentitySupport{
-{final} RootBeanDefinition beanDefinition
+ boolean equals(Object other)
+ int hashCode()
}
class SimpleInstantiationStrategy{
-{static,final} ThreadLocal<Method> currentlyInvokedFactoryMethod
+{static} Method getCurrentlyInvokedFactoryMethod()
+ Object instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner)
Object instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner)
+ Object instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, final Constructor<?> ctor, Object... args)
Object instantiateWithMethodInjection(RootBeanDefinition bd, @Nullable String beanName,BeanFactory owner, @Nullable Constructor<?> ctor, Object... args)
+ Object instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner,@Nullable Object factoryBean, final Method factoryMethod, Object... args)
}
interface InstantiationStrategy{
Object instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner) throws BeansException
Object instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) throws BeansException
Object instantiate(RootBeanDefinition bd, @Nullable String beanName, BeanFactory owner, @Nullable Object factoryBean, Method factoryMethod, Object... args) throws BeansException
}
CglibSubclassingInstantiationStrategy --|>SimpleInstantiationStrategy
SimpleInstantiationStrategy --|>InstantiationStrategy
CglibSubclassingInstantiationStrategy <--o CglibSubclassCreator
CglibSubclassCreator <--o Enhancer
CglibSubclassCreator <--o LookupOverrideMethodInterceptor
CglibSubclassCreator <--o ReplaceOverrideMethodInterceptor
LookupOverrideMethodInterceptor --|> CglibIdentitySupport
ReplaceOverrideMethodInterceptor --|> CglibIdentitySupport
@enduml |
cc802390115f93d8656c0df8f9adab105bac07b1 | 740ec837551b09f09677854163ecd30ba6ea3cb7 | /documents/sd/plantuml/application/Modules/WebBrowser/Producers/WebBrowserEventProducer.puml | 6165ea2a732afa8d9e5ac0206ff96ad31b8456b8 | [
"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 | 556 | puml | @startuml
skinparam monochrome true
skinparam ClassAttributeIconSize 0
!startsub default
abstract class "WebBrowserEventProducer<T>" {
+ <<virtual>> Notify(eventJson:System.Text.Json.JsonElement) : void
+ EnqueueFinished() : void
}
abstract class "DefaultEventQueue<T>" {
}
interface "IWebBrowserEventObserver"
enum "EventLabel"
!endsub
"DefaultEventQueue<T>" " <WebBrowserEvent>" <|-- "WebBrowserEventProducer<T>"
IWebBrowserEventObserver <|-- "WebBrowserEventProducer<T>"
"WebBrowserEventProducer<T>" --> "HandledEventLabel" EventLabel
@enduml
|
4fc2294784507fc9c7f27f1b05ee78b30dccec3b | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CartFreezeCartAction.puml | c3548d71f0c5fd40a79d1147d64ccfa256daeb10 | [] | 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 | 406 | 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 CartFreezeCartAction [[CartFreezeCartAction.svg]] extends CartUpdateAction {
action: String
}
interface CartUpdateAction [[CartUpdateAction.svg]] {
action: String
}
@enduml
|
537b61af37dc475d781506677179659462f51138 | 4fceac5ab65719512f05340809dbc90786f0a6aa | /app/src/main/java/com/hzp/hiapp/demo/uml/Retrofit.puml | ee23453c36860771f4a3d754d7b342d756047a48 | [] | no_license | hzp201314/HiApp | 13f150e42136a6d53d11276ed062205398990d06 | fe59da6c12265aefdbd4572224dbce14d4e1a2e3 | refs/heads/main | 2023-05-04T22:42:54.353547 | 2021-05-21T03:44:52 | 2021-05-21T03:44:52 | 287,014,176 | 2 | 4 | null | null | null | null | UTF-8 | PlantUML | false | false | 25,833 | puml | @startuml
'https://plantuml.com/sequence-diagram
autonumber
'1
Retrofit.java -> Retrofit.java: new Retrofit.Builder()...build()
activate Retrofit.java
note left
Retrofit.java
Retrofit retrofit = new Retrofit.Builder()
.baseUrl("https://api.example.com/")
.addConverterFactory(GsonConverterFactory.create())
.build();
//校验传递参数,没有传递给默认
public Retrofit build() {
//必传baseUrl
if (baseUrl == null) {
throw new IllegalStateException("Base URL required.");
}
okhttp3.Call.Factory callFactory = this.callFactory;
if (callFactory == null) {
//默认OkHttpClient
callFactory = new OkHttpClient();
}
//线程切换器,子线程->主线程
Executor callbackExecutor = this.callbackExecutor;
if (callbackExecutor == null) {
callbackExecutor = platform.defaultCallbackExecutor();
}
// Make a defensive copy of the adapters and add the default Call adapter.
List<CallAdapter.Factory> callAdapterFactories = new ArrayList<>(this.callAdapterFactories);
//CallAdapter转换器
callAdapterFactories.addAll(platform.defaultCallAdapterFactories(callbackExecutor));
//通过defaultCallAdapterFactory创建内部类对象CallAdapter,复写adapt方法,将call包装成ExecutorCallbackCall
//当用户调用ExecutorCallbackCall.enqueue()方法就会调用被代理对象的delegate.enqueue()方法。
//执行成功后在回调里面callbackExecutor.execute()完成线程切换,
//最后通过callback.onResponse()方法把结果回调到用户手里
// Make a defensive copy of the converters.
List<Converter.Factory> converterFactories = new ArrayList<>(
1 + this.converterFactories.size() + platform.defaultConverterFactoriesSize());
// Add the built-in converter factory first. This prevents overriding its behavior but also
// ensures correct behavior when using converters that consume all types.
//添加response转换器
//默认转换器BuiltInConverters
converterFactories.add(new BuiltInConverters());
converterFactories.addAll(this.converterFactories);
converterFactories.addAll(platform.defaultConverterFactories());
//callFactory,callAdapter转换器,responseConverter转换器初始化完成后,创建Retrofit对象
return new Retrofit(callFactory, baseUrl, unmodifiableList(converterFactories),
unmodifiableList(callAdapterFactories), callbackExecutor, validateEagerly);
}
end note
'2
Retrofit.java -> Platform.java: callbackExecutor = platform.defaultCallbackExecutor();
activate Platform.java
note right
Platform.java
class Platform {
private static final Platform PLATFORM = findPlatform();
static Platform get() {
return PLATFORM;
}
private static Platform findPlatform() {
try {
//加载android.os.Build类,存在则在android环境,否则就在Java环境
Class.forName("android.os.Build");
if (Build.VERSION.SDK_INT != 0) {
return new Android();
}
} catch (ClassNotFoundException ignored) {
}
return new Platform(true);
}
}
end note
'3
Platform.java -> Platform.java: new Android().defaultCallbackExecutor()
activate Platform.java
note left
static final class Android extends Platform {
Android() {
super(Build.VERSION.SDK_INT >= 24);
}
@Override public Executor defaultCallbackExecutor() {
return new MainThreadExecutor();
}
static final class MainThreadExecutor implements Executor {
private final Handler handler = new Handler(Looper.getMainLooper());
@Override public void execute(Runnable r) {
handler.post(r);
}
}
}
end note
'4
Platform.java --> Retrofit.java
deactivate Platform.java
deactivate Platform.java
'5
Retrofit.java -> Platform.java: platform.defaultCallAdapterFactories(callbackExecutor)
activate Platform.java
note right
List<? extends CallAdapter.Factory> defaultCallAdapterFactories(@Nullable Executor callbackExecutor) {
//默认CallAdapter转换器
DefaultCallAdapterFactory executorFactory = new DefaultCallAdapterFactory(callbackExecutor);
return hasJava8Types
? asList(CompletableFutureCallAdapterFactory.INSTANCE, executorFactory)
: singletonList(executorFactory);
}
end note
'6
Platform.java -> DefaultCallAdapterFactory.java: new DefaultCallAdapterFactory(callbackExecutor))
activate DefaultCallAdapterFactory.java
note right
final class DefaultCallAdapterFactory extends CallAdapter.Factory {
//复写get方法
@Override public @Nullable CallAdapter<?, ?> get(
Type returnType, Annotation[] annotations, Retrofit retrofit) {
...
//返回CallAdapter
return new CallAdapter<Object, Call<?>>() {
//response泛型类型
@Override public Type responseType() {
return responseType;
}
//复写adapt转换器方法 将call包装成ExecutorCallbackCall
@Override public Call<Object> adapt(Call<Object> call) {
return executor == null
? call
: new ExecutorCallbackCall<>(executor, call);
}
};
}
)
}
end note
'7
DefaultCallAdapterFactory.java -> DefaultCallAdapterFactory.java: new ExecutorCallbackCall<>(executor, call)
activate DefaultCallAdapterFactory.java
note left
static final class ExecutorCallbackCall<T> implements Call<T> {
final Executor callbackExecutor;
final Call<T> delegate;
ExecutorCallbackCall(Executor callbackExecutor, Call<T> delegate) {
this.callbackExecutor = callbackExecutor;
this.delegate = delegate;
}
//执行enquene()方法
@Override public void enqueue(final Callback<T> callback) {
Objects.requireNonNull(callback, "callback == null");
//调用代理对象enqueue()方法
delegate.enqueue(new Callback<T>() {
@Override public void onResponse(Call<T> call, final Response<T> response) {
//通过callbackExecutor.execute()方法把线程切换到主线程
callbackExecutor.execute(() -> {
if (delegate.isCanceled()) {
// Emulate OkHttp's behavior of throwing/delivering an IOException on cancellation.
callback.onFailure(ExecutorCallbackCall.this, new IOException("Canceled"));
} else {
//通过callback.onResponse()方法把结果回调到用户手里
callback.onResponse(ExecutorCallbackCall.this, response);
}
});
}
@Override public void onFailure(Call<T> call, final Throwable t) {
callbackExecutor.execute(() -> callback.onFailure(ExecutorCallbackCall.this, t));
}
});
}
}
end note
'8
DefaultCallAdapterFactory.java --> Platform.java:
deactivate DefaultCallAdapterFactory.java
deactivate DefaultCallAdapterFactory.java
'9
Platform.java --> Retrofit.java:
deactivate Platform.java
'10
Retrofit.java -> BuiltInConverters.java:new BuiltInConverters()
note right
final class BuiltInConverters extends Converter.Factory {
@Override public @Nullable Converter<ResponseBody, ?> responseBodyConverter(
Type type, Annotation[] annotations, Retrofit retrofit) {
//返回值类型泛型是不是ResponseBody
if (type == ResponseBody.class) {
return Utils.isAnnotationPresent(annotations, Streaming.class)
? StreamingResponseBodyConverter.INSTANCE
: BufferingResponseBodyConverter.INSTANCE;
}
//返回值类型泛型是不是Void
if (type == Void.class) {
return VoidResponseBodyConverter.INSTANCE;
}
if (checkForKotlinUnit) {
try {
//返回值类型泛型是不是Unit
if (type == Unit.class) {
return UnitResponseBodyConverter.INSTANCE;
}
} catch (NoClassDefFoundError ignored) {
checkForKotlinUnit = false;
}
}
return null;
}
}
}
end note
'11
BuiltInConverters.java --> Retrofit.java:
deactivate BuiltInConverters.java
'12
Retrofit.java --> Retrofit.java:new Retrofit()
activate Retrofit.java
note left
//创建Retrofit对象保存这些信息
Retrofit(okhttp3.Call.Factory callFactory, HttpUrl baseUrl,
List<Converter.Factory> converterFactories, List<CallAdapter.Factory> callAdapterFactories,
@Nullable Executor callbackExecutor, boolean validateEagerly) {
this.callFactory = callFactory;
this.baseUrl = baseUrl;
this.converterFactories = converterFactories; // Copy+unmodifiable at call site.
this.callAdapterFactories = callAdapterFactories; // Copy+unmodifiable at call site.
this.callbackExecutor = callbackExecutor;
this.validateEagerly = validateEagerly;
}
end note
'13
Retrofit.java --> Retrofit.java:new Retrofit().create()
activate Retrofit.java
note left
public <T> T create(final Class<T> service) {
//校验service对象是否是接口类型
validateServiceInterface(service);
//把传递进来的service对象用动态代理的方式在运行时拿到代理对象泛型T
return (T) Proxy.newProxyInstance(service.getClassLoader(), new Class<?>[] { service },
new InvocationHandler() {
private final Platform platform = Platform.get();
private final Object[] emptyArgs = new Object[0];
//调用接口里定义的方法
@Override public @Nullable Object invoke(Object proxy, Method method,
@Nullable Object[] args) throws Throwable {
// If the method is a method from Object then defer to normal invocation.
//object内置方法,不用解析直接执行
if (method.getDeclaringClass() == Object.class) {
return method.invoke(this, args);
}
//是否是默认方法
if (platform.isDefaultMethod(method)) {
return platform.invokeDefaultMethod(method, service, proxy, args);
}
//解析方法的注解入参返回值等信息,调用invoke()方法,
//ServiceMethod.invoke()抽象方法,HttpServiceMethod.invoke()实现方法
return loadServiceMethod(method).invoke(args != null ? args : emptyArgs);
}
});
}
}
}
end note
'14
Retrofit.java --> Retrofit.java:loadServiceMethod(method)
activate Retrofit.java
note left
ServiceMethod<?> loadServiceMethod(Method method) {
//查找之前是否解析过
ServiceMethod<?> result = serviceMethodCache.get(method);
if (result != null) return result;
synchronized (serviceMethodCache) {
result = serviceMethodCache.get(method);
if (result == null) {
//解析注解
result = ServiceMethod.parseAnnotations(this, method);
serviceMethodCache.put(method, result);
}
}
return result;
}
end note
'15
Retrofit.java --> ServiceMethod.java:ServiceMethod.parseAnnotations(this, method)
activate ServiceMethod.java
note right
static <T> ServiceMethod<T> parseAnnotations(Retrofit retrofit, Method method) {
//1.解析方法注解并且保存下来,2.根据已经解析出来的方法信息和参数创建request对象
RequestFactory requestFactory = RequestFactory.parseAnnotations(retrofit, method);
//解析方法返回值类型
Type returnType = method.getGenericReturnType();
//确定callAdapter类型
return HttpServiceMethod.parseAnnotations(retrofit, method, requestFactory);
}
end note
'16
ServiceMethod.java -> RequestFactory.java:RequestFactory.parseAnnotations(retrofit, method);
activate RequestFactory.java
note right
static RequestFactory parseAnnotations(Retrofit retrofit, Method method) {
return new Builder(retrofit, method).build();
}
Builder(Retrofit retrofit, Method method) {
this.retrofit = retrofit;
this.method = method;
//方法注解
this.methodAnnotations = method.getAnnotations();
//参数类型
this.parameterTypes = method.getGenericParameterTypes();
//参数注解
this.parameterAnnotationsArray = method.getParameterAnnotations();
}
RequestFactory build() {
//根据构造函数得到的方法注解、参数类型、参数注解去遍历解析一个个注解
for (Annotation annotation : methodAnnotations) {
//解析方法注解
parseMethodAnnotation(annotation);
}
//校验参数
...
//解析参数
int parameterCount = parameterAnnotationsArray.length;
//模板模式:将一个个的参数类型封装为ParameterHandler中
parameterHandlers = new ParameterHandler<?>[parameterCount];
for (int p = 0, lastParameter = parameterCount - 1; p < parameterCount; p++) {
//解析参数:parseParameterAnnotation(p, parameterType, annotations, annotation);
//方法最后一个参数判断是否是suspend修饰协程方法
parameterHandlers[p] =parseParameter(p, parameterTypes[p], parameterAnnotationsArray[p], p == lastParameter);
}
}
end note
'17
RequestFactory.java --> ServiceMethod.java
deactivate RequestFactory.java
'18
ServiceMethod.java -> HttpServiceMethod.java
activate HttpServiceMethod.java
note right
static <ResponseT, ReturnT> HttpServiceMethod<ResponseT, ReturnT> parseAnnotations(
Retrofit retrofit, Method method, RequestFactory requestFactory) {
Annotation[] annotations = method.getAnnotations();
Type adapterType;
if (isKotlinSuspendFunction) {
Type[] parameterTypes = method.getGenericParameterTypes();
//通过suspend修饰的协程方法,需要通过最后一个参数拿到返回值
//suspend test(): String -> Object test(Continuation var1) -> Continuation<in T>
Type responseType = Utils.getParameterLowerBound(0,
(ParameterizedType) parameterTypes[parameterTypes.length - 1]);
if (getRawType(responseType) == Response.class && responseType instanceof ParameterizedType) {
// Unwrap the actual body type from Response<T>.
responseType = Utils.getParameterUpperBound(0, (ParameterizedType) responseType);
continuationWantsResponse = true;
} else {
// TODO figure out if type is nullable or not
// Metadata metadata = method.getDeclaringClass().getAnnotation(Metadata.class)
// Find the entry for method
// Determine if return type is nullable or not
}
//把ResponseType包装成Call对象,才能够发起网络请求
adapterType = new Utils.ParameterizedTypeImpl(null, Call.class, responseType);
annotations = SkipCallbackExecutorImpl.ensurePresent(annotations);
} else {
adapterType = method.getGenericReturnType();
}
//根据Call对象adapterType类型创建CallAdapter适配器,默认DefaultCallAdapter
CallAdapter<ResponseT, ReturnT> callAdapter = createCallAdapter(retrofit, method, adapterType, annotations);
Type responseType = callAdapter.responseType();
//根据responseType返回值类型,创建response转换器,默认转换器BuiltInConverters
Converter<ResponseBody, ResponseT> responseConverter = createResponseConverter(retrofit, method, responseType);
//创建callFactory,默认OkHttpClient
okhttp3.Call.Factory callFactory = retrofit.callFactory;
if (!isKotlinSuspendFunction) {
//普通方法,创建CallAdapted对象
return new CallAdapted<>(requestFactory, callFactory, responseConverter, callAdapter);
} else if (continuationWantsResponse) {
//suspend方法并且返回值是Response<T>类型
//noinspection unchecked Kotlin compiler guarantees ReturnT to be Object.
return (HttpServiceMethod<ResponseT, ReturnT>) new SuspendForResponse<>(requestFactory,
callFactory, responseConverter, (CallAdapter<ResponseT, Call<ResponseT>>) callAdapter);
} else {
//suspend方法并且返回值是JavaBean对象(User,List<User>类型)
//noinspection unchecked Kotlin compiler guarantees ReturnT to be Object.
return (HttpServiceMethod<ResponseT, ReturnT>) new SuspendForBody<>(requestFactory,
callFactory, responseConverter, (CallAdapter<ResponseT, Call<ResponseT>>) callAdapter,
continuationBodyNullable);
}
}
end note
'19
HttpServiceMethod.java -> HttpServiceMethod.java: new CallAdapted<>(requestFactory, callFactory, responseConverter, callAdapter);
activate HttpServiceMethod.java
note left
//创建CallAdapted对象,复写adapt()方法
static final class CallAdapted<ResponseT, ReturnT> extends HttpServiceMethod<ResponseT, ReturnT> {
private final CallAdapter<ResponseT, ReturnT> callAdapter;
CallAdapted(RequestFactory requestFactory, okhttp3.Call.Factory callFactory,
Converter<ResponseBody, ResponseT> responseConverter,
CallAdapter<ResponseT, ReturnT> callAdapter) {
super(requestFactory, callFactory, responseConverter);
this.callAdapter = callAdapter;
}
@Override protected ReturnT adapt(Call<ResponseT> call, Object[] args) {
//CallAdapter.adapt() 接口方法,默认实现 DefaultCallAdapterFactory.java 中匿名内部类中复写adapt()方法
return callAdapter.adapt(call);
}
}
end note
'20
HttpServiceMethod.java -> DefaultCallAdapterFactory.java:DefaultCallAdapterFactory.get()
activate DefaultCallAdapterFactory.java
note right
@Override public @Nullable CallAdapter<?, ?> get(
Type returnType, Annotation[] annotations, Retrofit retrofit) {
return new CallAdapter<Object, Call<?>>() {
@Override public Type responseType() {
return responseType;
}
//复写adapt方法,把Call对象包装成ExecutorCallbackCall对象,
//一但调用ExecutorCallbackCall.enqueue()方法,触发被代理对象的delegate.enqueue()方法
//当网络请求成功之后,通过callbackExecutor.execute()MainHandler去切换线程
//在通过callback把数据回调用户
@Override public Call<Object> adapt(Call<Object> call) {
return executor == null? call: new ExecutorCallbackCall<>(executor, call);
}
};
}
end note
'21
DefaultCallAdapterFactory.java -> DefaultCallAdapterFactory.java
activate DefaultCallAdapterFactory.java
note left
static final class ExecutorCallbackCall<T> implements Call<T> {
//一但调用ExecutorCallbackCall.enqueue()方法,触发被代理对象的delegate.enqueue()方法
//当网络请求成功之后,通过callbackExecutor.execute()MainHandler去切换线程
//在通过callback把数据回调用户
@Override public void enqueue(final Callback<T> callback) {
delegate.enqueue(new Callback<T>() {
@Override public void onResponse(Call<T> call, final Response<T> response) {
callbackExecutor.execute(() -> {
if (delegate.isCanceled()) {
// Emulate OkHttp's behavior of throwing/delivering an IOException on cancellation.
callback.onFailure(ExecutorCallbackCall.this, new IOException("Canceled"));
} else {
callback.onResponse(ExecutorCallbackCall.this, response);
}
});
}
});
}
}
end note
'22
DefaultCallAdapterFactory.java --> HttpServiceMethod.java
deactivate DefaultCallAdapterFactory.java
deactivate DefaultCallAdapterFactory.java
'23
HttpServiceMethod.java --> HttpServiceMethod.java
deactivate HttpServiceMethod.java
'24
HttpServiceMethod.java -> HttpServiceMethod.java: new SuspendForResponse<>(...)
activate HttpServiceMethod.java
note left
static final class SuspendForResponse<ResponseT> extends HttpServiceMethod<ResponseT, Object> {
private final CallAdapter<ResponseT, Call<ResponseT>> callAdapter;
SuspendForResponse(RequestFactory requestFactory, okhttp3.Call.Factory callFactory,
Converter<ResponseBody, ResponseT> responseConverter,
CallAdapter<ResponseT, Call<ResponseT>> callAdapter) {
super(requestFactory, callFactory, responseConverter);
this.callAdapter = callAdapter;
}
//复写adapt方法
@Override protected Object adapt(Call<ResponseT> call, Object[] args) {
//默认DefaultCallAdapter,将call包装成ExecutorCallbackCall
call = callAdapter.adapt(call);
//最后一个入参, Continuation 对象
//noinspection unchecked Checked by reflection inside RequestFactory.
Continuation<Response<ResponseT>> continuation =
(Continuation<Response<ResponseT>>) args[args.length - 1];
// See SuspendForBody for explanation about this try/catch.
try {
//
return KotlinExtensions.awaitResponse(call, continuation);
} catch (Exception e) {
return KotlinExtensions.suspendAndThrow(e, continuation);
}
}
}
end note
'25
HttpServiceMethod.java -> KotlinExtensions.kt: KotlinExtensions.awaitResponse(call, continuation);
activate KotlinExtensions.kt
note right
//返回值是Response<T>
//Call对象的扩展方法
suspend fun <T> Call<T>.awaitResponse(): Response<T> {
//suspendCancellableCoroutine把普通函数变成挂起函数,当调用接口当中的suspend方法时就会触发enqueue()方法
return suspendCancellableCoroutine { continuation ->
continuation.invokeOnCancellation {
cancel()
}
//直接触发enqueue()方法,不需要主动调用
enqueue(object : Callback<T> {
//当enqueue()方法执行完成后continuation.resume(response)方法恢复协程
override fun onResponse(call: Call<T>, response: Response<T>) {
continuation.resume(response)
}
override fun onFailure(call: Call<T>, t: Throwable) {
continuation.resumeWithException(t)
}
})
}
}
end note
'26
KotlinExtensions.java --> HttpServiceMethod.kt:;
deactivate KotlinExtensions.kt
'27
HttpServiceMethod.java --> HttpServiceMethod.java:
deactivate HttpServiceMethod.java
'28
HttpServiceMethod.java -> HttpServiceMethod.java: new SuspendForBody<>(...)
activate HttpServiceMethod.java
note left
static final class SuspendForBody<ResponseT> extends HttpServiceMethod<ResponseT, Object> {
...
//复写adapt方法
@Override protected Object adapt(Call<ResponseT> call, Object[] args) {
//调用callAdapter.adapt()方法,默认DefaultCallAdapter,将call包装成ExecutorCallbackCall
call = callAdapter.adapt(call);
//最后一个入参, Continuation 对象
//noinspection unchecked Checked by reflection inside RequestFactory.
Continuation<ResponseT> continuation = (Continuation<ResponseT>) args[args.length - 1];
try {
//调用await()或者awaitNullable()方法
return isNullable
? KotlinExtensions.awaitNullable(call, continuation)
: KotlinExtensions.await(call, continuation);
} catch (Exception e) {
return KotlinExtensions.suspendAndThrow(e, continuation);
}
}
}
end note
'29
HttpServiceMethod.java -> KotlinExtensions.kt: KotlinExtensions.await(call, continuation);
activate KotlinExtensions.kt
note right
//返回值是任意类型,User、List<User>
//Call对象的扩展方法
suspend fun <T : Any> Call<T>.await(): T {
return suspendCancellableCoroutine { continuation ->
continuation.invokeOnCancellation {
cancel()
}
//执行玩enqueue()方法回调onResponse()方法恢复协程
enqueue(object : Callback<T> {
override fun onResponse(call: Call<T>, response: Response<T>) {
if (response.isSuccessful) {
val body = response.body()
if (body == null) {
continuation.resumeWithException(e)
} else {
continuation.resume(body)
}
} else {
continuation.resumeWithException(HttpException(response))
}
}
override fun onFailure(call: Call<T>, t: Throwable) {
continuation.resumeWithException(t)
}
})
}
}
end note
'30
KotlinExtensions.kt --> HttpServiceMethod.java
deactivate KotlinExtensions.kt
'31
HttpServiceMethod.java --> HttpServiceMethod.java
deactivate HttpServiceMethod.java
'32
HttpServiceMethod.java --> Retrofit.java
deactivate HttpServiceMethod.java
deactivate ServiceMethod.java
deactivate Retrofit.java
'33
Retrofit.java -> HttpServiceMethod.java: loadServiceMethod(method).invoke(args != null ? args : emptyArgs);
activate HttpServiceMethod.java
note right
@Override final @Nullable ReturnT invoke(Object[] args) {
//创建OkHttpCall对象,对OkHttp的Call对象的包装。隔离OkHttp
Call<ResponseT> call = new OkHttpCall<>(requestFactory, args, callFactory, responseConverter);
return adapt(call, args);
}
end note
'34
HttpServiceMethod.java -> HttpServiceMethod.java: adapt(call, args);
activate HttpServiceMethod.java
note left
//抽象方法,默认实现是CallAdapter、SuspendForBody、SuspendForResponse的adapt()方法见18步
//在具体实现类里拿到callAdapter适配器对象去做转换,默认DefaultCallAdapter,
//复写adapt方法,把Call对象包装成ExecutorCallbackCall对象,
//一但调用ExecutorCallbackCall.enqueue()方法,触发被代理对象的delegate.enqueue()方法
//当网络请求成功之后,通过callbackExecutor.execute()MainHandler去切换线程
//在通过callback把数据回调用户
protected abstract @Nullable ReturnT adapt(Call<ResponseT> call, Object[] args);
end note
@enduml |
0b30cc24ea9c7701bdea4f0949fe2c9efc5c3759 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/QuoteDeletedMessage.puml | 04b0ec4d4e9443bc424aba0c5d8d748fd991cab4 | [] | 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 | 1,119 | 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 QuoteDeletedMessage [[QuoteDeletedMessage.svg]] extends Message {
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]]
}
interface Message [[Message.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]]
}
@enduml
|
00699491a34acc29ab3fdc4b1b23c8fc0250d9db | 470e3aac8b627ec99783a4dbf2b8a39e4b97471d | /factory-pattern/abstract-factory-pattern/classdiagram.puml | efebe82349c39da09ff8b9b23f7b2d7286c35790 | [] | no_license | Almaentregua/Head-First-Design-Patterns | b68bee107c14deb30d8d291f271c65a5398deca1 | eb9660e15bdb6a7ffd8aa8b7d81fbaec32209b61 | refs/heads/master | 2023-02-06T11:33:52.449439 | 2020-12-30T20:55:07 | 2020-12-30T20:55:07 | 284,276,498 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 776 | puml | @startuml
class client {}
interface AbstractFactory {
CreateProductA()
CreateProductB()
}
interface AbstractProductA {}
interface AbstractProductB {}
Class ConcreteFactory1 implements AbstractFactory {
AbstractProductA CreateProductA()
AbstractProductB CreateProductB()
}
Class ConcreteFactory2 implements AbstractFactory {
AbstractProductA CreateProductA()
AbstractProductB CreateProductB()
}
class ProductA1 implements AbstractProductA {}
class ProductA2 implements AbstractProductA {}
class ProductB1 implements AbstractProductB {}
class ProductB2 implements AbstractProductB {}
client --> AbstractFactory
ConcreteFactory1 --> ProductA1
ConcreteFactory1 --> ProductB1
ConcreteFactory2 --> ProductA2
ConcreteFactory2 --> ProductB2
@enduml |
01a45af6ef40b4f1f9d5a173327ea5c0115aa312 | 83147b64e04741de0403ef88b6c9aeba85d05361 | /docs/Iteracao3/UC4/UC4_CD_Completo.puml | ab8334d05bbab148058a732ea9cd758840f5cf52 | [] | no_license | antoniodanielbf-isep/ESOFT-2020 | 3af037382ecf70f5b25448765e841a8733cc3968 | a1bcfcbb7951b58afcc9c1f663265091dde3926e | refs/heads/main | 2023-06-04T23:48:29.068810 | 2021-06-20T18:18:38 | 2021-06-20T18:18:38 | 378,711,541 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,009 | puml | @startuml
skinparam classAttributeIconSize 0
class CompetenciaTecnica {
-String codigo
-String descBreve
-String descDetalhada
+CompetenciaTecnica(String cod, String dsBreve, String dsDet, AreaAtividade at)
+void addGrauProficiencia(Integer valor, String designacao)
}
class GrauProficiencia {
-Integer valor
-String designacao
+GrauProficiencia(Integer valor, String designacao)
}
class AreaAtividade {
-String codigo
-String descBreve
-String descDetalhada
}
class Plataforma {
-String designacao
+RegistoAreasAtividade getRegistoAreasAtividade()
+RegistoCT getRegistoCT()
}
class RegistoAreasAtividade {
+List<AreaAtividade> getAreasAtividade()
+AreaAtividade getAreaAtividadeByCod(String atCod)
}
class RegistoCT {
+CompetenciaTecnica novaCompetencia(String cod, String dsBreve, String dsDet, String atCod)
+void registaCompetencia(CompetenciaTecnica ct)
-void validaCompetencia(CompetenciaTecnica ct)
-void addCompetencia(CompetenciaTecnica ct)
}
class EspecificarCompetenciaTecnicaController {
+List<AreaAtividade> getAreasAtividade()
+void novaCompetencia(String cod, String dsBreve, String dsDet, String atCod)
+void addGrauProficiencia(Integer valor, String designacao)
+void registaCompetencia()
}
class EspecificarCompetenciaTecnicaUI {
}
EspecificarCompetenciaTecnicaUI ..> EspecificarCompetenciaTecnicaController
EspecificarCompetenciaTecnicaController ..> Plataforma
EspecificarCompetenciaTecnicaController ..> RegistoAreasAtividade
EspecificarCompetenciaTecnicaController ..> RegistoCT
EspecificarCompetenciaTecnicaController ..> AreaAtividade
EspecificarCompetenciaTecnicaController ..> CompetenciaTecnica
CompetenciaTecnica "*" -> "1" AreaAtividade : referente
CompetenciaTecnica "1" -> "*" GrauProficiencia : aplica
Plataforma "1" --> "1" RegistoAreasAtividade : possui
Plataforma "1" --> "1" RegistoCT : possui
RegistoAreasAtividade "1" --> "*" AreaAtividade : possui
RegistoCT "1" --> "*" CompetenciaTecnica : possui
@enduml
|
46d419f6df153c0c276c0a86027bcbc0465f3023 | 25401ecdc0394dfeed79f6ab59b8339d8c1cc74a | /cardreader.provider.usb.tactivo/doc/plantuml/UTACCRP/TactivoCardChecker.plantuml | 8bc8e1b6d2a7b0c412ebd4298af48a18a53d16ce | [
"Apache-2.0"
] | permissive | gematik/ref-CardReaderProvider-USB-Tactivo-Android | f1f6d544358c5d93963ef889cb6281a059678b60 | e49e01f305cc3f24fe3544fbe9cdb3077cddcb6f | refs/heads/master | 2022-02-07T13:08:30.124094 | 2022-01-07T07:24:20 | 2022-01-07T07:24:20 | 214,091,078 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 591 | plantuml | @startuml
package de.gematik.ti.cardreader.provider.usb.tactivo {
package de.gematik.ti.cardreader.provider.usb.tactivo.control {
class TactivoCardChecker {
{static} - LOG : Logger
- cardReader : ICardReader
- active : boolean
{static} - TIMEOUT : int
- cardEventTransmitter : CardEventTransmitter
- currentCardState : boolean
+ TactivoCardChecker()
+ shutdown()
+ run()
- checkCardStateAndSendEvent()
- isCardPresent()
}
}
}
@enduml
|
543384a4565191a8de20144563358ec760ff7bbc | c0e6dd1199b127d3998172124439585d3cf73f3d | /morsetoy/morsetoy.plantuml | 68e21190526cb6b1df131eeb50b3fba45a6e7795 | [] | no_license | cuileihn/MyApp | b78ed2554c07d727e9428afb880bb1e71115ca10 | 8c17321110ee38cfc1726e30cb20abee640c038c | refs/heads/master | 2022-04-09T12:03:10.904971 | 2020-03-04T01:46:33 | 2020-03-04T01:46:33 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,578 | plantuml | @startuml
title __MORSETOY's Class Diagram__\n
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.UppercaseTransformationMethod {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.ArrayMapForCoding {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.ArrayMapForCodingFactory {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.BuildConfig {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.CoderContext {
}
}
namespace com.example.wxson.morsetoy {
interface com.example.wxson.morsetoy.IArrayMapForCoding {
}
}
namespace com.example.wxson.morsetoy {
interface com.example.wxson.morsetoy.ICoder {
}
}
namespace com.example.wxson.morsetoy {
interface com.example.wxson.morsetoy.IInputWavStreamCache {
}
}
namespace com.example.wxson.morsetoy {
interface com.example.wxson.morsetoy.IAudioFileMaker {
}
}
namespace com.example.wxson.morsetoy {
interface com.example.wxson.morsetoy.IMorseAudioFileMaker {
}
}
namespace com.example.wxson.morsetoy {
interface com.example.wxson.morsetoy.IMorsePlayer {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.InputWavStreamCache {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.MainActivity {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.AudioFileMaker {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.MorseAudioFileMaker {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.MorseCoder {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.MorsePlayer {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.MorsePlayerFactory {
}
}
namespace com.example.wxson.morsetoy {
class com.example.wxson.morsetoy.WavFileHeader {
}
}
com.example.wxson.morsetoy.UppercaseTransformationMethod -up-|> android.text.method.ReplacementTransformationMethod
com.example.wxson.morsetoy.ArrayMapForCoding .up.|> com.example.wxson.morsetoy.IArrayMapForCoding
com.example.wxson.morsetoy.CoderContext o-- com.example.wxson.morsetoy.ICoder : coder
com.example.wxson.morsetoy.InputWavStreamCache .up.|> com.example.wxson.morsetoy.IInputWavStreamCache
com.example.wxson.morsetoy.MainActivity .up.|> pub.devrel.easypermissions.EasyPermissions.PermissionCallbacks
com.example.wxson.morsetoy.MainActivity -up-|> android.support.v7.app.AppCompatActivity
com.example.wxson.morsetoy.AudioFileMaker .up.|> com.example.wxson.morsetoy.IAudioFileMaker
com.example.wxson.morsetoy.MorseAudioFileMaker .up.|> com.example.wxson.morsetoy.IMorseAudioFileMaker
com.example.wxson.morsetoy.MorseAudioFileMaker o-- com.example.wxson.morsetoy.IAudioFileMaker : makeAudioFile
com.example.wxson.morsetoy.MorseCoder .up.|> com.example.wxson.morsetoy.ICoder
com.example.wxson.morsetoy.MorseCoder o-- com.example.wxson.morsetoy.IArrayMapForCoding : arrayMapForCoding
com.example.wxson.morsetoy.MorsePlayer .up.|> com.example.wxson.morsetoy.IMorsePlayer
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
|
154769c19f9225f298e963a0a9c27e92a1da6e84 | 4f78466511a44d3742169e8ecdc312a6e7a0a126 | /sechub-doc/src/docs/asciidoc/diagrams/diagram_target_architecture.plantuml | 3fed446bb4b5a8bf850c55186843d7d59aefb807 | [
"MIT"
] | permissive | jonico/sechub | 670999fb2cc035f26e1611f180a8abdeea33f255 | f74f6a7e64f9ef011592733d034845ef7fe7f369 | refs/heads/develop | 2020-09-18T18:23:45.711783 | 2019-11-22T08:32:03 | 2019-11-22T08:57:08 | 224,164,065 | 0 | 0 | MIT | 2019-11-26T10:26:47 | 2019-11-26T10:26:46 | null | UTF-8 | PlantUML | false | false | 2,468 | plantuml | // SPDX-License-Identifier: MIT
@startuml
abstract class AbstractInstallSetupProductExecutor{
# <I extends InstallSetup> I getInstallSetup()
}
interface ProductExecutor
interface InstallSetup{
+ boolean isAbleToScan(TargetType targetType)
}
interface TargetResolver
class TargetRegistry
class SecHubWebScanConfiguration
class SecHubInfrastuctureScanConfiguration
class Target{
+ getURI()
+ getIP()
+ TargetType getType()
}
class TargetData{
+ TargetType getTargetType()
+ Set<URI> getTargetURIs()
+ Set<InetAddress> getTargetIPs()
}
enum TargetType {
INTERNET
DAIMLER_INTRANET
UNKNOWN
}
ProductExecutor <|-- AbstractInstallSetupProductExecutor
AbstractInstallSetupProductExecutor o-- TargetResolver : uses
AbstractInstallSetupProductExecutor o-- AbstractAdapterConfigBuilder: uses
AbstractInstallSetupProductExecutor o-- Adapter: calls the adapter with created config
AbstractInstallSetupProductExecutor "1" - "1" InstallSetup : implemenation will \nhave this injected
AbstractInstallSetupProductExecutor --> InstallSetup : reads
AbstractInstallSetupProductExecutor *-- TargetRegistry: creates and uses
TargetRegistry "1" *-- "n" Target : contains
TargetRegistry --> TargetData : provides
TargetResolver "creates" --> Target
Target *-- TargetType
Target "1" *-- "0..1" URI
Target "1" *-- "0..1" InetAdress
AbstractInstallSetupProductExecutor --> SecHubConfiguration : reads
SecHubConfiguration *-- SecHubWebScanConfiguration
SecHubConfiguration *-- SecHubInfrastuctureScanConfiguration
SecHubConfiguration *-- SecHubCodeScanConfiguration
SecHubWebScanConfiguration "1" *-- "n" URI
SecHubInfrastuctureScanConfiguration "1" *-- "n" URI
SecHubInfrastuctureScanConfiguration "1" *-- "n" InetAdress
note top of TargetResolver: Resolves information on given IP or URI.\nDetermines also the TargetType.\nSo dedicated installation setup can be used
note bottom of TargetData: Contains information for a \ndedicated TargetType which\ncan be used to call the adapter
note top of AbstractInstallSetupProductExecutor: This abstract implementation is able to automatically call\nadapter for multiple targets with correct setup data.\n\nE.g.a netsparker product executor uses its injected\nNetsparkerInstallationSetup and differs Intranet and \nIntranet by different agentgroups
note top of InstallSetup : The install setup contains the information about \nservers, usernames, passwords etc. for the\ncalling of the adaper
@enduml |
253ff3fef7109bd34c35dfdfa6c1643e3fc5709a | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/empty@0.9.0.puml | a623745561f557cd961f25026801ce218459be85 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | accordproject/cicero-template-library | 737586850933daac2fbff2ff8b2d60dd50526b80 | 35e6c93ba9d9e78d9384c44a78d85ac216d9e9ea | refs/heads/main | 2023-04-27T01:07:05.932361 | 2022-08-26T13:02:59 | 2022-08-26T13:02:59 | 109,224,687 | 77 | 149 | Apache-2.0 | 2023-04-20T21:43:00 | 2017-11-02T06:11:37 | HTML | UTF-8 | PlantUML | false | false | 438 | puml | @startuml
class org.accordproject.empty.EmptyClause << (A,green) >> {
}
org.accordproject.empty.EmptyClause --|> org.accordproject.contract.Clause
class org.accordproject.empty.EmptyRequest << (T,yellow) >> {
}
org.accordproject.empty.EmptyRequest --|> org.accordproject.runtime.Request
class org.accordproject.empty.EmptyResponse << (T,yellow) >> {
}
org.accordproject.empty.EmptyResponse --|> org.accordproject.runtime.Response
@enduml
|
86971aa0dabe2e773e493b79b6a35122db9df551 | 5992899e0dc7e047598bf810d6d66fb171b6b8fa | /src/main/javadoc/resources/fr/kbertet/lattice/io/ImplicationalSystemReaderFactory.iuml | c77a03e1981aae2c593ab9502b06c082c2c099db | [
"CECILL-B"
] | permissive | kbertet/java-lattices | 9e237162ce8330f64769e27284a7f98fa189206f | ddca76f97c41024866e3f3a32b719cb0492c034b | refs/heads/master | 2020-12-03T09:19:43.451861 | 2014-12-12T11:20:45 | 2014-12-12T11:20:45 | 29,913,611 | 1 | 0 | null | 2015-01-27T12:41:58 | 2015-01-27T12:41:58 | null | UTF-8 | PlantUML | false | false | 459 | iuml | package fr.kbertet.lattice.io {
class ImplicationalSystemReaderFactory {
-{static}HashMap<String, ImplicationalSystemReader> readers
+{static}ImplicationalSystemReader register(ImplicationalSystemReader reader, String extension)
+{static}ImplicationalSystemReader unregister(String extension)
+{static}ImplicationalSystemReader get(String extension)
}
ImplicationalSystemReaderFactory o-- ImplicationalSystemReader
}
|
5cdcf168cb61b6775dd0d3a350f83e6bcec53505 | 2c4f2efab569c5d9302f9c00a972298802e61f67 | /Task3_InformationHandling/out/test/Task3_InformationHandling/by/training/task3/reader/reader.plantuml | 6d10566a80fb1f3080c97a6f18882171082e271c | [] | no_license | alialiusefi/EPAM_JavaWebDev_Course | 066ffe0c3b3fcdd5b5a51b2e59e887752b1f1157 | b229167d84b118147d6b255229976b0ff3ec23aa | refs/heads/master | 2022-12-04T15:02:37.944559 | 2019-08-03T08:56:54 | 2019-08-03T08:56:54 | 170,365,647 | 1 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 395 | plantuml | @startuml
title __READER's Class Diagram__\n
package by.training.task3.reader {
class DataReaderTest {
~ expected : String
+ setUp()
+ testReadData()
}
}
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
|
b5a3082053b6a0a4fe8aea7c190fc858c8953c7f | 0c4947dd88f0571925ba65e79fd2ea6c6f35cdda | /src/main/java/cn/tomcat/Digester.puml | 5061f0daa633e413366a4dea60854719ed0b2b8b | [] | no_license | zou2561789/springuml | e31ad444152730d961a37d900951f1a1d3dd9609 | 15a505af77591b3e08a091dda2382940e8e6c48e | refs/heads/master | 2020-05-05T08:10:03.561315 | 2019-06-15T10:36:34 | 2019-06-15T10:36:34 | 179,853,364 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 425 | puml | @startuml
class Rule{
}
note left of Rule
//与service.xml相关的RULE配置
SetNextRule
SetPropertiesRule
ObjectCreateRule
SetAllPropertiesRule
CertificateCreateRule
NamingRuleSet
EngineRuleSet
HostRuleSet
ContextRuleSet
ClusterRuleSet
SetParentClassLoaderRule
SetNextNamingRule
CopyParentClassLoaderRule
LifecycleListenerRule
CallMethodRule
RealmRuleSet
SetContextPropertiesRule
CredentialHandlerRuleSet
end note
@enduml |
7c682ad0285ba57f06a17f3dcc80404f89ebdf6e | df4b8c49d650a6d592a3c7479070cb716317af62 | /Biblioteca.Diagramas/Entidades/Libro.puml | 05f6aebead0b99b7381e8c109129aee7560ac8f3 | [] | no_license | p-cuadros/BiblioCore2019 | be932b65f5c1f40b449cae517c4b770e61bcd4b9 | 94c29c1808f5df63a9c7cf6c3c6b8a79f32fdce4 | refs/heads/master | 2020-05-18T04:23:47.773014 | 2020-02-27T02:33:03 | 2020-02-27T02:33:03 | 184,171,812 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 149 | puml | @startuml
class Libro {
+ IDLibro : int <<get>> <<set>>
+ TituloLibro : string <<get>> <<set>>
+ ISBN : string <<get>> <<set>>
}
@enduml
|
c28bad79a8c6586f1055f3064d47200bd024386d | 2c072d75bf9e3cdbba75a0657c22e0dbadab03ce | /src/main/resources/uml/idea-create-tasks.puml | 15eb9fc4abbad319da6ea3015a17bd45d5e41995 | [] | no_license | hhvitek/spring-file-manipulator | a1ad6d597bf7fb1ccd9837be5df22675dfb06734 | f9081c7c1afc107864ea315e4fa84d3b54875457 | refs/heads/main | 2023-03-09T02:45:53.140392 | 2021-03-11T17:45:04 | 2021-03-11T17:45:04 | 315,313,071 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,151 | puml | @startuml
skinparam titleBorderRoundCorner 15
skinparam titleBorderThickness 2
skinparam titleBorderColor red
skinparam titleBackgroundColor Aqua-CadetBlue
'skinparam genericDisplay old
title Create Task
class TaskController {
-taskService
+create(UrlParametersDTO): TaskEntity
}
note left of TaskController::create
-URL parameters syntactically
validated by Spring.
-Parameters DTO is created by Spring
-Passed to TaskService
end note
interface Job {
+start(): Object
+stop()
}
class TaskService {
-taskRepository: TaskRepository
-taskScheduler: TaskScheduler
+create(UrlParametersDTO): TaskEntity
+isFinished(taskId): boolean
+signalToStop(taskId): void
}
note left of TaskService::create
-Semantic manual validation
-Creating TaskEntity from DTO
-Passed to TaskScheduler
end note
TaskController o-- TaskService
TaskService o-- TaskScheduler
class TaskJob implements Job
class TaskJobCreatorFactory {
+createTaskJobFromTaskEntity(TaskEntity): TaskJob
}
TaskJobCreatorFactory ..> TaskJob : creates
class TaskScheduler {
-taskJobCreatorFactory: TaskJobCreatorFactory
-taskRepository: TaskRepository
-jobService: JobService
+schedule(TaskEntity): void
+signalToStop(taskId): void
}
note left of TaskScheduler::schedule
-Creating TaskEntity from DTO
-Creating TaskJob from TaskEntity
using relevant TaskJobFactory
-Passed to JobScheduler
end note
class JobService {
-jobRepository: JobRepository
-jobScheduler: JobScheduler
+schedule(Job): JobEntity
+signalToStop(jobId): void
}
note left of JobService::schedule
-Creating JobEntity and
storing into database
-Passing both
Job and JobEntity
to JobScheduler
end note
TaskScheduler o-- JobService
class JobScheduler {
-jobRepository: JobRepository
+schedule(JobEntity, Job): void
+signalToStop(jobId): void
}
note left of JobScheduler::schedule
-Schedules execution of Job::start() method
-Gradually stores any Job status changes
(running, finished_ok, finished_error, ...)
end note
JobService o-- JobScheduler
@enduml |
2fbb63e2cd730cd6dfa0a7c5873607252b80306f | c271af336d29df4b23e5383ab342deef2244b1c7 | /company.plantuml | 1394aaaf0249d6d2b7308a42a9a0fc10380fefe9 | [] | no_license | kezzyhko/DE-solver | 7a5e302728ddadae3e36372ece3497933dc09c74 | 1b337109f7a5cc4f2e22608f44f3a1326abfe5a2 | refs/heads/master | 2023-01-07T19:44:15.114563 | 2020-11-12T11:24:55 | 2020-11-12T11:24:55 | 221,816,161 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,391 | plantuml | @startuml
title __DEComputationalPracticum's Class Diagram__\n
namespace com.company {
abstract class com.company.DESolver {
# f : DoubleBinaryOperator
+ DESolver()
+ solve()
{abstract} # getNextApproximation()
}
}
namespace com.company {
class com.company.EulerMethod {
+ EulerMethod()
# getNextApproximation()
}
}
namespace com.company {
class com.company.ExactMethod {
+ ExactMethod()
# getNextApproximation()
}
}
namespace com.company {
class com.company.ImprovedEulerMethod {
+ ImprovedEulerMethod()
# getNextApproximation()
}
}
namespace com.company {
class com.company.JGridGraph {
{static} - GRID_LINES_NUMBER : int
{static} - NOTCH_SIZE : int
{static} - PRECISION : int
- x0 : double
- X : double
- N : int
- h : double
- xAxisName : String
- yAxisName : String
- polylines : Vector<double[]>
- colors : Vector<Color>
- names : Vector<String>
+ JGridGraph()
+ addPolyline()
+ clearAndSetNewGrid()
# paintComponent()
}
}
namespace com.company {
class com.company.Main {
{static} + F : DoubleBinaryOperator
{static} + DEFAULT_x0 : double
{static} + DEFAULT_X : double
{static} + DEFAULT_y0 : double
{static} + DEFAULT_N : int
{static} + PRECISION : int
{static} + window : JFrame
{static} - tablesTabs : JTabbedPane
{static} - solutionsGraph : JGridGraph
{static} - errorsGraph : JGridGraph
{static} - totalErrorGraph : JGridGraph
{static} - graphs : List<SimpleEntry<String, JComponent>>
{static} - graphsTabs : JTabbedPane
{static} - x0Field : JFormattedTextField
{static} - XField : JFormattedTextField
{static} - y0Field : JFormattedTextField
{static} - NField : JSpinner
{static} - startButton : JButton
{static} - fields : List<SimpleEntry<String, JComponent>>
{static} - exactSolverInfo : SolutionDisplayInfo
{static} - numericalSolversInfo : SolutionDisplayInfo[]
{static} + main()
{static} + round()
{static} + getSolution()
{static} - solveAndDisplay()
}
}
namespace com.company {
class com.company.RungeKuttaMethod {
+ RungeKuttaMethod()
# getNextApproximation()
}
}
namespace com.company {
class com.company.SolutionDisplayInfo {
+ solver : DESolver
+ color : Color
+ name : String
+ SolutionDisplayInfo()
}
}
com.company.EulerMethod -up-|> com.company.DESolver
com.company.ExactMethod -up-|> com.company.DESolver
com.company.ImprovedEulerMethod -up-|> com.company.EulerMethod
com.company.JGridGraph -up-|> javax.swing.JPanel
com.company.RungeKuttaMethod -up-|> com.company.DESolver
com.company.SolutionDisplayInfo o-- com.company.DESolver : solver
com.company.Main o-- com.company.SolutionDisplayInfo : info
com.company.Main o-- com.company.JGridGraph : graph
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
|
3d51b4b790b1115bf136023ee69f65ce55c1762e | 328798473e712225d8008f814207eb52c869bbda | /src/main/java/ro/mta/se/lab/lab.plantuml | 57ee618be9a82cf07defe2e58b96b866c2639f9f | [] | no_license | Cosmin98-sys/MeteoMonitor | 44110d58f476e9dbb94da8d511a87b8fd879c67d | 30a6d4d59fc963d5af9361146756e41d39be74ad | refs/heads/master | 2023-02-15T23:24:14.650761 | 2021-01-15T10:54:44 | 2021-01-15T10:54:44 | 327,615,210 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 463 | plantuml | @startuml
title __LAB's Class Diagram__\n
namespace ro.mta.se.lab {
class ro.mta.se.lab.Main {
{static} ~ reader : ReaderInterface
{static} + main()
+ start()
}
}
ro.mta.se.lab.Main -up-|> javafx.application.Application
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
|
15861532ac30a1b861c40b64eeef5719b12f9f3a | 217a154c7d59b7414b95ce860341762d5d4aed78 | /exercise41/docs/ex41pUML.puml | f457f751c1bbce90e0507d255f8b9756070d67ef | [] | no_license | rfisher00/fisher-a04 | 2d919c26d901abca7c25b1587705d33fcc9e9150 | 3aafa2591ab9f3c0be89f814a9ff89def881e32e | refs/heads/main | 2023-09-01T21:26:24.104510 | 2021-10-18T00:40:04 | 2021-10-18T00:40:04 | 418,239,815 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 201 | puml | @startuml
class Solution41 {
'variables
-inputFile: String
-names: List
-inputLine: String
-nameArr: String[]
'methods
+getInput(): List
+makeOutput(): Array
}
@enduml |
b60b3f6b6b269ec59037979dcbc1bbfdfd68bc22 | 86a3a7f68a26bf947a96c34a6b008dc98e48c575 | /lapr2-2020-g041/docs/UC1/UC1_CD.puml | 500739f8db63e09ad118a4f36e7b2cc7b54bcd43 | [
"MIT"
] | permissive | GJordao12/ISEP-LAPR2 | 7f01f7fe4036f17a4a76f0595e80564c2dda7b3c | 0c537d1cf57f627f98e42b6f1b7e100f49ff2d15 | refs/heads/master | 2023-08-17T10:59:19.469307 | 2021-10-02T16:27:19 | 2021-10-02T16:27:19 | 272,283,723 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,162 | puml | @startuml
skinparam classAttributeIconSize 0
class Manager {
-String name
-String email
+Manager(nameM,emailM)
+String getName()
+String getEmail()
}
class Collaborator {
-String name
-String email
+Collaborator(nameC,emailC)
+String getName()
+String getEmail()
}
class Organization {
-String designation
+Organization(designation,nomeM,emailM,nomeC,emailC)
+Manager newManager(nomeM,emailM)
+Collaborator newCollaborator(nameC,emailC)
}
class Platform {
-String designacao
+OrganizationsRegister getOrganizationsRegister()
+ExternalPasswordGeneratorAlgorithm getExternalPasswordGeneratorAlgorithm()
+FacadeAuthorization getFacadeAuthorization()
}
class OrganizationsRegister {
+Organization newOrganization(designation,nomeM,emailM,nomeC,emailC)
+validateOrganization(Organization org)
+registerOrganization(Organization org)
-addOrganization(Organization org)
-registerManagerAsUser(Manager man)
-registerCollaboratorAsUser(Collaborator collab)
-sendEmail(String EmailSender, String EmailReceiver, String Subject, String message)
}
class FacadeAuthorization {
+registersUserWithRole(nameM,emailM,pwd,papel)
+registersUserWithRole(nameC,emailC,pwd,papel)
}
interface ExternalPasswordGeneratorAlgorithm <<interface>>{
+String genaratePassword(String nomeM, String emailM)
+String genaratePassword(String nomeC, String emailC)
}
class RegisterOrganizationController {
+newOrganization(designation,nomeM,emailM,nomeC,emailC)
+registerOrganization()
}
class RegisterOrganizationUI {
}
RegisterOrganizationUI ..> RegisterOrganizationController
RegisterOrganizationController ..> Platform
RegisterOrganizationController ..> OrganizationsRegister
RegisterOrganizationController ..> Organization
Platform "1" -- "1" OrganizationsRegister : has
OrganizationsRegister "1" --> "*" Organization : has registered
OrganizationsRegister ..> Manager
OrganizationsRegister ..> Collaborator
OrganizationsRegister ..> FacadeAuthorization
OrganizationsRegister ..> ExternalPasswordGeneratorAlgorithm
Organization "1" --> "0..1" Manager : has
Organization "1" --> "0..1" Collaborator: has
@enduml
|
36331c60dfcad7f811da2b30bca3bed5d74cd05e | 49ade9e69003fd2175cfbfa0409bde56a291f430 | /docs/setlistbot-c4-class-grateful-dead-provider.puml | 7b72282cfef6c8e08f93169551357ca37b2e7af1 | [] | no_license | cjbanna/setlistbot | f4c15b8ac2b6215678ec55be715b848bece4790d | 06c5ea3439068fc4decf24da03e3ac362ee9b2bd | refs/heads/main | 2023-05-28T21:03:57.578670 | 2023-05-22T06:25:45 | 2023-05-22T06:25:45 | 84,362,983 | 1 | 0 | null | 2023-05-17T03:40:56 | 2017-03-08T20:26:03 | C# | UTF-8 | PlantUML | false | false | 855 | puml | @startuml C4 Code
interface IReplyBuilder {
+string ArtistId
+string BuildReply(Setlist[] setlists)
}
interface ISetlistProvider {
+string ArtistId
+Setlist GetSetlist(DateTime date)
}
package "Setlistbot.Domain.GratefulDead" {
class GratefulDeadRedditReplyBuilder <<IReplyBuilder>> {
+string BuildReply(Setlist[] setlists)
}
GratefulDeadRedditReplyBuilder ..|> IReplyBuilder
class GratefulDeadDiscordReplyBuilder <<IReplyBuilder>> {
+string BuildReply(Setlist[] setlists)
}
GratefulDeadDiscordReplyBuilder ..|> IReplyBuilder
}
package "Setlistbot.Infrastructure.GratefulDead" {
class GratefulDeadInMemorySetlistProvider <<ISetlistProvider>> {
+string ArtistId
+Setlist GetSetlist(DateTime date)
}
GratefulDeadInMemorySetlistProvider ..|> ISetlistProvider
}
|
e776ccdfd7011bc5dc1769b10013da2748e06a65 | bdd433c3af2f10384f0a4fb06a6354b51a70750e | /plantuml/C4/C4-Level4/Base/CoursesController.puml | 8cc0b4d8133e550c668b9826b7059c13b7592e1b | [] | no_license | I4PRJ4/I4PRJ4-plantuml | d6188b60011e5a5f6f3cf7853393cba43996dfbf | 2b528f0a911917d5ee61a6d0051d46ea59282c5a | refs/heads/master | 2023-05-14T13:43:29.403199 | 2021-06-03T10:33:59 | 2021-06-03T10:33:59 | 348,710,373 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 424 | puml | @startuml
hide empty fields
hide empty methods
frame CoursesController{
class CoursesController {
}
database DatabaseContext{
}
CourseRepository <-- CoursesController
DegreeRepository <-- CoursesController
Course <-- CoursesController
Degree --> Course
Degree <-- Course
Tip --> Course
Tip <-- Course
DegreeCourse <-- CoursesController
CourseRepository --> DatabaseContext
DegreeRepository --> DatabaseContext
}
@enduml
|
0307ded40cf85a4208a59ed240ba670dd010e7bf | bb82eddd467ad51ea108f453a315c494ac4a77e1 | /uml/app.puml | fde7a164c2b82a974f813f00b177312548063aaf | [] | no_license | imRielly/donnell-9711-a5 | 790898ba2b9f0b3e8ac9bd0cd280ca24f10cf8a5 | 112aae20cde20f9d996613e7590fd5aea58a91c5 | refs/heads/master | 2023-06-22T01:00:19.375829 | 2021-07-26T03:55:00 | 2021-07-26T03:55:00 | 388,669,049 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,571 | puml | ' UCF COP3330 Summer 2021 Assignment 5 Solution
' Copyright 2021 rielly donnell
@startuml
'https://plantuml.com/class-diagram
App -- AppModel
AppModel -- AppController
AppModel -- Inventory
Inventory -- Item
class App {
root: Parent
scene: Scene
main()
start()
}
class AppController {
appModel: AppModel
fileChooser: FileChooser
tableView: TableView
colName: TableColumn<Item, String>
colSerialNumber: TableColumn<Item, String>
colValue: TableColumn<Item, Double>
lblAddInventoryItem: Label
txtSearch: TextField
txtNewItemName: TextField
txtNewItemSerialNumber: TextField
txtNewItemValue: TextField
btnAdd: Button
btnLoad: Button
btnSave: Button
txtSearch: TextField
btnSearch: Button
btnAddClicked()
btnSearchClicked()
initialize()
loadList()
getListForTable()
validateName()
validateSerialNumber()
duplicateSerialAlert()
validateValue()
deleteRow()
btnLoadClicked()
btnSaveClicked()
}
class AppModel {
inventory: Inventory
getInventory()
setInventory()
getTSV()
getHTML()
getJSON()
loadFile()
loadTSV()
loadHTML()
loadJSON()
}
class Inventory {
items: Set
getItems()
setItems()
addItem()
removeItem()
removeItemBySN()
}
class Item {
name: SimpleStringProperty
serialNumber: SimpleStringProperty
value: SimpleDoubleProperty
getName()
getSerialNumber()
getValue()
setName()
setSerialNumber()
setValue()
}
@enduml |
1cf908c57c3d8ac33bc95c167f24ba626f628586 | 8c3707ead737493dd5a0ffa47b478c0fbce1a4a1 | /Jimenez-app1-design/docs/Application.puml | f1ec35a1f07bca641fde216763a80a5c5b82bb9f | [] | no_license | anto-jmnz/Jimenez-app1-design | 41a768c89dd33ad2ec3bedac41c536a8f164fbc4 | 6f17d93ebb4eaa4effa5450a765ff0f733e3d546 | refs/heads/master | 2023-08-15T18:29:35.209793 | 2021-10-24T21:24:27 | 2021-10-24T21:24:27 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 659 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Application {
+ start()
+ main()
'\ What is necessary to run JavaFX '\
}
class ToDoList{
- Scanner
- ArrayList<String> List
+ addList();
+ removeList();
+ EditTitle();
+ SaveList();
+ Display();
+ Progress();
+ Color();
}
class TableItem{
- String item
- String Description
- String Due Date
- boolean complete
+ getItem();
+ addItem();
+ removeItem();
+ getDescription();
+ editDescription();
+ getDueDate();
+ editDueDate();
+ completion();
}
Application--o TableItem
Application--o ToDoList
@enduml |
67b6f652a7f23ab5f3401679519a0d0f6db13860 | ca6796def41f24f410bcc30a208da57eaf745e76 | /docs/UML/statisticview.iuml | 4818e63f4e378e81fa4b38498f6cbd1122fc810e | [] | no_license | JustKiddingCode/ASGProjekte | 0a55353ddc80c3a4eca29d184c51e683f9d0901b | c0f5ad4f696064ff1356473eb04de5f9e82906cf | refs/heads/master | 2021-01-20T22:28:17.044125 | 2014-12-24T15:04:19 | 2014-12-24T15:04:19 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 28 | iuml | class StatisticView {
}
|
6c8506fdf15b90ab1f746370ae8bbe21eaa45d52 | cc41d9c8bc1c119e9d9b45916380b01d41d7e4ea | /target/classes/target/classes/target/classes/target/classes/src/main/java/uml/Person.puml | 11910d2cbba10598030164a273a99d54c0bf02a2 | [] | no_license | peizhsjtu/DesignPatterns | 679cdbd7a9d3fb97f8e8abe31c79d88067206bdd | 562091dbdc892b3b2218d97f3b64c91cbe2e799a | refs/heads/master | 2023-01-03T20:14:02.124105 | 2020-10-31T05:25:15 | 2020-10-31T05:25:15 | 306,488,745 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 335 | puml | @startuml
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|-- AbstractList
Collection <|-- AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList
class Person {
int id
String name
setName(name:String):void
getName():String
}
@enduml |
a621b556e6c7b897bfce71454cad308b996be5bb | 84eb97bd991f94ffbbdc4f926fec261fa0d7af4e | /comp_im/src/main/java/com/hapi/im/been/been.plantuml | abd1e5f8466bca5c30f7a7cf329568206a2cd018 | [] | no_license | MJLblabla/hapi_living | b60f3a203cbbb3a9988b0e7d75dd5f20e7382363 | d92de4792828fe394403ad966d27f0069da071ae | refs/heads/master | 2023-01-12T10:56:00.457000 | 2020-11-16T06:02:51 | 2020-11-16T06:02:51 | 303,955,095 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 399 | plantuml | @startuml
title __BEEN's Class Diagram__\n
namespace com.pince.im.been {
interface com.pince.im.been.IMsgBean {
{abstract} + getAction()
{abstract} + getTimMsg()
}
}
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
|
ee9ee08d9c51c9d34e7ab33431a11d3b9eef318c | 1fe4423196d5d71d9d68565b98c4b691256aadee | /src/site/markdown/plantuml/tanglements_reduction_noimpl.puml | 7153471105a622f4e18eba66a78d9c9bd1a742f5 | [] | no_license | lennartj/jguru-codestyle | 570708a0a26bd97a95a6d3ffed757dc730239308 | 9bbbf06d74aaed067b5c2db47f3ac02e2c23a895 | refs/heads/master | 2023-07-05T16:41:02.341291 | 2023-06-25T20:53:48 | 2023-06-25T20:53:48 | 124,448,922 | 4 | 0 | null | 2020-10-28T07:33:59 | 2018-03-08T21:15:23 | Kotlin | UTF-8 | PlantUML | false | false | 884 | puml | @startuml
skinparam class {
BackgroundColor<<Impl>> #EEEEFF
BorderColor<<Impl>> black
}
package "4. Run-time Dependencies" {
package "3. Compile-time Dependencies for API usage" #fffff0 {
package "1. API Only Component" {
interface ApiType {
someMethod()
}
}
package "2a. ApiDependencies" {
class SomeDependency
ApiType --* SomeDependency
}
}
package "Implementation Component" {
class "ImplType" <<Impl>>
ApiType <.right.. ImplType : Injected @ runtime
}
package "2b. ImplDependencies" {
class "SomeImplDependency1" <<Impl>>
class "SomeImplDependency2" <<Impl>>
ImplType --* SomeImplDependency1
ImplType --* SomeImplDependency2
}
}
class "Calling Client"
ApiType <..down. "Calling Client"
@enduml |
19237522bcd204a907861d4e6d01458960d6d5c5 | a3ac36ba29af3a70686c4df2a09abd7ab7481410 | /app/src/test/java/com/harisha/smartfarmdairy/smartfarmdairy.plantuml | 63ad87e7ada7871d9f4648e6a14747ca81424af5 | [] | no_license | iamshyambandla/SmartFarmDairy | fee98683955db0665a4b332e25e91252e215e31d | 2a64e809f9382e3b54b6fd2bf69df98f72e8ff4c | refs/heads/master | 2020-05-16T21:00:17.283577 | 2019-05-01T21:16:49 | 2019-05-01T21:16:49 | 183,294,440 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 366 | plantuml | @startuml
title __SMARTFARMDAIRY's Class Diagram__\n
package com.harisha.smartfarmdairy {
class ExampleUnitTest {
+ addition_isCorrect()
}
}
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
|
11ae57ba129fa4e4e7eaa50a2e42ed39a60251e9 | c2b6bfee8da36cc39de688e146ba107b74218b12 | /plantuml/objectmodel/details/assetType.plantuml | 496a8524433fcfad9c63741d30b6516984aa4276 | [
"Apache-2.0"
] | permissive | TOMP-WG/TOMP-API | 02bbd268c6ece21f7a5d28f4e42e1b456233e8e9 | 2aa6ae3d6b355a12a8936ff1069821bb7c89a743 | refs/heads/master | 2023-09-01T16:13:50.445300 | 2023-07-25T12:08:52 | 2023-07-25T12:08:52 | 189,022,994 | 80 | 34 | Apache-2.0 | 2023-08-22T12:36:34 | 2019-05-28T12:21:59 | null | UTF-8 | PlantUML | false | false | 1,966 | plantuml | @startuml generated
class Asset {
+String id
Boolean isReserved
String isReservedFrom
String isReservedTo
Boolean isDisabled
String rentalUrl
String rentalUrlAndroid
String rentalUrlIOS
Number mileage
String licensePlate
}
Asset -- "1..1" AssetProperties : overriddenProperties >
class AssetProperties {
String name
Place location
String fuel
String energyLabel
Number co2PerKm
String brand
String model
Integer buildingYear
Boolean travelAbroad
Boolean airConditioning
Boolean cabrio
String colour
String cargo
String easyAccessibility
Integer gears
String gearbox
String image
Boolean infantSeat
Integer persons
Boolean pets
String propulsion
Boolean smoking
Integer stateOfCharge
Boolean towingHook
Boolean undergroundParking
Boolean winterTires
Integer maxSpeed
Boolean helmetRequired
String other
Integer nrOfDoors
Object meta
AssetAccessMethods[] accessMethods
}
note right of AssetProperties::fuel
NONE
GASOLINE
DIESEL
ELECTRIC
HYBRID_GASOLINE
HYBRID_DIESEL
HYBRID_GAS
HYDROGEN
GAS
BIO_MASS
KEROSINE
OTHER
end note
note right of AssetProperties::energyLabel
A B C D E
end note
note right of AssetProperties::easyAccessibility
LIFT
ESCALATOR
GROUND_LEVEL
SIGHTIMPAIRMENT
HEARINGIMPAIRMENT
WHEELCHAIR
end note
note right of AssetProperties::gearbox
MANUAL
AUTOMATIC
SEMIAUTOMATIC
end note
note right of AssetProperties::propulsion
MUSCLE
ELECTRIC
GASOLINE
DIESEL
HYBRID
LPG
HYDROGEN
end note
AssetProperties -left-{ Requirement : ancillaries >
class Requirement {
String source
+String category
+String number
String type
String memo
Integer variable-number
String applicable-days
}
class AssetType {
+String id
String stationId
Integer nrAvailable
AssetClass assetClass
String assetSubClass
Condition[] conditions
SystemPricingPlan[] applicablePricings
}
AssetType -{ Asset : assets >
AssetType -- "0..1" AssetProperties : sharedProperties >
@enduml
|
1b58fa66aa664be76f0980346fe9503158aaf673 | 2e5280ca3cec603e8715df57a29e383b2380192e | /NewAsteroids.puml | 26962d20ee51ac6859136a10d5c0705c94a0c08b | [] | no_license | AntonyMoes/new-asteroids | 77a9e85dbd576a9e34783dd14d07ab5799d98692 | ee1214e8dbe2bfb33c27c2b7803df57b3d074960 | refs/heads/main | 2023-05-14T04:16:12.339740 | 2021-06-04T08:38:28 | 2021-06-04T08:38:28 | 371,423,406 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 8,138 | puml | @startuml
'https://plantuml.com/class-diagram
skinparam classAttributeIconSize 0
entity DrawableObject
entity Entity
entity Player
entity Enemy
entity Asteroid
entity BigAsteroid
entity Ufo
entity Projectile
entity Bullet
entity LaserRay
entity SpriteRepresentation
entity PolygonRepresentation
entity Bar
entity "Laser Charge"
entity "Game Manager"
entity ScoreText
entity RestartMenu
entity RestartButton
entity StartMenu
entity StartButton
entity FinalScore
entity HUDRoot
entity Camera
entity "Camera Bounds"
class Drawable {
- _selector: DrawingModeSelector
+ void SetDrawingModeSelector(DrawingModeSelector selector)
- void SetDrawingMode(bool isSpriteMode)
- void Awake()
- void OnDestroy()
}
class DrawingModeSelector {
- _drawingModeSetters: Hashset<Action<bool>>
- _isSpriteMode: bool
+ void AddSetter(Action<bool> setter)
+ void RemoveSetter(Action<bool> setter)
- void SwitchMode()
- void Update()
}
class BoxCollider2D {
+ bounds: Bounds
}
abstract class BoundsLeaver {
- void OnCollisionExit2D()
# {abstract} void OnBoundsLeave(Bounds bounds)
}
class BoundsLeaveTeleporter {
# void OnBoundsLeave(Bounds bounds)
}
class BoundsLeaveDestroyer {
# void OnBoundsLeave(Bounds bounds)
}
class CameraBounds {
- _boundsCollider: BoxCollider2D
- camera: Camera
- void Awake()
- void UpdateSize()
}
class GameManager {
- spawner: Spawner
- uiController: UIController
- initialWaveSize: int
- initialWaveCooldown: float
- minimalWaveCooldown: float
- initialUfoCooldown: float
- minimalUfoCooldown: float
- _score: float
+ void StartGame()
- void EndGame()
- void UpdateScore(float value)
- void ResetScore()
- IEnumerator SpawnAsteroids()
- IEnumerator SpawnUfos()
- void Start()
}
'TODO maybe add prefab relations
class Spawner {
- playerPrefab: GameObject
- bigAsteroidPrefabs: GameObject[]
- asteroidPrefabs: GameObject[]
- minAsteroidSpeedup: float
- maxAsteroidSpeedup: float
- minAsteroidsNum: int
- maxAsteroidsNum: int
- ufoPrefabs: GameObject[]
- map: GameObject
- drawingModeSelector: DrawingModeSelector
- screenBounds: BoxCollider2D
- hudRoot: GameObject
- playerSafeZoneSize: float
- _player: GameObject
- _pointsCallback: Action<float>
- GameObject PlayerSpawner()
- Vector3 GetRandomPosition()
- GameObject UfoSpawner()
- GameObject BigAsteroidSpawner()
- GameObject AsteroidSpawner(GameObject bigAsteroid)
- GameObject EnemySpawner(Func<GameObject> spawner)
- GameObject Spawn(Func<GameObject> spawner)
+ void SetPointsCallback(Action<float> pointsCallback)
+ void ClearMap()
+ GameObject SpawnPlayer()
+ void SpawnUfo()
+ void SpawnAsteroidWave(int waveSize)
+ SpawnSmallAsteroids(GameObject asteroid)
}
class UIController {
- scoreText: TextMeshProGUI
- restartMenu: GameObject
- finalScoreText: finalScoreText
- mainPlayer: AudioSource
- menuVolumeModifier: float
+ void UpdateScore(float newScore)
+ void SetUIMode(bool isPlayingMode)
}
class CanBeShot {
- points: float
- _generalCallBack: Action<GameObject>
- _pointsCallBack: Action<float>
+ void SetPointsCallback(Action<float> pointsCallback)
+ void SetGeneralCallback(Action<GameObject> generalCallback)
+ void GetShot()
}
abstract class Weapon {
- projectilePrefab: GameObject
- cooldown: float
- shotSound: AudioClip
- float: minPitch
- float: maxPitch
- _collider: Collider2D
- _instantiator: Func<Func<GameObject>, GameObject>
- _isOnCooldown: bool
- _audioSource: AudioSource
+ void Shoot()
+ void SetObjectInstantiator()
# bool CanShoot()
# {abstract} void ShootLogic(GameObject projectile)
- IEnumerator Cooldown()
- void Awake()
}
class Laser {
- laserCharge: BarController
- charges: int
- secondsPerCharge: float
- _laserSize: float
- void Start()
- void Update()
# void ShootLogic(GameObject projectile)
# bool CanShoot()
}
class MachineGun {
# void ShootLogic(GameObject projectile)
}
class LaserAttenuation {
- attenuationTime: float
- _attenuationRate: float
- void Start()
- void FixedUpdate()
}
class Shooter {
- destroyOnHit: bool
- OnTriggerEnter2D(Collider2D other)
}
class PlayerController {
- thrust: float
- rotationSpeed: float
- _destroyCallback: Action
- _directionInput: Vector2
- _instantiator: Func<Func<GameObject>, GameObject>
- _rb: Rigidbody2D
- weapon1: Weapon
- weapon2: Weapon
- void Start()
- void Update()
- void FixedUpdate()
- void OnDestroy()
+ void SetDestroyCallback(Action destroyCallback)
+ void SetObjectInstantiator(Func<Func<GameObject>, GameObject> instantiator)
}
class PlayerFollower {
- thrust: float
- _player: Transform
- _rb: Rigidbody2D
- void Start()
- void FixedUpdate()
+ void SetPlayer(Transform player)
}
class PlayerKiller {
- void OnTriggerEnter2D(Collider2D other)
}
class BarController {
- rootPrefab: GameObject
- barPrefab: GameObject
- _barRoot: GameObject
- _pointer: int
- _root: GameObject
- _sliders: Slider[]
+ float Value:get()
+ void Value:set(float value)
+ void SetSize(int barNumber)
+ void SetHUDRoot(GameObject hudRoot)
- Slider GetSlider(int index)
- void ClearRoot()
- void OnDestroy()
}
class SpeedSetter {
+ minSpeed: float
+ maxSpeed: float
- void Start()
}
DrawableObject <|-- Entity
Entity <|-- Player
Entity <|-- Enemy
Enemy <|-- Asteroid
Enemy <|-- Ufo
Asteroid <|-- BigAsteroid
DrawableObject <|-- Projectile
Projectile <|-- Bullet
Projectile <|-- LaserRay
LaserRay *-- LaserAttenuation
DrawableObject *-- SpriteRepresentation
DrawableObject *-- PolygonRepresentation
DrawableObject *-- Drawable
DrawableObject *-- Collider2D
SpriteRepresentation <-- Drawable
PolygonRepresentation <-- Drawable
Collider2D <-- Drawable : Uses to set up polygon
BoundsLeaver <|-- BoundsLeaveTeleporter
BoundsLeaver <|-- BoundsLeaveDestroyer
Entity *-- BoundsLeaveTeleporter
Bullet *-- BoundsLeaveDestroyer
Asteroid *-- SpeedSetter
Bullet *-- SpeedSetter
DrawingModeSelector o-- Drawable
MapObject *-- DrawableObject
"Camera Bounds" *-- CameraBounds
"Camera Bounds" *-- BoxCollider2D
Camera o-- CameraBounds
BoxCollider2D o-- CameraBounds : Sets up
BoxCollider2D <-- BoundsLeaver : Watches
Enemy *-- CanBeShot
GameManager <-- CanBeShot : Updates score
Enemy *-- PlayerKiller
Shooter *-- Projectile
CanBeShot <-- Shooter : Can destroy
Player <-- PlayerKiller : Can destroy
PlayerController *-- Player
Weapon "2" *-- Player
Weapon <-- PlayerController : Shoots
Weapon <|-- MachineGun
Weapon <|-- Laser
BarController *-- Player
BarController o-- Laser : Stores charge in
BarController o-- "n" Bar
BarController o-- "Laser Charge"
"Laser Charge" *-- "n" Bar
HUDRoot *-- "Laser Charge"
Spawner o-- HUDRoot
Ufo *-- PlayerFollower
Player <-- PlayerFollower : Follows
"Game Manager" *-- GameManager
"Game Manager" *-- Spawner
"Game Manager" *-- UIController
"Game Manager" *-- DrawingModeSelector
"Game Manager" *-- AudioSource
Spawner <-- GameManager : Spawns entities
UIController <-- GameManager : Toggles UI mode
UIController <-- GameManager : Updates score
Spawner <-- BigAsteroid : Spawns asteroids
GameManager <-- Player : Notifies on death
Spawner <-- Weapon : Spawns projectiles
AudioSource o-- UIController
ScoreText o-- UIController
RestartMenu o-- UIController
StartMenu o-- UIController
FinalScore *-- RestartMenu
RestartButton *-- RestartMenu
StartButton *-- StartMenu
FinalScore o-- UIController
GameManager <-- RestartButton : Restarts game
GameManager <-- StartButton : Starts game
Laser o-- LaserRay
MachineGun o-- Bullet
note "GameObjects are marked as entities (E)\nand prefab inheritance is shown as entity inheritance;\nEvery mentioned class inherits from MonoBehaviour\nunless stated otherwise" as N1
@enduml |
b6a0b7eb87acd08d039620852db6278dedf0ec76 | d8c81b9fa31bccbe7ff966b7183241cd6cd4f913 | /ODA-PHR-Datamodel.plantuml | d0e1a3ff140c51f1a423d8e78d37c5fb4fe88684 | [
"CC-BY-4.0"
] | permissive | mauno-ronkko/rfc | 7421e8e161214a50c918904f803254fc0251d249 | 139a67885476b577f657e5ae84e035782988f938 | refs/heads/master | 2020-12-07T17:12:03.828878 | 2017-08-03T10:34:28 | 2017-08-03T10:34:28 | 95,440,042 | 0 | 0 | null | 2017-06-26T11:34:39 | 2017-06-26T11:34:39 | null | UTF-8 | PlantUML | false | false | 2,604 | plantuml | @startuml
'!includeurl https://raw.githubusercontent.com/omahoito/rfc/master/Styles.iuml
set namespaceSeparator ::
class MVP::Person {
Reference<Patient | Practitioner> link.target
}
class MVP::Patient
class MVP::Observation {
Reference<Patient> subject
Reference<QuestionnaireResponse> related
}
class MVP::CarePlan {
Reference<Patient> subject
Reference<CareTeam> careteam
Reference<EpisodeOfCare> context
Reference<Any> support
}
class MVP::Questionnaire
class MVP::QuestionnaireResponse {
Reference<Patient> source
Reference<Questionnaire> questionnaire
}
class MVP::CareTeam {
Reference<Practitioner> participant
Reference<Organization> participant
}
class MVP::Practitioner {
}
class MVP::Communication {
Reference<Any> basedOn
}
class AllergyIntolerance {
Reference<Patient> patient
}
class Immunization {
Reference<Patient> patient
}
class MVP::MedicationStatement {
Reference<Patient> subject
}
class Flag {
Reference<Patient> subject
}
class MVP::ActivityDefinition {
}
class Medication
class MVP::EpisodeOfCare {
status
Reference<Practitioner> careManager
Reference<CareTeam> team
}
class MVP::Goal {
description
}
class MVP::Organization {
}
hide methods
hide circle
MVP::CarePlan "0..*" -- "0..*" MVP::CareTeam : Authorization
MVP::CareTeam "0..*" -- "0..*" MVP::EpisodeOfCare : Team participating to care
MVP::CareTeam "0..*" -- "0..*" MVP::Organization
MVP::EpisodeOfCare "0..*" -- "1" MVP::Practitioner : careManager
MVP::EpisodeOfCare -- MVP::CarePlan : < context
MVP::EpisodeOfCare "*" -- "1" MVP::Patient : patient >
MVP::CarePlan "1" -- "0..*" MVP::Goal
MVP::Person "1"--"0..1" MVP::Patient
MVP::Person "1"--"0..1" MVP::Practitioner
MVP::CarePlan "0..*"--"1" MVP::Patient
MVP::CarePlan "0..*"--"0..*" MVP::QuestionnaireResponse
MVP::CarePlan "0..*"--"0..*" AllergyIntolerance
MVP::CarePlan "0..*"--"0..*" MVP::MedicationStatement
MVP::CarePlan "0..*"--"0..*" Immunization
MVP::CarePlan "0..*"--"0..*" Flag
MVP::CarePlan "0..*"--"0..*" MVP::ActivityDefinition
MVP::CareTeam "0..*"--"0..*" MVP::Practitioner
MVP::Observation "0..*"--"0..*" MVP::CarePlan
MVP::Observation "0..*"--"1" MVP::Patient
MVP::Observation "0..*"--"0..1" MVP::QuestionnaireResponse
MVP::QuestionnaireResponse "0..*"--"1" MVP::Patient
MVP::QuestionnaireResponse "0..*"--"1" MVP::Questionnaire
MVP::Communication "0..*" -- "0..1" MVP::CarePlan
AllergyIntolerance "0..*" -- "1" MVP::Patient
MVP::Patient "1"--"0..*" MVP::MedicationStatement
MVP::Patient "1"--"0..*" Immunization
MVP::Patient "1"--"0..*" Flag
MVP::MedicationStatement "0..*" -- "1" Medication
@enduml
|
d971831c4ac2a8ac7805aafdc33bd9f674687387 | 24cc83f303b034e808e1c775ba8063f9ce01afc4 | /ddd_160306/domain.puml | e14147a35928c72bce915017cd65018fbf8fcd50 | [] | no_license | iamapen/puml | 7110aea5171be5bd8f735fb252c674c8a78a9943 | 9a59dad08faee1b494c2dafefbefb32feacb90b6 | refs/heads/master | 2020-08-26T19:18:18.364585 | 2020-01-05T17:48:55 | 2020-01-05T17:48:55 | 214,042,778 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,765 | puml | @startuml
namespace Domain #fc9 {
namespace Event {
class LoggerDomainEventSubscriber {
+ handle(Event)
+ isSubscribedTo(Event) :bool
}
Ddd.Domain.DomainEventSubscriber <|.. LoggerDomainEventSubscriber
}
namespace Model {
abstract class Authentifier {
+ __construct(UserRepository)
+ authenticate(email, password) :bool
+ {abstract} logout()
+ {abstract} persistAuthentication(User)
+ {abstract} isAlreadyAuthenticated :bool
}
class EmailAddress {
+ __construct(email:string)
+ __toString() :string
}
namespace User {
class User {
+ {static} MAX_LENGTH_EMAIL :int =255
+ {static} MAX_LENGTH_PASSWORD :int =255
+ {static} MAX_WISHES :int =3
# userId :UserId
# email :string
# password :string
# createdOn :DateTime
# updatedOn :DateTime
# wishes :ArrayCollection
+ __construct(UserId, email:string, password:string)
+ setEmail(email:string)
+ changePassword(password:string)
+ id() :UserId
+ email() :string
+ password() :string
+ makeWishNoAggregateVersion(WishId, address:string, content:string) :Wish
+ makeWishAggregateVersion(address:string, content:string)
+ numberOfRemainingWishes() :int
+ grantWishes() :int
+ updateWish(WishId, address:string, content:string)
+ deleteWish(WishId)
}
class UserId {
- id :string
+ __construct(id:string)
+ id() :string
+ equals(UserId) :bool
+ __toString() :string
}
User o- UserId
class UserSecurityToken {
- userId :UserId
- email :string
+ __construct(UserId, email:string)
+ id() :UserId
+ email() :string
}
class FirstWillMadeBadge
interface UserFactory {
+ build(UserId, email:string, password:string) :User
}
User <-- UserFactory : <<creates>>
interface UserRepository {
+ ofId(UserId) :User
+ ofEmail(email:string) :User
+ add(User)
+ nextIdentity() :UserId
}
interface UserService {
+ badgesFrom(UserId)
}
class UserRegistered #cfc {
- userId :UserId
- occurredOn :DateTimeImmutable
+ __construct(UserId)
+ userId() :UserId
}
Ddd.Domain.DomainEvent <|.. UserRegistered
Ddd.Domain.Event.PublishableDomainEvent <|.. UserRegistered
class LoginAttempted #cfc {
- email :string
- occurredOn :DateTimeImmutable
+ __construct(email:string)
+ email() :string
}
Ddd.Domain.DomainEvent <|.. LoginAttempted
class UserAlreadyExistsException
class UserDoesNotExistException
class NoMoreWishesAllowedException
}
namespace Wish {
class Wish {
# wishId : WishId
# userId : UserId
# content : string
# address : string
# createdOn : DateTime
# updatedOn : DateTime
+ __construct(WishId, UserId, address, content)
+ setContent(content:string)
+ setAddress(address:string)
+ id() : WishId
+ userId() : UserId
+ address() : string
+ changeContent(content:string) : self
+ changeAddress(address:string) : self
+ content() : string
+ grant()
}
class WishId {
- id :string
+ __construct(id:string =null)
+ id() :string
+ equals(WishId) :bool
+ __toString() :string
}
Wish o- WishId
interface WishFactory {
makeEmailWish(WishId, UserId, email:string, content:string) : Wish
}
interface WishRepository {
+ ofId(WishId) :Wish
+ ofUserId(UserId) :Wish[]
+ add(Wish)
+ remove(Wish)
+ nextIdentity() :WishId
}
class WishGranted #cfc {
- wishId :WishId
- occurredOn :DateTimeImmutable
+ __construct(WishId)
+ wishId() : WishId
}
Ddd.Domain.DomainEvent <|.. WishGranted
Ddd.Domain.Event.PublishableDomainEvent <|.. WishGranted
class WishWasMade #cfc {
- wishId :WishId
- userId :UserId
- address :string
- content :string
- occurredOn :DateTimeImmutable
+ __construct(WishId, UserId, address:string, content:string)
+ wishId() :WishId
+ userId() :UserId
+ address() :string
+ content() :string
}
Ddd.Domain.DomainEvent <|.. WishWasMade
Ddd.Domain.Event.PublishableDomainEvent <|.. WishWasMade
class WishDoesNotExistException
}
}
Domain.Model.User --[hidden]-- Domain.Model.Wish
}
@enduml |
659dbc53e32f484aea08fdca0ee0ed212bd70e12 | e04b4630836d345c7d3d96b2d5f80ebe2a7f8763 | /anc31819a_gr7/Analyse/CDL/CDL.puml | 8c13c0a62110497af9f4fddc6db665c7508879a9 | [] | no_license | 1204almabikamuzadi/java-desktop | 749c1d92715e187dce82088a14134b776369af5d | ed50d6c1a1737aa6498bd812c21299f409b3eb17 | refs/heads/main | 2022-12-30T01:50:06.434551 | 2020-10-18T08:03:06 | 2020-10-18T08:03:06 | 305,051,343 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,266 | puml | @startuml
left to right direction
class ViewAdd{
+selectPlayer()
+selectPlayerFirstName(player1):String
+selectPkayerFirstName(player):String
+selectScore():string
+validate():ButtonAdd
+createMatch(Match)
}
class ViewDelete{
+deleteMatch(Match[])
+confirmDialog()
+cancelDialog()
}
class ViewUpdate{
setPlayer(player1)
+setPlayer(Player2)
+setScore(Score)
+validate()
}
class View{
}
class Controller{
-Tournoi
+getPlayers(Tournoi)
+deleteMatch(Match[])
}
class Repository{
+savePlayer(Joueur)
+saveMatch(Match)
+saveTournoi()
+update Tournoi()
+updateMatch
}
package Model{
class Player{
-firsName(String)
+getFirstName()
+toString()
+equals()
}
class Match{
+joueur1(player)
+joueur2(player)
-Score(String)
+public Match(constructor)
+getJoueur()
+Boolean matchexist(Match match)
}
class Tournoi{
-tourname(String)
-List<Joueur>inscrits
-List<Match>match
+addplayer(Tournoi)
+addmatch(players,Score)
+getMatch
}
}
ViewAdd -l-o View
ViewUpdate -l-o View
ViewDelete -l-o View
View-r-Controller
Controller -r- Repository
Repository --Model
Player --o Tournoi
Player --> Match
Match --* Tournoi
@enduml |
379001abf8808f4e333d2b4f142d0fd8d72b447c | 968bea9051ac1093c959acde23e0c6480243b813 | /src/main/java/UML/UML.puml | 0c0f1505fba3f5cabc326e8cfcf1f43e5e3efe10 | [
"Apache-2.0"
] | permissive | rayfalling/JavaHomework | 285b23a1c02b412129192808a9d233e311944c2e | cc3a5238a4f0509d95b258306dece2f2cb1cf22d | refs/heads/master | 2021-09-25T19:30:36.891285 | 2018-10-25T04:26:54 | 2018-10-25T04:26:54 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,497 | puml | @startuml
title 医疗系统
skinparam classAttributeIconSize 0
class Hospital {
- code: String
- name: String
- level: HospitalLevel
}
enum HospitalLevel {
OneClass
SecondClass
ThirdClass
Community
}
enum sex {
male
female
}
class Person {
- Id: String
- typeOfCertificate: String
- certificateId: String
- name: String
- sex: sex
- nationality: String
- Birthday: Date
- personnelVisit: PersonnelVisit[]
}
class PersonnelVisit{
- Id: String
- clinicNumnber: String
- medicalCategory: String
- admissionDate: Date
- leaveDate: Date
- hospitalCode: String
- hospitalLevel: HospitalLevel
- leaveReason: String
}
class MedicineInfo {
- drugCode: String
- name: String
- priceLimit: double
- drugDosageUnit: String
- chargeItemLevel: ChargeItemLevel
- hospitalLevel: HospitalLevel
}
enum ChargeItemLevel {
ClassA,
ClassB,
ClassC
}
class Prescription{
- clinicNumber: String
- code: String
- name: String
- itemPrice: double
- count: double
- totalPrice: double
}
class ReimburseServer{
- person: Person
- ReimburseServer()
+ preSettleItem( information: PersonnelVisitInformation, details: ArrayList<PrescriptionDetails>): PreSettleResult
- preSettleMedical(details: PrescriptionDetails)
- preSettleTreatment(details: PrescriptionDetails)
- preSettleService(details: PrescriptionDetails)
+ settle(results: ArrayList<PreSettleResult>): SettleResult
}
class TreatmentInfo{
- Code: String
- Name: String
- chargeItemLevel: ChargeItemLevel
- hospitalLevel: HospitalLevel
}
class PreSettleResult{
- totalExpenses: double
- reimbursementAmount: double
- selfFundedAmount: double
- startStandardAmount: double
- firstRangeAmount: double
- secondRangeAmount: double
- thirdRangeAmount: double
- bClassSelfFeeAmount: double
- specialSelfFeeAmount: double
}
class SettleResult{
- unitName: String
- unitCode: String
- name: String
- totalExpenses: double
- medicalExpenses: double
- treatmentExpenses:double
- serviceExpenses: double
- selfFundedAmount: double
- startStandardAmount: double
}
ReimburseServer ..> PreSettleResult
ReimburseServer ..> SettleResult
ReimburseServer ..> Prescription
ReimburseServer ..> TreatmentInfo
ReimburseServer ..> Person
PersonnelVisit --> Hospital: hospitalCode
PersonnelVisit o-- HospitalLevel : hospitalLevel
Hospital o-- HospitalLevel : level
MedicineInfo o-- HospitalLevel : chargeItemLevel
MedicineInfo o-- ChargeItemLevel : hospitalLevel
Person o-- sex : level
TreatmentInfo o-- HospitalLevel : chargeItemLevel
@enduml |
dfe16ec41ab56631e5bc4b664100cfa57aad28cd | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/Utils/TestRunCallbackListener.puml | 8a9842625458b1a8f47e2f37af324eb2513ea3f6 | [] | 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 | 322 | puml | @startuml
class TestRunCallbackListener {
+ RunStarted(testsToRun:ITest) : void
+ RunFinished(testResults:ITestResult) : void
+ TestStarted(test:ITest) : void
+ TestFinished(result:ITestResult) : void
}
ScriptableObject <|-- TestRunCallbackListener
ITestRunnerListener <|-- TestRunCallbackListener
@enduml
|
843f398c65f1d6b74522142fcfc096a273f87a85 | 41e335a2ded65f95ece1c413fe9d465df1d198b4 | /lib/DevOther/src/main/java/dev/other/retrofit/subscriber/subscriber.plantuml | 96e42edf903c7059dd2560a88ffaad4ae3f6f994 | [
"Apache-2.0"
] | permissive | tulensayyj/DevUtils | ea40e897de72b88591cc1f1cea798eb74175eda8 | 3bc39eaf343c811270bc01e223cd37e80db9e04c | refs/heads/master | 2022-11-27T05:08:28.115620 | 2020-07-27T13:24:50 | 2020-07-27T13:24:50 | 281,569,859 | 0 | 0 | Apache-2.0 | 2020-07-22T03:59:24 | 2020-07-22T03:59:23 | null | UTF-8 | PlantUML | false | false | 1,406 | plantuml | @startuml
title __SUBSCRIBER's Class Diagram__\n
namespace dev.other {
namespace retrofit {
namespace subscriber {
abstract class dev.other.retrofit.subscriber.BaseBeanSubscriber {
# TAG : String
+ onComplete()
+ onError()
{abstract} + onErrorResponse()
+ onNext()
{abstract} + onSuccessResponse()
# getErrorMessage()
# onStart()
}
}
}
}
namespace dev.other {
namespace retrofit {
namespace subscriber {
abstract class dev.other.retrofit.subscriber.BaseResponseSubscriber {
# TAG : String
# builder : BaseResponse<T>
+ onComplete()
+ onError()
{abstract} + onErrorResponse()
+ onNext()
{abstract} + onSuccessResponse()
# getErrorMessage()
# isSuccess()
# onStart()
}
}
}
}
dev.other.retrofit.subscriber.BaseBeanSubscriber -up-|> io.reactivex.rxjava3.subscribers.DisposableSubscriber
dev.other.retrofit.subscriber.BaseResponseSubscriber -up-|> io.reactivex.rxjava3.subscribers.DisposableSubscriber
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
|
2c83b7351e89f5e5d44f6ec5d97f9b02103a2d69 | 500453c913537f185bc9df842d24cebb4df0c568 | /gen-form/doc/utils.puml | 7a3643c649ba2396fdaa65cfe72d2155624b6e7e | [
"MIT"
] | permissive | guedel/phptools | f7ef8c8787f7c34db96df42e4ed47fe99c0c1d23 | 65669ddaee9123cd0b8788ea3b312cdc849d4d87 | refs/heads/master | 2021-09-08T14:52:12.622087 | 2021-09-01T19:54:12 | 2021-09-01T19:55:28 | 32,796,831 | 0 | 0 | MIT | 2021-09-01T19:57:00 | 2015-03-24T12:23:18 | PHP | UTF-8 | PlantUML | false | false | 190 | puml | @startuml
namespace utils {
class CodeWriter {
+ indent()
+ unindent()
+ write(string text)
+ writeln(string text)
+ nl()
+ string render()
+ merge(CodeWriter writer)
}
}
@enduml
|
79c7eeb9a5d6c865b5f21d4c0c37081d5f0c1ec6 | 10d153ee925c8511a5a2470cbf3dae3e4aa96ac9 | /Diagramme de classe/L5 - Associations/exercices/l5exercice2/Exercice 2.puml | b917d041816b20f6d36a0447f3e49b313398a8fa | [] | no_license | profesig/exosOO | db703060b96949019a6a7bf6a462b1bd6070d633 | 56ec1d91ea4d4f8c1a6480e3e43d483593878e60 | refs/heads/master | 2016-09-05T17:07:28.191472 | 2014-02-27T16:57:44 | 2014-02-27T16:58:02 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 553 | puml | @startuml
skinparam classAttributeIconSize 0
class Vol {
- nomVol:String
+ Vol(nomVol:String,pilote:Employe,coPilote:Employe)
+ afficherPilotes():void
+ afficherPassagers():void
+ setPassagers(passager[0..*]:Client):void
}
class Employe {
- numeroEmploye:int
- nom:String
+ Employe(numeroEmploye:int, nom:String)
+ getNom():String
+ getNumeroEmploye():int
}
class Client {
- nom:String
+ Client(nom:String)
+ getNom():String
}
Vol "*" -> "1\npilote" Employe
Vol "*" -> "1\nco-pilote" Employe
Vol "*" --> "* passagers" Client
@enduml |
01ffc53857e71b867b4baa83a914cec1eb5afc06 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ShippingMethodChangeTaxCategoryAction.puml | eec8f505f6b2d5793de5cf0fd9fa9fb7cc57778a | [] | 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 | 555 | 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 ShippingMethodChangeTaxCategoryAction [[ShippingMethodChangeTaxCategoryAction.svg]] extends ShippingMethodUpdateAction {
action: String
taxCategory: [[TaxCategoryResourceIdentifier.svg TaxCategoryResourceIdentifier]]
}
interface ShippingMethodUpdateAction [[ShippingMethodUpdateAction.svg]] {
action: String
}
@enduml
|
a0abd1a71c3b8c65a4a9522e1c177bc7128caaba | 277510c06b82f033ec74f5996fac0d0e13127daa | /src/main/java/com/lukire/event/listeners/listeners.plantuml | f247dbe8a4acaabf85706a5bce93cf5fae240912 | [] | no_license | Lukires/school_cannon | c5448379fb5f33900ea31eab0f3643fd50643e83 | 4c82a7221a406c4c6a4c87a68c764136fc968346 | refs/heads/master | 2020-07-13T17:37:34.052637 | 2019-09-22T22:58:25 | 2019-09-22T22:58:25 | 205,124,231 | 3 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,608 | plantuml | @startuml
title __LISTENERS's Class Diagram__\n
namespace com.lukire.event {
namespace listeners {
class com.lukire.event.listeners.ClickListener {
+ onClick()
}
}
}
namespace com.lukire.event {
namespace listeners {
class com.lukire.event.listeners.EntityBlockCollisionListener {
+ onCollision()
}
}
}
namespace com.lukire.event {
namespace listeners {
class com.lukire.event.listeners.KeyListener {
+ onPress()
}
}
}
namespace com.lukire.event {
namespace listeners {
class com.lukire.event.listeners.MouseMoveListener {
+ onMove()
}
}
}
namespace com.lukire.event {
namespace listeners {
class com.lukire.event.listeners.PhysicsListener {
- collidedTiles : ArrayList<Collision>
+ onFrame()
- addCollidedTile()
}
}
}
com.lukire.event.listeners.ClickListener .up.|> com.lukire.event.Listener
com.lukire.event.listeners.EntityBlockCollisionListener .up.|> com.lukire.event.Listener
com.lukire.event.listeners.KeyListener .up.|> com.lukire.event.Listener
com.lukire.event.listeners.KeyListener o-- com.lukire.camera.Camera : camera
com.lukire.event.listeners.MouseMoveListener .up.|> com.lukire.event.Listener
com.lukire.event.listeners.PhysicsListener .up.|> com.lukire.event.Listener
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
|
d499dfb2b1085054d81ccf581b8fe82fd7560f42 | 85223a0947313518366b6a1d862e420c1f657503 | /app/src/test/java/com/shneddy/dietdiary/dietdiary.plantuml | e4c26cbf6f36e02c272ece100ef5078af19253e9 | [] | no_license | SR88/DietDiary | 11a7346a37f0401ad4e1a75e6585147d557781d5 | d8771e1688f864c9a53c80dfef929d0e31145d8d | refs/heads/master | 2020-04-24T17:28:35.443241 | 2019-03-22T05:24:32 | 2019-03-22T05:24:32 | 172,148,663 | 0 | 0 | null | 2019-03-05T14:09:34 | 2019-02-22T23:33:37 | Java | UTF-8 | PlantUML | false | false | 325 | plantuml | @startuml
title __DIETDIARY's Class Diagram__\n
package com.shneddy.dietdiary {
class ExampleUnitTest {
}
}
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
|
2798568c47fc2856eba286f5f359c5dea54e3f75 | 67281736ad0eaecef5a0b546b0423bc8b1ec53d4 | /DesignPattern/src/main/java/alliswell/pattern/behavior/iterator/iterator.puml | ef3a4ae95e3e738c4339916e8ee794ec5c550d6a | [] | no_license | alliswell008/Alliswell | 3e1f6a16d11ffed7c72e340bcdabc8f093ab4928 | 2ecbaffab1aaf3ebd90e7f2f92f6e53fc80122c1 | refs/heads/master | 2022-12-23T14:01:01.706623 | 2021-04-04T14:37:57 | 2021-04-04T14:37:57 | 74,367,659 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 983 | puml | @startuml
title __**迭代器模式**__\n
note as N1
定义:提供一种方法顺序的访问一个聚合对象的各个元素,而又不暴露该对象内部表示
角色:迭代器、集合
理解:把遍历集合的职能从集合本身转移到迭代器对象,不同的迭代器可以执行不同的遍历策略。
适用:1.需要访问组合对象的内容,而又不暴露其内部表示。
2.需要通过多种方式遍历组合对象
3.需要提供一个统一的接口,用来遍历各种类型组合对象。
end note
newpage
class Aggregate {
+ createIterator()
}
class Iterator {
+ first()
+ next()
+ isDone()
+ currentItem()
}
class ConcreteAggregate {
+ createIterator():Iterator
}
class ConcreteIterator {
- aggregate:Aggregate
}
ConcreteAggregate -up-|> Aggregate
ConcreteIterator -up-|> Iterator
ConcreteAggregate ..> ConcreteIterator
ConcreteAggregate <-left- ConcreteIterator
Aggregate <-left- Client
Iterator <-right- Client
@enduml |
f26b46153cbd9b94539a1f79a3cc277a755c0f20 | b5fc7582d0d738b7bbdf2b6b6e96bf1b700b33f4 | /view/spring/tiny-spring-source/puml/step4.puml | e5580ba014589b333fa53a65ef190fa08f82d8ee | [] | 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 | 3,156 | 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);
declaredField.set(bean, propertyValue.getValue());
}
}
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)
}
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
@enduml |
c78887866915ba4687881fa13e537fe55680467a | 2c0edfcd9e6ddf16a88762a018589cbebe6fa8e8 | /CleanSheets/src/main/java/csheets/worklog/n1140364/sprint4/core07.3_extension_class.puml | a394cb5a716f5f7794baa7ccdada92663142ff0a | [] | no_license | ABCurado/University-Projects | 7fb32b588f2c7fbe384ca947d25928b8d702d667 | 6c9475f5ef5604955bc21bb4f8b1d113a344d7ab | refs/heads/master | 2021-01-12T05:25:21.614584 | 2017-01-03T15:29:00 | 2017-01-03T15:29:00 | 77,926,226 | 1 | 3 | null | null | null | null | UTF-8 | PlantUML | false | false | 398 | puml | @startuml doc-files/core07.3_extension_class.png
class SearchReplaceAction {
}
class SearchReplaceMenu
class SearchExtension {
-String NAME;
}
class UISearch
class JMenuItem
SearchExtension -> UISearch : getUIExtension(UIController)
UISearch -> SearchReplaceMenu : getMenu()
SearchReplaceMenu -> JMenuItem : 'items'
JMenuItem o-> SearchReplaceAction : action
@enduml
|
8d7c1c2a917c7c02bb6697c90ca93063eab54599 | 6df8f2e17e6828100a4437b1b470328d7c6aafae | /src/ch08_AbstractFactory/class.puml | 1982d65317c2ec3f499307c3446b484d9de46bc1 | [] | no_license | yinm/java-design-pattern | ea4af99fda49be066a35edb5cee6b5314b5024ae | 98bfa015c189de6d267dfea1ced80dddb0d8f5bb | refs/heads/master | 2020-04-18T16:17:15.822973 | 2019-02-27T01:03:27 | 2019-02-27T01:03:27 | 167,630,531 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,213 | puml | @startuml
package factory {
abstract AbstractProduct1 {
{abstract} executeA()
{abstract} executeB()
}
abstract AbstractProduct2 {
{abstract} doAlpha()
{abstract} doBeta()
}
abstract AbstractProduct3 {
{abstract} performOne()
{abstract} performTwo()
}
abstract AbstractFactory {
{abstract} createProduct1
{abstract} createProduct2
{abstract} createProduct3
}
AbstractFactory -u-> AbstractProduct1 : Creates >
AbstractFactory -u-> AbstractProduct2 : Creates >
AbstractFactory -u-> AbstractProduct3 : Creates >
}
package concretefactory {
class ConcreteProduct1 {
executeA()
executeB()
}
class ConcreteProduct2 {
doAlpha()
doBeta()
}
class ConcreteProduct3 {
performOne()
performTwo()
}
class ConcreteFactory {
concreteProduct1()
concreteProduct2()
concreteProduct3()
}
ConcreteFactory -u-> ConcreteProduct1 : Creates >
ConcreteFactory -u-> ConcreteProduct2 : Creates >
ConcreteFactory -u-> ConcreteProduct3 : Creates >
}
ConcreteProduct1 -l-|> AbstractProduct1
ConcreteProduct2 -l-|> AbstractProduct2
ConcreteProduct3 -l-|> AbstractProduct3
ConcreteFactory -l-|> AbstractFactory
@enduml
|
3adabecda31f6b8486520cabe48291626f65aca9 | 0900d46a947c17fcfcb17328bf1e94b4d5e6bb4d | /src/main/java/ex43/Diagram.puml | d6b418a302edadfce83204929c3e64c2bc81ac77 | [] | no_license | josevalen2001/valencia-cop3330-assignment3 | 5e9d214965ed196250e527a5728b5e63e9180a80 | 64fd979d673853d6d297c7eab959917771f0cd59 | refs/heads/master | 2023-05-30T06:13:09.829784 | 2021-06-18T02:19:41 | 2021-06-18T02:19:41 | 377,353,067 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 242 | puml | @startuml
class app {
+main()
}
class WebsiteGenerator {
+String siteName
+String author
+String path
+String createWebsite()
+String createJSFolder()
+String createCSSFolder()
+String createHTML()
}
app <--o WebsiteGenerator
@enduml |
75c4e6409c56bb8df5e28a3d4ef42362e6136517 | 05c8bd1a709110820fd40a86efed565a75a57377 | /Software-Engineering/System-Design/Design-Patterns/factory-method.puml | 6016cf7942d0ebccaefb2fe9c938728abba2aa59 | [] | no_license | nl253/Notes | d08a05b21d69152a34db7938ea5cf19e292f6663 | d59be8c90ae16edd6d70528941cd5c70d2255c71 | refs/heads/master | 2020-03-19T15:19:08.574580 | 2019-12-29T15:10:45 | 2019-12-29T15:10:45 | 87,872,276 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 349 | puml | @startuml
interface CreatesProduct {
+ Product makeProduct()
}
abstract class Product {
...
}
class OldProduct extends Product {
...
}
class FancyProduct extends Product {
...
}
class NewFactory implements CreatesProduct {
+ makeProduct(): Product
}
class OldFactory implements CreatesProduct {
+ makeProduct(): Product
}
@enduml
|
004fdcbf7c36574dd36d0b98fc13b90acb907c1d | 623f4f89cd2c390659a7f0ddaf22b41bf0e1723f | /doc/uml-file/TreeAPI.puml | 2c46970c69cd79df86fe8887f8be7cb19e68b856 | [] | no_license | lijionghui/asm-module | 6168e843ea65e589539ed5af2d33a79b41f1881b | 1634f5aa9d4dc14c28b2eccc846369536cb77e9b | refs/heads/master | 2023-02-04T11:54:39.929002 | 2020-12-19T02:56:23 | 2020-12-19T02:56:23 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,364 | puml | @startuml
package org.object.web.asm.tree {
class AbstractInsnNode
class AnnotationNode
class ClassNode
class FieldNode
class FieldInsnNode
class FrameNode
class IincInsnNode
class InnerClassNode
class InsnList
class InsnNode
class InvokeDynamicInsnNode
class JumpInsnNode
class LabelNode
class LdcInsnNode
class LineNumberNode
class LocalVariableAnnotationNode
class LocalVariableNode
class LookupSwitchInsnNode
class MethodInsnNode
class MethodNode
class ModuleExportNode
class ModuleNode
class ModuleOpenNode
class ModuleProvideNode
class ModuleRequireNode
class MultiANewArrayInsnNode
class RecordComponentNode
class TableSwitchInsnNode
class TryCatchBlockNode
class TypeAnnotationNode
class TypeInsnNode
class VarInsnNode
}
class ClassNode extends ClassVisitor {
public int version;
public int access;
public String name;
public String signature;
public String superName;
public List<String> interfaces;
public String sourceFile;
public String sourceDebug;
public String outerClass;
public String outerMethod;
public String outerMethodDesc;
public List<AnnotationNode> visibleAnnotations;
public List<AnnotationNode> invisibleAnnotations;
public List<Attribute> attrs;
public List<InnerClassNode> innerClasses;
public List<FieldNode> fields;
public List<MethodNode> methods;
public ClassNode();
public ClassNode(final int api)
}
class FieldNode extends FieldVisitor {
public int access;
public String name;
public String desc;
public String signature;
public Object value;
public FieldNode(int access, String name, String desc, String signature, Object value);
}
class MethodNode extends MethodVisitor {
public int access;
public String name;
public String desc;
public String signature;
public List<String> exceptions;
public List<AnnotationNode> visibleAnnotations;
public List<AnnotationNode> invisibleAnnotations;
public List<Attribute> attrs;
public Object annotationDefault;
public List<AnnotationNode>[] visibleParameterAnnotations;
public List<AnnotationNode>[] invisibleParameterAnnotations;
public InsnList instructions;
public List<TryCatchBlockNode> tryCatchBlocks;
public List<LocalVariableNode> localVariables;
public int maxStack;
public int maxLocals;
}
@enduml |
850107cf2b480784fe56ee43fc11a8d7e27dfdd3 | 1c2afbade580f305b0320101394cc74353b46b1f | /docs/source/diagrams/interfaces.puml | 62806438c1eaea4e729b30986a64659a0ee61858 | [
"MIT"
] | permissive | Breaka84/Spooq | 90ebc064f7f3a830eddc30f6710294f1d3cfb667 | 2a624b3f0e5728725dd98064ed1c7fecb5910921 | refs/heads/master | 2023-07-26T01:32:56.953806 | 2023-02-17T16:12:05 | 2023-02-17T16:12:05 | 249,298,485 | 9 | 1 | MIT | 2023-07-25T21:17:39 | 2020-03-23T00:20:43 | Python | UTF-8 | PlantUML | false | false | 915 | puml | @startuml
skinparam titleFontSize 24
skinparam TitleFontStyle Bold
'title Spooq - Interfaces / API
left to right direction
interface Pipeline {
+execute()
--
+extract()
+transform()
+load()
+set_extractor()
+add_transformers()
+clear_transformers()
+set_loader()
}
interface Extractor {
+extract() -> DataFrame
}
interface Transformer {
+transform(input_df: DataFrame) -> DataFrame
}
interface Loader {
+load(input_df: DataFrame) -> None
}
Pipeline "1" *-- "1" Extractor : contains
Pipeline "1" *-- "1 - *" Transformer : contains
Pipeline "1" *-- "1" Loader : contains
footer
<font color=red>Hint!</font>
Extractors, Transformers & Loaders can also be used directly if special
use cases require additional logic not covered with provided classes!
For example saving to a Hive Table with multiple partition attributes (e.g., dt & type).
endfooter
@enduml
|
8647060e3bdced51de442656ed2c3d007bada929 | 580b0e76d6bae8e9b3740e6fce1bde42daa0821d | /addons/src/uml/dxtUML.puml | a4e240dd57019ae4d55e64f007020da74e812a14 | [] | no_license | qq85609655/datariver | 0eb37abb25f5f57032b49abef3d8c770557a30ca | 0976097a5fc9743a8464c60a929cf1e45ba0deeb | refs/heads/master | 2023-01-09T03:45:23.437990 | 2015-12-13T09:45:00 | 2015-12-13T09:45:00 | 100,900,785 | 0 | 2 | null | 2023-01-02T22:04:51 | 2017-08-21T01:40:26 | Java | UTF-8 | PlantUML | false | false | 479 | puml | @startuml
package DxtDataTypes #Plum {
class GeneralAccInfo {
host : String
port : Int
version : Float
}
class TransInstance {
lastExecuteTime : Long
runTimes : Int
successTimes : Int
failTimes : Int
}
class TransStep {
db : DataContainer
}
TransStep -> DataContainer : db >
DBAccess <|-- GeneralAccInfo
ETLInstance <|-- TransInstance
ETLStep <|-- TransStep
}
@enduml |
9ea2b1a1b7ae2a86b1058f1bf0fbd2e35b3f69c2 | a74e17defcf8faf021a71a0716c5457a110d3322 | /ClassDesign.plantuml | b08249bbaae73e5086a19fc0a69a5672cf1fdb2e | [] | no_license | FearFrog/2DPuzzle | 77d83ea721a33c1b529da963c450f2fd40b22e9e | 53f16346e54f336a8bba5a4b2a982517cc2fcd9b | refs/heads/master | 2020-04-05T11:59:01.984017 | 2018-11-10T13:10:07 | 2018-11-10T13:10:07 | 156,853,251 | 0 | 0 | null | 2018-11-17T14:48:31 | 2018-11-09T11:29:38 | null | UTF-8 | PlantUML | false | false | 812 | plantuml | @startuml
enum SceneState{
+Title
+Stage_One
+Option
+Result
}
class GameManager{
+AudioManager
+SceneManager
+EffectManager
+BoardManager
+Start()
}
class AudioManager{
+PlayBGM()
+PlaySE()
}
class SceneManager{
-SceneState
+ChangeScene(SceneState state)
}
class EffectManager{
}
class BoardManager{
+Start
-CreateBoard(float xOffset,float yOffset)
+FindNullToles()
-ShiftTilesDown()
GameOver()
}
class Pieces{
select()
Deselect()
+OnMouseDown()
+SwapSprite()
-FindMatch()
-ClearMatch()
}
class ScoreCont{
AddScore()
}
GameManager --> AudioManager
GameManager --> SceneManager
GameManager --> EffectManager
GameManager --> BoardManager
BoardManager<-->Pieces
SceneManager <--> SceneState
@enduml |
9a8e03e95fef4b0d704cf553ec2b413ef841a66a | cea7fd40d30d2f7510d0c58bdab70ef624f13568 | /src/main/java/ex46/App.puml | c163bc32b30c8256555a943ddc0f1156ee86c5d5 | [] | no_license | faizatucf/Ahmed-cop3330-assignment3 | 2ee9c12262133b961d727f4c952e6c8a27970bbb | 1afd969fea823ca1319f07b91cede2078bdc256c | refs/heads/main | 2023-08-23T11:24:18.220835 | 2021-10-08T18:23:52 | 2021-10-08T18:23:52 | 415,086,611 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 260 | puml | @startuml
class App {
+output(out:String):void
+makeuniquearray(result:ArrayList<String>):Map<String, Integer>
+outputString(myMap:Map<String, Integer>):ArrayList<String>
+sort(filename:String):ArrayList<String>
+main(String [] args):void
}
@enduml |
5a5311dda40c4e9f1a043f8d248ec99ba8f8ee42 | ca6796def41f24f410bcc30a208da57eaf745e76 | /docs/UML/teacher.iuml | d586a2dd6ae74bddfd891b14de22c0d647d05e03 | [] | no_license | JustKiddingCode/ASGProjekte | 0a55353ddc80c3a4eca29d184c51e683f9d0901b | c0f5ad4f696064ff1356473eb04de5f9e82906cf | refs/heads/master | 2021-01-20T22:28:17.044125 | 2014-12-24T15:04:19 | 2014-12-24T15:04:19 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 34 | iuml | class Teacher {
name : String
}
|
8832daafd4f4ef8014f650586aac3ee0b9821e4a | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.postprocessing@2.3.0/PostProcessing/Editor/Tools/DefineSetter.puml | a0138cf0f91ac7c860d88fa33eaf51615fe08c94 | [] | 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 | 202 | puml | @startuml
class DefineSetter <<sealed>> {
<<const>> k_Define : string = "UNITY_POST_PROCESSING_STACK_V2"
{static} DefineSetter()
{static} IsObsolete(group:BuildTargetGroup) : bool
}
@enduml
|
c9fc5314ec6a7d309df426bd7aaa24ee67ebaafe | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/minilatedeliveryandpenalty@0.4.1.puml | 0ee0e6a67cd07f4e763044777a80378adc24e7f9 | [
"Apache-2.0",
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | accordproject/cicero-template-library | 737586850933daac2fbff2ff8b2d60dd50526b80 | 35e6c93ba9d9e78d9384c44a78d85ac216d9e9ea | refs/heads/main | 2023-04-27T01:07:05.932361 | 2022-08-26T13:02:59 | 2022-08-26T13:02:59 | 109,224,687 | 77 | 149 | Apache-2.0 | 2023-04-20T21:43:00 | 2017-11-02T06:11:37 | HTML | UTF-8 | PlantUML | false | false | 872 | puml | @startuml
class org.accordproject.minilatedeliveryandpenalty.MiniLateDeliveryClause << (A,green) >> {
+ AccordParty buyer
+ AccordParty seller
+ Duration penaltyDuration
+ Double penaltyPercentage
+ Duration maximumDelay
}
org.accordproject.minilatedeliveryandpenalty.MiniLateDeliveryClause --|> org.accordproject.cicero.contract.AccordClause
class org.accordproject.minilatedeliveryandpenalty.LateRequest << (T,yellow) >> {
+ DateTime agreedDelivery
+ DateTime deliveredAt
+ Double goodsValue
}
org.accordproject.minilatedeliveryandpenalty.LateRequest --|> org.accordproject.cicero.runtime.Request
class org.accordproject.minilatedeliveryandpenalty.LateResponse << (T,yellow) >> {
+ Double penalty
+ Boolean buyerMayTerminate
}
org.accordproject.minilatedeliveryandpenalty.LateResponse --|> org.accordproject.cicero.runtime.Response
@enduml
|
63df33c7cebce75083677a2354c23249b7b3bcf3 | 77b62d62f7bb492cb0ba2fe62131338b495f3e52 | /Documents/Shos.Chatter.Server/Controllers/HomeController.puml | 9c5a1416291020f779197014d49534bd14142d82 | [
"MIT"
] | permissive | Fujiwo/Shos.Chatter | 0dc94cda60eab49363b1b04b1e189d014edf5852 | 41a95faba18049f3934b5b4d1268583ee43abc35 | refs/heads/master | 2023-03-17T23:26:10.709285 | 2021-03-11T05:37:09 | 2021-03-11T05:37:09 | 323,569,958 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 104 | puml | @startuml
class HomeController {
+ Index() : IActionResult
}
Controller <|-- HomeController
@enduml
|
eafaae7b8d6b7049cd730e70bd8b6edfd3d9d244 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderEditPreviewSuccess.puml | 12e505c033373b6c0cf7f7c12f3a7aa396d42a98 | [] | 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 | 515 | 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 OrderEditPreviewSuccess [[OrderEditPreviewSuccess.svg]] extends OrderEditResult {
type: String
preview: [[StagedOrder.svg StagedOrder]]
messagePayloads: [[MessagePayload.svg List<MessagePayload>]]
}
interface OrderEditResult [[OrderEditResult.svg]] {
type: String
}
@enduml
|
44f9d10b7c4ff2725f4d73262a22d653820cfdc4 | 85c80e4edaab53b6b98ddeca7948208687cce1e1 | /old-ad-campaign-model.puml | 1cfcb2da313e8257828274fd1777fae248ac385a | [] | no_license | andreasibotta/ad-product-documents | b814be8cee43ad26a1922387160bddaca0acd737 | aa2e6e5f1f087020605ff6c615c9c94dc8f4e978 | refs/heads/master | 2020-05-20T08:46:06.352166 | 2019-06-19T15:39:55 | 2019-06-19T15:39:55 | 185,481,731 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,777 | puml | @startuml
skinparam style strictuml
skinparam linetype ortho
hide empty members
class Client {
+ id: uri
}
class Program {
+ id: uri
}
class Campaign {
+ id: uri
+ segment_targets: integer[]
+ start_date: datetime
}
enum CampaignStatus {
{static} DRAFT
{static} SCHEDULED
{static} CANCELLED
{static} LAUNCHED
{static} STOPPED
{static} COMPLETED
}
Campaign --> "1" CampaignStatus
class Placement {
+ uri: uri
+ position: int
}
abstract class Goal
class EndDateGoal {
+ end_date: datetime
}
class BudgetGoal {
+ budget: MonetaryValue
}`
class ImpressionGoal {
+ impressions: integer
}
Goal <|-- EndDateGoal
Goal <|-- BudgetGoal
Goal <|-- ImpressionGoal
class BillingTrigger {
+ billing_type: BillingType
+ fee: MonetaryValue
+ value_added: boolean
}
Program "0..*" -left- "1..*" Client
Campaign *-- "0..*" BillingTrigger
enum BillingType {
{static} CPM
{static} CPCV
{static} CPUM
{static} FLAT_FEE
{static} SETUP_FEE
}
BillingTrigger --> "1" BillingType
class BillableEvent {
+ event_time: datetime
+ amount: MonetaryAmount
}
enum BillableEventType {
{static} IMPRESSION
{static} CLICK
{static} CAMPAIGN_LAUNCHED
{static} CAMPAIGN_COMPLETE
}
enum Vertical {
{static} CPG
{static} RETAIL
}
Client --> "1" Vertical
BillableEvent --> "1" BillableEventType
abstract class Ad {
+ id: uri
}
class MediaAd {
+ creative: blob
}
note bottom of MediaAd: e.g. Engagements,\nBanners
Ad <|-- MediaAd
class PremiumPlacementAd {
+ sponsored_content: uri
}
note bottom of PremiumPlacementAd: e.g. Sponsored Offers,\nFeatured Retailers
Ad <|-- PremiumPlacementAd
Program *-- "0..*" Campaign
Campaign *-- "0..2" Goal
Campaign "0..*" -- "1..*" Placement
BillingTrigger *--> "0..*" BillableEvent
Campaign --> "1" Ad
@enduml
|
50e4dba002de52ad5b6debed2f4e9df2b7bcda1d | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/AssociateRolePermissionRemovedMessage.puml | 4b1b7c428ee8d90a4741aa5d5903511acf3d604c | [] | 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 | 1,201 | 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 AssociateRolePermissionRemovedMessage [[AssociateRolePermissionRemovedMessage.svg]] extends Message {
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]]
permission: [[Permission.svg Permission]]
}
interface Message [[Message.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]]
}
@enduml
|
8f6fd76c511f4fb55c74862da08e56de04e25b8f | d9209085fa9327d7ed573d7ca0b16bb13b65f706 | /android/StudyOpenGL/doc/model.puml | a8e9fcef68215180a91227d1a45e4503c4363980 | [] | no_license | ITcrazywgy/StudyOpenGL | ecbc4743cdf113c1ed34287834c85ee11e404237 | 00b4a729b85c68eb45a808393cf1432e6a2a16ba | refs/heads/master | 2021-09-14T01:44:18.195148 | 2018-05-07T10:48:03 | 2018-05-07T10:48:03 | 114,229,241 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 294 | puml | @startuml
class Vertex {
// position
Vec3 position;
// normal
Vec3 normal;
// texCoords
Vec2 texCoords;
};
class Mesh{
List<Vertex> vertices;
List<Int> indices;
List<Vec2> textures;
}
class Model{
List<Mesh> meshes;
String directory;
}
@enduml |
2732eb046b8778a3a1c2887d4a60c689d6d6e1d1 | c5fd3794ca3b4befedfac4c54a39021a28d016ae | /designpattern/decorator/decorator_class.puml | 18b1ef5bd41c0a9e880ade9f20627e030d49e9e7 | [] | no_license | mscunds/katas | 828656a22ad1fa56277e50ac73feb8572c30435b | efda49d8d51c0fa786738b3721d7773b6ed8bd85 | refs/heads/master | 2023-05-13T13:13:56.335032 | 2023-04-30T22:26:43 | 2023-04-30T22:26:43 | 124,454,265 | 0 | 0 | null | 2022-10-21T15:57:58 | 2018-03-08T22:11:15 | Java | UTF-8 | PlantUML | false | false | 1,376 | puml | @startuml
'https://plantuml.com/class-diagram
header
Dekorierer-Pattern
endheader
footer
Mark Sudau Consulting & Software
endfooter
together {
interface DataInterface {
+ methode1()
+ methode2()
+ methode3()
}
class DataModel {
+ methode1()
+ methode2()
+ methode3()
}
}
class DataWrapper1 {
- gewrapptesModel: DataInterface
+ methode1()
+ methode2()
+ methode3()
+ eineErweiterung();
}
class DataWrapper2{
- gewrapptesModel: DataInterface
+ methode1()
+ methode2()
+ methode3()
+ eineAndereErweiterung();
}
class Szenario1
note bottom of Szenario1
Benötigt die Daten aus der
Implementierung von DataInterface
plus zusätzlicher Funktion, die
sich aus den Interface daten
ableiten lässt
endnote
class Szenario2
note bottom of Szenario2
Benötigt die Daten aus der
Implementierung von DataInterface
plus zusätzlicher Funktion, die
sich aus den Interface daten
ableiten lässt. Die zusätliche
Funktion ist hier eine andere als
bei Szenario 1.
endnote
DataInterface <|... DataModel
DataInterface <|.. DataWrapper1
DataInterface <|.. DataWrapper2
DataWrapper1 o-- DataInterface : gewrapptesModel
DataWrapper2 o-- DataInterface : gewrapptesModel
Szenario1 -> DataWrapper1
DataWrapper2 <- Szenario2
@enduml
|
cfbf164f6e2a02e83578a40a794ae7f3314d97a3 | bb1c82eddd547ade9b396e7134db0f927c205f51 | /src/main/java/br/com/alg/trufflesapi/jwt/model/model.plantuml | fb3727e63e84531279c9d3f2ffbdfd68b5f1f75d | [] | 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 | 630 | plantuml | @startuml
title __MODEL's Class Diagram__\n
namespace br.com.alg.trufflesapi {
namespace jwt.model {
class br.com.alg.trufflesapi.jwt.model.UserTokenState {
- access_token : String
- expires_in : Long
+ UserTokenState()
+ UserTokenState()
+ getAccess_token()
+ getExpires_in()
+ setAccess_token()
+ setExpires_in()
}
}
}
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
|
0253a780953adcc66d5400929841257ca1797d85 | befe83eaa5884c2e79ccf44f5e912c78953b2d20 | /docs/source/uml/workflow_node_port.puml | 3e2071178c587b24ee8b67c2195033e477270381 | [
"MIT"
] | permissive | CCI-Tools/cate | e2156deaf1acd8862a8b3b377cc834bf01a45752 | c7b914f93544c9c771f6796a605f95a55c542c13 | refs/heads/master | 2023-09-01T04:20:02.237904 | 2023-08-29T10:28:52 | 2023-08-29T10:28:52 | 54,632,786 | 40 | 14 | MIT | 2023-04-19T09:27:27 | 2016-03-24T10:11:06 | Python | UTF-8 | PlantUML | false | false | 259 | puml | @startuml
abstract class Node {
id : str
}
class NodePort {
node: Node
name: str
source: NodePort
value: object
}
Node o--> "0..N" NodePort : inputs
Node o--> "0..N" NodePort : outputs
NodePort --> NodePort
NodePort --> Node
@enduml
|
e1332f9d08e96fdaf60f3e84219ed217d22b0df0 | 4cf5737cadb807568ddac14c8f1ff342a6e6cb0a | /documentation/serviceApi/pm/performance/media/src/performanceJobModel.puml | 93fc3720f2419d5813cd4509fad348e640036405 | [
"Apache-2.0"
] | permissive | MEF-GIT/MEF-LSO-Legato-SDK | b2ed422108f4bbb5d3aff27123d3f31305fd808f | 7f723970592cc5020aaaa0d2ffe30de6a73b3d97 | refs/heads/working-draft | 2023-07-06T06:44:01.113378 | 2023-06-23T14:14:48 | 2023-06-23T14:14:48 | 94,903,642 | 5 | 4 | Apache-2.0 | 2022-05-04T10:22:56 | 2017-06-20T15:00:38 | null | UTF-8 | PlantUML | false | false | 1,047 | puml | @startuml performanceJobModel
class PerformanceJob {
creationDate*: date-time
href: uri
id*: string
lastModifiedDate: date-time
rejectionReason: string
state*: PerformanceJobStateType
}
PerformanceJob_Common <|-- PerformanceJob
enum PerformanceJobStateType {
acknowledged
cancelled
completed
in-progress
pending
rejected
resource-unavailable
scheduled
suspended
}
class PerformanceJob_Common {
buyerJobId: string
consumingApplicationId: string
description: string
producingApplicationId: string
}
class PerformanceJob_Create {
}
PerformanceJob_Common <|-- PerformanceJob_Create
PerformanceJob_Common *-l-> FileTransferData : fileTransferData
PerformanceJob_Common *-->"1" PerformanceProfileRefOrValue : performanceProfile
PerformanceJob_Common *-l-> ScheduleDefinition : scheduleDefinition
PerformanceJob_Common *-->"1" ServicePayloadSpecificAttributes : servicePayloadSpecificAttributes
class ServicePayloadSpecificAttributes {
@type*: string
}
@enduml |
9cda39168917561d1db2f3081b7be8017de49d1d | 47f63fb447cf32f706592da608647274e7fee756 | /design-mode/src/main/java/strategymode/strategy.puml | a3091f602ba8e6cf890ded3ec5f974f21ca7efaa | [] | no_license | vvHhhhh/exercise-design-mode | 529d466054c73d13fec6e9b4459d64248f18d611 | a7d574bf288051c1265b346b4a56af39b5b51382 | refs/heads/master | 2020-05-17T17:45:18.276253 | 2019-05-27T13:30:38 | 2019-05-27T13:30:38 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 475 | puml | @startuml
abstract class Duck{
FlyBehavior flyBehavior
QuackBehavior quackBehavior
eat()
fly()
swim()
quack()
}
class BeiJingDuck
class NanJingDuck
class XiAnDuck
Duck <|-- BeiJingDuck
Duck <|-- NanJingDuck
Duck <|-- XiAnDuck
interface FlyBehavior
interface QuackBehavior
class FlyWithWings
class FlyNothing
FlyBehavior <|-- FlyWithWings
FlyBehavior <|-- FlyNothing
class Quack
class Squeak
QuackBehavior <|-- Quack
QuackBehavior <|-- Squeak
@enduml |
4a85063120cefd6e17f2bd3ca9527bdb295f89c9 | 0e0595b97aa91ffada0fcd46baf3f80428685c66 | /src/main/java/templateMethod/doc/templateMethod.puml | ec79d59859c0fbd8b44c33b0e6f7c5a52e1a4b16 | [
"Zlib"
] | permissive | alarm10086/GoF | a6a47390080075ee3387593843c2bf3d2e40ce50 | 153d458a30bb2da2e79ee7b142353d0323b83330 | refs/heads/master | 2020-03-20T21:20:58.000341 | 2018-07-27T19:12:43 | 2018-07-27T19:12:43 | 137,736,414 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 399 | puml | @startuml
note "模版方法" as N1
AbstractClass <|-- ConcreteClass
abstract class AbstractClass {
==
protected abstract abstractMethod1()
protected abstract abstractMethod2()
protected abstract abstractMethod3()
public templateMethod()
}
class ConcreteClass {
==
protected abstractMethod1()
protected abstractMethod2()
protected abstractMethod3()
}
@enduml |
efd80cbb4fe7effab6b1b61a296ba453a113d44a | 8a479577f1448f384b718de15aa7569409221903 | /blackjack.puml | dd91d4d377cf644d1964a2048e8f954c1c721e3d | [
"MIT"
] | permissive | todoa2c/blackjack-typescript | a8f20663bf7344ba971c7c94dfd12016a00c5047 | 016e15242d8b84a983ff3e77ec8c872a84f0bf9b | refs/heads/master | 2023-01-04T17:53:40.083687 | 2019-11-04T21:42:57 | 2019-11-04T21:42:57 | 131,493,446 | 1 | 0 | MIT | 2022-12-30T19:00:34 | 2018-04-29T12:40:18 | TypeScript | UTF-8 | PlantUML | false | false | 732 | puml | @startuml blackjack
class Main
class Deck {
+Card draw()
}
class Card {
+Mark Mark()
+number number()
}
class Game {
+initialDraw()
+string start()
+string judge()
+turnOf()
-log()
-validateBurst(player)
+PlayerBase player()
+PlayerBase cpu()
}
abstract class PlayerBase {
+Card[] cards()
+{abstract} string name()
+{abstract} boolean judgeNext()
+string draw(deck)
+drawMessage(card)
+number score()
}
class Player extends PlayerBase {
+boolean judgeNext()
+string name()
}
class CPU extends PlayerBase {
+boolean judgeNext()
+string name()
}
Main -> Game : run
Game "1" -- "1" Deck
Game "1" - "2" PlayerBase
Deck "1" o-- "52" Card
@enduml
|
821a9a66905f55bbac3034c39d175c8eed48d888 | b16be9a8f0a3adc1631d1a55c45e1cba9b8746d7 | /src/SGG/Proxy/DynamicProxy/DynamicProxy.puml | 95456dacbb73fbb8853c40416bdc4b1ede90d35d | [] | no_license | yicheny/DesignPattern | 2fb55d6e264be126963b9c3eeef7720f23be01b9 | fb9ff66d1c371ae68d47a7f110e1a5d42a86ff7a | refs/heads/main | 2023-04-14T12:22:35.162357 | 2021-04-28T04:44:29 | 2021-04-28T04:44:29 | 349,940,142 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 311 | puml | @startuml
'https://plantuml.com/class-diagram
Client --> ProxyFactory
Client --> TeacherDao
Interface ITeacherDao{
+ void teach();
}
ITeacherDao <|-- TeacherDao
class TeacherDao{
+ void teach()
}
class ProxyFactory{
- Object target
+ ProxyFactory()
+ Object getProxyInstance()
}
@enduml |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.