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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aff8bb793c0d14ab1e646d27081393b02b604fa5 | 5cf4562f01b174ba235cb3ac5551b247a4c2abcb | /app/src/main/java/com/jxust/tutor/TutorCursorAdapters/TutorCursorAdapters.plantuml | 14554e3c73c58e2d6905e06814b9b1429aa41d25 | [] | no_license | atanuroy911/JXUST_TUTOR_APP | 30c08767b79f141c2903b3a035182f1a3aed3828 | fb440a4f0f5ac57f716a5c829177265155b7c157 | refs/heads/main | 2023-03-03T06:04:36.247741 | 2021-02-03T13:26:52 | 2021-02-03T13:26:52 | 335,628,435 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 624 | plantuml | @startuml
title __TUTORCURSORADAPTERS's Class Diagram__\n
namespace com.jxust.tutor {
namespace TutorCursorAdapters {
class com.jxust.tutor.TutorCursorAdapters.SessionCursorAdapter {
- mContext : Context
+ SessionCursorAdapter()
+ bindView()
+ newView()
}
}
}
com.jxust.tutor.TutorCursorAdapters.SessionCursorAdapter -up-|> android.widget.CursorAdapter
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
|
fed1ccf2cdf64b9b2ba60c102a6e412b53783b55 | c417d80f62ec26bcb06a9619ff9b5c35c54190fe | /demos/src/main/java/com/kco/pattern/facade/demo/外观模式4.puml | 5f4efe7259ad3531984b9eb9160ddc81dd1c5f99 | [] | no_license | kco1989/examples | 370f95d6e599af4551c17a38745cc9cdf2350917 | daa9197c8ddc846615fc9339001a81b48d8b851a | refs/heads/master | 2021-01-20T14:23:56.770073 | 2018-05-25T03:43:19 | 2018-05-25T03:43:19 | 90,605,536 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 376 | puml | @startuml
class Man{
-- 用户 --
}
class AirCleaner{
-- 空气净化器 --
+ on()
+ off()
}
class Light{
-- 灯 --
+ on()
+ off()
}
class AirConditioning{
-- 空调 --
+ on()
+ off()
}
class Television{
-- 电视 --
+ on()
+ off()
}
Man ..> AirCleaner
Man ..> Light
Man ..> AirConditioning
Man ..> Television
@enduml |
7b65e90386793a4667d215aa4eec6aeb8b1df764 | 85592c2f8d87903b27b3b6a1dd1f733231f6585c | /guava-tests/test/com/nanyin/test/design/facade/facade.puml | 55f2741dab469e5ef173e89ce0d98a47cddf3fad | [
"Apache-2.0"
] | permissive | NanYinIU/guava-with-comments | 52aa7248f4eb7f8d7bb8173b0d432de5a327490f | 04f402389aadc903ff4c595049dfb01575d3bd71 | refs/heads/master | 2021-06-27T20:31:52.847594 | 2019-06-28T03:04:02 | 2019-06-28T03:04:02 | 140,093,917 | 0 | 0 | Apache-2.0 | 2020-10-13T09:33:12 | 2018-07-07T15:05:44 | Java | UTF-8 | PlantUML | false | false | 445 | puml | @startuml
interface Services{
+ start():void
+ stop():void
+ restart():void
}
class MysqlService{
+ start():void
+ stop():void
+ restart():void
}
class ApacheService{
+ start():void
+ stop():void
+ restart():void
}
Services <|.. MysqlService
Services <|.. ApacheService
class Facade{
+ List<Services> services
+ Facade()
+ addService():void
+ start():void
+ stop():void
+ restart():void
}
Facade "1"-->"n" Services :has
App --> Facade
@enduml |
bc4f4284efd4bdd9eac277dc1b43fa58e33a6ebe | 48f480c503190d3e7c2196534c9dd9f33dc85e2e | /schemas/rethink-core.puml | 316ded3a71f54d44ee75ea464d232068e93bb23c | [
"Apache-2.0"
] | permissive | reTHINK-project/specs | 0646ca3bdf34b4d0ef35ce54a90f86ec5a78b1d9 | 52d52585bfd8cdc783512862b80228506215b0ae | refs/heads/master | 2022-11-01T17:53:27.814875 | 2019-11-04T11:02:25 | 2019-11-04T11:02:25 | 67,431,416 | 3 | 5 | Apache-2.0 | 2022-10-18T18:51:34 | 2016-09-05T15:21:40 | JavaScript | UTF-8 | PlantUML | false | false | 1,028 | puml | @startuml "../datamodel/Rethink-Core.png"
package RethinkCore <<Rect>> {
class RethinkObject {
}
package SyncDataObject {
}
package GraphConnector <<Rect>> {
}
package CatalogueDataObject <<Rect>> {
}
package RegistryDataObject <<Rect>> {
}
package UserHypertyAccount <<Rect>> {
}
package Identity <<Rect>> {
}
package RethinkType <<Rect>> {
}
package Domain <<Rect>> {
}
}
package Message <<Rect>> {
}
package URL <<Rect>> {
}
package Connection <<Rect>> {
}
package Communication <<Rect>> {
}
package Context <<Rect>> {
}
RethinkObject <|-- Identity
RethinkObject <|-- GraphConnector
RethinkObject <|-- CatalogueDataObject
RethinkObject <|-- RegistryDataObject
RethinkObject <|-- URL
RethinkObject <|-- Message
RethinkObject <|-- SyncDataObject
SyncDataObject <|-- Connection
SyncDataObject <|-- Communication
SyncDataObject <|-- Context
GraphConnector .down.> URL
CatalogueDataObject .down.> URL
RegistryDataObject .down.> URL
Identity .down.> URL
URL <.down. Message
@enduml
|
1a4c172935fd4f854df8185311fba1ed1f1c72da | 8afc3f91c8ee3c9e336e4f4e10458dcb6c937e90 | /vars/src/test/java/com/github/robertbachmann/vars/examples/CompanyStatement.puml | 34ae93ff2377bed7746363f894f18103dcc6022f | [] | no_license | robertbachmann/vars | 384c97364ca5e50c3d7f29309a68f1580c97c8f4 | 9cdfeac7e8ad5e0274d854385ab0c88bc04c7ff7 | refs/heads/master | 2021-01-25T12:31:40.150857 | 2018-05-15T19:48:46 | 2018-05-15T19:48:46 | 123,477,286 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 696 | puml | @startuml
class CompanyStatement {
+ revenue : double
+ expenses : double
+ earnings : double
}
class TaxStatement {
+ companyStatement : CompanyStatement
+ taxRate : double
+ taxes : double
+ earningsAfterTaxes : double
}
CompanyStatement " 1 " <--o " 1 " TaxStatement
note right of CompanyStatement
<b>context CompanyStatement::earnings: double derive:</b>
<i>self.revenue - self.expenses</i>
end note
note right of TaxStatement
<b>context TaxStatement::taxes: double derive:</b>
<i>self.companyStatement.earnings * self.taxRate</i>
<b>context TaxStatement::earningsAfterTaxes: double derive:</b>
<i>self.companyStatement.earnings - self.taxes</i>
end note
@enduml
|
47bbfb800ec56c89d4eae86092369c684bef309a | 8b481d59d147670b6d99b6daef4e4e72b9bca153 | /html/doc/Html.puml | bfa7c62dfa0e4c1282e32ee542c65ef76bf36a37 | [] | no_license | suzuki-hoge/modeling | d74f9f629eab105ba2d01698b505d582625b6ef8 | ebe3f5a38162dafae4fc19badf052ce41e1fd100 | refs/heads/master | 2020-05-27T03:50:18.800007 | 2017-02-26T09:09:55 | 2017-02-26T09:53:40 | 82,522,649 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,396 | puml | @startuml
package domain {
package attribute {
class Id {
String value
}
class Class {
String value
}
class Href {
String value
}
class Value {
String value
}
class MaxLength {
Int value
}
class Name {
String value
}
}
package element {
package block_element {
interface BlockElement
class Div {
<Id> id
[Class] classes
[AllElement] elements
}
class P {
<Id> id
[Class] classes
[ElementWithoutBlockElement] elements
}
package table {
class Table {
<Id> id
[Class] classes
}
class Thead {
<Id> id
[Class] classes
Tr<Th> header
}
class Tbody {
<Id> id
[Class] classes
[Tr<Td>] data
}
class Tr<T extends RowElement> {
<Id> id
[Class] classes
[T] elements
}
interface RowElement
class Th {
<Id> id
[Class] classes
[AllElement] elements
}
class Td {
<Id> id
[Class] classes
[AllElement] elements
}
Table -down->"0..1" Thead
Table -down->"0..1" Tbody
Table -down->"*" Tr
Thead -down->"1..*" Tr
Tbody -down->"1..*" Tr
Tr -down->"1..*" RowElement
Th -up-|> RowElement
Td -up-|> RowElement
}
Div -up-|> BlockElement
P -up-|> BlockElement
Table -up-|> BlockElement
}
package inline_element {
interface InlineElement
class Span {
<Id> id
[Class] classes
[ElementWithoutBlockElement] elements
}
class A {
<Id> id
[Class] classes
[ElementWithoutBlockElement] elements
}
class Br {
<Id> id
[Class] classes
}
package input {
class InputText {
<Id> id
[Class] classes
Name name
Value value
}
class InputCheckBox {
<Id> id
[Class] classes
Name name
Value value
Check check
}
class InputRadios {
Name name
}
class InputRadio {
<Id> id
[Class] classes
Value value
Check check
}
Enum Check {
Checked
NotChecked
}
InputText -up-|> InlineElement
InputCheckBox -up-|> InlineElement
InputRadios -up-|> InlineElement
InputCheckBox -down-> Check
InputRadios -down->"2..*" InputRadio
InputRadio -down-> Check
}
Span -up-|> InlineElement
A -up-|> InlineElement
Br -up-|> InlineElement
}
package text {
class Text
}
interface ElementWithoutBlockElement
InlineElement -up-|> ElementWithoutBlockElement
Text -up-|> ElementWithoutBlockElement
interface AllElement {
+ String toString(Indent)
+ [AllElement] find(TagNameCondition)
+ [AllElement] find(ClassCondition)
# Bool match(TagNameCondition)
# Bool match(ClassCondition)
}
BlockElement -up-|> AllElement
ElementWithoutBlockElement -up-|> AllElement
}
package list {
class AtLeastOne<T> {
[T] values
- AtLeastOne([T])
+ {static} of(T, T...)
}
class AtLeastTwo<T> {
[T] values
- AtLeastTwo([T])
+ {static} of(T, T, T...)
}
}
package string_convert {
class TagConverter {
Indent indent
TagName tagName
Id id
[Class] classes
+ TagConverter(Indent, TagName, Id, [Class])
+ {static} open()
+ {static} noClose()
+ {static} open(Href)
+ {static} noClose(Name, Value)
+ {static} noClose(Name, Value, Check)
+ {static} close()
}
class Indent {
- Int width
- String char
- Indent(Int, String)
+ {static} Indent init(String)
+ String toString()
+ Indent deeply()
}
}
package condition {
class TagNameCondition {
- TagName value
+ Bool match(TagName)
}
class ClassCondition {
- Class value
+ Bool match([Class])
}
}
}
@enduml |
2877f9a5f7b53d86adb6d59fff5a5dafc5245759 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/GraphQLSemanticErrorError.puml | a2cce0ec76784518ffe901f9a98a64f670077619 | [] | 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 | 418 | 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 GraphQLSemanticErrorError [[GraphQLSemanticErrorError.svg]] extends GraphQLErrorObject {
code: String
}
interface GraphQLErrorObject [[GraphQLErrorObject.svg]] {
code: String
}
@enduml
|
1f5a3e5ed64d6f4d5759a257a09009b5ef932d56 | 235ba458ef641662bf792edbe559168aad48c7c0 | /doc/user-swap-schema.plantuml | c5f6a061911266b45e88e0c877abd566de845c92 | [] | no_license | swapmyvote/swapmyvote | 497e3e4061eaca7b7d62a8e979c73c397387795d | ff386706c5dade995db3e44c4df7a747340baadb | refs/heads/master | 2023-04-18T05:02:52.793935 | 2023-03-16T13:28:07 | 2023-03-16T13:28:07 | 31,332,484 | 14 | 24 | null | 2023-04-12T06:34:11 | 2015-02-25T19:46:24 | Ruby | UTF-8 | PlantUML | false | false | 1,661 | plantuml | @startuml
title User / Swap relationship - class diagram / db schema
!pragma horizontalLineBetweenDifferentPackageAllowed
scale 600 height
' skinparam nodesep 600
left to right direction
package "Incoming swap to chosen user" {
class "User" as User3 {
id \t\t INTEGER
..
swap_id \t INTEGER
}
class "User" as User4 {
id \t\t INTEGER
..
swap_id \t INTEGER
}
class "Swap" as Swap3 {
id \t\t\t INTEGER
..
chosen_user_id \t INTEGER
confirmed \t\t BOOLEAN
}
class "Swap" as Swap4 {
id \t\t\t INTEGER
..
chosen_user_id \t INTEGER
confirmed \t\t BOOLEAN
}
User3 "0..1" <-- Swap3::chosen_user_id : < belongs_to\n:chosen_user,\nclass_name: "User"
User4 -- "1" Swap4::chosen_user_id : has_one\n:incoming_swap,\nclass_name: "Swap",\nforeign_key: "chosen_user_id" >
User3 -[hidden]left-> User4
Swap3 -[hidden]left-> Swap4
}
package "Outgoing swap by choosing user" {
class "User" as User1 {
id \t\t INTEGER
..
swap_id \t INTEGER
}
class "User" as User2 {
id \t\t INTEGER
..
swap_id \t INTEGER
}
class "Swap" as Swap1 {
id \t\t\t INTEGER
..
chosen_user_id \t INTEGER
confirmed \t\t BOOLEAN
}
class "Swap" as Swap2 {
id \t\t\t INTEGER
..
chosen_user_id \t INTEGER
confirmed \t\t BOOLEAN
}
User1::swap_id --> "0..1" Swap1 : belongs_to\n:outgoing_swap,\nclass_name: "Swap",\nforeign_key: "swap_id" >
User2::swap_id "1" *-- Swap2 : < has_one :choosing_user,\nclass_name: "User"
User1 -[hidden]left-> User2
Swap1 -[hidden]left-> Swap2
}
User2 -[hidden]right-> User3
Swap2 -[hidden]right-> Swap3
@enduml
|
f50c4a66b31d26441f5382f29694cae5bda7baf1 | 1bb1c097237b01cd71de26efa466c24737ff89fe | /diagrammes/src/class.puml | 2bec6efd12db602b8d0a627cf2007e67e7b9ef44 | [] | no_license | assimhabeek/memoire | 4934892d884848692d9bf3f16dbd83ee5fbbcec1 | f11fd97c6a7a75dd681cf11408ff519e67656c7f | refs/heads/master | 2021-03-22T05:12:20.753268 | 2018-05-01T16:25:14 | 2018-05-01T16:25:14 | 121,604,872 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,141 | puml | @startuml
skinparam backgroundColor #fff
skinparam defaultFontColor #37474f
skinparam defaultFontSize 18
skinparam defaultFontName serif
skinparam defaultFontStyle normal
skinparam classAttributeIconSize 0
skinparam classBackgroundColor #fff
skinparam classBorderColor #000
skinparam classArrowColor #000
hide class circle
class "Spécialité" as specialty{
-id : long
-abb : String
-nom : String
-DeAnnée : int
-JusquAnnée : int
trouverParAnnée(annee : int)
}
class "Module" as module{
-id : long
-abb : String
-nom : String
-annee : int
-semestre : int
}
class "Utilisateur" as user{
-id : long
-nomUtilisateur : String
-passe : String
-prenom : String
-nom : String
-description : String
-email : String
-annee : int
-spécialité : Specialite
-ImageProfil : String
-admin : boolean
-vérifié : boolean
trouverPar(nomUtilisateur:String)
trouverPar(nomUtilisateur:String,passe : String)
envoyerEmailInscription(id : long,email : String)
validerCompte(id : long)
envoyerEmailRécupération(id : long , email : String)
changerPasse(id: Long, pass: String)
MettreÀJourProfil(ut : Utilisateur)
}
class "Contribution" as contribution {
-id : long
-description : String
-date : Date
}
class "Publication" as post{
-titre :string
-trouverPar(filtre : List())
-supprimer(id: long)
}
user "0..*" -- "0..*" user
(user, user) .. Ami
(user, user) .. Chat
class Ami{
état : int
}
class Chat{
message : String
date : Timestamp
}
class "Catégorie" as category{
-id : Long,
}
class "Commentaires" as comments {
trouverAvecPublication(idPub : int)
}
class "Attachement" as media{
id : long
nom : String
link : String
trouverAvecPublication(idPub : int)
}
user *-- "0.*" contribution : " est contribué par "
user "1.*" --o "1" specialty : "Appartient à"
specialty *- "1.*" module : "est enseigné dans "
post "0.*" ---o "0.1" module : "Appartient à "
post "0.*" --o "0.1" specialty : "Appartient à "
post "0.*" --o "1" category : "Appartient à "
post "1.*" o-- "0.*" media : "Attaché"
contribution <|- post
contribution <|- comments
post "1" -* "0.*" comments : \tcontient\t
@enduml |
4e35734556eaca9cc53dd30b6778cb920a152aab | bbd445af163123afc512986dc4e69bf39946a718 | /UML/arm/iot/spring/dependencyInject/InjectElement.puml | 7686a29662f24ddf5557c7dd5d1222929e8456ea | [] | no_license | long437611591/leither-learning | 6216e38662e2b045e1784651111f6d1c0765b63d | a9189d9f97f153034de0f972d830681f881ea52f | refs/heads/master | 2022-12-04T15:03:05.353300 | 2020-08-18T15:13:46 | 2020-08-18T15:13:46 | 285,238,265 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,764 | puml | @startuml
class InjectionMetadata{
inject(Object target, @Nullable String beanName, @Nullable PropertyValues pvs);
}
abstract class InjectedElement{
protected final Member member;
protected final boolean isField;
inject(Object target, @Nullable String requestingBeanName, @Nullable PropertyValues pvs);
checkPropertySkipping(@Nullable PropertyValues pvs);
inject(Object target, @Nullable String beanName, @Nullable PropertyValues pvs);
}
InjectedElement +-- InjectionMetadata
InjectedElement o-- InjectionMetadata
abstract class InstantiationAwareBeanPostProcessorAdapter{
}
interface MergedBeanDefinitionPostProcessor{
void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName);
}
class AutowiredFieldElement{
private final boolean required;
private volatile boolean cached = false;
inject(Object bean, @Nullable String beanName, @Nullable PropertyValues pvs);
}
class AutowiredAnnotationBeanPostProcessor{
public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) {...InjectionMetadata metadata = findAutowiringMetadata(beanName, beanType, null)};
}
AutowiredFieldElement +-- AutowiredAnnotationBeanPostProcessor
InjectedElement <|-- AutowiredFieldElement
class AutowiredMethodElement{
private final boolean required;
private volatile boolean cached = false;
inject(Object bean, @Nullable String beanName, @Nullable PropertyValues pvs);
}
InjectedElement <|-- AutowiredMethodElement
AutowiredMethodElement +-- AutowiredAnnotationBeanPostProcessor
MergedBeanDefinitionPostProcessor <|-- AutowiredAnnotationBeanPostProcessor
InstantiationAwareBeanPostProcessorAdapter <|.. AutowiredAnnotationBeanPostProcessor
@enduml |
64385c941fee89702452685b42ebaf6813c4a85e | 5556113ce914f506bc610dbd2f75994db49be4d6 | /Conception/Diagramme de classes.puml | d1311fa11c283a165d9dc41e27a8a8189ab177fa | [] | no_license | flamy39/produits | 96c8d1b2d1674f6a80ef074a30ef1fd2570e355d | 7ce1e6a6381b8dcbb40e36bcffee75354b0723b7 | refs/heads/master | 2023-01-15T01:23:02.542718 | 2020-11-18T17:32:39 | 2020-11-18T17:32:39 | 314,009,277 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 241 | puml | @startuml
Produit "*" -- "1..*" Categorie: appartient >
class Produit {
-id : integer
-nom : string
-description : text
-prix : integer
-promo : boolean
}
class Categorie {
-id : integer
-nom : string
}
@enduml |
1bf3437c5a325dab1350965b6873d38eb4bcdca7 | 7c2a17fd3d19a13fb71558f79900a2908de98c58 | /docs/uml-class-diagrams/display01/test/MiddlewareGisInterfaceStub/MiddlewareGisInterfaceStub.puml | 30d9f895757c7392a8400e768d1d3f475126295e | [] | no_license | casher-ou/csi-3370-software-project | 483b1add9fbab8349f30009eecc123c884bdcc7b | 629fb9cce10429c2b80bd1ad33ab898d1466883b | refs/heads/main | 2023-01-22T00:44:50.062944 | 2020-11-29T23:00:50 | 2020-11-29T23:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 330 | puml | @startuml MiddlewareGisInterfaceStub
package edu.oakland.test.display01 {
class MiddlewareGisInterfaceStub {
__
.. Use Case 1 ..
+ String receiveGpsSignalStrength(Satellite satelliteSignal)
.. Use Case 2 ..
+ String receiveGpsSignalStrength(Satellite satelliteSignal)
}
}
@enduml
|
901dc94f6f9b1b8c707f96405ec2fc9fa3ed93bc | 495bd76445eafbf55ff3a3ff30f57d6d887d0697 | /out/production/DesignPatterns/adapterpattern/UML/ClassDiagram.puml | c565d44682961e1e7906ddc91229f06f0f56d71c | [] | no_license | alexfoglia/DesignPatterns | 62a5da12f3fe2ddd7eca37f52f6eb0f0e49093ef | 89bf7e552a7d91d25b903d4db5f68ccdef9be9a7 | refs/heads/main | 2023-03-14T22:26:28.144741 | 2021-02-25T15:38:19 | 2021-02-25T15:38:19 | 314,671,175 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 227 | puml | @startuml
title Adapter Pattern
class Client {
}
interface Target {
request()
}
class Adapter implements Target {
request()
}
class Adaptee {
specificRequest()
}
Client --> Target
Adapter --> Adaptee
@enduml |
27bde1989ce6423ec2d804865916f397d2cd4c0f | a35809cd34147b14b63d8b2dc942054392805e68 | /src/main/java/com/shengsiyuan/dp/flyweight/flyweight.puml | 8538747b53193a46561252501020a3c4f3ad8e9a | [] | no_license | fyk943749465/netty_lecture | 8185cb628f89128420024ae613887bfd74fc222f | 7afcab5e42a60e281b83f29ccb8dd0c61af1e53a | refs/heads/master | 2023-02-22T01:31:44.187631 | 2021-01-29T14:02:50 | 2021-01-29T14:02:50 | 319,482,885 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 839 | puml | @startuml
title 享元模式的原理类图
class FlyweightFactory{
}
note left: 享元工厂类,用于构建一个容器池(集合)\n同时提供从池中获取对象的方法
class Flyweight{
}
note left: Flyweight是抽象的享元角色,他是产品的抽象类,\n同时定义出对象的外部状态和内部状态
class ConcreteFlyweight {
}
note left: 具体的享元角色,是具体的产品类,\n实现抽象角色定义相关业务
class UnsharedConcreteFlyweight {
}
note right: 是不可共享的角色,一般不\n会出现在享元工厂
class Client {
}
Flyweight <|-- ConcreteFlyweight
Flyweight <|-- UnsharedConcreteFlyweight
Flyweight <-- FlyweightFactory
FlyweightFactory o-- Flyweight
FlyweightFactory <-- Client
ConcreteFlyweight <-- Client
UnsharedConcreteFlyweight <-- Client
@enduml |
3425dd2efc5c65d089e3b9b38e5b5a9084858cbd | 6c369b570f222c894964989ee63b706c69e8174d | /docs/dev/intro_to_react/core_model.puml | 91ea0e4a740ea713447eb26ae89f688c638b959d | [] | no_license | k2works/etude_for_rails | f74eae1844a9430d3c81047203ffc5d384e995ed | e728291c99ad4e34f144deedc44617bb796ac275 | refs/heads/master | 2021-01-20T01:46:29.373716 | 2018-04-26T08:53:20 | 2018-04-26T08:53:20 | 89,328,180 | 0 | 0 | null | 2017-06-08T02:25:58 | 2017-04-25T07:00:29 | HTML | UTF-8 | PlantUML | false | false | 143 | puml | @startuml
Game "1" --> "1"Board
Board "1" *-- "9" Square
class Game {
calculateWinner(squares)
}
class Board {
renderSquare(i)
}
@enduml |
b15788811767c80f042bc0c196c0fc15173aa5ef | 644fc1e9c334f0fcbdab3b545290f3cc65b5d6dc | /docs/uml/software/essentials/commandline_parser/interfaces/ICommandLineParser.puml | 3795aa9e178112dbc23b89d04c7cadc573836602 | [] | no_license | tzAcee/photonized | c929a6c04bedd0304a4e427d6c2895cdf73568d3 | aa53ed7bda18959c58467fe4560dc3ff4e1ae422 | refs/heads/main | 2023-05-03T15:13:31.148910 | 2021-05-25T13:55:17 | 2021-05-25T13:55:17 | 316,536,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 120 | puml | @startuml
interface ICommandLineParser {
DirPath : string <<get>> <<set>>
parse(path:string[]) : void
}
@enduml
|
1c06aa69a63c6f4a2357549129b886a0034d5cfb | 94054a7e70fcef0259d2c0f82768fcef2e4d416d | /diagrams/Class.puml | 9c97462aa9830e5954ce66e89fe48e14658289c9 | [
"MIT"
] | permissive | michaskruzelka/lacinka | 85c557d4f7920f61b450668bb9c52b9b183b68ed | 569e3ffe22c3d5b6498df93dc398c41211893a25 | refs/heads/master | 2020-04-17T10:12:31.079679 | 2016-10-09T10:13:41 | 2016-10-09T10:13:41 | 67,931,541 | 2 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,380 | puml | @startuml
skinparam classAttributeIconSize 0
class Converter {
TO_LATIN_DIRECTION : String = 'forth'
TO_CYRILLIC_DIRECTION : String = 'back'
#rules : Array
#renderers : Array
#config : Array
#direction : String
#version : String
#orthography : String
+__construct(init)
+initRules(fileName) : Converter
+convert(text) : String
+getDirection() : String
+directToLation() : Converter
+directToCyrillic() : Converter
+getVersion() : String
+setVersion(version) : Converter
+getOrthography() : String
+setOrthography(orthography) : Converter
#initConfig() : Converter
#initRule(rule) : Converter
#applyRule(rule, &text) : Converter
#addRenderer(rendererName) : Converter
#setDirection(direction) : Converter
#getDefaultRulesConfigFile() : String
#sortRules() : Converter
}
class Rule {
+getRuleName() : String
+validate() : Rule
+apply(renderer, direction, version, orthography, &text) : Rule
+getRenderer() : String|Bool
+getSearch() : String
+getReplace() : String|Bool
#collectPatterns(&search, &replace, direction, version, orthography) : Rule
#checkDirection(direction) : Bool
#checkVersion(version) : Bool
#checkOrthography(orthography) : Bool
}
class Parser << (S,#FF7700) Singleton >> {
{static} #instance : Parser
#l_delim : String
#r_delim : String
#pairTag : String
{static} +getInstance() : Parser
+parsePairTag(replace, text) : String
#replace(tag, replace, text) : String
}
class lib\AdvancedXMLElement << (T,orchid) Trait >> {
+parentNode() : SimpleXMLElement
+checkNodeName(name) : lib\AdvancedXMLElement
+asArray() : Array
}
class Factory as "Renderers\Factory" {
{static} +getInstance(className) : Renderers\Interface
}
interface Interface as "Renderers\Interface" {
+render(search, replace, text) : String
}
class ReplaceByPattern as "Renderers\ReplaceByPattern" {
+render(search, replace, text) : String
}
class SimpleReplace as "Renderers\SimpleReplace" {
+render(search, replace, text) : String
}
ReplaceByPattern ..|> Interface
SimpleReplace ..|> Interface
Converter ..> Factory: use
Rule ..> Parser: use
Rule --|> \SimpleXMLElement
Rule --|> lib\AdvancedXMLElement
Factory ..> Interface: create
Converter "1" *-- "*" Rule
Converter "1" *-- "*" Interface
@enduml |
20673fe3037958198490fbf2cbbc34993f99cb59 | a7db7f381f681f7b863a0d8fafab1c7be61f07ff | /reponses/visitableImpl.puml | 2e51af55241814f6f1413d4258be1933e619d263 | [] | no_license | Ramin-Erwyn/mapc-cc1 | 03b0af4fc06a629c3362bfe0ebf5084c626d514b | 04c434f122c324775ca2225a1f0d791147a3b298 | refs/heads/master | 2023-01-03T02:30:50.606721 | 2020-11-03T16:35:35 | 2020-11-03T16:35:35 | 309,746,429 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 166 | puml | @startuml
package visitable.impl {
abstract class visitable.impl.VisitableImpl implements Visitable {
+ accept(Visitor visitor) :void
}
}
@enduml |
806c435008849298b18e739d9b84dc63ff8e54bd | c481deca71e280757563e4843c5da4fa1c2087ca | /src/main/java/ex46/WordFrequencyFinder.puml | 5fcaccffcfe9163ebe7518748a5edc983b3dc8f8 | [] | no_license | AlejanPelaez9004/Pelaez-COP3330-assignment3 | 9f8dda8ded969a6e1c10539ee80263de95b56775 | 655f761c4398dbf8663d8397ccc2ca0cb22c7d5e | refs/heads/main | 2023-08-17T05:46:22.453606 | 2021-10-07T20:59:34 | 2021-10-07T20:59:34 | 413,249,538 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 228 | puml | @startuml
WordFrequencyFinder <|- InputFile
class WordFrequencyFinder {
Map<String, Integer> wordCounts
CountWords(ArrayList<String> words)
PrintOutput(Map<String, Integer> wordCounts)
}
class InputFile
{
File input
}
@enduml |
c37c0a50ea6f72c618b78f9df5e31970024952ca | 618414d7666e67b9535ebd975e1de61e9c01e095 | /QLSV/app/build/generated/not_namespaced_r_class_sources/release/processReleaseResources/r/android/support/drawerlayout/drawerlayout.plantuml | fd13cad2554b36c8f4afe33ee6b0d1ce87781485 | [] | no_license | h2312/Do-an-TTLTA-03-TIN230DV01-0100 | a0792724add3844de35d48a2bd87d3eeb8de8a93 | e9f01e84b45042bd6192333842fb80feabb74707 | refs/heads/master | 2022-06-30T21:56:05.032422 | 2020-04-25T10:33:44 | 2020-04-25T10:33:44 | 258,747,594 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 8,112 | plantuml | @startuml
title __DRAWERLAYOUT's Class Diagram__\n
package android.support.drawerlayout {
class R {
- R()
}
}
package android.support.drawerlayout {
class attr {
{static} + alpha : int
{static} + font : int
{static} + fontProviderAuthority : int
{static} + fontProviderCerts : int
{static} + fontProviderFetchStrategy : int
{static} + fontProviderFetchTimeout : int
{static} + fontProviderPackage : int
{static} + fontProviderQuery : int
{static} + fontStyle : int
{static} + fontVariationSettings : int
{static} + fontWeight : int
{static} + ttcIndex : int
- attr()
}
}
package android.support.drawerlayout {
class color {
{static} + notification_action_color_filter : int
{static} + notification_icon_bg_color : int
{static} + ripple_material_light : int
{static} + secondary_text_default_material_light : int
- color()
}
}
package android.support.drawerlayout {
class dimen {
{static} + compat_button_inset_horizontal_material : int
{static} + compat_button_inset_vertical_material : int
{static} + compat_button_padding_horizontal_material : int
{static} + compat_button_padding_vertical_material : int
{static} + compat_control_corner_material : int
{static} + compat_notification_large_icon_max_height : int
{static} + compat_notification_large_icon_max_width : int
{static} + notification_action_icon_size : int
{static} + notification_action_text_size : int
{static} + notification_big_circle_margin : int
{static} + notification_content_margin_start : int
{static} + notification_large_icon_height : int
{static} + notification_large_icon_width : int
{static} + notification_main_column_padding_top : int
{static} + notification_media_narrow_margin : int
{static} + notification_right_icon_size : int
{static} + notification_right_side_padding_top : int
{static} + notification_small_icon_background_padding : int
{static} + notification_small_icon_size_as_large : int
{static} + notification_subtext_size : int
{static} + notification_top_pad : int
{static} + notification_top_pad_large_text : int
- dimen()
}
}
package android.support.drawerlayout {
class drawable {
{static} + notification_action_background : int
{static} + notification_bg : int
{static} + notification_bg_low : int
{static} + notification_bg_low_normal : int
{static} + notification_bg_low_pressed : int
{static} + notification_bg_normal : int
{static} + notification_bg_normal_pressed : int
{static} + notification_icon_background : int
{static} + notification_template_icon_bg : int
{static} + notification_template_icon_low_bg : int
{static} + notification_tile_bg : int
{static} + notify_panel_notification_icon_bg : int
- drawable()
}
}
package android.support.drawerlayout {
class id {
{static} + action_container : int
{static} + action_divider : int
{static} + action_image : int
{static} + action_text : int
{static} + actions : int
{static} + async : int
{static} + blocking : int
{static} + chronometer : int
{static} + forever : int
{static} + icon : int
{static} + icon_group : int
{static} + info : int
{static} + italic : int
{static} + line1 : int
{static} + line3 : int
{static} + normal : int
{static} + notification_background : int
{static} + notification_main_column : int
{static} + notification_main_column_container : int
{static} + right_icon : int
{static} + right_side : int
{static} + tag_transition_group : int
{static} + tag_unhandled_key_event_manager : int
{static} + tag_unhandled_key_listeners : int
{static} + text : int
{static} + text2 : int
{static} + time : int
{static} + title : int
- id()
}
}
package android.support.drawerlayout {
class integer {
{static} + status_bar_notification_info_maxnum : int
- integer()
}
}
package android.support.drawerlayout {
class layout {
{static} + notification_action : int
{static} + notification_action_tombstone : int
{static} + notification_template_custom_big : int
{static} + notification_template_icon_group : int
{static} + notification_template_part_chronometer : int
{static} + notification_template_part_time : int
- layout()
}
}
package android.support.drawerlayout {
class string {
{static} + status_bar_notification_info_overflow : int
- string()
}
}
package android.support.drawerlayout {
class style {
{static} + TextAppearance_Compat_Notification : int
{static} + TextAppearance_Compat_Notification_Info : int
{static} + TextAppearance_Compat_Notification_Line2 : int
{static} + TextAppearance_Compat_Notification_Time : int
{static} + TextAppearance_Compat_Notification_Title : int
{static} + Widget_Compat_NotificationActionContainer : int
{static} + Widget_Compat_NotificationActionText : int
- style()
}
}
package android.support.drawerlayout {
class styleable {
{static} + ColorStateListItem : int[]
{static} + ColorStateListItem_android_color : int
{static} + ColorStateListItem_android_alpha : int
{static} + ColorStateListItem_alpha : int
{static} + FontFamily : int[]
{static} + FontFamily_fontProviderAuthority : int
{static} + FontFamily_fontProviderCerts : int
{static} + FontFamily_fontProviderFetchStrategy : int
{static} + FontFamily_fontProviderFetchTimeout : int
{static} + FontFamily_fontProviderPackage : int
{static} + FontFamily_fontProviderQuery : int
{static} + FontFamilyFont : int[]
{static} + FontFamilyFont_android_font : int
{static} + FontFamilyFont_android_fontWeight : int
{static} + FontFamilyFont_android_fontStyle : int
{static} + FontFamilyFont_android_ttcIndex : int
{static} + FontFamilyFont_android_fontVariationSettings : int
{static} + FontFamilyFont_font : int
{static} + FontFamilyFont_fontStyle : int
{static} + FontFamilyFont_fontVariationSettings : int
{static} + FontFamilyFont_fontWeight : int
{static} + FontFamilyFont_ttcIndex : int
{static} + GradientColor : int[]
{static} + GradientColor_android_startColor : int
{static} + GradientColor_android_endColor : int
{static} + GradientColor_android_type : int
{static} + GradientColor_android_centerX : int
{static} + GradientColor_android_centerY : int
{static} + GradientColor_android_gradientRadius : int
{static} + GradientColor_android_tileMode : int
{static} + GradientColor_android_centerColor : int
{static} + GradientColor_android_startX : int
{static} + GradientColor_android_startY : int
{static} + GradientColor_android_endX : int
{static} + GradientColor_android_endY : int
{static} + GradientColorItem : int[]
{static} + GradientColorItem_android_color : int
{static} + GradientColorItem_android_offset : int
- styleable()
}
}
R +-down- attr
R +-down- color
R +-down- dimen
R +-down- drawable
R +-down- id
R +-down- integer
R +-down- layout
R +-down- string
R +-down- style
R +-down- styleable
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
|
664fee6d3a998366249435737c96623937bc72d5 | 8731173e633c24e4fd976163d40512342d0cf60d | /test6/src/class.puml | 21ceba30bb4d2a49b6f3de2b7c3042d1393c45ca | [] | no_license | ircc/is_analysis | b43d40460d1a45ea6c81ebf38b837d91f5a0f2f6 | 6913e7fa771fc2ff77ce8cac5de993c8857e061e | refs/heads/master | 2022-04-06T20:12:53.317230 | 2018-06-01T13:56:37 | 2018-06-01T13:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,703 | puml | @startuml
title 基于GitHub的实验管理平台--类图
class users {
<b>user_id</b> (用户ID)
name (用户姓名)
github_username (用户GitHub账号)
update_date (用户GitHub账号修改日期)
password (用户密码)
disable (用户是否禁用)
}
class teachers{
<b>teacher_id</b> (老师工号)
department (老师所属部门)
}
class students{
<b>student_id</b> (学号)
class (班级)
result_sum(成绩汇总)
web_sum (网站正确与否汇总)
}
users <|- students
users <|-- teachers
class course{
<b>course_id</b> (课程编号)
course_name (课程名称)
declare (课程说明)
course_date(开课时间)
}
class teachers_course{
<b>teacher_id</b> (老师工号)
<b>course_id</b> (课程编号)
}
class students_course{
<b>student_id</b> (学生学号)
<b>course_id</b> (课程编号)
}
class tests {
<b>test_id</b> (实验编号)
title (实验名称)
declare (实验说明)
}
class grades {
<b>student_id</b> (学号)
<b>test_id</b> (实验编号)
<b>course_id</b> (课程编号)
result1 (分数1)
memo1 (评价1)
result2 (分数2)
memo2 (评价2)
result3 (分数3)
memo3 (评价3)
update_date (评改日期)
}
students "1" -- "n" students_course
students_course "n" -- "1" course
teachers "1" -- "n" teachers_course
teachers_course "n" -- "1" course
students "1" -- "n" grades
tests "1" -- "n" grades
grades "n" -- "1" course
@enduml
|
e6c0ceca78dc99d593f407e8a84c13fec903f33c | 331cb3ee06ae117570160dcee18ae4cadaf53c8a | /doc/uml/class_diagrams/fragment.plantuml | 21e7a38c81bc455a58ef919a620ba75b88d543f5 | [
"Apache-2.0"
] | permissive | Icohedron/Alexandria | 687cf4a9b2cbac7cf911e03fff56365dfc1a070f | 18fc3b14ad463657a758cbfec0f8945bdbb7699f | refs/heads/master | 2020-04-21T10:21:12.746241 | 2019-03-26T14:58:10 | 2019-03-26T14:58:10 | 169,483,537 | 0 | 0 | Apache-2.0 | 2019-02-06T22:01:18 | 2019-02-06T22:01:17 | null | UTF-8 | PlantUML | false | false | 5,025 | plantuml | @startuml
title __FRAGMENT's Class Diagram__\n
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
class MessagesFragment {
- chatRoomList : List<ChatRoomItem>
- chatRoomListRef : DatabaseReference
- chatListener : ValueEventListener
+ onCreate()
+ onCreateView()
+ onStart()
+ onStop()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
class SearchFragment {
+ onCreateView()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
class UserBookFragment {
- cover : Bitmap
- title : String
- author : String
- isbn : String
- status : String
- owner : String
- mListener : OnClickListener
+ onCreateView()
- extractData()
- setBookInfo()
- showError()
- setStatusBar()
- setButtons()
- onStatusChange()
- onClickUser()
- onClickButton()
- onClickTempButton()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.exchange {
class AcceptedFragment {
- bookListings : List<BookList>
+ onCreateView()
+ onAttach()
+ onResume()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.exchange {
class BorrowedFragment {
- bookListings : List<BookList>
+ onCreateView()
+ onAttach()
+ onResume()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.exchange {
class ExchangeFragment {
+ onCreateView()
- setupViewPager()
+ onClick()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.exchange {
class RequestedFragment {
- bookListings : List<BookList>
+ onCreateView()
+ onAttach()
+ onResume()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.library {
class AllTabFragment {
- bookListings : List<BookList>
+ onCreateView()
+ onAttach()
+ onResume()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.library {
class AvailableFragment {
- bookListings : List<BookList>
+ onCreateView()
+ onAttach()
+ onResume()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.library {
class LibraryFragment {
+ onCreateView()
- setupViewPager()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment {
package ca.ualberta.CMPUT3012019T02.alexandria.fragment.library {
class LoanedFragment {
- bookListings : List<BookList>
+ onCreateView()
+ onAttach()
+ onResume()
}
}
}
}
AllTabFragment -up-|> Fragment
AvailableFragment -up-|> Fragment
LibraryFragment -up-|> Fragment
LoanedFragment -up-|> Fragment
AllTabFragment "1" -- "1" LibraryFragment
AvailableFragment "1" -- "1" LibraryFragment
LoanedFragment "1" -- "1" LibraryFragment
AcceptedFragment -up-|> Fragment
BorrowedFragment -up-|> Fragment
ExchangeFragment -up-|> Fragment
RequestedFragment -up-|> Fragment
AcceptedFragment "1" -- "1" ExchangeFragment
RequestedFragment "1" -- "1" ExchangeFragment
BorrowedFragment "1" -- "1" ExchangeFragment
MessagesFragment -up-|> Fragment
SearchFragment -up-|> Fragment
UserBookFragment -up-|> Fragment
right footer
PlantUML diagram partly generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
6de87b87fae71bef506ab20bd9419c644287596f | c4e67691ba171463482c3f95da0414e2a8be9bc1 | /entity-model.puml | 8a0df15697ee21120b4acd493ce85400a8bb0ffb | [] | no_license | jmgimeno/TextAnnot-API | a5f14ed7b961ca00a4ee7e4d932795c3639421a8 | 49f9ad97eeab3340800f576f5029137f2abab1fb | refs/heads/master | 2020-03-27T23:28:35.880156 | 2018-06-02T08:47:50 | 2018-06-02T08:47:50 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,515 | puml | @startuml
skinparam dpi 200
skinparam classAttributeFontSize 8
skinparam classArrowFontSize 9
skinparam classFontSize 10
skinparam nodesep 90
skinparam ranksep 40
hide stereotype
skinparam class {
BackgroundColor White
BackgroundColor<<Sample>> LightPink
BackgroundColor<<User>> LightBlue
BackgroundColor<<Metadata>> LightGreen
BackgroundColor<<Annotation>> LightYellow
}
class MetadataTemplate <<Metadata>> {
String name
}
class MetadataField <<Metadata>> {
String name, type
}
MetadataTemplate "definedIn 1" -- "defines many" MetadataField
MetadataTemplate "describedBy 1" -- "describes many" Sample
class MetadataValue <<Metadata>> {
String value
}
MetadataValue "valued many" -up- "values 1" MetadataField
MetadataValue "has many" -right- "for 1" Sample
class Sample <<Sample>> {
String text
}
class XMLSample <<Sample>> extends Sample {
String content
}
class TagHierarchy <<Annotation>> {
String name
}
TagHierarchy "taggedBy 1" -- "tags many" Sample
class Tag <<Annotation>> {
String name
}
Tag "defines many" -up- "definedIn 1" TagHierarchy
Tag "child many" -- "parent 0..1" Tag
Tag "uses 1" -- "usedIn many" Annotation
class Annotation <<Annotation>> {
Integer start, end
Boolean reviewed
}
Annotation "annotatedBy many" -left- "annotates 1" Sample
class User <<User>> {
String username
String email
}
class Linguist <<User>> extends User {
}
Linguist "1 annotatedBy" -- "many annotates" Annotation
class Admin <<User>> extends User {
}
@enduml |
330acbb2ba7713a495a7f499a2888415530f6b00 | 6602735ad725e81192f47a23ed04cb3ce98cb418 | /plant/006-class-relation.plantuml | 7d82eb09254ab20349edd1b5a5ea98770e775090 | [] | no_license | harrifeng/svg-in-action | af4a1aab8a94821c9cf68b2e0ed189e68f7c5e11 | 6c06ab7bb85a7316239b10a3a09966392e4d3eae | refs/heads/master | 2021-01-02T08:53:31.995537 | 2017-08-22T04:18:22 | 2017-08-22T04:18:22 | 99,088,242 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 212 | plantuml | Client --> Target : Drives >
class Client {
}
class Target {
}
Factory --> Product : Creates >
class Factory {
}
class Product {
}
Subject --> Observer : notifies >
class Subject {
}
class Observer {
}
|
40f7a94211be934132f7475cbe1c6c94478aae40 | 56c3d96069bdb4cdeadfae340022e3b90511afc0 | /src/incl/psr7/uri.puml | 86e9d14d465a90172d159a87f3ad3667b08695c6 | [] | no_license | nibralab/joomla-architecture | 38db6234c9e12298716e529e46c907387e214166 | 99ab82e904fc56dc6113cf58a5990b295951aa12 | refs/heads/master | 2021-01-19T04:06:37.675771 | 2017-07-07T17:13:48 | 2017-07-07T17:13:48 | 36,740,646 | 3 | 5 | null | 2016-04-09T15:01:23 | 2015-06-02T14:57:25 | PHP | UTF-8 | PlantUML | false | false | 952 | puml | @startuml
namespace Psr.Http.Message {
interface UriInterface {
__
+{abstract} string <b>getScheme</b>()
+{abstract} string <b>getAuthority</b>()
+{abstract} string <b>getUserInfo</b>()
+{abstract} string <b>getHost</b>()
+{abstract} null|int <b>getPort</b>()
+{abstract} string <b>getPath</b>()
+{abstract} string <b>getQuery</b>()
+{abstract} string <b>getFragment</b>()
--
+{abstract} UriInterface <b>withScheme</b>(string)
+{abstract} UriInterface <b>withUserInfo</b>(string [, string])
+{abstract} UriInterface <b>withHost</b>(string)
+{abstract} UriInterface <b>withPort</b>(int)
+{abstract} UriInterface <b>withPath</b>(string)
+{abstract} UriInterface <b>withQuery</b>(string)
+{abstract} UriInterface <b>withFragment</b>(string)
--
+{abstract} string <b>__toString</b>()
}
}
@enduml
|
4de3a638d10d2d51f24a682830562368e8d49d6c | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/InvalidInputError.puml | 504f1c8197410775afb6d916f650ecec49f3b62f | [] | 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 | 421 | 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 InvalidInputError [[InvalidInputError.svg]] extends ErrorObject {
code: String
message: String
}
interface ErrorObject [[ErrorObject.svg]] {
code: String
message: String
}
@enduml
|
665079df223ec6c1564d836b7a3f5293b8e0d5d5 | 9bcd4da5e5454922139d0afefc782a997988ad1f | /docs/SprintD/US/US14/US14_CD.puml | 7e7fafb314184879410f430fe9dd538ab8ad4132 | [
"MIT"
] | permissive | wjacoud/DynaByte | 13f042b210f17830aa3eb31558d3f83d587ab436 | 3ac6b5e2d2e7559ec3e230db7848a1b43d3b40e3 | refs/heads/main | 2023-08-27T09:20:01.825322 | 2021-11-11T17:15:05 | 2021-11-11T17:15:05 | 427,082,047 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,500 | puml | @startuml
skinparam classAttributeIconSize 0
class CreateTaskController {
-TestReportStore testReportStore
-TestStore testStore
-TestDiagnosis testDiagnosis
-TestReport testReport
--
+createDiagnosis(String idTest)
+createReport(String idTest, TestDiagnosis diagnosis, String report)
+saveReport(TestReport testReport)
+getDiagnosis()
+setState(String idTest)
}
class CreateTaskUI {
}
class Company{
-String designation
-TestReportStore testReportStore
-TestStore testStore
--
+getTestReportStore()
+getTestStore()
}
class TestReport{
-String idTest
-TestDiagnosis diagnosis
-String report
}
class TestDiagnosis{
-String diagnosis
--
+createDiagnosis(List<TestParameter> testParameterList)
}
class TestReportStore{
-List<TestReport> testReportStore
--
+createReport(String idTest, TestDiagnosis diagnosis, String report)
+validateReport(TestReport testReport)
+saveReport(TestReport testReport)
}
class TestStore{
-List<Test> testStore
--
+checkState(String state)
+getTestList()
}
class TestMapper{
+toDto(List<Test> testList)
}
CreateTaskUI ..> CreateTaskController
CreateTaskController ..> Company
CreateTaskController ..> TestReportStore
CreateTaskController ..> TestDiagnosis
CreateTaskController ..> TestMapper
CreateTaskController ..> TestStore
Company --> TestReportStore : uses
TestReportStore --> TestReport : can access
TestDiagnosis --> TestReport : is part of
@enduml |
c1d489792dbc73700c7af53dfe7ee880a88b2a5d | 44e62ef9115427ee284c6af83fdb7060244e9d65 | /src/main/java/ex43/App.puml | c0a4e8d1441b493447053af4ff40b055fcdc0cf1 | [] | no_license | AbdelNabut/abdel-cop3330-assignment3 | ace755117ebc303be09276e4068192d98ccf3e59 | 06e615c19d720b035616861ce2daa1af5e31560a | refs/heads/master | 2023-06-05T11:51:37.063615 | 2021-06-22T05:25:06 | 2021-06-22T05:25:06 | 379,135,268 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 81 | puml | @startuml
'https://plantuml.com/class-diagram
class App {
void main()
}
@enduml |
c3e446da645988a863875100fbc37dda52f0e36a | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CategoryOrderHints.puml | f17097deb2fe429db9a99f5f5aeccbd02ba00dfa | [] | 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 | 3,454 | 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 CategoryOrderHints [[CategoryOrderHints.svg]] {
}
interface ProductData [[ProductData.svg]] {
name: [[LocalizedString.svg LocalizedString]]
categories: [[CategoryReference.svg List<CategoryReference>]]
categoryOrderHints: [[CategoryOrderHints.svg CategoryOrderHints]]
description: [[LocalizedString.svg LocalizedString]]
slug: [[LocalizedString.svg LocalizedString]]
metaTitle: [[LocalizedString.svg LocalizedString]]
metaDescription: [[LocalizedString.svg LocalizedString]]
metaKeywords: [[LocalizedString.svg LocalizedString]]
masterVariant: [[ProductVariant.svg ProductVariant]]
variants: [[ProductVariant.svg List<ProductVariant>]]
searchKeywords: [[SearchKeywords.svg SearchKeywords]]
}
interface ProductDraft [[ProductDraft.svg]] {
productType: [[ProductTypeResourceIdentifier.svg ProductTypeResourceIdentifier]]
name: [[LocalizedString.svg LocalizedString]]
slug: [[LocalizedString.svg LocalizedString]]
key: String
description: [[LocalizedString.svg LocalizedString]]
categories: [[CategoryResourceIdentifier.svg List<CategoryResourceIdentifier>]]
categoryOrderHints: [[CategoryOrderHints.svg CategoryOrderHints]]
metaTitle: [[LocalizedString.svg LocalizedString]]
metaDescription: [[LocalizedString.svg LocalizedString]]
metaKeywords: [[LocalizedString.svg LocalizedString]]
masterVariant: [[ProductVariantDraft.svg ProductVariantDraft]]
variants: [[ProductVariantDraft.svg List<ProductVariantDraft>]]
taxCategory: [[TaxCategoryResourceIdentifier.svg TaxCategoryResourceIdentifier]]
searchKeywords: [[SearchKeywords.svg SearchKeywords]]
state: [[StateResourceIdentifier.svg StateResourceIdentifier]]
publish: Boolean
priceMode: [[ProductPriceModeEnum.svg ProductPriceModeEnum]]
}
interface ProductProjection [[ProductProjection.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
key: String
productType: [[ProductTypeReference.svg ProductTypeReference]]
name: [[LocalizedString.svg LocalizedString]]
description: [[LocalizedString.svg LocalizedString]]
slug: [[LocalizedString.svg LocalizedString]]
categories: [[CategoryReference.svg List<CategoryReference>]]
categoryOrderHints: [[CategoryOrderHints.svg CategoryOrderHints]]
metaTitle: [[LocalizedString.svg LocalizedString]]
metaDescription: [[LocalizedString.svg LocalizedString]]
metaKeywords: [[LocalizedString.svg LocalizedString]]
searchKeywords: [[SearchKeywords.svg SearchKeywords]]
hasStagedChanges: Boolean
published: Boolean
masterVariant: [[ProductVariant.svg ProductVariant]]
variants: [[ProductVariant.svg List<ProductVariant>]]
taxCategory: [[TaxCategoryReference.svg TaxCategoryReference]]
state: [[StateReference.svg StateReference]]
reviewRatingStatistics: [[ReviewRatingStatistics.svg ReviewRatingStatistics]]
priceMode: [[ProductPriceModeEnum.svg ProductPriceModeEnum]]
}
CategoryOrderHints --> ProductData #green;text:green : "categoryOrderHints"
CategoryOrderHints --> ProductDraft #green;text:green : "categoryOrderHints"
CategoryOrderHints --> ProductProjection #green;text:green : "categoryOrderHints"
@enduml
|
476236e27834be330d63d7be8dc0fe9f5524c09a | 9623791303908fef9f52edc019691abebad9e719 | /src/cn/shui/order/roamn_to_integer/roamn_to_integer.plantuml | e16e3522943d0938eca32c026172424f70712a12 | [] | no_license | shuile/LeetCode | 8b816b84071a5338db1161ac541437564574f96a | 4c12a838a0a895f8efcfbac09e1392c510595535 | refs/heads/master | 2023-08-17T04:53:37.617226 | 2023-08-15T16:18:46 | 2023-08-15T16:18:46 | 146,776,927 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 455 | plantuml | @startuml
title __ROAMN_TO_INTEGER's Class Diagram__\n
namespace cn.shui.order {
namespace roamn_to_integer {
class cn.shui.order.roamn_to_integer.Solution {
{static} + main()
{static} + romanToInt()
}
}
}
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
|
1439b5f74df1fa21021e1f91c67b7361ea2912cb | 5d180276957df094f09ee511e05786316537f25d | /src/main/java/date/date.plantuml | 091a6e5461ecea03db620b5158119b5300a15da7 | [
"Apache-2.0"
] | permissive | SomberOfShadow/Local | f727189f1791de203f1efd5cd76b8f241857e473 | 474e71024f72af5adf65180e5468de19ad5fdfd8 | refs/heads/main | 2023-07-18T04:11:49.240683 | 2021-09-07T15:55:28 | 2021-09-07T15:55:28 | 389,494,221 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 378 | plantuml | @startuml
title __DATE's Class Diagram__\n
namespace date {
class date.ConvertLongToUtcDemo {
{static} + main()
- convertUnixTimeToUtcTime()
}
}
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
|
798e814542dab37fd88a751c6a0fb900cab83f27 | 38dd323c29014b0f085e2b1602855bd4ce7eaa6e | /HW_Set/src/setdemo/Set.puml | dae4df6cff830961aa28016f9cb6f3c65cf078d5 | [] | no_license | standpoint/recently | c95170eaadfece4f926f7002ea9601ec2aba5cf0 | 004fd7459d5055dd501b98cb6de71905dce0281f | refs/heads/master | 2020-12-24T15:14:06.648818 | 2015-02-16T11:14:31 | 2015-02-16T11:14:31 | 30,377,973 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,236 | puml | @startuml
annotation java.lang.Override
class java.util.Arrays
class setdemo.MyArray {
- container : int[]
- capacity : int
- size : int
+ MyArray()
+ MyArray(MyArray myarray)
+ add() : void
+ get(int index) : int
+ size() : int
+ copy() : Container
+ contains(int element) : boolean
+ print() : void
}
class setdemo.MyList {
- container : LinkedList
+ MyArray()
+ MyArray(MyArray myarray)
+ add() : void
+ get(int index) : int
+ size() : int
+ copy() : Container
+ contains(int element) : boolean
+ print() : void
}
class setdemo.Set {
- c : Container
+ Set(Container c)
+ union(Set s) : Set
+ print() : void
}
class setdemo.SetDemo {
+ main(String[] args) : void
}
interface setdemo.Container {
add() : void
get(int index) : int
size() : int
copy() : Container
contains(int element) : boolean
print() : void
}
setdemo.MyArray ..> java.lang.Override
setdemo.MyArray ..> java.util.Arrays
setdemo.MyArray --|> setdemo.Container
setdemo.MyList ..> java.lang.Override
setdemo.MyList --|> setdemo.Container
setdemo.Set -- setdemo.Container
setdemo.SetDemo -- setdemo.Container
setdemo.SetDemo -- setdemo.Set
@enduml |
f6d8b91a4a325558922d7a4bf5645f3b913f8589 | 644b7bb773b84596a2de4d31a0603284d9562e56 | /react/custom/field.iuml | bff287d4470f4170ae9c367d8541339443ab9fb8 | [] | no_license | M9k/Marvin-Uml | e62d17245cf493d53f0b80f633a47be8ec44569e | 0fe9bc36f947535ae4397181ccf8c85291244a87 | refs/heads/master | 2021-04-15T17:44:22.461549 | 2018-05-10T07:52:19 | 2018-05-10T07:52:19 | 126,618,685 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 507 | iuml | class Field{
--props--
id: number
name: string
label: string
help: string
type: string
values: object
validateFunction: function
----
- changeState()
--render--
display the type of the field and
dynamic update its value and state
}
Field ..> ControlLabel
Field ..> FormControl
Field ..> FormGroup
Field ..> Radio
Field ..> MenuItem
Field ..> TemplateButton
Field ..> fieldtypes
Field ..> Utils |
c332fa3088c270344cac9018542b1e0b4207c554 | 6d49d8cc8178b0bd65590a6a59757a210c9aeecc | /uml/client-classes.puml | cd2b9d1c743ee0f8ea754d43df3ccb5062ca86f6 | [
"Apache-2.0"
] | permissive | slim-gears/rxrpc | 51cf5df121302966cbe45dc207a7f95615a69767 | fa3aa74dbf847f1169cbba2ee5261eb9f5160031 | refs/heads/master | 2023-02-22T22:56:47.434489 | 2022-07-21T04:45:51 | 2022-07-21T04:45:51 | 143,330,131 | 1 | 12 | Apache-2.0 | 2023-02-15T14:03:37 | 2018-08-02T18:16:14 | Java | UTF-8 | PlantUML | false | false | 530 | puml | @startuml
interface RxTransport {
+outgoing: Emitter<String>
+incoming: Observable<String>
}
interface EndpointInvoker {
}
class WebSocketRxTransport
class RestRxTransport
RxClient *-- RxTransport
EndpointInvoker <|. RxClient: <<implements>>
class CustomEndpoint1Client
CustomEndpoint1Client --> EndpointInvoker: <<uses>>
class CustomEndpoint2Client
CustomEndpoint2Client --> EndpointInvoker: <<uses>>
RxTransport <|.. WebSocketRxTransport: <<implements>>
RxTransport <|.. RestRxTransport: <<implements>>
@enduml
|
470c7a275a5dcce45de7358e2a85dd85f187a997 | 4d8bf417ae8c3dd8bcacc812422d1831c2e77aab | /src/main/java/com/tjudream/designpattern/bridge/image/bridge.puml | 58b5914669fd3f121c333864be4c0cc632255d7b | [
"Apache-2.0"
] | permissive | tjudream/DesignPatterns | 3aaa8e2a64382d7cb9f49a3b3e736f978e90bdbe | 426773ae74804e661a425b00c0a8e4d05524f2b5 | refs/heads/master | 2020-04-05T19:39:32.984340 | 2018-12-02T11:46:54 | 2018-12-02T11:46:54 | 157,144,618 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 255 | puml | @startuml
skinparam classAttributeIconSize 0
abstract class Abstraction {
+Operation()
}
interface Implementor {
+OperationImpl()
}
Abstraction o-> Implementor:+imp
Abstraction <|-- RefinedAbstraction
Implementor <|-- ConcreteImplementor
@enduml |
c2bc692af99e0d6d138436064108ad55581fef6c | 87cde44ffb99a6e47f70b11faf6e18a6e395e0c7 | /src/main/java/ex46/ex46.puml | 989b2e48f78e696489a2051f57bc4908125e3486 | [] | no_license | ajdahcode/bagarra-COP3330-assignment3 | a61b44c455def5602477c7efde27363afe59d778 | bc1c88ceba738a9083527ed033e55c595eab1387 | refs/heads/master | 2023-08-22T03:03:11.699932 | 2021-10-12T04:03:25 | 2021-10-12T04:03:25 | 416,169,837 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 111 | puml | @startuml
class freqFinder{
Scanner scn
Map sortFreq
ArrayList word
}
scn <- file
freqFinder <- scn
@enduml |
005ce32f39c578156836e44f4c8e432bedde927b | 3150c7ff97d773754f72dabc513854e2d4edbf04 | /P3/STUB_Yeste_Guerrero_Cabezas/out/production/test-dummies/spec/concordion/common/results/runTotals/testsuite/failFastIndex/failFastSubIndex/failFastSubIndex.plantuml | 87054f7291a9e2e77b0d149a91935ebf7d801b7b | [
"WTFPL"
] | permissive | leRoderic/DS18 | c8aa97b9d376788961855d6d75996990b291bfde | 0800755c58f33572e04e7ce828770d19e7334745 | refs/heads/master | 2020-03-29T05:14:14.505578 | 2019-11-07T18:01:37 | 2019-11-07T18:01:37 | 149,574,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,308 | plantuml | @startuml
title __FAILFASTSUBINDEX's Class Diagram__\n
package spec.concordion {
package spec.concordion.common.results {
package spec.concordion.common.results.runTotals {
package spec.concordion.common.results.runTotals.testsuite {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex.failFastSubIndex {
class FailFastSpec {
+ sleep()
}
}
}
}
}
}
}
package spec.concordion {
package spec.concordion.common.results {
package spec.concordion.common.results.runTotals {
package spec.concordion.common.results.runTotals.testsuite {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex.failFastSubIndex {
class FailFastSubIndex {
}
}
}
}
}
}
}
package spec.concordion {
package spec.concordion.common.results {
package spec.concordion.common.results.runTotals {
package spec.concordion.common.results.runTotals.testsuite {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex.failFastSubIndex {
class SuccessSpec {
+ sleep()
}
}
}
}
}
}
}
package spec.concordion {
package spec.concordion.common.results {
package spec.concordion.common.results.runTotals {
package spec.concordion.common.results.runTotals.testsuite {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex {
package spec.concordion.common.results.runTotals.testsuite.failFastIndex.failFastSubIndex {
class UnimplementedSpec {
}
}
}
}
}
}
}
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
|
9c73f653cb94fbabc5d46989fdf92c68ecd295c6 | dc20115738d63d9d0dbd16fab019785740465cc7 | /plantuml/Users/hunter/Coding/maternity-ward-system/Doctor.puml | 4a415b5efa23e878e1e4320ccd6f1c06ba7baca1 | [] | no_license | W0lfCr0w/maternity-ward-system | b2a9201111079ce3f638ff78cadb6aa9ecb4e04f | ee9aac0f52841c4083f1666dc4628f9c0d9b34af | refs/heads/main | 2023-06-06T10:33:10.231707 | 2021-06-29T10:20:54 | 2021-06-29T10:20:54 | 379,371,068 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 353 | puml | @startuml
class Doctor {
+ HourlyPay : double <<get>> <<protected set>>
+ SeniorEmployeeRaise() : void
+ Doctor(fname:string, lname:string, id:string, age:int, hours:double)
+ Doctor(fname:string, lname:string, id:string, age:int)
+ <<override>> EndOfMonthSalary() : double
}
Employee <|-- Doctor
ISeniorEmployee <|-- Doctor
@enduml
|
bb20200b25240b7959cab22e3112a83d16b00c39 | 644b7bb773b84596a2de4d31a0603284d9562e56 | /react/bootstrap/table.iuml | aa74de7757f9fb892cd4ee2806a91eaf760fb1aa | [] | no_license | M9k/Marvin-Uml | e62d17245cf493d53f0b80f633a47be8ec44569e | 0fe9bc36f947535ae4397181ccf8c85291244a87 | refs/heads/master | 2021-04-15T17:44:22.461549 | 2018-05-10T07:52:19 | 2018-05-10T07:52:19 | 126,618,685 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 153 | iuml | class Table{
--props--
striped : boolean
bordered : boolean
hover : boolean
--render--
render a table
} |
1af84f372a15c8caaa4dcab74169df11b28b38a1 | b18f8fe90194cb45c37c9c29ac06acbbcf0b617b | /mvp_master/src/main/java/com/mvp/master/principle/SRP/srp.puml | e43ae9b7dcb05e186a31dfc2e355286c81f93ca9 | [] | no_license | qiaodier/MVPDemo | 7e8381bd2a2b19cf30129d60b92aedc2e615d2ea | 1c75459bd4a139aab4d14c8756a14705154ba528 | refs/heads/master | 2021-08-29T07:25:02.357916 | 2021-08-24T06:41:39 | 2021-08-24T06:41:39 | 97,451,181 | 5 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 217 | puml | @startuml
package 单一职责原则 <<Frame>> {
class ImageCache{
+ put(url,bitmap):void
+ get(url):Bitmap
}
class ImageLoader{
+ displayImage(url,imageView):void
}
ImageLoader - ImageCache : <
}
@enduml |
8cf235364d7fb5f5721590c5c9a7b2e225c69821 | 77a3a92f8ffde2d524a10fa3c07a188ebd0f3ccb | /diagramas/probando.puml | 7cc8053ff42b55238b8573543782d0c68a5b7f8f | [
"MIT"
] | permissive | nspiguelman/algo3_tp2 | 636a1e35494ca64e6d7fc11c21726f66750cc4e2 | 97163f2bb53638ecfd9f8eacb3f6db07720883bd | refs/heads/master | 2023-07-02T16:48:15.719532 | 2021-08-09T23:46:06 | 2021-08-09T23:46:06 | 382,969,236 | 0 | 0 | MIT | 2021-08-09T23:46:07 | 2021-07-04T23:44:19 | Java | UTF-8 | PlantUML | false | false | 352 | puml | @startuml
'https://plantuml.com/class-diagram
class Juego{
atacar()
reagrupar()
agregarEjercitos()
}
interface Validacion
class ValidacionFaseUno
class ValidacionFaseDos
class ValidacionFaseDeJuego
Validacion <|.. ValidacionFaseUno
Validacion <|.. ValidacionFaseDos
Validacion <|.. ValidacionFaseDeJuego
Juego ..|> Validacion
@enduml |
b28a3f2b3a24a16d82fb8eb7c735c72732a24693 | ece0340d094951c9b00dc7990820da3b18de26cc | /resource/类图/参考/test12.puml | 077b29a3b3feca24dd9c8630d409a836b39005a8 | [] | no_license | swf2020/clssuml | 1ae35ac8f8cd3c0dc83bc6d691ee0b2d893cca5e | bb233a0e4f9058fa36aebb2aa806ed8039735a80 | refs/heads/master | 2022-12-04T17:14:55.118424 | 2020-08-21T09:02:14 | 2020-08-21T09:02:14 | 284,682,724 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 733 | puml | @startuml
skinparam packageStyle rect/' 加入这行代码,样式纯矩形'/
interface Set<<接口>>{
boolean add (Object o)
boolean remove(Object o)
}
package "com.ztman.org" as Pa #green{
class HashSet<? extends String>{
+boolean add (Object o)
+boolean remove(Object o)
}
interface IntSet{
boolean add (int i)
boolean remove(int i)
}
class IntHashSet{
+boolean add (int i)
+boolean remove(int i)
}
}
Set <|.. HashSet
HashSet <|-- IntHashSet
IntSet <|.. IntHashSet
package "com.ztman.org.cn" as Pb #orange{
class TreeSet {
+boolean add (Object o)
+boolean remove(Object o)
}
class IntTreeSet{
+boolean add (int i)
+boolean remove(int i)
}
}
IntSet <|.. IntTreeSet
TreeSet <|-- IntTreeSet
Set <|.. TreeSet
Pb +-- Pa
@enduml |
c612b8844c919f64a0579a488b91d332b2aa2eb6 | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/installment-sale@2.0.0.puml | 74a2ddfd943cc28a695a69f3a81b3d6cd7c46d8b | [
"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 | 1,509 | puml | @startuml
class org.accordproject.installmentsale.Installment << (T,yellow) >> {
+ MonetaryAmount amount
}
org.accordproject.installmentsale.Installment --|> org.accordproject.cicero.runtime.Request
class org.accordproject.installmentsale.ClosingPayment << (T,yellow) >> {
+ MonetaryAmount amount
}
org.accordproject.installmentsale.ClosingPayment --|> org.accordproject.cicero.runtime.Request
class org.accordproject.installmentsale.Balance << (T,yellow) >> {
+ MonetaryAmount balance
+ MonetaryAmount total_paid
}
org.accordproject.installmentsale.Balance --|> org.accordproject.cicero.runtime.Request
class org.accordproject.installmentsale.ContractStatus << (E,grey) >> {
+ WaitingForFirstDayOfNextMonth
+ Fulfilled
}
class org.accordproject.installmentsale.InstallmentSaleState << (A,green) >> {
+ ContractStatus status
+ MonetaryAmount balance_remaining
+ Integer next_payment_month
+ MonetaryAmount total_paid
}
org.accordproject.installmentsale.InstallmentSaleState --|> org.accordproject.cicero.contract.AccordContractState
class org.accordproject.installmentsale.InstallmentSaleContract << (A,green) >> {
+ AccordParty BUYER
+ AccordParty SELLER
+ MonetaryAmount INITIAL_DUE
+ Double INTEREST_RATE
+ MonetaryAmount TOTAL_DUE_BEFORE_CLOSING
+ MonetaryAmount MIN_PAYMENT
+ MonetaryAmount DUE_AT_CLOSING
+ Integer FIRST_MONTH
}
org.accordproject.installmentsale.InstallmentSaleContract --|> org.accordproject.cicero.contract.AccordContract
@enduml
|
8f62ad8299755581a3b0e490106091ee42bc6513 | 98c049efdfebfafc5373897d491271b4370ab9b4 | /docs/SPRINT_2/UC36-Create_Address/MD.puml | 318ffc0d121b3482963f0cb92a244f4b6923a163 | [] | no_license | antoniodanielbf-isep/LAPR3-2020 | 3a4f4cc608804f70cc87a3ccb29cbc05f5edf0f3 | 7ee16e8c995aea31c30c858f93e8ebdf1de7617f | refs/heads/main | 2023-05-27T14:42:05.442427 | 2021-06-20T18:09:59 | 2021-06-20T18:09:59 | 378,709,095 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 395 | puml | @startuml
skinparam classAttributeIconSize 0
hide methods
left to right direction
class Address {
-String Street
-String PostalCode
-String GeographicalLocation
-Integer doorNumber
}
class Pharmacy {
-Integer id
-String designation
}
/'------------------------------------------------------------------------------------ '/
Pharmacy "1" -- "1" Address: has >
@enduml |
47e04d906869da9d06a553f5e5c62efb228e5851 | bef33e1574a81f5fc8a0ccddaf19c39dabc55c34 | /Lab2/Lab2.plantuml | f79cd467ee13f6976e877cf6757fe662b059644b | [] | no_license | CarlBorillo/CECS-277 | 151258bfc811e20cda773cddb15cbf1180cf7244 | 9122638cef9044e8a2261588d8afba22bccd9fce | refs/heads/main | 2023-02-28T19:55:50.211842 | 2021-02-12T01:23:04 | 2021-02-12T01:23:04 | 338,196,017 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 835 | plantuml | @startuml
title __LAB2's Class Diagram__\n
namespace Lab2 {
class Lab2.Emp {
- name : String
- salary : int
+ Emp()
{static} + main()
+ name()
+ toString()
}
}
namespace Lab2 {
class Lab2.Executive {
- manager : Manager
+ Executive()
{static} + main()
+ toString()
}
}
namespace Lab2 {
class Lab2.Manager {
- department : String
+ Manager()
{static} + main()
+ name()
+ toString()
}
}
namespace Lab2 {
class Lab2.Test {
{static} + main()
}
}
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
|
68a7f508cb5bf0d23de86f728626832d9863f6df | 3e8de74dfe19cd437fd7842887394d4921a109d7 | /docs/images/assoc1-cor.plantuml | 98e5661c7410790945034c6b799583ce5273bb61 | [] | no_license | jmbruel/InnopolisDesignPatterns | 62c5f1df870883cd44245d6459243c83b96d0995 | a9ffbfc16a29ed3d560d5be12e8fb1d2f1bed50e | refs/heads/master | 2021-02-04T20:34:22.378185 | 2020-11-16T17:40:28 | 2020-11-16T17:40:28 | 243,707,157 | 0 | 7 | null | 2020-10-23T08:58:33 | 2020-02-28T07:49:59 | JavaScript | UTF-8 | PlantUML | false | false | 1,061 | plantuml | @startuml
skinparam classAttributeIconSize 0
class AgenceBancaire1 {
-String nom
-String loc
-ArrayList<Compte> alCptes
+String getProprietaire()
+int getNbComptes()
...()
+void addCompte(Compte pCompteAAjouter)
}
class Compte {
}
class AgenceBancaire2 {
-String nom
-String loc
-ArrayList<Compte> alCptes
+String getProprietaire()
+int getNbComptes()
...()
+void addCompte() {... new Compte(...)...}
}
class AgenceBancaire3 {
-String nom
-String loc
+ArrayList<Compte> alCptes
+String getProprietaire()
+int getNbComptes()
...()
+void addCompte(Compte pCompteAAjouter)
}
class AgenceBancaire4 {
-String nom
-String loc
+String getProprietaire()
...()
+void addCompte(Compte pCompteAAjouter)
}
class AgenceBancaire5 {
-String nom
-String loc
-Compte compte
+String getProprietaire()
...()
+void addCompte(Compte pCompteAAjouter)
}
' Structural relationships
AgenceBancaire1 o-> "*" Compte
Compte "*" <-* AgenceBancaire2
Compte "*" <--o AgenceBancaire3
Compte <.. AgenceBancaire4
Compte "1" <-- AgenceBancaire5
@enduml
|
53d01ab97584f05e4635acb21bb3078413bff28d | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ShippingMethodSetLocalizedNameAction.puml | cb9458c070a29f1d0d5ac751fd5a1b50c755dd9d | [] | 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 | 527 | 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 ShippingMethodSetLocalizedNameAction [[ShippingMethodSetLocalizedNameAction.svg]] extends ShippingMethodUpdateAction {
action: String
localizedName: [[LocalizedString.svg LocalizedString]]
}
interface ShippingMethodUpdateAction [[ShippingMethodUpdateAction.svg]] {
action: String
}
@enduml
|
a26a25cbdedea462066fa1f8a30df6483a8cf36b | d2c96f969cd4a57d2fef25280205e11be26a64b4 | /de.gematik.ti.utils/doc/plantuml/TIUTILS/exceptions.plantuml | 4d1396974512e82dc0aa1579fc35831dbc1242d8 | [
"Apache-2.0"
] | permissive | gematik/ref-Ti-Utils | cfe9a03769e801529bf652528828083f0cc767b1 | be995beba79613c5242be9c5388952c7816782e5 | refs/heads/master | 2022-01-15T08:47:41.366276 | 2022-01-07T07:23:43 | 2022-01-07T07:23:43 | 232,986,325 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 409 | plantuml | @startuml
namespace de.gematik.ti.utils.streams {
namespace exceptions {
class de.gematik.ti.utils.streams.exceptions.StreamRuntimeException {
+ StreamRuntimeException()
+ StreamRuntimeException()
+ StreamRuntimeException()
+ StreamRuntimeException()
+ StreamRuntimeException()
}
}
}
@enduml
|
acc398a05eb4f9689434ec07651c008ecc99bc08 | 6d6b319c70ccc14eece14e0c1d4a6583b36946cf | /app/app.plantuml | bc9d88acc0af2f8213f6403468b585f63571c38b | [] | no_license | HexadecSwe16/MegAlexa | e90287e2893758c8d0c16cb18139ea30d8f1dce8 | 0abcab34f307082430a8edf53c3355ab6ad1bdc3 | refs/heads/master | 2020-06-01T17:50:02.137135 | 2019-06-08T10:08:52 | 2019-06-08T10:08:52 | 190,871,698 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 314 | plantuml | @startuml
title __APP's Class Diagram__\n
package com.megalexa.hexadec {
class BuildConfig {
}
}
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
|
1c61a827e49d25bd6c6c747f326bc8da9447b89d | c62bb7c6334b3992fda2bea1dfdb6fda7070e83a | /src/academy/mindswap/games_factory/wheel_of_fortune/messages/messages.plantuml | da1be6cb734a3c7d6259591f4bb2d869461de6d3 | [] | no_license | BastosFilipa/wheel-of-fortune | 0eb6b6b83a8d8df613d8411925b4757eea742496 | 10a2b3d18534f2c1ab0c2bc4d06c8dec1f552cd8 | refs/heads/master | 2023-05-31T11:03:45.355578 | 2021-06-27T17:58:31 | 2021-06-27T17:58:31 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,140 | plantuml | @startuml
title __MESSAGES's Class Diagram__\n
namespace academy.mindswap.game {
namespace _factory {
namespace wheel_of_fortune {
namespace messages {
class academy.mindswap.games_factory.wheel_of_fortune.messages.GameMessages {
{static} + ASK_NAME : String
{static} + BANKRUPT : String
{static} + CHOOSE_A_CONSONANT : String
{static} + CHOOSE_A_VOWEL : String
{static} + CHOSEN_LETTERS : String
{static} + FAIL_ANSWER : String
{static} + FREE_PLAY : String
{static} + GAME_END : String
{static} + GUESS_QUOTE : String
{static} + INVALID_CONSONANT : String
{static} + INVALID_DOUBLE_CONSONANT : String
{static} + INVALID_DOUBLE_VOWEL : String
{static} + INVALID_OPTION : String
{static} + INVALID_VOWEL : String
{static} + MISS_TURN : String
{static} + MONEY_OPTIONS : String
{static} + NO_MONEY_BUY_VOWEL : String
{static} + PERMISSION_TO_TALK : String
{static} + PLAYER_CASH : String
{static} + PLAYER_CHOOSE_A_CONSONANT : String
{static} + PLAYER_CHOOSE_A_VOWEL : String
{static} + PLAYER_CHOOSE_GUESS : String
{static} + PLAYER_JOINED : String
{static} + PLAYER_LEFT_GAME : String
{static} + PLAYER_TURN : String
{static} + PLAYER_WON : String
{static} + SPIN_WHEEL : String
{static} + START_GAME : String
{static} + THIS_IS_THE_QUOTE : String
{static} + WAITING_FOR_OTHER_PLAYERS : String
{static} + WAITING_PLAYER_OPTION : String
{static} + WELCOME_MESSAGE : String
{static} + WON_BONUS : String
}
}
}
}
}
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
|
d45fdab50341407435a04ac792a980c8c27e9998 | 3d33f4e31702fdba9b2d095dd3d91d711409264c | /class-diagram/core-committer-class.puml | e7bd075648cc964624d304441256544e4693eda3 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | JulienGuo/fabric-addsm | 81a181dd4f91160abbd9f131d87e8c187a32c542 | 8a489300031d07c09f44fc0f1687793f6eaaa1c0 | refs/heads/master | 2021-05-04T21:27:43.690594 | 2018-02-02T05:43:34 | 2018-02-02T05:43:34 | 119,926,380 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,790 | puml | @startuml
namespace github.com\\hyperledger\\fabric\\core\\committer {
class LedgerCommitter {
ledger ledger.PeerLedger
validator txvalidator.Validator
eventer ConfigBlockEventer
}
}
namespace github.com\\hyperledger\\fabric\\core\\committer\\txvalidator {
class vsccValidatorImpl {
support Support
ccprovider ccprovider.ChaincodeProvider
sccprovider sysccprovider.SystemChaincodeProvider
}
}
namespace github.com\\hyperledger\\fabric\\core\\committer\\txvalidator {
class txValidator {
support Support
vscc vsccValidator
}
}
namespace github.com\\hyperledger\\fabric\\core\\committer {
interface Committer {
Commit(block *common.Block)error
LedgerHeight()(uint64,error)
GetBlocks(blockSeqs []uint64)[]*common.Block
Close()
}
}
namespace github.com\\hyperledger\\fabric\\core\\committer\\txvalidator {
interface Support {
Ledger()ledger.PeerLedger
MSPManager()msp.MSPManager
Apply(configtx *common.ConfigEnvelope)error
GetMSPIDs(cid string)[]string
}
}
namespace github.com\\hyperledger\\fabric\\core\\committer\\txvalidator {
interface Validator {
Validate(block *common.Block)error
}
}
namespace github.com\\hyperledger\\fabric\\core\\committer\\txvalidator {
interface vsccValidator {
VSCCValidateTx(payload *common.Payload,envBytes []byte,env *common.Envelope)(error,peer.TxValidationCode)
}
}
github.com\\hyperledger\\fabric\\core\\committer.Committer <|- github.com\\hyperledger\\fabric\\core\\committer.LedgerCommitter
github.com\\hyperledger\\fabric\\core\\committer\\txvalidator.Validator <|- github.com\\hyperledger\\fabric\\core\\committer\\txvalidator.txValidator
github.com\\hyperledger\\fabric\\core\\committer\\txvalidator.vsccValidator <|- github.com\\hyperledger\\fabric\\core\\committer\\txvalidator.vsccValidatorImpl
@enduml |
e919c1ef9cb0cd080dccabd81312810449d1152e | b55e3653fa9143035e01e52e3046ca330ad9ea38 | /m/uml/Client_class.puml | 7eda121e26f5f4dffbf0fd192675d6cf14d0b139 | [] | no_license | akeost/silly | a8c7dab27fe1180a333901f5d17c0d19d455c7c6 | 8beb25c1615c4eb13e62637d2fb631ab4d547118 | refs/heads/master | 2021-01-10T19:51:23.977991 | 2015-06-02T07:26:13 | 2015-06-02T07:26:13 | 33,609,107 | 0 | 3 | null | 2015-05-29T13:13:06 | 2015-04-08T13:39:38 | Java | UTF-8 | PlantUML | false | false | 4,736 | puml | @startuml
title Class diagram of client side
package com.velvet.m.client {
interface ServerListener{
{abstract} diceRolled()
{abstract} playerJoined()
{abstract} playerMoved()
{abstract} gameStarted()
__ or just ? __
{abstract} onEvent()
}
interface ActionListener {
{abstract} actionPerformed()
}
interface PlayerListener {
{abstract} joinEvent()
{abstract} chatEvent(String s)
{abstract} rollEvent()
{abstract} startEvent()
__ or just ? __
{abstract} onEvent()
}
interface GameView {
{abstract} appendChatText()
}
class Client {
- MessageSender sender
- GuiFactory guiFactory
- GameView view
- PlayerListener pl
+ static void main()
GuiFactroy gui = new GuiFactoryImpl()
GameView view = guiFactory.createGameView()
}
class Controller implements PlayerListener, ServerListener {
- GameView view
- MessageSender sender
- ArrayList<Player> p
}
note right of Controller: The controller is bound to the view. \nThis typically means that any user \nactions that are performed on the \nview will invoke a registered listener method \nin the controller class. \nThe controller is given a reference to the\n underlying model.
abstract class GuiFactory {
+ {abstract} GameView createGameView
}
Note bottom of GuiFactory: We want to change the View impl. without changing \nthe caller (Client) to reduce/having loose coupling \ntowards (any) GUI. Here, the FDP creates new \nobject(s) of whatever impl. it chooses.
class GuiFactoryImpl {
+ GameView createGameView()
}
class AkeView implements ActionListener {
- JFrame frame
- PlayerListener pl
--
+ setPLayerListener()
--
+ appendChatText()
}
note right of (AkeView): The view registers as a listener on the model.\n Any changes to the underlying data \nof the model immediately result in a broadcast\n change notification, which the view receives. \nThis is an example of the push model.
class AnotherViewImpl implements ActionListener {
- Console c
--
+ appendChatText()
}
class Player {
- Avatar a
}
class Avatar
note right: Not sure what\n to do with this
class ServerAPI implements TransportListener {
- GameTransport gt
- ServerListener sl
+ sendStartGame(GameCmd cmd)
+ sendJoinGame()
+ sendRollDice()
+ sendChatMsg()
+ setServerListener()
__ private methods __
- onReceive()
}
note left of ServerAPI: Note that the model (service) is not\n aware of the view or the controller \n-- it simply broadcasts change \nnotifications to all interested listeners.
package "com.velvet.m.util " #DDDDDD {
interface TransportListener {
{abstract} onReceive()
}
interface Sender {
+ addHeader()
+ ship()
+ send()
}
note right of Sender: Object composition and DAO Design Pattern\n- Separate low level data accessing API or operations \nfrom high level business services\nhttps://cs.uwaterloo.ca/~a78khan/courses-offered/cs446/ \n2011_05/lectures/2011_06-jun_15_DAO.pdf
class ReceiverMessage implements Runnable {
- todo
+ todo()
}
class SenderMessage {
- TransportListener gtl
- Message msg
____
+ SenderMessage(Message msg) //pass in a Message
+ pack() // from Message (method delegate impl. to Message)
+ send() // from Sender
__ ??? __
+ run()
+ addTransportListener(TransportListener gtl)
- rcvThread()
}
note right of SenderMessage: Composing class that both contains and implements \nthe same interface (IS-A and HAS-A Message)
interface Message extends Serializable {
- GameCmd cmd;
- String response
- String command
+ Message(GameCmd cmd, String txt)
+ pack()
}
note right of Message: A final class \n(from www.bogotobogo.com/Java/ \ntutorial/tcp_socket_server_client.php)\n Object composition and\n DAO Design Pattern\n- Separate low level data accessing API or operations from \nhigh level business services\n\nCommand Pattern?
class ChatMessage implements Message
class RollDiceMessage implements Message
class DiceRolledMessage implements Message
class UdpSender? implements Sender
class BroadCastSender? implements Sender
class Pigeon? implements Sender
enum GameCmd {
JOIN
ROLL_DICE
START
END_TURN
}
}
Client *-- Controller
Client ..> GameView : uses
Client *-- ServerAPI
Client ..> GuiFactory : uses
Controller "0..*" *-- "1" Player
Player *-- Avatar : has a symbol <
Controller o- ServerAPI
'ServerAPI o--- Transport
'Controller o- AkeView
SenderMessage ..|> Sender : implements
SenderMessage ..|> Message : implements
AkeView ..|> GameView : implements
GuiFactory ..> GameView : uses
GuiFactoryImpl --|> GuiFactory : implements
GuiFactoryImpl ..> AkeView : uses
GuiFactoryImpl ..> AnotherViewImpl
AnotherViewImpl ..|> GameView : implements
ReceiverMessage ..|> Sender : implements
ReceiverMessage ..|> Message : implements
TransportApi <-- SenderMessage
TransportApi <-- ReceiverMessage
@enduml
|
fd82846f76aad83fdf7d4e9f90b0c9de4fc36185 | ccf2cf0bece30198f4d1273e5ea2bace9dd17c3f | /src/main/java/ex42/App.puml | 87929e86633b1a52bce00bc400dfd3f47e13c83c | [] | no_license | JayEspinoza/espinoza-cop3330-assigment3 | 54b8ef5d917e238f02f09208a6a5e90f39e167d7 | d052acd161a16be91cb6eec63ee656f27017c7c1 | refs/heads/master | 2023-06-05T12:36:08.583311 | 2021-06-20T21:38:44 | 2021-06-20T21:38:44 | 378,744,688 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 414 | puml | @startuml
'https://plantuml.com/class-diagram
class App
class dataHandler
class fileMethods
App <--- dataHandler
App <--- fileMethods
class App{
+main(args : String []) : void
}
class dataHandler{
+parseData(inputList : ArrayList<String>) : ArrayList<String>
+ printList(parsedList : ArrayList<String>) : void
}
class fileMethods{
+readFile(inputFile: File, readHelper : Scanner) : ArrayList<String>
}
@enduml |
1fb023c5b4c609e08d97117010f3fc1b589b6bb3 | 65d20a2522663f335ac05ff61a0d00cb3c9e02d6 | /设计模式/结构型模式/6.Adapter适配器/adapter.puml | 6b93f2ad3d93241b9365f9a28fd8607fb8203fa1 | [] | no_license | GungnirLaevatain/doc | 3f436387665cd67b93e84df0a0c92f9f894ad4a3 | 519643453e49a5a82e4a971597d186bfdc280116 | refs/heads/master | 2020-08-08T15:52:54.217559 | 2020-03-16T02:10:08 | 2020-03-16T02:10:08 | 213,863,201 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 686 | puml | @startuml
interface Jpeg{
+ String getBody()
}
class EmptyJpeg{
+ String getBody()
}
interface Png{
+ byte[] getBody()
}
class EmptyPng{
+ byte[] getBody()
}
class JpegToPngAdapter{
- Jpeg jpeg
+ byte[] getBody()
}
interface PngReader{
+ String read(Png png)
}
class DefaultPngReader{
+ String read(Png png)
}
class Client{
+{static}void main(String[] args)
}
EmptyJpeg --|> Jpeg
EmptyPng --|> Png
JpegToPngAdapter --|> Png
DefaultPngReader --|> PngReader
JpegToPngAdapter o--> Jpeg
PngReader..>Png :读取内容
Client ..> PngReader :构建png格式读取器进行图片读取
Client ..> Png :读取png
Client ..> JpegToPngAdapter :读取jpeg
@enduml |
b5c582cfa1695ff79deee3d89da1bfac43e9ba49 | 54f0570710d72445f30bc8261595126edc5b67ca | /ass12/py2puml.py.puml | 5bdc467dcb743f3fb1117ce9b4753677545ec0b8 | [] | no_license | deadbok/eal_programming | cab8fc7145b5115f887a7b10aad90880a799d118 | 33bf532b397f21290d6f85631466d90964aab4ad | refs/heads/master | 2021-01-13T15:11:19.276462 | 2017-06-13T09:20:51 | 2017-06-13T09:20:51 | 76,203,290 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 129 | puml | @startuml
skinparam monochrome true
skinparam classAttributeIconSize 0
scale 2
class ClassParser{
+visit_ClassDef()
}
@enduml |
4343dffa971f6f9ce486a0d6cec7694dc79344fe | b157a36576ffd1e6a44c44be704c9e0b732b088b | /src/main/java/factory/SimpleFactory.puml | 0f6b9cc8727422a8fe89235fa2e6d863bf41af6b | [] | no_license | floor07/Hello_DesignParttern | 69fcfd5dd141fb9c34dc52e95b889dccf4277f7a | c1fa8d93c003a9561819416c04ee21d0467e1119 | refs/heads/master | 2021-09-15T02:08:03.315347 | 2018-05-24T03:26:54 | 2018-05-24T03:26:54 | 89,846,798 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 372 | puml | @startuml
class PizzaStore
class SimplePizzaFactory{
Pizza:createPizza()
}
abstract class Pizza{
String type
void : prepare()
void : bake()
void : cut()
void : box()
}
class ChessePizza
class PepperoniPizza
class VeggiePizza
Pizza <|-- ChessePizza
Pizza <|-- PepperoniPizza
Pizza <|-- VeggiePizza
SimplePizzaFactory --> Pizza
PizzaStore -->SimplePizzaFactory
@enduml |
702fcadad2d402a59420241bd2ec2df483b1d285 | 91fceecc2c8cf6309741e0fb715cec95f8558ca8 | /assets/dp-composite-ex-2.plantuml | 8d729588f1e8d0be8f086510a30c704ee2446014 | [
"MIT"
] | permissive | ohm-softa/ohm-softa.github.io | dd8b3fbbcce62d3625603376f0771ab62557d76a | 7479445d2b5598a9aaaa4f37ffd76436fc81482e | refs/heads/master | 2023-07-20T07:43:25.665737 | 2023-07-12T08:10:32 | 2023-07-12T08:10:32 | 170,150,460 | 20 | 42 | MIT | 2023-06-24T15:22:55 | 2019-02-11T15:16:01 | HTML | UTF-8 | PlantUML | false | false | 261 | plantuml | @startuml
abstract class Shipment {
+ count(): int
}
class Box extends Shipment {
+ count(): int
- contents: Shipment
}
class Shirt extends Shipment
class Pants extends Shipment
class Shoes extends Shipment {
+ count(): int
}
Shipment --* Box
@enduml
|
3759b1c2e96f06b9c66962069b2e875469f22f99 | 1fef2f0f0ad13aebb3d3f732d0cae8867ee8e87c | /plantuml/Microwave.Classes/Interfaces/IDoor.puml | 4edbaa882b80fbea72db54fda502001b5cca3949 | [] | 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 | 151 | puml | @startuml
interface IDoor {
<<event>> Opened : EventHandler
<<event>> Closed : EventHandler
Open() : void
Close() : void
}
@enduml
|
089a0c94c18baf9396bebce3444017fdd3b76a0c | 61bd728a794674110bf2a8b4536e08bd7fe6a504 | /src/kotlin_example/command/command.puml | b1b3aa4ef151dff4d2a1fea43664ac96944fd9e4 | [
"MIT"
] | permissive | wafer-li/DesignPatternExample | 5a73e9b0947fb213a103207dab487f26f59aa2c6 | 9e402bd7d270fad028e4ec7fc0ca7143ca3dadff | refs/heads/master | 2020-04-06T06:14:17.485045 | 2019-07-01T07:36:21 | 2019-07-01T07:36:21 | 73,566,948 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 293 | puml | @startuml
class Client
class Invoker
class Receiver
interface Command {
void execute()
}
class ConcretCommand {
void execute()
}
Client -> ConcretCommand
Client -down-> Receiver
Invoker -> Command
ConcretCommand .up.|> Command
ConcretCommand -> Receiver
hide empty members
@enduml
|
d848fa9de654444717788b30f0f8ffe34257b16a | 7ede6f3bd8bd517b954fc68932152b5c18345a43 | /test3/class1.puml | 6ca19f900f631a3c6155039dd98c983bc1a00a7b | [] | no_license | yangshuangyou/is_analysis | 1739015460b7991a906f5e150acbdbb3d6757517 | 2b15ddf30fe486a7cdf36b04d2d2853cbc448871 | refs/heads/master | 2020-03-07T17:03:36.021813 | 2018-06-08T05:33:07 | 2018-06-08T05:33:07 | 127,601,361 | 1 | 5 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,902 | puml | @startuml
class 馆藏目录{
}
class 馆藏资源品种{
资源名称
国际出版号
价格
简介
馆藏数量
可借数量
}
class 碟片品种{
碟片类型
碟片数
制作公司
}
class 图书品种{
作者
出版社
出版日期
}
class 预定记录{
预定日期
}
class 资源项{
馆藏流水号
状态
}
class 借书记录{
借书日期
归还日期
}
class 读者{
姓名
身份证号
借书卡号
图书限额
已借图书数
碟片限额
已借碟片数
}
class 教师读者{
查看学生借书情况()
}
class 学生读者{
}
class 图书管理员{
职工号
姓名
}
class 教师图书管理员{
}
class 学生管理员{
}
class 逾期记录{
逾期天数
}
class 罚款细则{
}
class 系统管理员{
职工号
姓名
图书管理()
管理员管理()
读者管理()
}
馆藏目录 "1" --right"1..*" 馆藏资源品种
馆藏资源品种 "1" --up "*" 预定记录:被预定
预定记录 "*" --down "1" 读者
馆藏资源品种 "1"*--right "*"资源项:拥有
馆藏资源品种 o--down 碟片品种
馆藏资源品种 o--down 图书品种
资源项 "1"--down "0..1"借书记录
读者 --left 借书记录
图书管理员 "1"--right"*" 借书记录:登记
借书记录 "1"--down "0..1" 逾期记录
逾期记录 "*"--right"0..1" 罚款细则:使用
读者 o-- 学生读者
读者 o-- 教师读者
图书管理员 o-- 教师图书管理员
图书管理员 o-- 学生管理员
图书管理员 o-- 系统管理员
@enduml |
0b704863dc95945a40b02f2a94321df0c5e344f7 | 037106db8696dbb32953a5a3d9b8953ae830aa66 | /static/diagrams/hessian-Deserializer.puml | 9440cab4704206133314ac3024af917d47d121aa | [
"Apache-2.0"
] | permissive | diguage/www.diguage.com | 05dda5721dc85a28423b6930cee382c7236f3bf7 | c154ee72ecaf4a330268760746e35da4f5f30ad7 | refs/heads/master | 2023-07-06T18:18:41.282079 | 2023-06-30T02:10:19 | 2023-06-30T02:10:19 | 216,299,477 | 0 | 3 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,560 | puml | @startuml
title **Hessian Serializer 类图**
interface Deserializer {
+ Class<?> getType()
+ boolean isReadResolve()
+ Object readObject(AbstractHessianInput in)
+ Object readList(AbstractHessianInput in, int length)
+ Object readLengthList(AbstractHessianInput in, int length)
+ Object readMap(AbstractHessianInput in)
+ Object[] createFields(int len)
+ Object createField(String name)
+ Object readObject(AbstractHessianInput in, Object[] fields)
+ Object readObject(AbstractHessianInput in, String[] fieldNames)
}
class AbstractDeserializer implements Deserializer
class AbstractListDeserializer extends AbstractDeserializer
class ArrayDeserializer extends AbstractListDeserializer
class CollectionDeserializer extends AbstractListDeserializer
class EnumerationDeserializer extends AbstractListDeserializer
class IteratorDeserializer extends AbstractListDeserializer
class BasicDeserializer extends AbstractDeserializer
class EnumDeserializer extends AbstractDeserializer
abstract class AbstractStringValueDeserializer extends AbstractDeserializer
class BigDecimalDeserializer extends AbstractStringValueDeserializer
class FileDeserializer extends AbstractStringValueDeserializer
class ObjectNameDeserializer extends AbstractStringValueDeserializer
class StringValueDeserializer extends AbstractStringValueDeserializer
class InputStreamDeserializer extends AbstractDeserializer
'class MBeanAttributeInfoDeserializer extends AbstractDeserializer
'class MBeanConstructorInfoDeserializer extends AbstractDeserializer
'class MBeanInfoDeserializer extends AbstractDeserializer
'class MBeanNotificationInfoDeserializer extends AbstractDeserializer
'class MBeanOperationInfoDeserializer extends AbstractDeserializer
'class MBeanParameterInfoDeserializer extends AbstractDeserializer
class ObjectDeserializer extends AbstractDeserializer
'class ObjectInstanceDeserializer extends AbstractDeserializer
'class SqlDateDeserializer extends AbstractDeserializer
abstract class ValueDeserializer extends AbstractDeserializer
class AbstractMapDeserializer extends AbstractDeserializer
class AnnotationDeserializer extends AbstractMapDeserializer
class BeanDeserializer extends AbstractMapDeserializer
class ClassDeserializer extends AbstractMapDeserializer
class JavaDeserializer extends AbstractMapDeserializer
class StackTraceElementDeserializer extends JavaDeserializer
class MapDeserializer extends AbstractMapDeserializer
class UnsafeDeserializer extends AbstractMapDeserializer
footer D瓜哥 · https://www.diguage.com · 出品
@enduml |
287d3d47d1508d9f4e8d1d22daeee1cf3c8c906c | 0cbab4df96db6bb5892b3dd54d128c6e5673ad07 | /.idea/modules/app/app.plantuml | 506d95c0d60e2550668e6c013bd4667fc5fb1a00 | [] | no_license | ofekyariv/XOProject | 4f5aa26f8a3062bbb0bb42af193e7f8ecc6833d1 | 90bc72a0860fe5b2848c3f2645ef7775a4a2ad1f | refs/heads/main | 2023-06-02T19:00:47.497214 | 2021-06-24T18:14:57 | 2021-06-24T18:14:57 | 371,459,678 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,529 | plantuml | @startuml
title __SPLASHSCREEN.APP's Class Diagram__\n
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.BackgroundSoundService {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.BuildConfig {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.Controller {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.Forgot_pass {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.GameOverActivity {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.ListActivity {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.LoginActivity {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.MainActivity {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.ModeSelectActivity {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.Model {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.MyBroadcastReceiver {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.Player {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.PlayerAdapter {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.PlayerDataBase {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.Register {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.SplashScreen {
}
}
namespace tal.XOProject.tictactoe {
class tal.XOProject.tictactoe.Userprofile {
}
}
tal.XOProject.tictactoe.BackgroundSoundService -up-|> android.app.Service
tal.XOProject.tictactoe.Controller o-- tal.XOProject.tictactoe.Model : model
tal.XOProject.tictactoe.Forgot_pass -up-|> androidx.appcompat.app.AppCompatActivity
tal.XOProject.tictactoe.GameOverActivity -up-|> androidx.appcompat.app.AppCompatActivity
tal.XOProject.tictactoe.ListActivity .up.|> android.widget.AdapterView.OnItemLongClickListener
tal.XOProject.tictactoe.ListActivity -up-|> androidx.appcompat.app.AppCompatActivity
tal.XOProject.tictactoe.ListActivity o-- tal.XOProject.tictactoe.PlayerAdapter : adapter
tal.XOProject.tictactoe.ListActivity o-- tal.XOProject.tictactoe.PlayerDataBase : playerDataBase
tal.XOProject.tictactoe.LoginActivity -up-|> androidx.appcompat.app.AppCompatActivity
tal.XOProject.tictactoe.MainActivity -up-|> androidx.appcompat.app.AppCompatActivity
tal.XOProject.tictactoe.MainActivity o-- tal.XOProject.tictactoe.Controller : controller
tal.XOProject.tictactoe.ModeSelectActivity -up-|> androidx.appcompat.app.AppCompatActivity
tal.XOProject.tictactoe.MyBroadcastReceiver -up-|> android.content.BroadcastReceiver
tal.XOProject.tictactoe.Player .up.|> java.lang.Comparable
tal.XOProject.tictactoe.PlayerAdapter -up-|> android.widget.ArrayAdapter
tal.XOProject.tictactoe.PlayerDataBase -up-|> android.database.sqlite.SQLiteOpenHelper
tal.XOProject.tictactoe.Register -up-|> androidx.appcompat.app.AppCompatActivity
tal.XOProject.tictactoe.SplashScreen -up-|> androidx.appcompat.app.AppCompatActivity
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
|
5f6385593bad827e10ad5be042598cfefcc569c3 | 605cac101260b1b451322b94580c7dc340bea17a | /malokhvii-eduard/malokhvii01/doc/plantuml/ua/khpi/oop/malokhvii01/TaskPerformerForBinaryValues.puml | a7b9b715df8d99f05c08710eac775582e4d2823f | [
"MIT"
] | permissive | P-Kalin/kit26a | fb229a10ad20488eacbd0bd573c45c1c4f057413 | 2904ab619ee48d5d781fa3d531c95643d4d4e17a | refs/heads/master | 2021-08-30T06:07:46.806421 | 2017-12-16T09:56:41 | 2017-12-16T09:56:41 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 390 | puml | @startuml
class TaskPerformerForBinaryValues {
-binaryNumbers: ArrayList<String>
-taskValues: TaskValues
+TaskPerformerForBinaryValues(TaskValues)
+countAmountOfBitsInNumber(String, char): long
+countAmountOfOnesInNumbers(): long
+countAmountOfZeroesInNumbers(): long
+setTaskValues(TaskValues): void
}
@enduml
|
7308e2c7e7abc4da2ae67b41ed9e9c839157e158 | 9623791303908fef9f52edc019691abebad9e719 | /src/cn/shui/order/wildcard_matching_44/wildcard_matching_44.plantuml | 7d2b5dfbc105f0c4e035b3fc9551e8344fb8a0c5 | [] | no_license | shuile/LeetCode | 8b816b84071a5338db1161ac541437564574f96a | 4c12a838a0a895f8efcfbac09e1392c510595535 | refs/heads/master | 2023-08-17T04:53:37.617226 | 2023-08-15T16:18:46 | 2023-08-15T16:18:46 | 146,776,927 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 464 | plantuml | @startuml
title __WILDCARD_MATCHING_44's Class Diagram__\n
namespace cn.shui.order {
namespace wildcard_matching_44 {
class cn.shui.order.wildcard_matching_44.Solution {
{static} + main()
{static} - isMatch()
}
}
}
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
|
e622a5c82567144cf4dac1c19d6c34dafae46f6d | 6b94956262f6a8825dea7f2823a3f33ee322e39e | /docs/diagrams/uiArchitecture.puml | 7e159a7a63131a5516a8c5f920d23489b2aa3012 | [] | no_license | AY2021S2-CS2113T-F08-4/tp | 607eea5a4fe93824d6aa573c087fae90ad920eff | 7c8b292c9c0cda3d4fbb3652f821c2cfef2051cd | refs/heads/master | 2023-04-01T01:28:10.618333 | 2021-04-12T14:40:07 | 2021-04-12T14:40:07 | 344,644,962 | 0 | 4 | null | 2021-04-12T14:40:08 | 2021-03-05T00:13:09 | Java | UTF-8 | PlantUML | false | false | 318 | puml | @startuml
hide circle
skinparam classAttributeIconSize 0
package Ui {
class Ui {
- {static} longHorizontalLine : String
+ {static} readCommand() : String
+ {static} readCommandToInt() : Int
+ {static} printMainMenu()
+ {static} printInvalidInputMessage()
}
}
@enduml
|
f9cebe175980022456eff17d4fa759a4aa2c6a57 | 4e735a2b94ef137437adc8798f08fe9ca8b8b6c5 | /docs/diagrams/budget/BudgetClassDiagram.puml | 1665091bdd7a2224482d2bfd13e711da932558a8 | [
"MIT"
] | permissive | AY1920S1-CS2103T-T11-1/main | 077c196c06f1ce91d5fb1afe8b969390ba737f85 | e2e0e05955f04931ddaff41685a3dba64c0e6e86 | refs/heads/master | 2020-07-21T05:18:09.774695 | 2019-11-12T15:45:13 | 2019-11-12T15:45:13 | 206,758,681 | 0 | 7 | NOASSERTION | 2019-11-12T15:18:58 | 2019-09-06T09:19:12 | Java | UTF-8 | PlantUML | false | false | 443 | puml | @startuml
class Budget {
-boolean: isPrimary
+{static}deepCopy() : Budget
+calculateProportionUsed(): Percentage
+normalize(anchor : Timestamp) : Budget
+refresh() : void
+getCurrentPeriodExpenses() : ObservableList<Expense>
+transferExpensesTo(other : Budget) : void
}
Budget -right-> "1" BudgetWindow : budgeting period
Budget -up-> "1" Description : name
Budget -up-> "1" Price : amount
Budget o-down-> "0..*" Expense : expenses
@enduml
|
7d0e8fdc5bbf49ff57788d406825556c329fe284 | d702b31e656edcb9944228c0309f153bdff29eec | /src/main/java/de/gematik/ti/healthcardaccess/healthcards/healthcards.plantuml | 2eda214563a566057c6d20183be159f75a3beb0c | [
"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 | 3,294 | plantuml | @startuml
title __HEALTHCARDS's Class Diagram__\n
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.Egk2 {
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.Egk21 {
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.Hba2 {
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.Hba21 {
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.HealthCardStatusInvalid {
+ isValid()
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.HealthCardStatusUnknown {
+ isValid()
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.HealthCardStatusValid {
+ HealthCardStatusValid()
+ getHealthCardType()
+ isValid()
+ setHealthCardType()
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.Smcb2 {
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.Smcb21 {
}
}
}
namespace de.gematik.ti.healthcardaccess {
namespace healthcards {
class de.gematik.ti.healthcardaccess.healthcards.Unknown {
}
}
}
de.gematik.ti.healthcardaccess.healthcards.Egk2 .up.|> de.gematik.ti.healthcardaccess.IHealthCardType
de.gematik.ti.healthcardaccess.healthcards.Egk21 .up.|> de.gematik.ti.healthcardaccess.IHealthCardType
de.gematik.ti.healthcardaccess.healthcards.Hba2 .up.|> de.gematik.ti.healthcardaccess.IHealthCardType
de.gematik.ti.healthcardaccess.healthcards.Hba21 .up.|> de.gematik.ti.healthcardaccess.IHealthCardType
de.gematik.ti.healthcardaccess.healthcards.HealthCardStatusInvalid .up.|> de.gematik.ti.healthcardaccess.IHealthCardStatus
de.gematik.ti.healthcardaccess.healthcards.HealthCardStatusUnknown .up.|> de.gematik.ti.healthcardaccess.IHealthCardStatus
de.gematik.ti.healthcardaccess.healthcards.HealthCardStatusValid .up.|> de.gematik.ti.healthcardaccess.IHealthCardStatus
de.gematik.ti.healthcardaccess.healthcards.HealthCardStatusValid o-- de.gematik.ti.healthcardaccess.IHealthCardType : healthCardType
de.gematik.ti.healthcardaccess.healthcards.Smcb2 .up.|> de.gematik.ti.healthcardaccess.IHealthCardType
de.gematik.ti.healthcardaccess.healthcards.Smcb21 .up.|> de.gematik.ti.healthcardaccess.IHealthCardType
de.gematik.ti.healthcardaccess.healthcards.Unknown .up.|> de.gematik.ti.healthcardaccess.IHealthCardType
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
|
4f8ceb13f9d27f87169a9a1474e6beface408ca7 | fd897e6c0f99648aa6aef2208a6242b397ce477b | /doc/thread_class.plantuml | 413a7e2890bff041c08a1067918cebacc8d0e1d6 | [] | no_license | xxrlzzz/flutter_thread_demo | a97cebd47016b967af2fb4e2fc156c2434f0f349 | 0fd32a442d3f3cb21b3c23ed80a47bed5b56a22b | refs/heads/master | 2023-04-16T21:52:09.240181 | 2021-04-30T09:53:54 | 2021-04-30T09:53:54 | 363,094,799 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,013 | plantuml | @startuml thread
class Thread {
- unique_ptr<std::thread> thread_
- RefPtr<TaskRunner> task_runner_
}
class MessageLoop {
- RefPtr<MessageLoopImpl> loop_
- RefPtr<fml::TaskRunner> task_runner_
+ {static} MessageLoop& GetCurrent()
+ Run()
+ Terminate()
+ AddTaskObserver(intptr_t key, const closure& callback)
+ RemoveTaskObserver(intptr_t key)
+ RefPtr<fml::TaskRunner> GetTaskRunner() const;
}
class TaskRunner {
- RefPtr<MessageLoopImpl> loop_
+ PostTask(const closure& task)
+ PostTaskForTime(const closure& task, TimePoint target_time)
+ PostDelayedTask(const closure& task, TimeDelta delay)
+ TaskQueueId GetTaskQueueId()
}
abstract MessageLoopImpl {
- RefPtr<MessageLoopTaskQueues> task_queue_
- TaskQueueId queue_id_
+ PostTask(const closure& task, TimePoint target_time)
+ AddTaskObserver(intptr_t key, const closure& callback)
+ RemoveTaskObserver(intptr_t key)
+ TaskQueueId GetTaskQueueId()
+ {abstract} Run()
+ {abstract} Terminate()
}
abstract Wakeable {
- {abstract} WeakUp(TimePoint time_point)
}
class MessageLoopTaskQueues {
+ {static} RefPtr<MessageLoopTaskQueues> GetInstance()
+ TaskQueueId CreateTaskQueue()
+ Dispose(TaskQueueId queue_id)
+ DisposeTasks(TaskQueueId queue_id)
- map<TaskQueueId, unique_ptr<TaskQueueEntry>> queue_entries_
}
class MessageLoopLinux {
}
class MessageLoopDarwin {
}
class MessageLoopWin {
}
class TaskQueueEntry {
- Wakeable* wakeable_
- map<intptr_t, closure> task_observers_
- DelayedTaskQueue delayed_tasks_
}
class DelayedTask {
+ closure task_;
+ TimePoint target_time_;
}
Thread o-- TaskRunner
TaskRunner o-- MessageLoopImpl
Wakeable <|-- MessageLoopImpl
MessageLoopImpl::task_queue_ *-- MessageLoopTaskQueues
MessageLoopImpl <|-- MessageLoopLinux
MessageLoopImpl <|-- MessageLoopDarwin
MessageLoopImpl <|-- MessageLoopWin
MessageLoop o-- MessageLoopImpl
MessageLoop o-- TaskRunner
MessageLoopTaskQueues::queue_entries_ o-- TaskQueueEntry
TaskQueueEntry::delayed_tasks_ o-- DelayedTask
TaskQueueEntry::wakeable_ -- Wakeable
@enduml |
314b2e078457b112a982cb5cf2ba0c3ff8b50a9e | 1f462a7a8727ed8020d0ddd9375e5311709f9fe2 | /doc/protocol/class.puml | 109c91915a4ea4accea9d51593c3837bbec9c09f | [] | no_license | bmarsaud/mifa-core | c5b8be2c249a4bc4381050a4e01b2ab70ebee412 | e3449ef0e22cebe344fc38ce977fba6575edb366 | refs/heads/master | 2020-07-28T07:19:19.235818 | 2019-10-09T07:53:44 | 2019-10-09T07:53:44 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 870 | puml | @startuml
class Packet {
}
class AuthPacket {
- nickname : String
}
class MessagePacket {
- message : Message
}
class JoinRoomPacket {
- roomId: int
}
class JoinedRoomPacket {
- room: Room
}
class LeaveRoomPacket {
- roomId : int
}
class RoomListPacket {
- rooms : List<Pair<Integer, String>>
}
class HelloPacket {
}
Packet <|-- AuthPacket
Packet <|-- MessagePacket
Packet <|-- JoinRoomPacket
Packet <|-- LeaveRoomPacket
Packet <|-- RoomListPacket
Packet <|-- HelloPacket
class Message {
- id : int
- roomId : int
- authorId : int
- authorName : String
}
class TextMessage {
- text : String
}
Message <|-- TextMessage
class Room {
- id : int
- name : String
- messages : List<Message>
}
class User {
- id : int
- nickname : String
- joinedRoomsIds : List<Integer>
}
MessagePacket "1" <-- Message
Room "0.n" <-- Message
JoinedRoomPacket -- Room
@enduml |
1a484049938ce22e496b4827831ac6bf865fbc92 | 5419ba65627214efbf640b0643d5524c4f2a646f | /Architecture/03.RWWW#26.record-action-execution-info/RIAP#62.class.1.plantuml | b3a9458322c5c03dd3845a2cd8ba03d50b027f43 | [] | 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,368 | plantuml |
@startuml RIAP#62.class.1
skinparam monochrome true
package UI {
class MainActivity <<Activity>> {
}
class AllActionsFragment <<Fragment>> {
void userWantsToExecute(HorusAction)
}
MainActivity -u-> AllActionsFragment
}
package Domain {
class HorusAction <<Entity>> {
Drawable icon
UUID identifier
LocalizableString name
void perform()
}
class ActionExecution <<VO>> {
DateTime time
String userIdentifier
String deviceIdentifier
}
class ExecuteAction <<Interactor>> {
void perform()
}
interface ActionExecutionRepository <<Repository>> {
+ void add(ActionExecution)
}
ActionExecution -l-> HorusAction
ActionExecutionRepository .u.> ActionExecution
ExecuteAction -u-> HorusAction
ExecuteAction -u-> ActionExecution
ExecuteAction -r-> ActionExecutionRepository
}
package Infrastructure {
class AppExecutionRepository <<Repository>> {
+ void add(ActionExecution)
}
class AppExecutionDAO <<DAO>> {
+ void create(ActionExecution)
}
AppExecutionRepository -r-> AppExecutionDAO
}
AllActionsFragment -u-> ExecuteAction
AppExecutionRepository .u.|> ActionExecutionRepository
Infrastructure -[hidden]u-> Domain
Infrastructure -[hidden]l-> UI
hide empty members
@enduml
|
ce21cf7fdec96debe2d2f7d2df716080f9d56ae6 | 28cc353b960282035a9d030fbc9a1e8ce8491876 | /document/diagrams/controller/controllers.puml | a434015db5ba82d502d7e9df751fb28c67ea429f | [
"MIT"
] | permissive | hataketsu/PetStore4 | 39b107ab004d16c23076a4d5ab24b81c9bc0d8de | 479b0709e7d9f202b6fa90adf8a6c4a874681fa3 | refs/heads/master | 2020-03-19T17:09:25.162293 | 2019-12-26T16:26:31 | 2019-12-26T16:26:31 | 136,746,560 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,129 | puml | @startuml
class Controller{
}
class AdminController{
+ dashboard()
}
class AdsController{
+ manage()
}
class AdsController{
+ create()
}
class AdsController{
+ store(Request $request)
}
class AdsController{
+ show($id)
}
class AdsController{
+ edit($ads_id)
}
class AdsController{
+ update(Request $request, $ads_id)
}
class AdsController{
+ destroy($id)
}
class AdsController{
+ delete($id)
}
class Auth.LoginController{
+ __construct()
}
class Auth.ResetPasswordController{
+ __construct()
}
class Auth.ForgotPasswordController{
+ __construct()
}
class Auth.RegisterController{
+ __construct()
}
class Auth.RegisterController{
+ confirm($id, $confirmation_code)
}
class BlogController{
+ index()
}
class BlogController{
+ manage()
}
class BlogController{
+ create()
}
class BlogController{
+ store(Request $request)
}
class BlogController{
+ show($id)
}
class BlogController{
+ edit($id)
}
class BlogController{
+ update(Request $request, $id)
}
class BlogController{
+ destroy($id)
}
class BlogController{
+ delete($id)
}
class BlogController{
+ show_page(Request $request)
}
class CartController{
+ index(Request $request)
}
class CartController{
+ add_to_cart(Request $request, $product_id, $number)
}
class CartController{
+ remove_from_cart(Request $request, $product_id)
}
class CartController{
+ update_cart(Request $request)
}
class CartController{
+ checkout(Request $request)
}
class CartController{
+ save_checkout(Request $request)
}
class CartController{
+ apply_discount(Request $request)
}
class CategoryController{
+ manage()
}
class CategoryController{
+ create()
}
class CategoryController{
+ store(Request $request)
}
class CategoryController{
+ show($id)
}
class CategoryController{
+ edit(Category $category)
}
class CategoryController{
+ update(Request $request, Category $category)
}
class CategoryController{
+ destroy($id)
}
class CategoryController{
+ delete($id)
}
class DiscountController{
+ manage()
}
class DiscountController{
+ create()
}
class DiscountController{
+ store(Request $request)
}
class DiscountController{
+ edit(Discount $discount)
}
class DiscountController{
+ update(Request $request, Discount $discount)
}
class DiscountController{
+ destroy($id)
}
class DiscountController{
+ delete($id)
}
class HomeController{
+ index()
}
class OrderController{
+ all()
}
class OrderController{
+ manage()
}
class OrderController{
+ show(Request $request, $id)
}
class OrderController{
+ dispose($id)
}
class OrderController{
+ confirm($id)
}
class OrderController{
+ ship($id)
}
class OrderController{
+ done($id)
}
class ProcessImage{
+ process_image( $file )
}
class ProductController{
+ manage()
}
class ProductController{
+ create()
}
class ProductController{
+ store(Request $request)
}
class ProductController{
+ show(Product $product)
}
class ProductController{
+ edit(Product $product)
}
class ProductController{
+ update(Request $request, $id)
}
class ProductController{
+ destroy($id)
}
class ProductController{
+ save_comment(Request $request, $product_id)
}
class ProductController{
+ like_product(Request $request, $product_id)
}
class ProductController{
+ dislike_product(Request $request, $product_id)
}
class ProductController{
+ add_to_wishlist(Product $product)
}
class ProductController{
+ remove_from_wishlist(Product $product)
}
class ProfileController{
+ info(Request $request)
}
class ProfileController{
+ save_info(Request $request)
}
class ProfileController{
+ change_password(Request $request)
}
class ProfileController{
+ save_password(Request $request)
}
class SearchController{
+ search(Request $request)
}
class SearchController{
+ all(Request $request)
}
class SearchController{
+ category(Request $request, $category_id)
}
class SearchController{
+ sale_off(Request $request)
}
class SearchController{
+ wish_list(Request $request)
}
class SettingController{
+ index()
}
class SettingController{
+ save(Request $request)
}
class StatisticsController{
+ index(Request $request)
}
class UserController{
+ index()
}
class UserController{
+ delete( $id )
}
class UserController{
+ make_admin( $id )
}
class UserController{
+ unmake_admin( $id )
}
BlogController -right-|> Controller
HomeController -right-|> Controller
AdminController -right-|> Controller
DiscountController -up-|> Controller
ProfileController -down-|> Controller
CategoryController -left-|> Controller
AdsController -up-|> Controller
Auth.LoginController -up-|> Controller
Auth.ResetPasswordController -up-|> Controller
Auth.ForgotPasswordController -up-|> Controller
Auth.RegisterController -up-|> Controller
StatisticsController -left-|> Controller
SettingController -left-|> Controller
OrderController -down-|> Controller
CartController -down-|> Controller
UserController -down-|> Controller
ProductController -down-|> Controller
SearchController -down-|> Controller
@enduml |
805ee2698cbb977bcd5574bf2dc12ab15ef2e535 | a404e6e9e9b242632e4d6e38feffd854736ef848 | /assets/cassandra-jpa-example/code_user.plantuml | 4853c006ff7d4a6f5bf0c20838eb9ac01b68c224 | [
"MIT"
] | permissive | hands-on-tech/hands-on-tech.github.io | 12d17159d07bc4c0dee2d39e535702cdf44365d2 | f8919b9312605582629bc1beb4cd50e4fab3b203 | refs/heads/master | 2023-08-25T14:05:37.638631 | 2023-08-09T22:22:58 | 2023-08-09T22:22:58 | 131,656,918 | 4 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,076 | plantuml | @startuml
interface User {
{abstract} getId()
{abstract} setId()
{abstract} getFirstName()
{abstract} setFirstName()
{abstract} getLastName()
{abstract} setLastName()
{abstract} getCity()
{abstract} setCity()
{abstract} toString()
}
class UserDatastax {
- id
- firstName
- lastName
- city
+getId()
+setId()
+getFirstName()
+setFirstName()
+getLastName()
+setLastName()
+getCity()
+setCity()
+toString()
}
class UserKundera {
- id
- firstName
- lastName
- city
+getId()
+setId()
+getFirstName()
+setFirstName()
+getLastName()
+setLastName()
+getCity()
+setCity()
+toString()
}
class UserAchilles {
- id
- firstName
- lastName
- city
+getId()
+setId()
+getFirstName()
+setFirstName()
+getLastName()
+setLastName()
+getCity()
+setCity()
+toString()
}
User <|-- UserDatastax: implements
User <|-- UserKundera: implements
User <|-- UserAchilles: implements
@enduml |
3be173562078ddb41052401338703a667ea2f121 | 57af2f1f7ba82bcc5f6e652d3a305d93d727be2c | /moose-wiki/Developers/Diagrams/technic.puml | 48d24a229f8fff8348f10de72c3367f407cd82de | [
"MIT"
] | permissive | reda-idtaleb/moosetechnology.github.io | a36b09f19c37ac43b4fa012a1b909ca37b4a6928 | b866efa65dbdf3ad5d23504391dee4684d42c5b1 | refs/heads/master | 2023-07-03T22:38:48.775864 | 2021-08-06T09:00:54 | 2021-08-06T09:00:54 | 388,830,027 | 0 | 0 | MIT | 2021-07-23T14:33:58 | 2021-07-23T14:33:57 | null | UTF-8 | PlantUML | false | false | 762 | puml | @startuml
hide empty members
skinparam class {
BackgroundColor white
ArrowColor black
BorderColor darkGray
}
class TLCOMMetrics << (T,lightGrey) >> {
Number lcom3
Number lcom2
}
class TSourceLanguage << (T,lightGrey) >> {
}
class TWithSourceLanguage << (T,lightGrey) >> {
}
class TUnknownSourceLanguage << (T,lightGrey) >> {
}
class TAssociationMetaLevelDependency << (T,lightGrey) >> {
}
class TOODependencyQueries << (T,lightGrey) >> {
}
class TEntityMetaLevelDependency << (T,lightGrey) >> {
Number numberOfChildren
Boolean isDead
Number fanOut
Number numberOfDeadChildren
Number fanIn
}
TEntityMetaLevelDependency <|-- TOODependencyQueries
TWithSourceLanguage " *sourcedEntities" -- "declaredSourceLanguage" TSourceLanguage
@enduml
|
2bc9dfbe9639c40e83fd436100340ec828d73864 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Runtime/ClipCaps.puml | dc1c31478e60f0c9173c76d0efbfc2711630ff2e | [] | 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 | 651 | puml | @startuml
enum ClipCaps {
None= 0,
Looping= 1 << 0,
Extrapolation= 1 << 1,
ClipIn= 1 << 2,
SpeedMultiplier= 1 << 3,
Blending= 1 << 4,
All= ~None,
}
class TimelineClipCapsExtensions <<static>> {
+ {static} SupportsLooping(clip:TimelineClip) : bool
+ {static} SupportsExtrapolation(clip:TimelineClip) : bool
+ {static} SupportsClipIn(clip:TimelineClip) : bool
+ {static} SupportsSpeedMultiplier(clip:TimelineClip) : bool
+ {static} SupportsBlending(clip:TimelineClip) : bool
+ {static} HasAll(caps:ClipCaps, flags:ClipCaps) : bool
+ {static} HasAny(caps:ClipCaps, flags:ClipCaps) : bool
}
@enduml
|
471184a1e3be9baf469bcbd863b37e114b068562 | 8be01beea09ef4bb741236a0c394d6e590f9593e | /uml/Assignment5.puml | 20cdd4eae246913b177a5a1fffca42be2fa4c13e | [] | no_license | Andrew-Shepard/inventory-javafx | c7dda4c0a30323422f8273bf262514175147ea00 | f490fb65f3220a76c90dfe222317c18873ad40e2 | refs/heads/master | 2023-07-30T07:33:43.231773 | 2021-09-07T23:11:08 | 2021-09-07T23:11:08 | 387,175,205 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,064 | puml | @startuml
'https://plantuml.com/class-diagram
class App {
start():void
}
class EditItemPageController{
-User u
initData(User):void
}
class Item{
~String name
~BigDecimal value
~String serial_number
~int MAX_NAME_LENGTH
+setName(String name):void
+setValue(Long value):void
+setSerial_number(String serial_number):void
+getNameasString():String
+getName():SimpleStringProperty
+getValue():BigDecimal
}
class MainPageController{
-User u
initData(User):void
+nameSortItems():void
+valueSortItems():void
+serialSortItems():void
}
class User{
ObservableList<Item> inventory
+int active_item_index
+Comparator<Item> nameComparator
+Comparator<Item> valueComparator
+Comparator<Item> serial_numberComparator
+getInventory():ObservableList<Item>
+sortName():void
+sortValue():void
+sortSerial():void
+addItem():void
+removeItem():void
+editItem():void
+validateSerial:Boolean
+validateValue:Boolean
+validateName:Boolean
-checkUniqueSerial():Boolean
}
@enduml |
a5260e694c5330578eeb319841e8ecbc9b6cff62 | 992706894f9987e7c39a2960fd81a3966c6e4bfa | /app/src/main/java/com/jue/meet/ui/ui.plantuml | 8e1c24f079bc873a0b8be7dbedaf3dce730e6411 | [] | no_license | juemuel/wemeet | 66263f5fff9019db67d435e2026944c5217ab377 | 545b9b9c3620ef488e93ee99e1cc8abbaf8aa81d | refs/heads/master | 2023-06-11T19:47:41.134726 | 2023-05-25T03:14:16 | 2023-05-25T03:14:16 | 359,098,311 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 19,606 | plantuml | @startuml
title __UI's Class Diagram__\n
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.AddFriendActivity {
{static} + TYPE_CONTENT : int
{static} + TYPE_TITLE : int
- et_phone : EditText
- include_empty_view : View
- iv_search : ImageView
- ll_to_contact : LinearLayout
- mList : List<AddFriendModel>
- mSearchResultView : RecyclerView
+ onClick()
# onCreate()
- addContent()
- addTitle()
- initView()
- pushUser()
- queryPhoneUser()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.ChatActivity {
{static} + TYPE_CHAT_TIME : int
{static} + TYPE_LEFT_IMAGE : int
{static} + TYPE_LEFT_LOCATION : int
{static} + TYPE_LEFT_TEXT : int
{static} + TYPE_RIGHT_IMAGE : int
{static} + TYPE_RIGHT_LOCATION : int
{static} + TYPE_RIGHT_TEXT : int
{static} - CHAT_INFO_REQUEST_CODE : int
{static} - LOCATION_REQUEST_CODE : int
- btn_send_msg : Button
- et_input_msg : EditText
- ll_camera : LinearLayout
- ll_chat_bg : LinearLayout
- ll_location : LinearLayout
- ll_pic : LinearLayout
- ll_voice : LinearLayout
- mChatAdapter : CommonAdapter<ChatModel>
- mChatView : RecyclerView
- mList : List<ChatModel>
- meUserPhoto : String
- uploadFile : File
- yourUserId : String
- yourUserName : String
- yourUserPhoto : String
+ onClick()
+ onCreateOptionsMenu()
+ onMessageEvent()
+ onOptionsItemSelected()
{static} + startActivity()
# onActivityResult()
# onCreate()
- addImage()
- addImage()
- addLocation()
- addText()
- addTimeItem()
- baseAddItem()
- initView()
- loadMeInfo()
- parsingListMessage()
- queryMessage()
- queryRemoteMessage()
- updateChatTheme()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.ChatInfoActivity {
- btn_delete : Button
- iv_photo : CircleImageView
- objectId : String
- tvText : TextView
- tv_cancel : TextView
- tv_confirm : TextView
- tv_name : TextView
- tv_phone : TextView
+ onClick()
{static} + startChatInfo()
# onCreate()
- initDeleteDialog()
- initView()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.ChatThemeActivity {
- mThemeAdapter : CommonAdapter<Integer>
- mThemeList : List<Integer>
- mThemeView : RecyclerView
# onCreate()
- initView()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.ContactFirendActivity {
- disposable : Disposable
- mContactAdapter : CommonAdapter<AddFriendModel>
- mContactMap : Map<String, String>
- mContactView : RecyclerView
- mList : List<AddFriendModel>
+ onBackPressed()
# onCreate()
# onDestroy()
- addContent()
- disposable()
- fixprivateSets()
- initView()
- loadContact()
- loadUser()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.FirstUploadActivity {
- btn_upload : Button
- et_nickname : EditText
- iv_photo : CircleImageView
- tv_ablum : TextView
- tv_camera : TextView
- tv_cancel : TextView
- uploadFile : File
+ onClick()
{static} + startActivity()
# onActivityResult()
# onCreate()
- initPhotoView()
- initView()
- uploadPhoto()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.GuideActivity {
- iv_guide_night : ImageView
- iv_guide_point_1 : ImageView
- iv_guide_point_2 : ImageView
- iv_guide_point_3 : ImageView
- iv_guide_smile : ImageView
- iv_guide_star : ImageView
- iv_music_switch : ImageView
- mAnim : ObjectAnimator
- mPageList : List<View>
- mViewPager : ViewPager
- tv_guide_skip : TextView
- view1 : View
- view2 : View
- view3 : View
+ onClick()
# onCreate()
# onDestroy()
- initView()
- seletePoint()
- startMusic()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.ImagePreviewActivity {
- iv_back : ImageView
- photo_view : PhotoView
- tv_download : TextView
- url : String
+ onClick()
{static} + startActivity()
# onCreate()
- initView()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.IndexActivity {
{static} - SKIP_MAIN : int
- mHandler : Handler
+ onBackPressed()
# onCreate()
- startMain()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.LocationActivity {
- IAddress : String
- ILa : double
- ILo : double
- ITEM : int
- aMap : AMap
- et_search : EditText
- isShow : boolean
- iv_poi : ImageView
- mConstellationnView : RecyclerView
- mList : List<PoiItem>
- mMapView : MapView
- mPoiListAdapter : CommonAdapter<PoiItem>
- poiSearch : PoiSearch
- query : Query
- tv_cancel : TextView
+ onClick()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
+ onPoiItemSearched()
+ onPoiSearched()
{static} + startActivity()
# onCreate()
# onDestroy()
# onPause()
# onResume()
# onSaveInstanceState()
- initPoiView()
- initView()
- poiSearch()
- updatePoi()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.LoginActivity {
{static} - H_TIME : int
{static} - TIME : int
- btn_login : Button
- btn_send_code : Button
- et_code : EditText
- et_phone : EditText
- mHandler : Handler
- tv_test_login : TextView
+ onClick()
# onCreate()
- initDialogView()
- initView()
- login()
- sendSMS()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.MeInfoActivity {
- et_nickname : EditText
- et_user_desc : EditText
- iv_user_photo : CircleImageView
- ll_photo : RelativeLayout
- ll_user_age : LinearLayout
- ll_user_birthday : LinearLayout
- ll_user_constellation : LinearLayout
- ll_user_hobby : LinearLayout
- ll_user_sex : LinearLayout
- ll_user_status : LinearLayout
- mAgeAdapter : CommonAdapter<Integer>
- mAgeList : List<Integer>
- mAgeView : RecyclerView
- mConstellationAdapter : CommonAdapter<String>
- mConstellationList : List<String>
- mConstellationnView : RecyclerView
- mDatePicker : DatePicker
- mHobbyAdapter : CommonAdapter<String>
- mHobbyList : List<String>
- mHobbyView : RecyclerView
- mStatusAdapter : CommonAdapter<String>
- mStatusList : List<String>
- mStatusView : RecyclerView
- tv_ablum : TextView
- tv_age_cancel : TextView
- tv_boy : TextView
- tv_camera : TextView
- tv_constellation_cancel : TextView
- tv_girl : TextView
- tv_hobby_cancel : TextView
- tv_photo_cancel : TextView
- tv_sex_cancel : TextView
- tv_status_cancel : TextView
- tv_user_age : TextView
- tv_user_birthday : TextView
- tv_user_constellation : TextView
- tv_user_hobby : TextView
- tv_user_sex : TextView
- tv_user_status : TextView
- uploadPhotoFile : File
+ onClick()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
# onActivityResult()
# onCreate()
- initAgeDialog()
- initBirthdayDialog()
- initConstellationDialog()
- initHobbyDialog()
- initPhotoDialog()
- initSexDialog()
- initStatusDialog()
- initView()
- loadUserInfo()
- updateUser()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.NewFriendActivity {
- disposable : Disposable
- item_empty_view : ViewStub
- mList : List<NewFriend>
- mNewFriendAdapter : CommonAdapter<NewFriend>
- mNewFriendView : RecyclerView
- mUserList : List<IMUser>
# onCreate()
# onDestroy()
- initView()
- queryNewFriend()
- showViewStub()
- updateItem()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.PrivateSetActivity {
- currentId : String
- isCheck : boolean
- sw_kill_contact : Switch
+ onClick()
# onCreate()
- addPrivateSet()
- delPrivateSet()
- initView()
- queryPrivateSet()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.PushSquareActivity {
- MediaType : int
- et_content : EditText
- iv_error : ImageView
- ll_ablum : LinearLayout
- ll_camera : LinearLayout
- ll_media : LinearLayout
- ll_media_type : LinearLayout
- ll_music : LinearLayout
- ll_video : LinearLayout
- tv_content_size : TextView
- tv_media_path : TextView
- uploadFile : File
+ onClick()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
# onActivityResult()
# onCreate()
- initView()
- inputSquare()
- push()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.QrCodeActivity {
{static} - REQUEST_IMAGE : int
- analyzeCallback : AnalyzeCallback
- isOpenLight : boolean
- iv_back : ImageView
- iv_flashlight : ImageView
- iv_to_ablum : TextView
+ onClick()
# onActivityResult()
# onCreate()
- initQrCode()
- initView()
- openAblum()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.SettingActivity {
- btn_logout : Button
- isTips : boolean
- rl_app_show : RelativeLayout
- rl_app_tips : RelativeLayout
- rl_chat_theme : RelativeLayout
- rl_check_permissions : RelativeLayout
- rl_check_version : RelativeLayout
- rl_clear_cache : RelativeLayout
- rl_update_languaue : RelativeLayout
- sw_app_tips : Switch
- tv_app_version : TextView
- tv_cache_size : TextView
- tv_cancel : TextView
- tv_current_languaue : TextView
- tv_en : TextView
- tv_new_version : TextView
- tv_zh : TextView
+ onClick()
+ onOptionsItemSelected()
# onCreate()
- initLanguaueDialog()
- initView()
- logout()
- openWindow()
- selectLanguaue()
- updateApp()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.ShareImgActivity {
- iv_photo : ImageView
- iv_qrcode : ImageView
- ll_content : LinearLayout
- ll_download : LinearLayout
- tv_age : TextView
- tv_desc : TextView
- tv_name : TextView
- tv_phone : TextView
- tv_sex : TextView
+ onClick()
# onCreate()
- createQRCode()
- initView()
- loadInfo()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.TestLoginActivity {
- btn_login : Button
- et_password : EditText
- et_phone : EditText
+ onClick()
# onCreate()
- initView()
}
}
}
namespace com.jue.meet {
namespace ui {
class com.jue.meet.ui.UserInfoActivity {
- btn_add_friend : Button
- btn_audio_chat : Button
- btn_chat : Button
- btn_video_chat : Button
- et_msg : EditText
- iv_user_photo : CircleImageView
- ll_back : RelativeLayout
- ll_is_friend : LinearLayout
- mColor : int[]
- mUserInfoAdapter : CommonAdapter<UserInfoModel>
- mUserInfoList : List<UserInfoModel>
- mUserInfoView : RecyclerView
- tv_add_friend : TextView
- tv_cancel : TextView
- tv_desc : TextView
- tv_nickname : TextView
- userId : String
+ onClick()
{static} + startActivity()
# onCreate()
- addUserInfoModel()
- initAddFriendDialog()
- initView()
- queryUserInfo()
- updateUserInfo()
}
}
}
com.jue.meet.ui.AddFriendActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.AddFriendActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.AddFriendActivity o-- com.jue.framework.adapter.CommonAdapter : mAddFriendAdapter
com.jue.meet.ui.ChatActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.ChatActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.ChatInfoActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.ChatInfoActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.ChatInfoActivity o-- com.jue.framework.view.DialogView : mDeleteDialog
com.jue.meet.ui.ChatThemeActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.ContactFirendActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.FirstUploadActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.FirstUploadActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.FirstUploadActivity o-- com.jue.framework.view.LodingView : mLodingView
com.jue.meet.ui.FirstUploadActivity o-- com.jue.framework.view.DialogView : mPhotoSelectView
com.jue.meet.ui.GuideActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.GuideActivity -up-|> com.jue.framework.base.BaseUIActivity
com.jue.meet.ui.GuideActivity o-- com.jue.framework.manager.MediaPlayerManager : mGuideMusic
com.jue.meet.ui.GuideActivity o-- com.jue.framework.base.BasePageAdapter : mPageAdapter
com.jue.meet.ui.ImagePreviewActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.ImagePreviewActivity -up-|> com.jue.framework.base.BaseUIActivity
com.jue.meet.ui.IndexActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.jue.meet.ui.LocationActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.LocationActivity .up.|> com.amap.api.services.poisearch.PoiSearch.OnPoiSearchListener
com.jue.meet.ui.LocationActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.LocationActivity o-- com.jue.framework.view.LodingView : mLodingView
com.jue.meet.ui.LocationActivity o-- com.jue.framework.view.DialogView : mPoiView
com.jue.meet.ui.LoginActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.LoginActivity -up-|> com.jue.framework.base.BaseUIActivity
com.jue.meet.ui.LoginActivity o-- com.jue.framework.view.DialogView : mCodeView
com.jue.meet.ui.LoginActivity o-- com.jue.framework.view.LodingView : mLodingView
com.jue.meet.ui.LoginActivity o-- com.jue.framework.view.TouchPictureV : mPictureV
com.jue.meet.ui.MeInfoActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.MeInfoActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.DialogView : mAgeDialog
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.DialogView : mBirthdayDialog
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.DialogView : mConstellationDialog
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.DialogView : mHobbyDialog
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.LodingView : mLodingView
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.DialogView : mPhotoDialog
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.DialogView : mSexDialog
com.jue.meet.ui.MeInfoActivity o-- com.jue.framework.view.DialogView : mStatusDialog
com.jue.meet.ui.NewFriendActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.NewFriendActivity o-- com.jue.framework.bmob.IMUser : imUser
com.jue.meet.ui.PrivateSetActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.PrivateSetActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.PrivateSetActivity o-- com.jue.framework.view.LodingView : mLodingView
com.jue.meet.ui.PushSquareActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.PushSquareActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.PushSquareActivity o-- com.jue.framework.view.LodingView : mLodingView
com.jue.meet.ui.QrCodeActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.QrCodeActivity -up-|> com.jue.framework.base.BaseUIActivity
com.jue.meet.ui.SettingActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.SettingActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.SettingActivity o-- com.jue.framework.view.DialogView : mLanguaueDialog
com.jue.meet.ui.SettingActivity o-- com.jue.framework.helper.UpdateHelper : mUpdateHelper
com.jue.meet.ui.ShareImgActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.ShareImgActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.ShareImgActivity o-- com.jue.framework.view.LodingView : mLodingView
com.jue.meet.ui.TestLoginActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.TestLoginActivity -up-|> com.jue.framework.base.BaseBackActivity
com.jue.meet.ui.UserInfoActivity .up.|> android.view.View.OnClickListener
com.jue.meet.ui.UserInfoActivity -up-|> com.jue.framework.base.BaseUIActivity
com.jue.meet.ui.UserInfoActivity o-- com.jue.framework.bmob.IMUser : imUser
com.jue.meet.ui.UserInfoActivity o-- com.jue.framework.view.DialogView : mAddFriendDialogView
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
|
75a7909625c2c81f0f7f4df1daae41aa30b65f1f | f18ba1fbeb7f8d6149aff64633f9c77a92cfc936 | /assignments/skabirova/tp2/game.plantuml | a4e107fc756fee187603376c10ca012ee5db527b | [] | no_license | kzvdar42/InnopolisDesignPatterns | c34a728b7964f22a6b774a4616b7ac9515ae6263 | b1042e76875c9ccf69017e20edcea4b9e7b5682b | refs/heads/master | 2021-02-07T05:17:54.245396 | 2020-04-19T22:40:48 | 2020-04-19T22:40:48 | 243,987,548 | 0 | 0 | null | 2020-02-29T14:54:34 | 2020-02-29T14:54:34 | null | UTF-8 | PlantUML | false | false | 1,578 | plantuml | @startuml
title __GAME's Class Diagram__\n
class game.weapons.Bow {
{static} - instance : Bow
{static} + getInstance()
+ getWeaponName()
- Bow()
}
class game.weapons.Dagger {
{static} - instance : Dagger
{static} + getInstance()
+ getWeaponName()
- Dagger()
}
class game.weapons.Sword {
{static} - instance : Sword
{static} + getInstance()
+ getWeaponName()
- Sword()
}
abstract class game.characters.Character {
- name : String
+ introduce()
# Character()
}
class game.characters.King {
+ King()
}
class game.characters.Knight {
+ Knight()
}
class game.characters.Queen {
+ Queen()
}
class game.characters.Troll {
+ Troll()
}
game.characters.Character o-- game.weapons.Weapon : weapon
game.characters.King -up-|> game.characters.Character
game.characters.Knight -up-|> game.characters.Character
game.characters.Queen -up-|> game.characters.Character
game.characters.Troll -up-|> game.characters.Character
game.weapons.Bow -up-|> game.weapons.Weapon
game.weapons.Dagger -up-|> game.weapons.Weapon
game.weapons.Sword -up-|> game.weapons.Weapon
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
|
efb987ed1540b2500cb44941d5128edd2e219e4e | ad3cc5450c8e0d30e3ddbc36db6fbb053e8965fb | /projects/oodp/html/umlversion/sg/edu/ntu/scse/cz2002/util/TableCSVHelper.puml | 1b4c6958eb5f6490ac2d7f70b7774d30635b90d8 | [] | 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 | 322 | puml | @startuml
class TableCSVHelper [[../sg/edu/ntu/scse/cz2002/util/TableCSVHelper.html]] {
{static} -mInstance: TableCSVHelper
-tableCsv: String
{static} +getInstance(): TableCSVHelper
+readFromCsv(): ArrayList<Table>
}
center footer UMLDoclet 1.1.3, PlantUML 1.2018.12
@enduml
|
72431483c4132d291235f0d1ed2f430088c501e7 | afd26a066ad07ed0d651fb2c218636c3b1f09fda | /core/out/production/core/com/messenger/messenger.plantuml | 022605729cb15ee3da5fa1149bf239ab1b6f33d1 | [] | no_license | thuyhoang-bkuer/socket-assignment | 125c4c7894b4d17558c17687a63617e967188c4b | c67e2477166b43652d5e84b1cf181b31da34ce60 | refs/heads/master | 2020-08-30T18:01:51.960923 | 2019-11-13T10:08:19 | 2019-11-13T10:08:19 | 218,452,024 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,416 | plantuml | @startuml
title __MESSENGER's Class Diagram__\n
namespace com.messenger {
class com.messenger.MessengerController {
{static} + allMessages : ArrayList<String>
~ logger : Logger
- background : Pane
- byteArray : byte[]
- file : File
- fileAttachButton : ImageView
- fileChooser : FileChooser
- messageList : ScrollPane
- messageSendBox : TextArea
- messageSendButton : ImageView
- root : Pane
- stage : Stage
- themeChangeButton : ColorPicker
+ MessengerController()
+ generateAnimation()
+ initialize()
+ linkSenderAndReceiver()
+ newSendMessage()
+ saveFile()
+ saveReceivedMessage()
+ setReceiver()
+ setRoot()
+ setSender()
+ setStage()
+ showScene()
}
}
namespace com.messenger {
class com.messenger.Receiver {
~ logger : Logger
{static} ~ vbox : VBox
- connected : boolean
- finalMessage : String
- messageList : ArrayList<String>
- messageListView : ScrollPane
- receiver : Socket
- receiverSocket : ServerSocket
- root : Pane
- sender : String
- stage : Stage
+ Receiver()
+ getMessageList()
+ getReceiverPort()
+ isConnected()
+ run()
+ saveFile()
+ setRoot()
+ setStage()
}
}
namespace com.messenger {
class com.messenger.Sender {
~ logger : Logger
- client : Socket
- destinationIP : String
- destinationPort : int
- messageList : ArrayList<String>
- messageListView : ScrollPane
- messageToSend : String
- root : Pane
- sender : String
+ Sender()
+ Sender()
+ getMessageList()
+ getSender()
+ getSenderPort()
+ run()
+ sendBackgroundColor()
+ sendFile()
+ sendMessage()
+ setRoot()
+ setSender()
}
}
com.messenger.MessengerController o-- com.messenger.Receiver : receiver
com.messenger.MessengerController o-- com.messenger.Sender : sender
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
|
755a91089651879739b2fd6bfef2fce96b455c4c | 8c59fbc94a2ba7fa9a12c10991fe334cda0df128 | /metrics/coverage_converter/docs/diagrams/coverage_class_diagram.puml | efa852b3c5b35fd2a4968c27908996185a6fd076 | [
"Apache-2.0"
] | permissive | solid-vovabeloded/flank-dashboard | 7e952fa1399585d3f15cae2ed2cab435fb82df3f | 15dae0c40823cc12886a1bb0c087442c0697ac89 | refs/heads/master | 2023-07-11T19:54:58.430004 | 2021-08-06T10:29:26 | 2021-08-06T10:29:26 | 389,593,827 | 0 | 0 | Apache-2.0 | 2021-07-26T10:33:52 | 2021-07-26T10:25:59 | null | UTF-8 | PlantUML | false | false | 3,101 | puml | @startuml coverage_class_diagram
package common {
package arguments {
package model {
class CoverageConverterArguments {
inputFilePath : String
outputFilePath : String
}
}
package parser {
class CoverageConverterArgumentsParser<CoverageConverterArguments> {
void configureArguments(ArgParser)
CoverageConverterArguments parseArgResults(ArgResults)
}
abstract ArgumentsParser<T extends CoverageConverterArguments> {
void configureArguments(ArgParser)
{abstract} T parseArgResults(ArgResults)
}
}
}
package command {
abstract CoverageConverterCommand<T exetends CoverageConverterArguments> {
argumentsParser: ArgumentsParser<T>
{abstract} converter : CoverageConverter<T, R>
{abstract} name: String
{abstract} description: String
void run()
}
}
package converter {
interface CoverageConverter<T extends CoverageConverterArguments, R> {
{abstract} CoverageData convert(R, T)
{abstract} R parse(File)
}
}
package runner {
class CoverageConverterRunner {
argParser : CoverageConverterArgumentsParser
}
}
package exceptions {
class CoverageConverterException{
code: CoverageConverterErrorCode
{method} String message
String toString()
}
package error_code {
enum CoverageConverterErrorCode {
noSuchFile
fileIsEmpty
invalidFileFormat
}
}
}
}
package specific_format {
package converter as specific_format.converter {
class SpecificFormatCoverageConverter<SpecificCoverageArguments, SpecificFormatReport> {
CoverageData convert(SpecificFormatReport, SpecificCoverageArguments)
SpecificFormatReport parse(File)
}
}
package command as specific_format.command {
class SpecificFormatCoverageConverterCommand {
converter : SpecificFormatCoverageConverter
name: String
description: String
}
}
}
CoverageConverterRunner -right-> SpecificFormatCoverageConverterCommand : uses
CoverageConverterArgumentsParser -left-> CoverageConverterArguments : provides
CoverageConverterArgumentsParser ..|> ArgumentsParser
SpecificFormatCoverageConverterCommand --> SpecificFormatCoverageConverter : uses
SpecificFormatCoverageConverterCommand --|> CoverageConverterCommand
SpecificFormatCoverageConverter .down.|> CoverageConverter
CoverageConverterCommand --> CoverageConverterArguments : uses
CoverageConverterCommand -left-> CoverageConverter : uses
CoverageConverterCommand -up-> CoverageConverterException : throws
CoverageConverterCommand --> CoverageConverterArgumentsParser : uses
CoverageConverterException --> CoverageConverterErrorCode : uses
@enduml
|
9910a7ebcfee32411b29763b6cbee334c4638619 | dceede6e0ffcfdf6fbb800429d0233eb108fb71b | /src/main/java/DesignPatterns/BehavioralType/Template/Template.puml | a979ef97665b879e323b4eca02e73ccab29bda97 | [] | no_license | GitHub-yuteng/LearningNotes | 543ccda372e0d4498eba9245848059f64b3966c9 | 7a37bc8a33190526fa0a6cca5376651ac434f8c4 | refs/heads/master | 2022-12-22T14:05:05.590359 | 2022-04-27T00:36:30 | 2022-04-27T00:36:30 | 200,153,900 | 2 | 0 | null | 2022-12-16T04:25:16 | 2019-08-02T02:53:39 | Java | UTF-8 | PlantUML | false | false | 345 | puml | @startuml
abstract class SoyaMilk {
final void make()
void select()
abstract void addCondiments();
void beat()
}
class RedBeanSoyaMilk extends SoyaMilk {
void addCondiments()
}
class PeanutSoyaMilk extends SoyaMilk {
void addCondiments()
}
class Client {
}
RedBeanSoyaMilk <.. Client
PeanutSoyaMilk <.. Client
@enduml |
342da0635da9e4d2c88aafa97ebc75b5b9de149a | 16c85e114821ddcde7225efdbd56f6b89ea6e1ca | /app/src/main/java/com/example/azhar/lppm/uml/class.puml | 2bcea383277621c22b4307b564aeba03ee3aa79b | [] | no_license | azharsiddiq36/LppmAndroid | fbd9dfb3bfeb4152e92fd1a421b91653c1d6004d | b9398634a885142d64bd3d6c8cb6ddd2a4407408 | refs/heads/master | 2020-04-09T07:13:35.914438 | 2019-06-12T10:37:25 | 2019-06-12T10:37:25 | 160,146,232 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 12,965 | puml | @startuml
skinparam classAttributeIconSize 0
class Fgd{
-Integer:fgdId
-String:fgdNarNam
-String:fgdModNam
-List<String>:fgdPesNam
-String:fgdJud
-String:fgdJen
-String:fgdProv
-String:fgdKec
-String:fgdKel
-String:fgdKot
-String:fgdTglSurat
-String:fgdTglAcc
{method}+getFgdId():Integer
{method}+getFgdPesNam():String
{method}+getFgdJud():String
{method}+getFgdTgl():String
{method}+getFgdProv():String
{method}+getFgdKot():String
{method}+getFgdKec():String
{method}+getFgdKel():String
{method}+getFgdPesNam():List<String>
{method}+getFgdTglSurat():String
{method}+getFgdTglAcc():String
}
class Perjalanan{
-Integer:stpId
-String:stpKetNam
-String:stpNikNik
-String:stpKetJab
-String:stpKetPang
-List<String>:stpAngNam
-List<String>:stpAngJab
-List<String>:stpAngPang
-String:stpJud
-String:stpKlu
-String:stpTglKeg
-String:stpTglKlu
-String:stpProv
-String:stpKec
-String:stpKel
-String:stpKot
-String:stpJen
-String:stpNom
-String:stpInsTuj
-String:sttTglSratKel
-String:sttTglAcc
{method}+getStpId():Integer
{method}+getStpKetNam():String
{method}+getStpKetJab():String
{method}+getStpKetPang():String
{method}+getStpAngNam():List<String>
{method}+getStpAngJab():List<String>
{method}+getStpAngPang():List<String>
{method}+getStpJud():String
{method}+getStpTgl():String
{method}+getStpProv():String
{method}+getStpKot():String
{method}+getStpKec():String
{method}+getStpKel():String
{method}+getStpJen():String
{method}+getStpTglSratKel():String
{method}+getStpTglAcc():String
}
class Pengabdian{
-Integer:sipId
-String:sipKetNam
-List<String>:sipAngNam
-String:sipJud
-String:sipTglKeg
-String:sipProv
-String:sipKec
-String:sipKel
-String:sipKot
-String:sipInsTuj
-String:sitTglSratKel
-String:sitTglAcc
{method}+getSipId():Integer
{method}+getSipKetNam():String
{method}+getSipJud():String
{method}+getSipTgl():String
{method}+getSipProv():String
{method}+getSipKot():String
{method}+getSipKec():String
{method}+getSipKel():String
{method}+getSipAngNam():List<String>
{method}+getSipInsTuj():String
{method}+getSipTglSratKel():String
{method}+getSipTglAcc():String
}
class Pengguna{
-String:id_pengguna
-String:nip
-String:nama
-String:email
-String:password
-String:hak_akses
-String:foto
-String:konfirmasi_email
-String:isiSurat
-String:tahun
{method}+getIdPengguna():String
{method}+getNip():String
{method}+getNama():String
{method}+getEmail():String
{method}+getPassword():String
{method}+getHak_akses():String
{method}+getFoto():String
{method}+getKonfirmasi_email():String
{method}+getIsiSurat():String
{method}+getTahun():String
}
class Penelitian{
-Integer:sitId
-String:sitEml
-String:sitKetNam
-List<String>:sitAngNam
-String:sitJud
-String:sitTglKeg
-String:sitProv
-String:sitKec
-String:sitKel
-String:sitKot
-String:sitInsTuj
-String:sitNomKtp
-String:sitFotKtp
-String:sitNom
-String:sitTglSratKel
-String:sitTglAcc
{method}+getSitId():Integer
{method}+getSitEml():String
{method}+getSitKetNam():String
{method}+getSitAngNam():List<String>
{method}+getSitJud():String
{method}+getSitTgl():String
{method}+getSitProv():String
{method}+getSitKot():String
{method}+getSitKec():String
{method}+getSitKel():String
{method}+getSitInsTuj():String
{method}+getSitNomKtp():String
{method}+getSitNom():String
{method}+getSitTglSratKel():String
{method}+getSitTglAcc():String
}
class SessionManager{
-SharedPreferences:sharedPreferences
-SharedPreferences.Editor:editor
-Context:context
-Int:MODE_PRIVATE
{static}+String:KEY_ID
{static}+String:KEY_NIP
{static}+String:KEY_NAMA
{static}+String:KEY_EMAIL
{static}+String:KEY_FOTO
{static}+String:KEY_HAK_AKSES
{static}+String:KEY_TOKEN
{static}+String:KEY_KONFIRMASI_EMAIL
{static}+String:LOGIN_STATUS
{static}+String:SHARE_NAME
{method}+SessionManager(Context:context)
{method}+saveLogin():void
{method}+getDetaislLoggin():HashMap
{method}+checkLogin():void
{method}+logout():void
{method}+isLogin():boolean
}
class FormFgdActivity{
~EditText:etModerator
~EditText:etAnggota
~EditText:etNarasumber
~EditText:etJudul
~TextView:tvTanggal
~Button:btTanggal
~RadioButton:rbPenelitian
~RadioButton:rbPengabdian
~LinearLayout:lyDinamic
~AutoCompleteTextView:actvProvinsi
~AutoCompleteTextView:actvKabupaten
~AutoCompleteTextView:actvKecamatan
~AutoCompleteTextView:actvDesa
~AutoCompleteTextView:actvAnggota
~Button:btnSimpan
~Button:btnAdd
~SessionManager:sessionManager
~LppmInterface:lppmInterface
~DatePickerDialog:datePickerDialog
~SimpleDateFormat:simpleDateFormat
-Int:length
~ProvInterface:provInterface
~List<SemuaProvinsi>:provinsiArrayList
~List<SemuaProvinsi>:kabupatenArrayList
~List<SemuaProvinsi>:kecamatanArrayList
~List<SemuaProvinsi>:desaArrayList
{static}~HashMap<String,String>:map
{method}#oncreate(Bundle:savedIntanceState):void
{method}+tambahAnggota(String:s):void
{method}+checkForm(String:text):void
{method}+loadProv():void
{method}+loadKabupaten(String:id):void
{method}+loadKecamatan(String:id):void
{method}+loadDesa(String:id):void
{method}+insertAnggota(String:s):void
{method}{static}-sizeData(int:a):int
{method}+showDateDialog({static}int:a):void
{method}{static}+getJenis(String:jenis)
}
class FormPenelitianActivity{
~EditText:etEmail
~EditText:etKetua
~EditText:etAnggota
~EditText:etJudul
~EditText:etInstansi
~EditText:etKtp
~EditText:etWhatsApp
~Button:btnUpload
~TextView:tvTanggal
~Button:btTanggal
~Button:btTanggalSelesai
~Button:btTanggalSelesai
~LinearLayout:lyDinamic
~AutoCompleteTextView:actvProvinsi
~AutoCompleteTextView:actvKabupaten
~AutoCompleteTextView:actvKecamatan
~AutoCompleteTextView:actvDesa
~AutoCompleteTextView:actvAnggota
~Button:btnSimpan
~Button:btnAdd
~SessionManager:sessionManager
~LppmInterface:lppmInterface
~DatePickerDialog:datePickerDialog
~SimpleDateFormat:simpleDateFormat
-Int:length
~ProvInterface:provInterface
~List<SemuaProvinsi>:provinsiArrayList
~List<SemuaProvinsi>:kabupatenArrayList
~List<SemuaProvinsi>:kecamatanArrayList
~List<SemuaProvinsi>:desaArrayList
{static}~HashMap<String,String>:map
{method}#oncreate(Bundle:savedIntanceState):void
{method}+tambahAnggota(String:s):void
{method}+checkForm(String:text):void
{method}+loadProv():void
{method}+loadKabupaten(String:id):void
{method}+loadKecamatan(String:id):void
{method}+loadDesa(String:id):void
{method}+insertAnggota(String:s):void
{method}{static}-sizeData(int:a):int
{method}+showDateDialog({static}int:a):void
}
class FormPengabdianActivity{
~EditText:etKetua
~EditText:etAnggota
~EditText:etJudul
~EditText:etInstansi
~TextView:tvTanggal
~Button:btTanggal
~Button:btTanggalSelesai
~Button:btTanggalSelesai
~LinearLayout:lyDinamic
~AutoCompleteTextView:actvProvinsi
~AutoCompleteTextView:actvKabupaten
~AutoCompleteTextView:actvKecamatan
~AutoCompleteTextView:actvDesa
~AutoCompleteTextView:actvAnggota
~Button:btnSimpan
~Button:btnAdd
~SessionManager:sessionManager
~LppmInterface:lppmInterface
~DatePickerDialog:datePickerDialog
~SimpleDateFormat:simpleDateFormat
-Int:length
~ProvInterface:provInterface
~List<SemuaProvinsi>:provinsiArrayList
~List<SemuaProvinsi>:kabupatenArrayList
~List<SemuaProvinsi>:kecamatanArrayList
~List<SemuaProvinsi>:desaArrayList
{static}~HashMap<String,String>:map
{method}#oncreate(Bundle:savedIntanceState):void
{method}+tambahAnggota(String:s):void
{method}+checkForm(String:text):void
{method}+loadProv():void
{method}+loadKabupaten(String:id):void
{method}+loadKecamatan(String:id):void
{method}+loadDesa(String:id):void
{method}+insertAnggota(String:s):void
{method}{static}-sizeData(int:a):int
{method}+showDateDialog({static}int:a):void
}
class FormPerjalananActivity{
~EditText:etKetua
~Spinner:spJabatan
~Spinner:spGolongan
~EditText:etAnggota
~EditText:etKluster
~EditText:etNarasumber
~EditText:etJudul
~TextView:tvTanggal
~TextView:tvTanggalKluster
~TextView:tvTanggalSelesai
~Button:btTanggal
~RadioButton:rbPenelitian
~RadioButton:rbPengabdian
~LinearLayout:lyDinamic
~AutoCompleteTextView:actvProvinsi
~AutoCompleteTextView:actvKabupaten
~AutoCompleteTextView:actvKecamatan
~AutoCompleteTextView:actvDesa
~AutoCompleteTextView:actvAnggota
~Button:btnSimpan
~Button:btnAdd
~SessionManager:sessionManager
~LppmInterface:lppmInterface
~DatePickerDialog:datePickerDialog
~SimpleDateFormat:simpleDateFormat
-Int:length
~ProvInterface:provInterface
~List<SemuaProvinsi>:provinsiArrayList
~List<SemuaProvinsi>:kabupatenArrayList
~List<SemuaProvinsi>:kecamatanArrayList
~List<SemuaProvinsi>:desaArrayList
{static}~HashMap<String,String>:map
{method}#oncreate(Bundle:savedIntanceState):void
{method}+tambahAnggota(String:s):void
{method}+checkForm(String:text):void
{method}+loadProv():void
{method}+loadKabupaten(String:id):void
{method}+loadKecamatan(String:id):void
{method}+loadDesa(String:id):void
{method}+insertAnggota(String:s):void
{method}{static}-sizeData(int:a):int
{method}+showDateDialog({static}int:a):void
{method}{static}+getJenis(String:jenis)
{method}+setJab(String:s):void
}
class SettingActivity{
~TextView:textView
~ImageView:imgView
~ListView:listView
~String:imageUrl
{method}#onCreate(Bundle SavedInstanceState):void
}
class PilihanActivity{
~ListView:listView
{method}#onCreate(Bundle SavedInstaceState:void
}
class UbahPassword{
~EditText:etEmail
~EditText:etPassword
~EditText:etRePassword
~Button:btnSimpan
~LppmInterface:lppmInterface
~SessionManager:sessionManager
{method}#onCreate(Bundle:savedInstanceState):void
{method}+getChangePassword(String:nip,String:password):void
{method}{static}+convertToMd5(String:pass)
}
class Tahun{
-String:tahun
{method}+getTahun():String
}
class FgdAdapter{
-ArrayList<Fgd>:rvData
~Context:context
~String:akses
-ArrayList<Fgd>:rvDataList
~SessionManager:sessionManager
{method}+FgdAdapter(Context:context,ArrayList<Fgd>:inputData,String akses):void
}
class PenelitianAdapter{
-ArrayList<Penelitian>:rvData
~Context:context
~String:akses
-ArrayList<Penelitian>:rvDataList
~SessionManager:sessionManager
{method}+PenelitianAdapter(Context:context,ArrayList<Penelitian>:inputData,String akses):void
}
class PengabdianAdapter{
-ArrayList<Pengabdian>:rvData
~Context:context
~String:akses
-ArrayList<Pengabdian>:rvDataList
~SessionManager:sessionManager
{method}+PengabdianAdapter(Context:context,ArrayList<Pengabdian>:inputData,String akses):void
}
class PerjalananAdapter{
-ArrayList<Perjalanan>:rvData
~Context:context
~String:akses
-ArrayList<Perjalanan>:rvDataList
~SessionManager:sessionManager
{method}+PerjalananAdapter(Context:context,ArrayList<Perjalanan>:inputData,String akses):void
}
class ApiClient{
{static}+Retrofit:retrofit
{static}+Retrofit:retrofit2
{method}{static}+getApiClient():Retrofit
{method}{static}+getApiProv():Retrofit
}
class CombineApi{
{static}+String:BaseUrl
{static}+String:BaseUrlProv
{method}{static}+getApiService():LppmInterface
{method}{static}+getApiProv():ProvInterface
}
class MainActivity {
~Session Manager : sessionManager
~Dialog:MyDialog
-Context:mContext
~Toolbar:toolbar
~Button:penelitian
~Button:pengabdian
~Button:perjalanan
~Button:Fgd
{method}#onCreate(Bundle:savedInstanceState):void
{method}+onBackPressed():void
{method}+onCreateOptionMenu(Menu:menu):boolean
{method}+onOptionItemSelected(MenuItem:menuItem):boolean
{method}+onNavigationItemSelected(MenuItem:menuItem):boolean
}
class LoginActivity{
~Button:Login
~EditText:etNip
~EditText:etPassword
~TextView:lupaPassword
~TextView:Status
~ImageView:imgShow
~ProgressDialog:loading
~LppmInterface:lppmInterface
~SessionManager:sessionManager
{method}#onCreate(Bundle:savedInstanceState):void
{method}-requestLogin():void
{method}{static}+convertToMd5(String:pass):String
}
class FgdActivity{
~Toolbar:toolbar
{static}~TabLayout:tabLayout
{static}~ViewPager:viewPager
~FloatingActionButton:fab
{method}#onCreate(Bundle:savedInstanceState):void
{method}+onTabSelected(Tablayout.tab:tab):void
{method}+onTabUnSelected(Tablayout.tab:tab):void
{method}+onTabReselected(Tablayout.tab:tab):void
}
class PenelitianActivity{
~Toolbar:toolbar
{static}~TabLayout:tabLayout
{static}~ViewPager:viewPager
~FloatingActionButton:fab
{method}#onCreate(Bundle:savedInstanceState):void
{method}+onTabSelected(Tablayout.tab:tab):void
{method}+onTabUnSelected(Tablayout.tab:tab):void
{method}+onTabReselected(Tablayout.tab:tab):void
}
class PengabdianActivity{
~Toolbar:toolbar
{static}~TabLayout:tabLayout
{static}~ViewPager:viewPager
~FloatingActionButton:fab
{method}#onCreate(Bundle:savedInstanceState):void
{method}+onTabSelected(Tablayout.tab:tab):void
{method}+onTabUnSelected(Tablayout.tab:tab):void
{method}+onTabReselected(Tablayout.tab:tab):void
}
class PerjalananActivity{
~Toolbar:toolbar
{static}~TabLayout:tabLayout
{static}~ViewPager:viewPager
~FloatingActionButton:fab
{method}#onCreate(Bundle:savedInstanceState):void
{method}+onTabSelected(Tablayout.tab:tab):void
{method}+onTabUnSelected(Tablayout.tab:tab):void
{method}+onTabReselected(Tablayout.tab:tab):void
}
@enduml |
73fe49bd465760ed46649083e8a41b70313109e6 | 6721108d0cfbdcf5ebaca4aa18c6132748af3ce1 | /tsn_app/doc/Queue.plantuml | d43381dbae949d2b0d19aed49b96dbcbd7ba4e60 | [] | no_license | ZitaoLi/FakerTSN | 971281637c467e499f575f577641bb776fc3540a | 18af6854249a5d7db82cb1a25cc4f892a627a6c6 | refs/heads/master | 2023-04-23T16:14:01.491101 | 2021-05-07T07:15:22 | 2021-05-07T07:15:22 | 296,300,495 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,458 | plantuml | @startuml Queue
package Timer <<Frame>> {
interface ITimer {
}
}
package Reactor <<Frame>> {
class Reactor {
}
}
package Queue <<Frame>> {
class QueueContext {
- Queue[] # ordered by pcp
- Pcp2Queue[][] # mapping from pcp to queue
- {friend} TransmissionSelection
+ dequeue()()
+ enqueue()
}
QueueContext "1" *-- "n" IQueue
QueueContext "1" *-- "1" TransmissionSelection
QueueContext <.. Reactor
class TransmissionSelection {
+ dequeue()()
}
note top of TransmissionSelection
retrieve from Q#7 to Q#0
end note
interface IQueue {
+ enqueue()
+ dequeue()()
+ is_active()
+ is_empty()
}
IQueue <|- IEEE8021Queue
abstract IEEE8021Queue {
- InnerBuffer
- Algorithm
- int pcp # priority
}
' Queue "n" *-- "1" IQueueCompenent
IEEE8021Queue *-- Algorithm
IEEE8021Queue *-- InnerBuffer
IEEE8021Queue <|- IEEE8021QbvQueue
class IEEE8021QbvQueue {
- Gate gate
}
IEEE8021QbvQueue *-- Gate
' interface IQueueCompenent {
' + on_scheduled()
' }
abstract InnerBuffer {
- int pcp
- IFrameBody[]
+ dequeue()()
+ enqueue()
+ is_empty()
}
InnerBuffer --o Algorithm
' InnerBuffer <|- CreditBasedShaperAlgorithm
' InnerBuffer <|- PriorityStrictAlgorithm
abstract Algorithm {
- int pcp
+ dequeue()()
}
Algorithm --o Gate
Algorithm <|- NoFIFOAlgorithm
Algorithm <|- PSAlgorithm
CBSAlgorithm -|> Algorithm
class NoFIFOAlgorithm{
int index
}
NoFIFOAlgorithm ..> GateControlList
class Gate {
- int pcp
- bool isOpen
+ set_open()
+ dequeue()()
.. Observer ..
+ register()
+ on_update()
}
Gate "n" *--* "1" GateControlList
class GateControlList {
- Gate[] gates
- int index
- XML schedule
.. Singleton ..
- GateControlList()
+ {static} get_instance()
.. Subject ..
+ update_gates()
+ append_gate()
}
' EnhancementGateControlList -|> GateControlList
GateControlList <|- EnhancementGateControlList
GateControlList ..> ITimer
class EnhancementGateControlList {
- XML enhancementSchedule
}
}
interface IFrameBody
InnerBuffer o-- IFrameBody
@enduml |
4a6628f60440848d218387193880f9d6cf54c1f2 | b2be1f2c659ff90e5be7a97f52150c3f278e4c70 | /behavioral_patterns/visitor/visitor.puml | 277feb289122bfb0ffefa29af34e41128244590a | [] | no_license | sirejik/software-design-patterns | a3f0aab43a6b73f8e8d0d4ecd13a3f4aa362addc | 67b8ebc373bdf6e5d58d699ed0a84bb3b2666f58 | refs/heads/master | 2023-01-05T09:55:51.669200 | 2020-11-05T17:02:20 | 2020-11-05T17:02:20 | 298,362,438 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 685 | puml | @startuml
class Client {
}
interface Exporter {
visit_concrete_element_a(e: Dot)
visit_concrete_element_b(e: Circle)
}
Client --> Exporter
class XMLExporter {
visit_concrete_element_a(e: Dot)
visit_concrete_element_b(e: Circle)
}
Exporter <|-- XMLExporter
class JSONExporter {
visit_concrete_element_a(e: Dot)
visit_concrete_element_b(e: Circle)
}
Exporter <|-- JSONExporter
class ObjectStructure {
}
Client --> ObjectStructure
interface Shape {
accept(Exporter)
}
ObjectStructure o--> Shape
class Dot {
accept(v: Exporter)
operation_a()
}
Shape <|-- Dot
class Circle {
accept(v: Exporter)
operation_b()
}
Shape <|-- Circle
@enduml
|
d8d8ff4f861daed57e8b8fe3c7611057d50f72bc | 519f4fb6d2934e5978bb1735376276f67cb9a06c | /tests/fixtures/006_Constant.puml | 065d2868aa744c24627943d860038bf0efcba538 | [
"BSD-3-Clause"
] | permissive | uzielgl/umlwriter | 72efd2dfe533fa3c1bd0c32d66255af455b0a5d4 | 5154e326880fead6261deb915968165ad5fbabaf | refs/heads/master | 2022-02-08T23:40:43.828712 | 2019-07-22T02:19:04 | 2019-07-22T02:19:04 | 198,128,002 | 0 | 0 | BSD-3-Clause | 2019-07-22T01:57:21 | 2019-07-22T01:57:20 | null | UTF-8 | PlantUML | false | false | 407 | puml | @startuml
class OneClass << class >> {
+STRING_CONSTANT
+INTEGER_CONSTANT
+FLOAT_CONSTANT
+LF_CONSTANT
+CR_CONSTANT
+TAB_CONSTANT
..
+NOVALUE_STATIC
+STRING_STATIC
+INTEGER_STATIC
+FLOAT_STATIC
+LF_STATIC
+CR_STATIC
+TAB_STATIC
+PUBLIC_STATIC
#PROTECTED_STATIC
-PRIVATE_STATIC
--
+<u>staticPublic</u>()
#<u>staticProtected</u>()
-<u>staticPrivate</u>()
}
@enduml
|
b9109ba74e085093db88354ed18aefb27ae6261f | 372d0fe94d7e59fd48620c687fee8fc94841408b | /deadheat-lock-example/microservices-example/financial-service/src/main/java/com/vrush/microservices/financial/entities/entities.plantuml | ae7613e073e39caaa842811668958fb7b622dfbb | [
"Apache-2.0"
] | permissive | vrushofficial/deadheat-lock | 4ae44e23fea2ad57db17aadeba58e39ef4f63822 | 11c516a2ca0e58dd2d6b2ef8c54da0975fcbe5d2 | refs/heads/main | 2023-01-14T17:28:38.161881 | 2020-11-29T11:11:55 | 2020-11-29T11:11:55 | 310,531,739 | 2 | 1 | null | 2020-11-19T08:16:25 | 2020-11-06T08:06:52 | CSS | UTF-8 | PlantUML | false | false | 1,169 | plantuml | @startuml
title __ENTITIES's Class Diagram__\n
namespace com.vrush.microservices.financial {
namespace entities {
class com.vrush.microservices.financial.entities.Transaction {
- analysis : String
- creationDate : LocalDateTime
- id : UUID
- idBooking : UUID
- lastUpdate : LocalDateTime
- totalValue : BigDecimal
- version : Integer
+ Transaction()
+ equals()
+ getAnalysis()
+ getCreationDate()
+ getId()
+ getIdBooking()
+ getLastUpdate()
+ getTotalValue()
+ getVersion()
+ hashCode()
+ setAnalysis()
+ setCreationDate()
+ setId()
+ setIdBooking()
+ setLastUpdate()
+ setTotalValue()
+ setVersion()
+ toString()
# canEqual()
# onCreate()
# onUpdate()
}
}
}
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
|
a0de3276149dc344ff6e2244f55800f699f3b987 | d23b3e7164cd9877582311205b1bb6021504ab2d | /app/src/main/java/demo/ht/com/design_pattern/observer_pattern/UMLObserver.puml | 034eddf150e14cbcaac0d2e872352a325f621ccb | [] | no_license | langyangyangzzZ/newDesignPattern | 04c6f66348ec0a92b9fb30388341cc8bcb31c3f5 | 49c47a2c4b7afd08b33b0772ed667ad97ddd68a7 | refs/heads/master | 2023-04-20T04:58:31.311843 | 2021-04-23T09:51:28 | 2021-04-23T09:51:28 | 327,259,455 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 649 | puml | @startuml
interface Subject{
registerObserver(Observer o);//注册观察者
removeObserver(Observer o);//移除观察者
notfiyObserver();//刷新观察者
}
note left:被观察者
interface Observer{
update();
}
note left:观察者
Observer --o Subject
class SubjectImpl{
List<Observer> list;
removeObserver(Observer o);
registerObserver(Observer o);
notfiyObserver();
}
note left:被观察者实现
SubjectImpl ..|> Subject
class MilkObserverImpl
note left:牛奶观察者实现
class RedBullObserverImpl
note right:红牛观察者实现
MilkObserverImpl ..|> Observer
RedBullObserverImpl ..|> Observer
@enduml |
5454c0612c14636e4e921a911b3b40bb8722dad8 | 833c4b92528ecd1580abf373ab58e7f77b874ea1 | /diagrams/07-object-relation.puml | 9efe593e0d8bcfbd9425b5ea7d560c2202e1b85e | [] | no_license | lcalmsky/jpa | 3d67b948d5d68646cb1194871a1f1214bdc44a52 | fa36fcf46b25c638cb64a682ec1bde097e5a934d | refs/heads/master | 2022-08-21T08:53:49.261282 | 2022-07-11T13:12:37 | 2022-07-11T13:12:37 | 251,661,495 | 1 | 1 | null | 2022-07-11T13:02:41 | 2020-03-31T16:20:39 | Java | UTF-8 | PlantUML | false | false | 322 | puml | @startuml
class product {
id: Long
name: String
price: Integer
}
class song {
id: Long
singer: String
writer: String
}
class movie {
id: Long
director: String
actor: String
}
class book {
id: Long
author: String
isbn: String
}
product <|-d- song
product <|-d- movie
product <|-d- book
@enduml |
eff293dad167cd52f870cd244d74e897c18216a7 | 372e13940be1f116c671dbb746617a331f06899e | /Assets/TPPackages/com.cocoplay.core/Documentation-/puml/Editor/Debug/ModuleDebugSettingsDrawer.puml | 4f21cffc15cd74c7e23fe5d13bef6902b3466af0 | [] | no_license | guolifeng2018/CIGA-Game-Jam | 797734576510e27b5c5cee2eb17c1444f51d258c | fcd03e5579bef3bffe2cb51f52ba11a49a9cc02d | refs/heads/master | 2022-12-10T19:21:15.522141 | 2020-08-16T10:06:23 | 2020-08-16T10:06:23 | 285,986,041 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 286 | puml | @startuml
class ModuleDebugSettingsDrawer {
+ <<override>> OnGUI(position:Rect, property:SerializedProperty, label:GUIContent) : void
+ <<override>> GetPropertyHeight(property:SerializedProperty, label:GUIContent) : float
}
PropertyDrawer <|-- ModuleDebugSettingsDrawer
@enduml
|
b77ee0df688a4185c2b500e10e5049e734986c2c | 70fd78caa400c57c98b1ea4d277201cf5691c934 | /test_2/app/src/main/java/com/example/test_2/ui/home/db/db.plantuml | 0583fcc5dbdb28645a2991cc0e5bfa97426865ff | [] | no_license | lwy642473876/lwy_repository | 7e263478b19387cd283b055a2b058a08b438d93c | a45bf7effa625b21fc0fe3e0a1e9bd1cc5dba0cf | refs/heads/master | 2022-11-12T15:50:38.924369 | 2020-06-16T15:22:48 | 2020-06-16T15:22:48 | 272,736,926 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,194 | plantuml | @startuml
title __DB's Class Diagram__\n
namespace com.example.test_2 {
namespace ui.home {
namespace db {
class com.example.test_2.ui.home.db.DbDao {
- context : Context
- db : SQLiteDatabase
+ DbDao()
+ delete()
+ deleteData()
+ hasData()
+ insertData()
+ queryData()
- init()
}
}
}
}
namespace com.example.test_2 {
namespace ui.home {
namespace db {
class com.example.test_2.ui.home.db.RecordSQLiteOpenHelper {
{static} - name : String
{static} - version : Integer
+ RecordSQLiteOpenHelper()
+ onCreate()
+ onUpgrade()
}
}
}
}
com.example.test_2.ui.home.db.DbDao o-- com.example.test_2.ui.home.db.RecordSQLiteOpenHelper : helper
com.example.test_2.ui.home.db.RecordSQLiteOpenHelper -up-|> android.database.sqlite.SQLiteOpenHelper
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
|
78053981d6bae1d4459e452a0afb973608f468ce | a902b259bb4bb41a73a8eff9f400e9a1cb7b991e | /umls/factory+prototype.puml | 70d4c31cb24deb3b5e6a80a7bc030a77d4d3b40a | [] | no_license | ghadd/Patterns | 8010d0f2d6a4cc24dd7cb5caf879fe5c3e4ab1c5 | c9efc09fc674b95ea696f45867d4916900c0ec28 | refs/heads/master | 2023-05-04T15:51:57.034217 | 2021-05-26T17:13:39 | 2021-05-26T17:13:39 | 371,007,049 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,483 | puml | @startuml
'https://plantuml.com/class-diagram
'class ContextFactory:
' """Factory + Prototype"""
'
' __prototypes = {
' "userboard": UserBoard()
' }
'
' def create_context(self, what) -> Context:
' return self.__prototypes[what].clone()
class ContextFactory {
-__prototypes : const Context[]
+create_context(what : string) : Context
}
'class Context(object):
' def __init__(self, user_id=None, object_id=None, payload: dict = None, strategy: Strategy = None):
' self.user_id = user_id
' self.object_id = object_id
' self._payload = payload or {}
' self._strategy = strategy
'
'
' def exec(self):
' assert self._strategy is not None
' self._strategy.perform_query(
' self.user_id, self.object_id, self._payload)
'
' @abstractmethod
' def clone(self):
' raise NotImplementedError
interface Context {
-user_id : int
-object_id : int
#payload : Dictionary
#strategy : Strategy
+exec()
+{abstract} clone() : Context
}
'class UserBoard(Modellable, Context):
' def __init__(self):
' super().__init__()
'
' def clone(self):
' return UserBoard()
'
' def to_dict(self):
' return {
' "user_id": self.user_id,
' "board_id": self.object_id
' }
class UserBoard
interface Modellable {
+to_dict() : Dictionary
}
Modellable <|.. UserBoard
Context <|.. UserBoard
ContextFactory *-- Context
@enduml |
f4c733ff8e42844585bf04136faa36a8acd1e47c | 677e795491af1df2c05f906c333a9f40c57ef781 | /src/main/com/talents/reclamation/rec_model/reclamation-model.plantuml | aafebd5f2ebec402a7d65e25651cf8f022ea24fe | [] | no_license | lakhassane/claim-model | e8db79a44fdd1d3c8bb10f0574a298972767ee27 | 6293fcc3d5cc504618247373b6d871ac6d62a8e7 | refs/heads/master | 2023-03-01T06:38:55.289076 | 2021-02-07T22:00:07 | 2021-02-07T22:00:07 | 336,898,207 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,223 | plantuml | @startuml
title MODELE RECLAMATION CLIENT \n
namespace com.talents.reclamation.rec_model {
class com.talents.reclamation.rec_model.Claim {
- id: Integer
- claimType: String
- immediateTreatment: Integer
- object: String
- origin: Integer
- receptionDate: Date
- priority: String
- description: String
}
class com.talents.reclamation.rec_model.Client {
- id: Integer
- clientCode: Integer
- lastname: String
- firstname: String
- address: String
- email: String
- clientType: String
- sensitiveClient: Boolean
}
class com.talents.reclamation.rec_model.Ticket {
- id: Integer
- ticketType: String
- project: String
}
}
com.talents.reclamation.rec_model.Claim .up.|> java.io.Serializable
com.talents.reclamation.rec_model.Client .up.|> java.io.Serializable
com.talents.reclamation.rec_model.Ticket .up.|> java.io.Serializable
com.talents.reclamation.rec_model.Ticket "1" --> "*" com.talents.reclamation.rec_model.Claim : contains
com.talents.reclamation.rec_model.Ticket "1" <-- "*" com.talents.reclamation.rec_model.Client : create
@enduml |
3d645e0e1a8f5c54a7a36230c044e8ec9ecbc5a4 | d94c8b8f993b115449320810070489a74b7b0dbf | /uml/ListClasses.puml | e5f45080fbe1315d33b9b75591d146321e9a8a29 | [] | no_license | annbinus/To-Do-App | 2fdbc5b626e429d18bba19d108cde07f7eb317c4 | 29e8eaae25a3f813c0751b0b796363d54485b13a | refs/heads/master | 2023-06-18T22:15:21.414346 | 2021-07-14T14:19:36 | 2021-07-14T14:19:36 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,527 | puml | @startuml
'https://plantuml.com/class-diagram
class TODOList{
-start()
-main()
-stop()
}
class TODOListController{
-List myToDoList
-TableView<Item> tableView
-TableColumn<Item, String> desc
-TableColumn<Item, String> dueDate
-TableColumn<Item, String> status
-Label storage
-MenuItem showAll
-MenuItem showComplete
-MenuItem showIncomplete
-Button removeButton
-MenuItem fileUpload
-MenuItem fileDownload
+editDescription()
+editDueDate()
+editStatus()
+showAllItems()
+showIncompleteItems()
+showCompleteItems()
+clear()
+getList()
+openFile()
+setCellFactory()
+setTableCellEditable()
+handleAddButton()
+handleRemoveButton()
+handleFileOpen()
+handleFileDownload()
+ handleSortButton()
+initialize()
}
class List{
-String title
-int storage
-int count
-ArrayList<Item> itemList
+List()
+addItem()
+removeItem()
+getTitle()
+setTitle()
+getBalance()
+setBalance()
+editTitle()
+clearAllItems()
+editDescription()
+editDueDate()
+editStatus()
+getItems()
+getCompleteItems()
+getIncompleteItems()
}
class Item{
-String description
-String dueDate
-String status;
+Item()
+getDescription()
+setDescription()
+getDueDate()
+setDueDate()
+getStatus()
+setStatus()
+toString()
}
class ItemController{
DatePicker date
TextArea description
Button addTaskButton
+addTask()
+initialize()
}
Javafx.Application <|-- TODOList
TODOList <|-- TODOListController
List - TODOListController
TODOList --> List
List --> Item
TODOListController <-- ItemController
ItemController <-- Item
@enduml
|
ec05674cab446aa409e44d102e3577d120eab195 | 92bb9f8a8ec48fee4dacfd0a4059d1487743b4e3 | /UML/domain.puml | 2858d0fdfe01f4706770ed113481be355033b14b | [
"MIT"
] | permissive | Kautenja/UIBankPayoutFlow | c31443d9f38168f2351e1aff908fc400afe429a6 | 0e5eb7e00eb21876b973bba7ac63803c983d5565 | refs/heads/master | 2021-01-16T00:40:58.472924 | 2017-08-14T05:49:11 | 2017-08-14T05:49:11 | 99,969,373 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 466 | puml | @startuml
class Address {
street: String
city: String
state: String
zip: String
}
class Representative {
firstName: String
middleName: String
lastName: String
dob: Date
ssn: String
}
class BankAccount {
routingNumber: String
accountNumber: String
}
class Company {
type: String
name: String
}
Company "1" *-- "1" Address: address >
Company "1" *-- "1" Representative: representative >
Company "1" *-- "1" BankAccount: payout >
@enduml
|
99f303a2a960ded276438c807b818d51d434de1b | 22dd1dcaf94bc2c1b9f19448dccfc217aebc7dce | /uml/InventoryTrackerUML.puml | 4bad5e9be9bb0fa2a5b82ba51c0f7414daf68cdb | [] | no_license | C-Gagne/gagne-1078-a5 | 0f90372ac24d1f74654ce27e9e884f83be8fa8d8 | 0dae335f090a898e256ee03ee8fc5eaf77661bea | refs/heads/master | 2023-07-07T06:39:25.227216 | 2021-07-24T18:57:45 | 2021-07-24T18:57:45 | 388,154,695 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,592 | puml | @startuml
'https://plantuml.com/class-diagram
class InventoryTracker {
start()
main()
}
class InventoryTrackerController {
items: Inventory
editItems: InventoryEditor
searchItems: SearchInventory
saveFile: SaveInventory
loadFile: LoadInventory
+ InventoryTrackerController(Inventory)
addItemClicked(EventHandler)
editItemValue(EventHandler)
editSerialNumber(EventHandler)
editName(EventHandler)
removeItemClicked(EventHandler)
saveItemClicked(EventHandler)
loadItemClicked(EventHandler)
}
class InventoryEditor {
addItem(BigDecimal, String, String)
}
class CheckInput {
checkMonetaryValue(String)
checkSerialNumber(String)
checkItemName(String)
}
class SearchInventory {
searchName(String)
searchSerialNumber(String)
}
class SaveInventory {
saveAsTSV
saveAsJSON
saveAsHTML
}
class LoadInventory {
loadTSV
loadJSON
loadHTML
}
class Inventory {
- ObservableList<Item>
}
class Item {
- itemName: SimpleStringProperty
- serialNumber: SimpleStringProperty
- itemValue: BigDecimal
+ getters & setters
}
openjfx.org.Application <|-- InventoryTracker
InventoryTracker -- InventoryTrackerController
InventoryTrackerController o-- Inventory
InventoryTrackerController o-- InventoryEditor
InventoryTrackerController o-- SaveInventory
InventoryTrackerController o-- LoadInventory
InventoryTrackerController o-- SearchInventory
InventoryTrackerController o-- CheckInput
InventoryEditor o-- Inventory
SearchInventory o-- Inventory
Inventory *-- Item
@enduml |
9c66df994eb24bb3fc47869101e9964972decfa8 | 9df112709c13baff12bf06f22fe05d2aa1e12140 | /client/src/Types/NewAppStructure/appStructure.puml | 2e9dd06a5e3436319c8ca8054c9f16d4d2206311 | [] | no_license | NikolayDemchenko/ReactTest | b0c8b85bf6819be3e297b0c938b98565edb70cc1 | 1b0e37c686d7787fb39b721db82eb6141d1f8193 | refs/heads/master | 2023-03-07T21:43:57.274728 | 2022-09-04T14:52:17 | 2022-09-04T14:52:17 | 223,725,473 | 0 | 0 | null | 2023-03-04T06:25:19 | 2019-11-24T10:18:24 | TypeScript | UTF-8 | PlantUML | false | false | 3,758 | puml | @startuml
title Структура редактора приложений
class "Application" as Application {
siteEditor : SiteEditor
run()
}
Application *-- SiteEditor
class "SiteEditor" as SiteEditor {
navigationPanel : NnavigationPanel
stylePanel : StylePanelPanel
showNavigationPanel()
showStylePanel()
}
SiteEditor *-- NnavigationPanel
class "NnavigationPanel" as NnavigationPanel {
sites : Sites
showSiteNames()
}
NnavigationPanel *-- Sites
class "Sites" as Sites {
- siteNames : String[]
+ constructor( siteNames : String[] )
- findPageNamesBySite_id( site_id : string )
+ create()
+ showSiteNames()
+ find( name : string )
+ delete( site : Site )
}
Sites *-- Site
class "Site" as Site {
- _id : string
- name : string
- domaine : string
- startPage_id : string
- pages : Pages
+ updateName()
+ updateDomaine()
+ updateStartPage_id()
+ render()
}
Site *-- Pages
class "Pages" as Pages {
- page : Page
- pageNames : String[]
+ constructor( site_id : string )
- findPageNamesBySite_id( site_id : string )
+ create()
+ selectPage()
+ find( name : string )
+ delete( page : Page )
}
Pages *-- Page
class "Page" as Page {
- title : Text
- styles : Styles
- elements : Elements
+ render()
}
Page --|> Element
Page *-- Elements
Page *-- Text
Page *-- Styles
class "Elements" as Elements {
- elements : Element[]
+ constructor( parent_id : string )
- findElementsByParent_id( parent_id : string )
+ create()
+ selectElement()
+ delete( element : Element )
+ render()
}
Elements o-- Table
class "Element" as Element {
- _id : string
- parent_id : string
- styleName : string
+ baseRender()
}
class "Table" as Table {
- title : Text
- form : Form
- instances : Instances
+ render()
}
Table *-- Text
Table *-- Form
Table *-- Instances
Table --|> Element
class "Form" as Form {
- title : Text
- inputs : NamedInputs
- submit : Button
+ render()
}
Form *-- Button
Form *-- NamedInputs
Form *-- Text
Form --|> Element
class "NamedInput" as NamedInputs {
- namedInputs : NamedInput[]
+ constructor( parent_id : string )
- findNamedInputsByParent_id( parent_id : string )
+ create()
+ delete( namedInput : NamedInput )
+ render()
}
NamedInputs *-- NamedInput
class "NamedInput" as NamedInput {
- index : number
- title : Text
- input : Input
+ render()
}
NamedInput --|> Element
NamedInput *-- Input
NamedInput *-- Text
class "Input" as Input {
- type : string
- value : string
+ getValue()
+ render()
}
Input --|> Element
class "Button" as Button {
- title : Text
+ onClick()
+ render()
}
Button *-- Text
Button --|> Element
class "Text" as Text {
- text : string
+ changeText()
+ render()
}
Text --|> Element
class "Instances" as Instances {
- instances : Instance[]
+ constructor( parent_id : string )
- findInstancesByTable_id( parent_id : string )
+ create()
+ delete( instance : Instance )
+ render()
}
Instances *-- Instance
class "Instance" as Instance {
- title : Text
- namedText : NamedText
+ render()
}
Instance --|> Element
Instance *-- Text
Instance *-- InputValues
class "InputValues" as InputValues {
- inputValues : InputValue[]
+ constructor( parent_id : string )
- findInputValuesByParent_id( parent_id : string )
+ render()
}
InputValues *-- InputValue
class "InputValue" as InputValue {
- index : number
- namedInput_id : string
- text : Text
+ render()
}
NamedText --|> Element
NamedText *-- Text
@enduml |
c7b1e7142434c0929abe1502064ec387b229666b | c067a7796bba1bcd97ed5d7a5a7877a3217d532c | /uml/Properties/Proxy/Load.puml | 67a3ca6834e4ff713d393740ab95d78b4e8ee3fc | [] | no_license | inifares23lab/PMO_Proj-DatiCovid | 6897e2d04753c6faff3045aa2ac8822035683e14 | 186ec91ef3eb5647439c346909bfd8e7b3fb9e6e | refs/heads/master | 2022-10-22T03:17:14.494294 | 2020-06-16T21:10:50 | 2020-06-16T21:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 135 | puml | @startuml
class Load {
- _b : bool = false
+ Load(b:bool)
+ CaricaDati(lb:Label, l:Liste) : void
}
ILoad <|-- Load
@enduml
|
db3e58057312496f0faefc88d29047c16708e5a6 | 317138d37430f9f52d740b823ba81162886cd8d9 | /examples/examples.plantuml | dfdc2c3d4735d8332f2672c0ebb2dbc9b95e29c1 | [] | no_license | AnnieFraz/GIN | dffb35140a7080d6a9b814f986225dda1240f1ec | e3dfe1e87cea21b4897399fb5e64a48ba9d67e1a | refs/heads/master | 2021-10-26T00:15:41.820527 | 2019-02-27T12:23:43 | 2019-02-27T12:23:43 | 150,884,121 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 335 | plantuml | @startuml
title __EXAMPLES's Class Diagram__\n
package com.anniefraz.dissertation.example.application {
class A {
}
}
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
|
e057e26f95023b347ba2bd3204b7177a4eb55012 | 564e8c1810c4c7cae58332e369289129185a1bb4 | /Entwurf/PlantUML/ClassDiagrams/MVC.puml | 00ff9c2891d539ee39ba9cb63c92b6c2953e504e | [] | no_license | JonaEnz/pse-airquality-1 | e1e23bce8330949fabb822dcf4ac3ab70aac5ca7 | b7d69bd0f4c9a749e9755196c77a92335949c2b0 | refs/heads/master | 2022-12-14T03:04:53.259309 | 2020-09-06T18:54:30 | 2020-09-06T18:54:30 | 262,756,089 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 11,684 | puml | @startuml MVC
namespace Model {
Feature --> Position
Feature --> Scale
MapPin --> Position
Viewport --> Position
Observation --> Feature
Observation --> Position
Observation --> ObservationStation
ObservationStation --> Feature
ObservationStation --> Position
Scale --> Color
Polygon --> ObservationStation
class FrostResult<T> {
constructor(res : T, success : boolean, err? : string)
result : T
success : boolean
errorMessage : string
}
class Polygon {
+ constructor(color : Color, stations : ObservationStation[])
..
+ getColor() : Color
+ setColor(color : Color)
+ getStations() : ObservationStation[]
}
class MapPin {
+constructor(id: string, position: Position, vaule: number,color: Color)
..
+ getPosition() : Position
+ setPosition(position : Position) : void
+ getValue() : number
+ getStationId() : string
+ getColor() : Color
}
class Viewport {
+ constructor(center: Position, zoom: number)
..
+ getCenter() : Position
+ getZoom() : number
+ getRadius() : number
..
+ setCenter(position : Position) : void
+ setZoom(zoom : number) : void
}
class ObservationStation {
- id : string
- name : string
- description : string
- position : Position
- availableFeatures : Feature[]
+ constructor(id: string, name: string, description: string, position: Position, features : Feature[])
+ getId() : string
+ getName() : string
+ getDescription() : string
+ getPosition() : Position
+ getFeatures() : Feature[]
+ <<async>> getDiagrams() : Promise<DetailPage.Diagram[]>
+ hasFeature(feature : Feature) : Boolean
}
class Observation {
- observationStation : ObservationStation
- feature : Feature
- value : number
- timestamp : Date
+ constructor(observationStation: ObservationStation, feature: Feature, date: Date, value: number)
+ getObservationStation() : ObservationStation
+ getFeature() : Feature
+ getValue() : number
+ getTimeStamp() : Date
}
enum Timespan {
LAST_YEAR,
LAST_3_MONTHS,
LAST_MONTH,
LAST_WEEK,
LAST_3_DAYS,
TODAY,
}
class Position {
- latitude : number
- logitude : number
+ constructor(latitude: number, longitude: number)
+ getCoordinates(): [lat : number, lng: number]
+ getLatitude(): number
+ getLongitude(): number
+ toString(): string
}
class Feature {
- id : number
- nameId : string
- descriptionId : string
- scale : Scale
- relatedWeblinkId : string
- limit: number
- unitOfMeasurement: string
- drawableDiagramIds: string[]
+ constructor(id : string, nameId : string, descriptionId : string, relatedWeblinkId : string, scale : Scale, drawableDiagramIds: string[], limit: number, unitOfMeasurement: string)
+ getID(): number
+ getName(): string
+ getDescription(): string
+ getRelatedScale(): Scale
+ getRelatedWeblink(): string
+ <<async>> getDrawableDiagrams(observationStation: ObservationStation): Promise<DetailPage.Diagram[]>
+ getLimit(): number
+ getUnitOfMeasurement(): string
+ isLimitExeeded(observation: Observation): boolean
}
class Color {
{static} + readonly GREEN = "#50EE70"
{static} + readonly LIGHTGREEN = "#AAFF55"
{static} + readonly YELLOW = "#FFFF00"
{static} + readonly ORANGE = "#FFA500"
{static} + readonly RED = "#FF0000"
{static} + readonly WHITE = "#FFFFFF"
{static} + readonly BLACK = "#000000"
{static} + readonly PRIMARY
{static} + readonly SECONDARY
+ constructor(r: number, g: number, b: number)
+ constructor(hex: string)
+ getRGB() : [number, number, number]
+ getHex() : string
}
class Scale {
+ constructor(linearTransition: boolean, colors : {number, string}[])
+ getColor(value : number) : Color
}
}
namespace View {
namespace Components {
namespace MapPage {
'View.Components.Layout.MapPage *-- View.Components.MapPage.MapView
MapView *-- Search
MapView *-- Map
MapView *-- FeatureSelect
MapView *-- FeatureInfo
MapView *-- Legend
class FeatureSelect {
+ getSelectedFeature() : Feature
+ onConfigurationChanged(conf : MapConfiguration)
}
class Search {
+ State.searchTerm : string
+ onSearch(string searchTerm) : void
+ onLocationSearch() : void
+ reset() : void
}
class MapView {
+ selectStation(station : Messstation)
+ getValueAt(position: Position, feature : Feature) : number
+ onViewportChange(viewport : Viewport)
+ onStationSelected(pin : MapPin)
}
class Map {
+ Props.pins : MapPin[]
+ Props.polygons : Polygon[]
+ Props.onViewportChange()
+ Props.handlePopup(pin : MapPin)
}
class Legend {
+ Props.scale : Scale
}
Map *-- StationInfo
class StationInfo {
+ Props.station : ObservationStation
}
class FeatureInfo {
+ Props.feature : Feature
}
}
namespace DetailPage {
class ObservationStationProfile {
+ Props.observationStation: ObservationStation
}
class LocationMap {
+ Props.position: Position
}
abstract Diagram {
+ props.feature: Feature
+ props.observationStation: ObservationStation
+ getId() : string
}
class FeatureHistoryLineChart extends Diagram
class YearComparisonLineChart extends Diagram
class ComparisonToLastYearPieChart extends Diagram
}
namespace Layout {
Layout *-- PageMenu
PageMenu *-- LanguageMenu
class MapPage
class DetailPage {
Props.id: string
}
class ErrorPage {
props.errorCode : number
props.errorMessage : string
}
class PrivacyPolicyPage
class AboutPage
class PageMenu
class LanguageMenu
class Layout
}
}
}
namespace Controller {
namespace Frost {
class DataProvider {
+ {static} getObservationStations(middle: Position, radius : number) : ObservationStation[]
+ {static} getLatestObservation(station : ObservationStation, feature : Feature) : Observation
+ {static} getObservations(station : ObservationStation, start : Date, end : Date,
{static} feature : Feature, freuqency? : Frequency) : Observation[]
+ {static} getObservationStations(middle : Position, radius : number) : ObservationStation[]
+ {static} getStation(id : string) : ObservationStation
}
note as N1
Fassade, nur diese Klasse ist nach außen sichtbar.
end note
DataProvider .. N1
DataProvider --> FrostFactory
DataProvider --> FrostServer
abstract QueryBuilder {
getQuery(options : any) : string
}
FrostFactory --> ResultModelConverter
namespace GetObservationStation {
class GetObservationStationsBuilder implements Controller.Frost.QueryBuilder {
getQuery(options: GetObservationStationsOptions) : string
}
class GetObservationStationFactory implements Controller.Frost.FrostFactory{
GetQueryBuilder() : GetObservationStationsBuilder
GetConverter() : GetObservationStationsConverter
}
GetObservationStationsBuilder --> GetObservationStationsOptions
GetObservationStationFactory --> GetObservationStationsBuilder
GetObservationStationFactory --> GetObservationStationsConverter
interface GetObservationStationsOptions {
middle : Position
radius : number
}
class GetObservationStationsConverter<ObservationStation[]> implements Controller.Frost.ResultModelConverter {
convert(json : string) : FrostResult<ObservationStation[]>
}
note as N3
GetObservationStation ist beispielhaft für alle Factorys
die für die Übersicht weggelassen wurden.
end note
GetObservationStationFactory .. N3
}
abstract ResultModelConverter<T> {
convert(json : string): FrostResult<T>
}
abstract FrostFactory {
GetConverter() : ResultModelConverter<T>
GetQueryBuilder() : QueryBuilder
}
FrostFactory --> QueryBuilder
class FrostServer {
getUrl() : string
setUrl(url : string)
request(ff : FrostFactory, options : any) : FrostResult
<<async>> asyncRequest(ff : FrostFactory, options : any) : Promise<FrostResult>
}
note as N2
request(new GetObservationStationsFactory(), options : GetObservationStationsOptions) {
var query = ff.getQueryBuilder().getQuery(options)
var json = this.send(query)
var obs = ff.getConverter().convert(json)
return obs
}
end note
FrostServer .. N2
}
namespace Storage {
class Language {
{static} + getText(id: string) : string
{static} + changeLanguage(languageId : string): void
{static} + getSelectedLanguageId() : string
}
class MapConfigurationMemory {
+ save(MapConfiguration conf, viewport : Viewport)
+ load() : (MapConfiguration, Viewport)
}
}
MapController --> Controller.Storage.MapConfigurationMemory
class MapController {
+ handlePopup(pin : MapPin) : [Station, Observation]
+ handleViewportChange(viewport : Viewport)
--
+ getPins() : MapPin[]
+ getPolygons() : Polygon[]
+ changeFeature(feature : Feature) : void
+ onConfigurationChange(mapConf : MapConfiguration) : void
+ search(searchTerm : string) : void
+ updateCurrentPosition(position : Position) : void
}
abstract MapConfiguration {
+ getPins(port : Viewport) : MapPin[]
+ getPolygons(port: Viewport) : Polygon[]
+ getScale() : Scale
+ getFeatures() : Feature[]
}
class StationConfiguration extends MapConfiguration {
+ setFeature(feature : Feature)
}
class PolygonConfiguration extends MapConfiguration {
+ setFeature(feature : Feature)
}
class NearConfiguration extends MapConfiguration {
+ radius : number
--
+ setFeature(feature : Feature)
}
}
@enduml
|
347b32aba6c81b89e076d2b9209c21ce67b279b7 | 66189c5ec1fd3d87a5db4f281fb8eee547b62011 | /com/zx/uml/composition/composition2.puml | c6661250c1c59e7d98f5bb3afefd12d945451dd8 | [] | no_license | Jcduhdt/DesignPattern | 27168347a85ab79a0976d2ef3ce6e8687bd01ddd | 501635e4eebba510ae3d1bb26ebfdaccf76beb8c | refs/heads/master | 2021-02-17T20:03:58.951599 | 2020-03-15T08:34:11 | 2020-03-15T08:34:11 | 245,124,068 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 130 | puml | @startuml
class Person{
idCard:IDCard
Head:Head = new Head()
}
class Head
class IDCard
Person *-- Head
Person o-- IDCard
@enduml |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.