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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
935d4f5143721a320e51f0628e157e39c6f8c76f | 613ff135b4eab970ffd08293e48ac31a14368d53 | /UML.plantuml | 11b71613256ca9fa0daf3021c986e9df4a486efc | [] | no_license | Anaisdeb/NF18-Projet_Societe_de_chemins_de_fer | 18366dd5ae5e9ff8ef82e3992bcadcc434b5019f | 9f074574e0392a67670723030cecd90dd5f2095f | refs/heads/master | 2023-05-04T01:08:42.052342 | 2021-05-23T07:55:04 | 2021-05-23T07:55:04 | 356,230,485 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,452 | plantuml | @startuml
hide circle
package "Itineraire" #DDDDDD {
class Gare {
nom : string
ville : string
adresse : string
horaire : heure
}
note left: {(nom,ville) key}
class Train <<abstract>> {
num : int {key}
placemax : const int
classe1 : const bool
vitessemax : const int
nb_arrets() : int
}
class RER {
}
class TGV {
}
class TER {
}
class Ligne {
code : int {key}
nom : string
nb_traverse() : int
get_depart() : string
get_arrivee() : string
}
class Trajet {
place : int
duree()
}
class Arret {
rang : int
}
class Horaire {
arrivee: heure
depart : heure
}
note right
arret.code = train.code
end note
class Calendrier <<abstract>> {
}
class RegulierC {
tab[lundi,..., dimanche]: bool
}
class ExceptionnelC {
ajout : bool
jour_debut : date
jour_fin : date
}
note left
jour_debut <= jour_fin
end note
}
package "Achat" #DDDDDD {
class Billet {
id : int
gare_depart : string
depart : heure
gare_arrivee : string
arrivee : heure
assurance : bool
prix : int
duree()
}
class Voyageur <<abstract>> {
id : int
nom : string
prenom : string
adresse : string
num_tel : int[10]
}
class OccasionnelV {
}
class RegulierV {
num_carte : int
statut : {voyageur|grandVoyageur|grandVoyageurPlus}
}
class Reservation {
paiement : {especes, CB, cheque}
}
class Hotel {
adresse : string
ville : string
nom : string
nb_etoile : int
}
class Taxis {
numero : int
ville : string
marque : string
tarif : int
tel : int
}
class Transport {
numero : int
ville : string
compagnie : string
type : {bus, velo, tramway}
}
Train <|-- RER
Train <|-- TER
Train <|-- TGV
Gare "1" -- "1..*" Arret : se fait dans <
Arret "1..*" -- "1" Ligne : se situe sur >
Ligne "1" -- "1..*" Train : circule sur <
Horaire "1" -- "1..*" Trajet : depart >
Horaire "1" -- "1..*" Trajet : arrivee >
Horaire "1..*" -- "1" Arret : se fait a <
Horaire "1..*" -- "1" Train : circule a <
Billet "1" -- "1" Reservation : contient <
Reservation "1..*" -- "1" Voyageur : est faite par >
Reservation "1..*" -- "1..*" Taxis : propose >
Reservation "1..*" -- "1..*" Transport : propose >
Reservation "1..*" -- "1..*" Hotel : propose >
Billet "1" -- "1..*" Trajet : correspond >
Horaire "1..*" --- "1" RegulierC : concerne <
Horaire "1..*" ---- "0..*" ExceptionnelC : concerne <
RegulierC --|> Calendrier
ExceptionnelC --|> Calendrier
OccasionnelV --|> Voyageur
RegulierV --|> Voyageur
@enduml
|
af4d0f780540cf424d24e01cbf2316d177347bc4 | 30d33bdb258b9f5e930e7038f0f90e7ab67e2dd1 | /src/class_diagram.puml | ae7588da1bdf1513d2d1ed5273137b575c9064ba | [] | no_license | yaboymichaelD/DS-C | f2dfd6e2127249e668bbff52e4c066a62c537f3b | 6b2e8c6b0d0cc4a835d0ee02241587dbdfc9f037 | refs/heads/master | 2020-04-05T00:02:22.906490 | 2018-11-06T12:51:27 | 2018-11-06T12:51:27 | 156,380,931 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 232 | puml | @startuml
class AVLTree{
- E: key
- int: balance
- int: height
- Node: left
- Node: right
- Node: parent
- Node: root
+ getHeight(): int
+ add(E word)
+ contains(E word): boolean
}
@enduml |
a4d59444867fb5a9a13b8cf70ba37caf435c7120 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ProductType.puml | c44cab87ec54edf03fb83ba8367140b4229d1ac6 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 1,247 | 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 ProductType [[ProductType.svg]] extends BaseResource {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
key: String
name: String
description: String
attributes: [[AttributeDefinition.svg List<AttributeDefinition>]]
}
interface BaseResource [[BaseResource.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
}
interface ProductTypePagedQueryResponse [[ProductTypePagedQueryResponse.svg]] {
limit: Long
offset: Long
count: Long
total: Long
results: [[ProductType.svg List<ProductType>]]
}
interface ProductTypeReference [[ProductTypeReference.svg]] {
typeId: [[ReferenceTypeId.svg ReferenceTypeId]]
id: String
obj: [[ProductType.svg ProductType]]
}
ProductType --> ProductTypePagedQueryResponse #green;text:green : "results"
ProductType --> ProductTypeReference #green;text:green : "obj"
@enduml
|
9d1693b936476c5fb34228e357412dbb2c661f68 | 7c738fd68e823c4457669c44149241e1fff5f592 | /UML/uml-visitor.plantuml | bc96628674362a9fd0f3447bad672c7d2b3e4ad1 | [] | no_license | CoziestYew804/Serveur-Client-Dessin | 641f61bd56116beabbf4a0d3d8da2c1475700957 | 4caf67fddb48ae1c6650659beb5a9ec46381126e | refs/heads/master | 2021-04-26T23:07:29.224960 | 2018-03-05T14:47:46 | 2018-03-05T14:47:46 | 123,933,944 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,222 | plantuml | @startuml
package Visitor {
abstract class DrawingVisitor {
+{abstract} draw(Cercle *s)
+{abstract} draw(Segment *s)
+{abstract} draw(Triangle *s)
+{abstract} draw(Polygone *s)
+{abstract} draw(Shape *s)
}
abstract class SaveVisitor {
+{abstract} save(const Cercle *s, const string & filename)
+{abstract} save(const Segment *s, const string & filename)
+{abstract} save(const Triangle *s, const string & filename)
+{abstract} save(const Polygone *s, const string & filename)
+{abstract} save(const Shape *s, const string & filename)
}
class ServerDrawer {
+ServerDrawer()
+draw(Cercle *s)
+draw(Segment *s)
+draw(Triangle *s)
+draw(Polygone *s)
+draw(Shape *s)
}
class SaveTextVisitor {
+save(const Cercle *s, const string & filename)
+save(const Segment *s, const string & filename)
+save(const Triangle *s, const string & filename)
+save(const Polygone *s, const string & filename)
+save(const Shape *s, const string & filename)
}
SaveVisitor <|-- SaveTextVisitor
DrawingVisitor <|-- ServerDrawer
}
@enduml
|
74307dd728f300e9d08b429dee1638a154bcc8d4 | 9c60dd118fb7b4f777d651847e02bd1de8912c04 | /documents/calssdiagram.puml | ca294f1d12b1bf272d3b4da1952d254d31b29f13 | [] | no_license | osechiman/BulltienBoard | f0336872f219a673d79c0aa59e24133b47b50353 | d5046a2d5d08e779a746513557f0a7ca743cef48 | refs/heads/main | 2022-10-19T23:57:07.007525 | 2022-09-19T05:41:35 | 2022-09-19T05:41:35 | 251,663,444 | 3 | 2 | null | 2022-10-02T10:07:41 | 2020-03-31T16:27:36 | Go | UTF-8 | PlantUML | false | false | 13,157 | puml | @startuml
title BulitienBoard
namespace api {
class Router << (S,Aquamarine) >> {
+ BulletinBoardController *controllers.BulletinBoardController
+ BulletinBoardPresenter *presenters.BulletinBoardPresenter
+ ThreadController *controllers.ThreadController
+ ThreadPresenter *presenters.ThreadPresenter
+ CommentController *controllers.CommentController
+ CommentPresenter *presenters.CommentPresenter
+ ErrorPresenter *presenters.ErrorPresenter
- listBulletinBoard(c *gin.Context)
- getBulletinBoardByID(c *gin.Context)
- postBulletinBoard(c *gin.Context)
- postComment(c *gin.Context)
- listComment(c *gin.Context)
- responseByError(c *gin.Context, err error)
- postThread(c *gin.Context)
- getThreadByID(c *gin.Context)
- listThread(c *gin.Context)
}
}
"api.Router" o-- "controllers.BulletinBoardController"
"api.Router" o-- "controllers.CommentController"
"api.Router" o-- "controllers.ThreadController"
"api.Router" o-- "presenters.BulletinBoardPresenter"
"api.Router" o-- "presenters.CommentPresenter"
"api.Router" o-- "presenters.ErrorPresenter"
"api.Router" o-- "presenters.ThreadPresenter"
namespace configs {
class Config << (S,Aquamarine) >> {
+ Environment string
}
interface Configer {
+ Get() Config
}
class OsConfig << (S,Aquamarine) >> {
- config Config
+ Get() Config
}
class YamlConfig << (S,Aquamarine) >> {
- config Config
+ Get() Config
}
}
"configs.Configer" <|-- "configs.OsConfig"
"configs.Configer" <|-- "configs.YamlConfig"
"configs.OsConfig" o-- "configs.Config"
"configs.YamlConfig" o-- "configs.Config"
namespace controllers {
class BulletinBoard << (S,Aquamarine) >> {
+ ID string
+ Title string
}
class BulletinBoardController << (S,Aquamarine) >> {
- bbu *usecases.BulletinBoardUsecase
+ GetBulletinBoardByID(ID string) (entities.BulletinBoard, error)
+ AddBulletinBoard(c *gin.Context) (entities.BulletinBoard, error)
+ ListBulletinBoard() ([]entities.BulletinBoard, error)
}
class Comment << (S,Aquamarine) >> {
+ ID string
+ ThreadID string
+ Text string
}
class CommentController << (S,Aquamarine) >> {
- cu *usecases.CommentUsecase
+ AddComment(c *gin.Context) (entities.Comment, error)
+ ListComment() ([]entities.Comment, error)
+ ListCommentByThreadID(tID string) ([]entities.Comment, error)
}
class Thread << (S,Aquamarine) >> {
+ ID string
+ BulletinBoardID string
+ Title string
}
class ThreadController << (S,Aquamarine) >> {
- tu *usecases.ThreadUsecase
+ GetThreadByID(ID string) (entities.Thread, error)
+ AddThread(c *gin.Context) (entities.Thread, error)
+ ListThread() ([]entities.Thread, error)
+ ListThreadByBulletinBoardID(bID string) ([]entities.Thread, error)
}
}
"controllers.BulletinBoardController" o-- "usecases.BulletinBoardUsecase"
"controllers.CommentController" o-- "usecases.CommentUsecase"
"controllers.ThreadController" o-- "usecases.ThreadUsecase"
namespace entities {
class BulletinBoard << (S,Aquamarine) >> {
+ ID BulletinBoardIDer
+ Title string
+ Threads []Thread
}
interface BulletinBoardIDer {
+ Get() valueobjects.BulletinBoardID
+ String() string
+ Equals(id valueobjects.BulletinBoardID) bool
}
class Comment << (S,Aquamarine) >> {
+ ID CommentIDer
+ ThreadID ThreadIDer
+ Text string
+ CreateAt CommentTimer
}
interface CommentIDer {
+ Get() valueobjects.CommentID
+ String() string
}
interface CommentTimer {
+ Get() valueobjects.CommentTime
+ ToUnixTime() int64
+ Equals(ct valueobjects.CommentTime) bool
}
class Thread << (S,Aquamarine) >> {
+ ID ThreadIDer
+ BulletinBoardID BulletinBoardIDer
+ Title string
+ Comments []Comment
}
interface ThreadIDer {
+ Get() valueobjects.ThreadID
+ String() string
+ Equals(id valueobjects.ThreadID) bool
}
}
"entities.BulletinBoard" o-- "entities.BulletinBoardIDer"
"entities.BulletinBoard" o-- "entities.Thread"
"entities.Comment" o-- "entities.CommentIDer"
"entities.Comment" o-- "entities.CommentTimer"
"entities.Comment" o-- "entities.ThreadIDer"
"entities.Thread" o-- "entities.BulletinBoardIDer"
"entities.Thread" o-- "entities.Comment"
"entities.Thread" o-- "entities.ThreadIDer"
namespace errorobjects {
class CharacterSizeValidationError << (S,Aquamarine) >> {
- msg string
- code int
+ Error() string
}
class InternalServerError << (S,Aquamarine) >> {
- msg string
- code int
+ Error() string
}
class MissingRequiredFieldsError << (S,Aquamarine) >> {
- msg string
- code int
+ Error() string
}
class NotFoundError << (S,Aquamarine) >> {
- msg string
- code int
+ Error() string
}
class ParameterBindingError << (S,Aquamarine) >> {
- msg string
- code int
+ Error() string
}
class ResourceLimitedError << (S,Aquamarine) >> {
- msg string
- code int
+ Error() string
}
}
namespace gateways {
class InMemoryRepository << (S,Aquamarine) >> {
+ GetBulletinBoardByID(ID valueobjects.BulletinBoardID) (entities.BulletinBoard, error)
+ AddBulletinBoard(b entities.BulletinBoard) error
+ ListBulletinBoard() ([]entities.BulletinBoard, error)
+ ListThread() ([]entities.Thread, error)
+ ListThreadByBulletinBoardID(bID valueobjects.BulletinBoardID) ([]entities.Thread, error)
+ GetThreadByID(ID valueobjects.ThreadID) (entities.Thread, error)
+ AddThread(t entities.Thread) error
+ ListComment() ([]entities.Comment, error)
+ ListCommentByThreadID(tID valueobjects.ThreadID) ([]entities.Comment, error)
+ AddComment(c entities.Comment) error
+ DeleteAll()
+ DeleteBulletinBoard() error
+ DeleteThread()
+ DeleteComment()
}
}
"usecases.BulletinBoardRepositorer" <|-- "gateways.InMemoryRepository"
"usecases.CommentRepositorer" <|-- "gateways.InMemoryRepository"
"usecases.ThreadRepositorer" <|-- "gateways.InMemoryRepository"
namespace logger {
class LogColumns << (S,Aquamarine) >> {
+ PID string
+ UA string
+ Path string
+ Body []byte
+ Error(c *gin.Context, msg <font color=blue>interface</font>{})
+ Info(c *gin.Context, msg <font color=blue>interface</font>{})
+ Debug(c *gin.Context, msg <font color=blue>interface</font>{})
+ Warn(c *gin.Context, msg <font color=blue>interface</font>{})
}
interface Logger {
+ Error(c *context.Context, msg <font color=blue>interface</font>{})
+ Info(c *context.Context, msg <font color=blue>interface</font>{})
+ Debug(c *context.Context, msg <font color=blue>interface</font>{})
+ Warn(c *context.Context, msg <font color=blue>interface</font>{})
}
}
namespace presenters {
class BulletinBoard << (S,Aquamarine) >> {
+ ID string
+ Title string
+ Threads []Thread
}
class BulletinBoardPresenter << (S,Aquamarine) >> {
+ ConvertToHTTPBulletinBoardListResponse(bbl []entities.BulletinBoard) *HTTPResponse
+ ConvertToHTTPBulletinBoardResponse(bb entities.BulletinBoard) *HTTPResponse
}
class Comment << (S,Aquamarine) >> {
+ ID string
+ ThreadID string
+ Text string
+ CreatAt int64
}
class CommentPresenter << (S,Aquamarine) >> {
+ ConvertToHTTPCommentListResponse(cl []entities.Comment) *HTTPResponse
+ ConvertToHTTPCommentResponse(c entities.Comment) *HTTPResponse
}
class ErrorPresenter << (S,Aquamarine) >> {
+ ConvertToHTTPErrorResponse(err error) *HTTPResponse
}
class HTTPResponse << (S,Aquamarine) >> {
+ Items <font color=blue>interface</font>{}
}
class Thread << (S,Aquamarine) >> {
+ ID string
+ BulletinBoardID string
+ Title string
+ Comments []Comment
}
class ThreadPresenter << (S,Aquamarine) >> {
+ ConvertToHTTPThreadListResponse(tl []entities.Thread) *HTTPResponse
+ ConvertToHTTPThreadResponse(t entities.Thread) *HTTPResponse
}
}
"presenters.BulletinBoard" o-- "presenters.Thread"
"presenters.Thread" o-- "presenters.Comment"
namespace usecases {
interface BulletinBoardRepositorer {
+ GetBulletinBoardByID(ID valueobjects.BulletinBoardID) (entities.BulletinBoard, error)
+ ListBulletinBoard() ([]entities.BulletinBoard, error)
+ AddBulletinBoard(bb entities.BulletinBoard) error
+ DeleteBulletinBoard() error
}
class BulletinBoardUsecase << (S,Aquamarine) >> {
+ BulletinBoardRepository BulletinBoardRepositorer
+ ThreadRepository ThreadRepositorer
+ GetBulletinBoardByID(ID valueobjects.BulletinBoardID) (entities.BulletinBoard, error)
+ AddBulletinBoard(bb entities.BulletinBoard) error
+ ListBulletinBoard() ([]entities.BulletinBoard, error)
}
interface CommentRepositorer {
+ ListComment() ([]entities.Comment, error)
+ ListCommentByThreadID(tID valueobjects.ThreadID) ([]entities.Comment, error)
+ AddComment(c entities.Comment) error
}
class CommentUsecase << (S,Aquamarine) >> {
+ CommentRepository CommentRepositorer
+ ThreadRepository ThreadRepositorer
+ AddComment(c entities.Comment) error
+ ListComment() ([]entities.Comment, error)
+ ListCommentByThreadID(tID valueobjects.ThreadID) ([]entities.Comment, error)
}
interface ThreadRepositorer {
+ GetThreadByID(ID valueobjects.ThreadID) (entities.Thread, error)
+ ListThread() ([]entities.Thread, error)
+ ListThreadByBulletinBoardID(bID valueobjects.BulletinBoardID) ([]entities.Thread, error)
+ AddThread(t entities.Thread) error
}
class ThreadUsecase << (S,Aquamarine) >> {
+ ThreadRepository ThreadRepositorer
+ BulletinBoardRepository BulletinBoardRepositorer
+ CommentRepository CommentRepositorer
+ GetThreadByID(ID valueobjects.ThreadID) (entities.Thread, error)
+ AddThread(t entities.Thread) error
+ ListThread() ([]entities.Thread, error)
+ ListThreadByBulletinBoardID(bID valueobjects.BulletinBoardID) ([]entities.Thread, error)
}
}
"usecases.CommentRepositorer" <|-- "usecases.CommentUsecase"
"usecases.ThreadRepositorer" <|-- "usecases.ThreadUsecase"
"usecases.BulletinBoardUsecase" o-- "usecases.BulletinBoardRepositorer"
"usecases.BulletinBoardUsecase" o-- "usecases.ThreadRepositorer"
"usecases.CommentUsecase" o-- "usecases.CommentRepositorer"
"usecases.CommentUsecase" o-- "usecases.ThreadRepositorer"
"usecases.ThreadUsecase" o-- "usecases.BulletinBoardRepositorer"
"usecases.ThreadUsecase" o-- "usecases.CommentRepositorer"
"usecases.ThreadUsecase" o-- "usecases.ThreadRepositorer"
namespace valueobjects {
class BulletinBoardID << (S,Aquamarine) >> {
- id bulletinBoardID
- str string
+ Get() BulletinBoardID
+ String() string
+ Equals(other BulletinBoardID) bool
}
class CommentID << (S,Aquamarine) >> {
- id commentID
- str string
+ Get() CommentID
+ String() string
+ Equals(other CommentID) bool
}
class CommentTime << (S,Aquamarine) >> {
- unixTime int64
+ Get() CommentTime
+ ToUnixTime() int64
+ Equals(other CommentTime) bool
}
class ThreadID << (S,Aquamarine) >> {
- id threadID
- str string
+ Get() ThreadID
+ String() string
+ Equals(other ThreadID) bool
}
class valueobjects.bulletinBoardID << (T, #FF7700) >> {
}
class valueobjects.commentID << (T, #FF7700) >> {
}
class valueobjects.threadID << (T, #FF7700) >> {
}
class "uuid.UUID" as uuidUUID {
'This class was created so that we can correctly have an alias pointing to this name. Since it contains dots that can break namespaces
}
}
"entities.BulletinBoardIDer" <|-- "valueobjects.BulletinBoardID"
"entities.CommentIDer" <|-- "valueobjects.CommentID"
"entities.CommentTimer" <|-- "valueobjects.CommentTime"
"entities.ThreadIDer" <|-- "valueobjects.ThreadID"
"valueobjects.BulletinBoardID" o-- "valueobjects.bulletinBoardID"
"valueobjects.CommentID" o-- "valueobjects.commentID"
"valueobjects.ThreadID" o-- "valueobjects.threadID"
"valueobjects.uuidUUID" #.. "valueobjects.bulletinBoardID"
"valueobjects.uuidUUID" #.. "valueobjects.commentID"
"valueobjects.uuidUUID" #.. "valueobjects.threadID"
@enduml
|
9022738d048e17912a6107ae9e66458373b01c22 | 02a364d6cc772a9bf2e72d02dbecca74ac14d335 | /eCommerce-Core-2/DPLRef.eCommerce/plantuml/DPLRef.eCommerce.Engines/Sales/ICartPricingEngine.puml | 8e537106f56b53c40e25de613d21c88335b62523 | [
"BSD-3-Clause"
] | permissive | noelmartens/TransitionAcademy | 4e02379d234aa4859a497ee2846420f4c55b9e12 | 3b95a5c737ab7b1497b77d455cf64caa73f69e1f | refs/heads/master | 2023-06-14T05:25:35.514249 | 2021-07-02T19:40:29 | 2021-07-02T19:40:29 | 362,512,351 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 146 | puml | @startuml
interface ICartPricingEngine {
GenerateCartPricing(cart:Cart) : WebStoreCart
}
IServiceContractBase <|-- ICartPricingEngine
@enduml
|
c300ed46eacce7ba0e7be756d3afb77e92331ff1 | b22aab4195a0d8dabe96c1cff1fd3692e86e076a | /pushly.plantuml | 9d92005bceef7273bb0bf045ae7ada7aecb3a072 | [] | no_license | NareshDonthula/pushscripts | 678d54187ea0228f67b5421ae6ee9b46f20e1da1 | 997e5fa04e52608a32416afff1f053bec67f867b | refs/heads/master | 2022-04-06T03:07:08.425493 | 2019-11-22T10:35:25 | 2019-11-22T10:35:25 | 229,723,103 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,099 | plantuml | @startuml Pushly
class Pushly {
+visitorInfo: Object
-init()
-setTokenSentToServer()
-sendTokenToServer()
-isTokenSentToServer()
-storeToken()
}
class ClientInfo {
-detectFirebase()
}
class PushlyServerFirebase {
-init()
-getPushlySideApproval()
-isPushPermissionGranted()
-checkPermissionStatus()
-openChildWindow()
-closeChildWindow()
-setDenySession()
}
class PushlyFirebase {
+firebaseDetails: Object
-init()
-getClientSideApproval()
-getFirebaseToken()
}
class PushlyFirebaseListener {
+executionMessageApi: String
+messageApi: String
+subscriptionObject: Object
+url: String
+launchUrl: String
-init()
-saveUserAction()
}
class GlobalConstants {
+pushlyCloudUrl: String
+serverUrl: String
+pushlyPopupHtml: String
}
Pushly -down-> Node.500appsweb
Pushly -down-> ClientInfo
Pushly -down-> GlobalConstants
ClientInfo -down-> PushlyFirebase
ClientInfo -down-> PushlyServerFirebase
PushlyFirebase -up-> Pushly
@enduml
|
c845179a8a8bf768a9adfa617123624db34caa71 | c095c92e49a0b3f4e2389c397bde53ed5f992bdb | /exercise41/docs/Classes.puml | 88c251e3c2cb028b538d27c1b7a89a54a601adae | [] | no_license | CapOregon9/bagherzadeh-a04 | f62ff06ca9e9846f373787659e468bc27b0c7de9 | 40f311ac5de08ad5916f90f619f7133ccebaa21a | refs/heads/main | 2023-08-12T17:25:18.482458 | 2021-10-18T03:30:18 | 2021-10-18T03:30:18 | 415,194,875 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 244 | puml | @startuml
class Solution41 {
main(String[])
}
Solution41 -- FileSort
class FileSort {
-ArrayList<String>: names
+List<String>: getNames()
+void: readInputFile()
+void: sortNames()
+void: createOutputFIle()
}
@enduml |
38f02881233842200d25dd34c7ec834b2dc7c637 | e594997734c6fa96f9a6d94448d48f553cbd3968 | /puml/ants.puml | 774214b309dca516d1b0336b2e0ca89c5eb9b651 | [] | no_license | huangxingx/huangxingx.github.io | c3ece3c95be39e89fa62f762f49e32d75c77d285 | 74cb4e878ee19efe2b836b7cd8ab83a6a13d97fe | refs/heads/master | 2023-07-19T06:35:39.636740 | 2023-07-06T01:10:28 | 2023-07-06T01:10:28 | 130,047,401 | 1 | 0 | null | 2023-03-01T06:27:14 | 2018-04-18T10:44:24 | JavaScript | UTF-8 | PlantUML | false | false | 623 | puml | @startuml ants
class Pool {
workerArray workers
state
+ NewPool()
+ Submit()
+ Free()
+ Cap()
+ Release()
+ Reboot()
}
class goWorker {
Pool pool
task
-run()
}
interface workerArray{
-len() int
-isEmpty() bool
-insert(worker *goWorker) error
-detach() *goWorker
-retrieveExpiry(duration time.Duration) []*goWorker
-reset()
}
class loopQueue{
goWorker[] goWorker
}
class workerStack{
goWorker[] goWorker
}
Pool <-- goWorker
Pool -> workerArray
workerArray <|-- loopQueue
workerArray <|-- workerStack
loopQueue o-- goWorker
workerStack o-- goWorker
@enduml
|
8fa799515e9394513bae83fdc54422cbfdca2e23 | 605cac101260b1b451322b94580c7dc340bea17a | /malokhvii-eduard/malokhvii05/doc/plantuml/ua/khpi/oop/malokhvii05/util/algorithms/search/SearchAlgorithmFactory.puml | d3e56a8f1a412794b62a13ac8f87266efe636f91 | [
"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 | 747 | puml | @startuml
class SearchAlgorithmFactory {
{static} -classMapping: Map<String, Class<?>>
{static} -defaultAlgorithm: Class<?>
-SearchAlgorithmFactory()
{static} +getAlgorithm(String): SearchAlgorithm<T>
{static} +getAlgorithm(String, Comparator<T>): SearchAlgorithm<T>
{static} +getDefaultAlgorithm(): SearchAlgorithm<T>
{static} +getDefaultAlgorithm(Comparator<T>): SearchAlgorithm<T>
{static} +getRegisteredAlgorithms(): Set<String>
{static} -loadBasicAlgorithms(): void
{static} +registerAlgorithm(String, Class<?>): void
{static} +setDefaultAlgorithm(Class<?>): void
{static} ~unregisterAlgorithm(String): void
}
@enduml
|
a93b73a2a6e936d2b9d9b71624ceada3a2af0b77 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Editor/Activation/ActivationTrackEditor.puml | cfd2ecefae427946585251ece48a98ab4194ab6f | [] | 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 | 461 | puml | @startuml
class ActivationTrackEditor {
{static} <<readonly>> ClipText : string
{static} <<readonly>> k_ErrorParentString : string
{static} <<readonly>> k_ErrorString : string
+ <<override>> GetTrackOptions(track:TrackAsset, binding:Object) : TrackDrawOptions
GetErrorText(track:TrackAsset, binding:Object) : string
+ <<override>> OnCreate(track:TrackAsset, copiedFrom:TrackAsset) : void
}
TrackEditor <|-- ActivationTrackEditor
@enduml
|
949c4064b9f17b54b69836ed3cde7c6f590aa938 | c3287e91ce0ebce396cd3966de3d2f7d90131c20 | /Plantuml/Common/Entities/Tour.puml | 9ca61763ca841544f3d5d9d2960c89862cc67df4 | [] | no_license | kretmatt/SWE2-Tourplanner | 497ec2e888112bd3d67a0f2b97e7c1e8e0348371 | f064500ae5b913b00671f358a586011affcdaf00 | refs/heads/main | 2023-05-12T11:48:29.605417 | 2021-06-06T21:53:11 | 2021-06-06T21:53:11 | 341,115,114 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 457 | puml | @startuml
class Tour {
+ Tour()
+ Id : int <<get>> <<set>>
+ Name : string <<get>> <<set>>
+ StartLocation : string <<get>> <<set>>
+ EndLocation : string <<get>> <<set>>
+ RouteInfo : string <<get>> <<set>>
+ Distance : double <<get>> <<set>>
+ Description : string <<get>> <<set>>
}
class "List`1"<T> {
}
Tour --> "RouteType" ERouteType
Tour --> "Maneuvers<Maneuver>" "List`1"
Tour --> "TourLogs<TourLog>" "List`1"
@enduml
|
b6d67b2e91f6a60b4f7883f8c208a18f5cd5be39 | c8921fe77a5927904ac3c04bfd080851403dab94 | /uml/uml/戦場2.puml | 339a71d3232a79f313e4abe5ef884be1286d5966 | [] | no_license | turanukimaru/fehs | cc06f5a3d007a2633373d09281304571e132748b | 8764ad4521c7a0f66a911578b536f9be4e598fdb | refs/heads/master | 2021-06-03T05:53:52.465995 | 2020-04-19T18:59:06 | 2020-04-19T18:59:06 | 111,425,822 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 253 | puml | @startuml
allow_mixing
class "戦場" as Entity {
}
class "升目" as Square {
}
class "英雄" as Hero {
}
Actor "プレイヤー" as Player
Player "操作" -> Entity
Entity o--> "n" Hero
Entity o--> "6x7" Square
Hero "0..1" <-- "1" Square
@enduml |
a94a5a731fef95c9535533ac7ed3ee4fe224c8cf | c3871e3e33b6862aa9747997af2d9f5e714a00c7 | /app/src/main/java/com/lt/personal_stadiumbookingsystem/ui/adapter/adapter.plantuml | 578b1c68aae6284a74ac01518a6395f1e15ef09a | [] | no_license | zuilintan/Personal_StadiumBookingSystem_Client | 47610baea349acbc4d6b4744aacedc134ba53a0d | c5bd349196cf4c8bf95c1b0979e4b75de625a926 | refs/heads/master | 2020-06-03T22:25:35.310902 | 2019-06-13T12:12:41 | 2019-06-13T12:12:41 | 191,756,309 | 4 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,813 | plantuml | @startuml
title __ADAPTER's Class Diagram__\n
package com.lt.personal_stadiumbookingsystem {
package com.lt.personal_stadiumbookingsystem.ui.adapter {
class GymAdapter {
+ GymAdapter()
# initView()
# updateView()
}
}
}
package com.lt.personal_stadiumbookingsystem {
package com.lt.personal_stadiumbookingsystem.ui.adapter {
class HistoryAdapter {
+ HistoryAdapter()
# initView()
# updateView()
- showOrderState()
}
}
}
package com.lt.personal_stadiumbookingsystem {
package com.lt.personal_stadiumbookingsystem.ui.adapter {
class SiteAdapter {
+ SiteAdapter()
# initView()
# updateView()
}
}
}
package com.lt.personal_stadiumbookingsystem {
package com.lt.personal_stadiumbookingsystem.ui.adapter {
class TimeAdapter {
- mCslTimes : int[]
- mTimeStarts : int[]
- mTimeEnds : int[]
- mTimeExpireStates : int[]
- mTimeOrderStates : int[]
+ TimeAdapter()
# initView()
# updateView()
- initData()
}
}
}
GymAdapter -up-|> BaseRecyclerViewAdapter
HistoryAdapter -up-|> BaseRecyclerViewAdapter
HistoryAdapter o-- ConfirmDialog : mPayDialog
HistoryAdapter o-- ConfirmDialog : mCancelDialog
SiteAdapter -up-|> BaseRecyclerViewAdapter
TimeAdapter -up-|> OnClickListener
TimeAdapter -up-|> BaseRecyclerViewAdapter
TimeAdapter o-- DataCallBack : mBookCallBack
TimeAdapter o-- ConfirmDialog : mBookDialog
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
|
e3c654bb94a8068ded4f628b32382f9ce75579f1 | 9f38c66cd0b9a5dc252e6af9a3adc804915ff0e9 | /java/resources/plantuml/structural/proxy-class.puml | 1c29e4a5f618dd59cd7b8dd3d62077a8ac892005 | [
"MIT"
] | permissive | vuquangtin/designpattern | 4d4a7d09780a0ebde6b12f8edf589b6f45b38f62 | fc672493ef31647bd02c4122ab01992fca14675f | refs/heads/master | 2022-09-12T07:00:42.637733 | 2020-09-29T04:20:50 | 2020-09-29T04:20:50 | 225,505,298 | 0 | 0 | null | 2022-09-01T23:16:34 | 2019-12-03T01:41:33 | Java | UTF-8 | PlantUML | false | false | 328 | puml | @startuml
scale 1024 height
title Proxy Pattern
interface Subject {
+ request()
}
class RealSubject
class Proxy {
- preRequest()
- afterRequest()
}
Subject <|.. RealSubject
Subject <|.. Proxy
RealSubject <- Proxy
note "request() {\npreRequest()\nrealSubject.request()\nafterRequest()\n}" as N1
N1 .. Proxy
@enduml |
17afd561e87006684418814abbea1d95be500e39 | b46a8b42d5963312e9d6650c83dd7515773a7672 | /src/main/java/ex41/PlantUMLex41.puml | b5b7887d56da21fb9d443b8aa124ddee5a3bd27a | [] | no_license | spenserTac/tacinelli-cop3330-assignment3 | d6d548922da24727ee275d94ae1a29aa14fe5b45 | 9558a55ef1a4ef559ecbf2ef1c934160669801ef | refs/heads/main | 2023-08-02T17:03:44.736623 | 2021-10-08T21:22:57 | 2021-10-08T21:22:57 | 411,861,371 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 192 | puml | @startuml
'https://plantuml.com/sequence-diagram
class App {
BufferedReader create_read_file()
ArrayList<String[]> list_of_name(BufferedReader file)
void main(String[] args)
}
@enduml |
5e9de132933b1b3d11c3e37fd80ca8570e921d5b | b2be1f2c659ff90e5be7a97f52150c3f278e4c70 | /behavioral_patterns/memento/memento.puml | 7b4a8b7d2512adc06cb4a091a67688fa35fa7ec1 | [] | 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 | 185 | puml | @startuml
class Originator {
restore(Memento)
save()
}
class Memento {
get_state()
state
}
Originator ..> Memento
class Caretaker {
}
Memento <--* Caretaker
@enduml
|
7fe30f0b154e694310a8e3440dff33209da7a033 | 462b9598f08a48ab835f0b189d4d344560965227 | /src/main/java/csheets/worklog/n1121060/sprint1/ipc01_01_ClassDiagram.puml | 385562b429ff16c247392673a7c9b827689ba1cd | [] | no_license | VitorMascarenhas/LAPR4-2016 | 19f5593b98b81763f77021fb04278ed231337028 | e53a5a46c0e09fbc155fb91f2010d50532de85d2 | refs/heads/master | 2020-03-19T10:31:05.321699 | 2018-06-06T19:49:19 | 2018-06-06T19:49:19 | 136,027,190 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,254 | puml | @startuml doc-files/ipc01_01_ClassDiagram.png
class ConfigurationManager
class ConnectionManager extends Observable implements Observer
class ConnectionManager{
-UdpClient udpClient
-UdpServer udpServer
-TcpServer tcpServer
-ConfigurationManager cfgManager
+ {static} synchronized ConnectionManager getInstance()
}
enum MessageType
class Message implements Serializable{
- final MessageType messageType;
- final Object content;
- InetAddress address;
}
class StartSharingController extends FocusOwnerAction implements Observer, Serializable
class StartSharingExtension extends Extension
class StartSharingPanel extends javax.swing.JPanel
class TcpServer implements Runnable
class TcpServerConnection extends Observable implements Runnable
class TcpClientConnection
class UdpClient extends Observable implements Runnable
class UdpServer implements Runnable
ConnectionManager *-- TcpServer
ConnectionManager *-- UdpServer
ConnectionManager *-- UdpClient
ConnectionManager *-- TcpClientConnection
ConnectionManager *-- ConfigurationManager
TcpServer o-- TcpClientConnection
Message o-- MessageType
StartSharingController *-- ConnectionManager
StartSharingPanel *-- StartSharingController
@enduml |
f68967094305468060674f2edeb7147e97d3a398 | 7ef514715081cb88ddbc214b6003cfd65c4d97ad | /src/main/resources/classDiagram.puml | 0d26ece80abc9870f6a4a41a65900d472684ba8b | [] | no_license | eks5115/design-pattern-learning | 1069cc439b16e4882e2f32e3f73cf029d303c95a | b1fb55e3739a770b99bc243f2e3eeafb93eed5ab | refs/heads/master | 2020-03-24T05:58:23.399050 | 2018-11-09T07:33:23 | 2018-11-09T07:33:23 | 142,511,158 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,181 | puml | @startuml
interface Vehicle {
{abstract} float getSpeed()
}
abstract AbstractVehicle {
-float speed
-Person driver
-Power power
-Tire tire
-ProtectiveDevice protectiveDevice
+float getSpeed()
+Person getDriver()
+Power getPower()
+Tire getTire()
+ProtectiveDevice getProtectiveDevice()
}
abstract class MotorVehicle {
}
abstract class NonMotorVehicle {
}
class Car {
}
class Bus {
}
class Motorcycle {
}
class Bicycle {
}
abstract class Tire {
-String type
+String getType()
}
class RoadTire {
}
class MountainTire {
}
abstract class ProtectiveDevice {
}
class SafetyClothing {
}
class Helmet {
}
abstract Person {
}
abstract class Power {
}
class Gasoline {
}
class Manpower {
}
Vehicle <|.. AbstractVehicle
AbstractVehicle <|-- MotorVehicle
AbstractVehicle <|-- NonMotorVehicle
AbstractVehicle *-- Tire
AbstractVehicle o-- ProtectiveDevice
AbstractVehicle --> Person
AbstractVehicle ..> Power
MotorVehicle <|-- Car
MotorVehicle <|-- Bus
MotorVehicle <|-- Motorcycle
NonMotorVehicle <|-- Bicycle
Tire <|-- RoadTire
Tire <|-- MountainTire
ProtectiveDevice <|-- SafetyClothing
ProtectiveDevice <|-- Helmet
Power <|-- Gasoline
Power <|-- Manpower
@enduml |
2cb1fa5b0b65998a1db4de03d3c390b838dd5e87 | eb4d12c3db6d484127f74970d68eb34cb239bc2e | /classes.plantuml | 0484af3c1d9f4ece785a6b4276afc14f8476b978 | [] | no_license | Da-progress/TestMaven | 663c346e7d3845be934c8c8a5f8287db1ebcac1e | 479a0fa3efdf967b885aaaedddfdf42f2ec5f298 | refs/heads/master | 2021-01-11T14:50:59.059636 | 2017-02-10T09:16:21 | 2017-02-10T09:16:21 | 80,233,480 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,600 | plantuml | @startuml
top to bottom direction
skinparam headerFontSize 30
skinparam headerFontStyle bold
skinparam classAttributeIconSize 0
scale 1.0
package DataBase {
class DataBase.ElentBDConnection {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getDBConnection(int) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
class DataBase.InnerConnDBConnection {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getDBConnection(int) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
class DataBase.OperationModes {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getDBConnection(int) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
class DataBase.Cost {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getDBConnection(int) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
class DataBase.OpeatingDuration {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getDBConnection(int) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
class DataBase.StatisticsDBConnection {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getDBConnection(int) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
}
package Evaluation {
class Evaluation.InnerConnRA {
.. Methods ..
+getFunctionalRiskValue(Double, Double) : void
+getStructureRiskValue(Double, Double) : void
}
class Evaluation.ElementDA {
.. Methods ..
+getFunctionalDamageValue(Double, Double) : void
+getStructureDamageValue(Double, Double) : void
}
class Evaluation.InnerConnDA {
.. Methods ..
+getFunctionalDamageValue(Double, Double) : void
+getStructureDamageValue(Double, Double) : void
}
class Evaluation.ElementRA {
.. Methods ..
+getFunctionalRiskValue(Double, Double) : void
+getStructureRiskValue(Double, Double) : void
}
class Evaluation.Probability {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
}
package Graphics {
class Graphics.CognitiveMap {
.. Methods ..
+drawCognitiveMap() : void
+drawDiagram() : void
+drawGraph() : void
}
class Graphics.Graph {
.. Methods ..
+drawCognitiveMap() : void
+drawDiagram() : void
+drawGraph() : void
}
class Graphics.Giaram {
.. Methods ..
+drawCognitiveMap() : void
+drawDiagram() : void
+drawGraph() : void
}
}
package com.mycompany.spprfull {
package com.mycompany.spprfull.gui {
class com.mycompany.spprfull.gui.SPPR {
.. Methods ..
.. Static ..
+ {static} main() : void
}
class com.mycompany.spprfull.gui.Gui {
.. Fields ..
-jButton2 : JButton
-jButton3 : JButton
-jCheckBox1 : JCheckBox
-jCheckBox2 : JCheckBox
-jCheckBox3 : JCheckBox
-jCheckBox4 : JCheckBox
-jComboBox1 : JComboBox
-jLabel1 : JLabel
-jLabel2 : JLabel
-jLabel3 : JLabel
-jLabel5 : JLabel
-jLabel6 : JLabel
-jLabel7 : JLabel
-jPanel2 : JPanel
-jPanel3 : JPanel
-jPanel4 : JPanel
-jPanel5 : JPanel
-jScrollPane1 : JScrollPane
-jScrollPane2 : JScrollPane
-jScrollPane3 : JScrollPane
-jTabbedPane6 : JTabbedPane
-jTable1 : JTable
-jTable3 : JTable
-jTextArea1 : JTextArea
.. Methods ..
-initComponents() : void
-jComboBox1ActionPerformed(ActionEvent) : void
.. Static ..
+ {static} main() : void
}
class com.mycompany.spprfull.gui.MakeDesicion {
.. Methods ..
+getComponentName(String) : void
+getCost(String) : void
+getDBConnection(int) : void
+getFunctinalDamageData(String) : void
+getFunctinalRiskData(String) : void
+getOperatingDuration(String) : void
+getOperatingMode(String) : void
+getProbabilityData(String) : void
+getStructureDamageData(String) : void
+getStructureRiskData(String) : void
}
}
interface com.mycompany.spprfull.Risk {
.. Methods ..
+ {abstract} getFunctionalRiskValue(Double, Double) : void
+ {abstract} getStructureRiskValue(Double, Double) : void
}
interface com.mycompany.spprfull.Damage {
.. Methods ..
+ {abstract} getFunctionalDamageValue(Double, Double) : void
+ {abstract} getStructureDamageValue(Double, Double) : void
}
interface com.mycompany.spprfull.DataOutput {
.. Methods ..
+ {abstract} getComponentName(String) : void
+ {abstract} getCost(String) : void
+ {abstract} getFunctinalDamageData(String) : void
+ {abstract} getFunctinalRiskData(String) : void
+ {abstract} getOperatingDuration(String) : void
+ {abstract} getOperatingMode(String) : void
+ {abstract} getProbabilityData(String) : void
+ {abstract} getStructureDamageData(String) : void
+ {abstract} getStructureRiskData(String) : void
}
interface com.mycompany.spprfull.Drawing {
.. Methods ..
+ {abstract} drawCognitiveMap() : void
+ {abstract} drawDiagram() : void
+ {abstract} drawGraph() : void
}
interface com.mycompany.spprfull.BDConnection {
.. Methods ..
+ {abstract} getDBConnection(int) : void
}
}
com.mycompany.spprfull.BDConnection <|.. DataBase.ElentBDConnection
com.mycompany.spprfull.DataOutput <|.. DataBase.ElentBDConnection
com.mycompany.spprfull.Risk <|.. Evaluation.InnerConnRA
com.mycompany.spprfull.BDConnection <|.. DataBase.InnerConnDBConnection
com.mycompany.spprfull.DataOutput <|.. DataBase.InnerConnDBConnection
com.mycompany.spprfull.Damage <|.. Evaluation.ElementDA
com.mycompany.spprfull.Damage <|.. Evaluation.InnerConnDA
com.mycompany.spprfull.BDConnection <|.. DataBase.OperationModes
com.mycompany.spprfull.DataOutput <|.. DataBase.OperationModes
com.mycompany.spprfull.BDConnection <|.. com.mycompany.spprfull.gui.MakeDesicion
com.mycompany.spprfull.DataOutput <|.. com.mycompany.spprfull.gui.MakeDesicion
com.mycompany.spprfull.BDConnection <|.. DataBase.Cost
com.mycompany.spprfull.DataOutput <|.. DataBase.Cost
com.mycompany.spprfull.Risk <|.. Evaluation.ElementRA
com.mycompany.spprfull.DataOutput <|.. Evaluation.Probability
com.mycompany.spprfull.BDConnection <|.. DataBase.OpeatingDuration
com.mycompany.spprfull.DataOutput <|.. DataBase.OpeatingDuration
com.mycompany.spprfull.Drawing <|.. Graphics.CognitiveMap
com.mycompany.spprfull.Drawing <|.. Graphics.Graph
com.mycompany.spprfull.BDConnection <|.. DataBase.StatisticsDBConnection
com.mycompany.spprfull.DataOutput <|.. DataBase.StatisticsDBConnection
com.mycompany.spprfull.Drawing <|.. Graphics.Giaram
@enduml
|
a86878c407c9b7d7c1bdb5d8fa5e0409103adb70 | 640be1f33c633c522c75fadbc52978196fd07e38 | /src/UMLPrinter.puml | 17e3ea3f7ef400c0810929e33444b00d08397885 | [] | no_license | BernatMallol/PrinterTimeTracker | 5392d60a56f7edf87ef8504330026ac75bd8a6c2 | 4e714775f4a942aa57c624899a3d5c04c707b0f5 | refs/heads/master | 2022-12-31T22:57:54.587776 | 2020-10-21T15:33:14 | 2020-10-21T15:33:14 | 303,704,674 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,136 | puml | @startuml
class Clock{
-Observable observable
-Timer clock
-Clock uniqueInstance
-Clock()
+getInstance():clock
-startTick()
-setTime()
+stopClock()
}
interface Element{
+print()
}
interface VisitorPrint{
print(Tracker)
print(Task)
print(TaskManager)
print(Interval)
}
class Interval{
-Task parentTask
-LocalDateTime startTime
-LocalDateTime endTime
-boolean inProgress
+Interval()
+isInProgress():boolean
+getDuration():Duration
+getEndTime():LocalDateTime
+getEndTimeToString():String
+setEndTime()
+getStartTimeToString():String
+getStartTime():LocalDateTime
+update()
+toString():String
+print()
}
class PrinterVisitor{
+Timer timer
-TaskManager taskManager
+PrinterVisitor()
+print(Tracker)
+print(TaskManager)
+print(Task)
+print(Interval)
+stopPrinting()
+update()
}
class Task{
-TaskManager parentProject
-List<Interval> listIntervals
-boolean active
+Task()
+getListIntervals():List<Interval>
+getStartTimeToString():String
+getEndTimeToString():String
+getStartTime():LocalDateTime
+updateParentEndTime()
+getDuration():Duration
+endInterval()
+createInterval():Interval
+intervalUpdated()
+toString():String
+getEndTime():LocalDateTime
+print()
}
class TaskManager{
-TaskManager parentProject
-List<Tracker> trackers
+TaskManager(String)
+TaskManager(TaskManager,String)
#updateParentEndTime()
+setStartTime()
+getTrackers():List<Tracker>
+getDuration():Duration
+getStartTime():LocalDateTime
+getStartTimeToString():String
+setEndTime()
+getEndTime():LocalDateTime
+getEndTimeToString():String
+addChild(Tracker)
}
class Tracker{
#String name
#LocalDateTime startTime
#LocalDateTime endTime
+Tracker()
#updateParentEndTime()
+getName():String
+getDuration():Duration
+getStartTimeToString():String
+getEndTimeToString():String
+getStartTime():LocalDateTime
+getEndTime():LocalDateTime
}
interface Observer
class Observable
TaskManager"0.." -- "1.." Task
Tracker<|--(TaskManager, Task)
Task"1"*--"0..*"Interval
Interval--|>(Element,Observer)
(Task,TaskManager) o--Tracker
Observable <|-- Clock
Clock --* TimerTask
PrinterVisitor--|>(VisitorPrint,Observer)
(Tracker,TaskManager) --|> Element
Clock o--Tracker
@enduml |
8f1b96f55eeb244e3bbf62766346b70bcccb19d7 | 6a31305f49d1d2770c4876be5587fcfb799bf32d | /src/main/java/ex45/ex45.puml | 775a43a222b6da9caa2011f28bf4cbae70c9e1c7 | [] | no_license | ShintaroKisarag/TRAN-cop3330-assignment3 | 0f94fd37ffd0d2a65b43a924121b59f906ea88da | 12ebef121528d2e43d5d2e80e55504cd524cc023 | refs/heads/master | 2023-08-23T01:47:42.112869 | 2021-10-12T03:15:37 | 2021-10-12T03:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 481 | puml | @startuml
'https://plantuml.com/class-diagram
main <|-- readFile
readFile <|-- readLine
main <|-- WriteFile
main <|-- readLine
class readFile {
ArrayList<String>list
Scanner input
}
class readFile{
File inputFile
}
class readLine{
String data
list.add(data)
}
class WriteFile{
FileWriter(name)
int index
String temp
String string
}
class main{
Scanner input
String output
readFile()
readLine()
ArrayList<String>list
writeFile(output,list)
writeFile.writeFile()
}
@enduml |
f2e9dcee3015912ad2711892e4f9c669436fa883 | a751888fd29a1b92bb32ef7d272d3e72f664ed30 | /src/design/events-class-diagram.puml | cdbe23612b7cd23d830c40afe87a04ed78713740 | [
"Apache-2.0",
"MIT",
"EPL-1.0"
] | permissive | petrushy/Orekit | b532c7db85c992d85b5ac3d858d18d656e2b8c46 | 1f8ff45caf82e0e7e85f8cf9fd4f41c3ba379443 | refs/heads/develop | 2023-08-16T11:37:43.709083 | 2023-07-18T20:13:14 | 2023-07-18T20:13:14 | 42,349,064 | 10 | 2 | Apache-2.0 | 2023-07-21T14:54:14 | 2015-09-12T07:39:56 | Java | UTF-8 | PlantUML | false | false | 4,145 | puml | ' Copyright 2002-2022 CS GROUP
' Licensed to CS GROUP (CS) under one or more
' contributor license agreements. See the NOTICE file distributed with
' this work for additional information regarding copyright ownership.
' CS licenses this file to You under the Apache License, Version 2.0
' (the "License"); you may not use this file except in compliance with
' the License. You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
' Unless required by applicable law or agreed to in writing, software
' distributed under the License is distributed on an "AS IS" BASIS,
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' See the License for the specific language governing permissions and
' limitations under the License.
@startuml
skinparam svek true
skinparam ClassBackgroundColor #F3EFEB/CCC9C5
skinparam ClassArrowColor #691616
skinparam ClassBorderColor #691616
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #691616
skinparam NoteFontColor #691616
skinparam ClassFontSize 11
skinparam PackageFontSize 12
skinparam linetype ortho
package org.orekit.propagation #ECEBD8 {
interface Propagator {
+void addEventDetector(EventDetector detector)
+Collection<EventDetector> getEventsDetectors()
+void clearEventsDetectors()
}
package events #DDEBD8 {
package handlers #CBDBC8 {
interface "EventHandler<T extends EventDetector>" as EventHandler_T_ {
+init(SpacecraftState s0, AbsoluteDate target, T detector)
+Action eventOccurred(SpacecraftState s, T detector, boolean increasing)
+SpacecraftState resetState(T detector, SpacecraftState oldState)
}
enum Action {
+STOP
+RESET_STATE
+RESET_DERIVATIVES
+CONTINUE
}
ContinueOnEvent --|> EventHandler_T_
StopOnEvent --|> EventHandler_T_
StopOnDecreasingEvent --|> EventHandler_T_
StopOnIncreasingEvent --|> EventHandler_T_
}
class EventsLogger
interface EventDetector {
+void init(SpacecraftState s0, AbsoluteDate t)
+double g(SpacecraftState s)
+double getThreshold()
+double getMaxCheckInterval()
+int getMaxIterationCount()
+eventOccurred(SpacecraftState s, boolean increasing)
+resetState(SpacecraftState oldState)
}
class EventShifter {
-double increasingOffset
-double decreasingOffset
}
EventDetector <--* "1" EventShifter
class "AbstractDetector<T extends EventDetector>" as AbstractDetector_T_ {
+T withMaxCheck(double maxCheck)
+T withThreshold(double threshold)
+T withMaxIter(int maxIter)
+T withHandler(EventHandler<T> handler)
+EventHandler<T> getHandler()
}
enum FilterType {
TRIGGER_ONLY_DECREASING_EVENTS
TRIGGER_ONLY_INCREASING_EVENTS
}
interface EnablingPredicate {
+eventIsEnabled(SpacecraftState state, S eventDetector, double g)
}
EventsLogger "*" *--> EventDetector : monitors
EventDetector <--* "1" EventSlopeFilter
EventSlopeFilter "1" *--> FilterType
Propagator "1" o--> "*" EventDetector : detectors
EventDetector <--* "1" EventEnablingPredicateFilter
EventEnablingPredicateFilter "1" *--> EnablingPredicate
AbstractDetector_T_ <|-- EventShifter
AbstractDetector_T_ <|-- EventSlopeFilter
AbstractDetector_T_ <|-- EventEnablingPredicateFilter
Action <-left- EventHandler_T_
EventDetector <|.. AbstractDetector_T_
AbstractDetector_T_ <|-- EclipseDetector
AbstractDetector_T_ <|-- ElevationDetector
class "...Detector" as DummyDetector
AbstractDetector_T_ <|-- DummyDetector
note top
many implementations
not displayed for the
sake of diagram clarity
end note
EventHandler_T_ "1" <--o AbstractDetector_T_ : handler
}
}
@enduml
|
3c8c81a6564036ee3c7ebec4ada75229b90d02ba | 7d42bd0841c6099f60c58a17bddfde3388783077 | /UML/domainmodel.puml | d3b23b80be0c1fd0e06b2660afc22f8e2159e8dc | [] | no_license | olvang/CupCakeProjekt | 60f01faaa13aab6836a1b578f2da09848a253ab2 | 28f1e42482ec1c478728804c069fb89e649d6282 | refs/heads/master | 2022-04-11T22:16:00.275458 | 2020-03-30T12:36:13 | 2020-03-30T12:36:13 | 246,563,759 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,004 | puml | @startuml
class OlskerCupcakes
class Cupcake {
{field} Price
{field} Amount
}
class Order {
{field} Price
{field} Pickupdate
{field} Orderdate
}
class Orderlist
class Top {
{field} Price
}
class Bottom {
{field} Price
}
class Userlist
class User {
{field} role
{field} email
{field} password
{field} balance
}
class Menucard {
}
OlskerCupcakes "1" -- "1" Orderlist : has
Orderlist "1" -- "*" Order : contains
Order "1" -- "*" Cupcake : contains
Cupcake "*" -- "1" Top : has
Cupcake "*" -- "1" Bottom : has
OlskerCupcakes "1" -- "1" Userlist : has
Userlist "1" -- "*" User : contains
Order "*" -- "1" User : has
OlskerCupcakes "1" -- "1" Menucard : has
Menucard "1" - "*" Bottom : contains
Menucard "1" - "*" Top : contains
/' class LoginFunction
class RegisterFunction
OlskerCupcakes --> LoginFunction
LoginFunction --> User
OlskerCupcakes --> RegisterFunction
RegisterFunction --> Userlist : creates entry
Userlist -> LoginFunction : logs in '/
@enduml |
a606dcb441be2808ef1a84690b5d23e61eef9b8c | f876fcde7a637d67bbbabb83624c28045c9675ae | /diagrams/src/Application/Repositories/ChatRepository.puml | a8206410e1839d2d131b1c60f4f573eaba3feff8 | [
"MIT"
] | permissive | converge-app/chat-service | aa431668be05ea646fd781d52d8bb18b9ff5a1fd | 1ecce444167925467a8ff2235509353c076a1236 | refs/heads/master | 2023-03-11T14:28:10.323241 | 2019-12-17T12:06:22 | 2019-12-17T12:06:22 | 213,873,991 | 0 | 0 | MIT | 2023-03-04T01:15:45 | 2019-10-09T09:17:45 | C# | UTF-8 | PlantUML | false | false | 886 | puml | @startuml
interface IChatRepository {
Get() : Task<List<Message>>
GetById(id:string) : Task<Message>
Create(@Message:Message) : Task<Message>
GetByContactId(contactId:string) : Task<IOrderedEnumerable<Message>>
GetContactsForUserId(userId:string) : Task<IEnumerable<Message>>
GetAllContacts() : Task<List<Message>>
}
class ChatRepository {
- <<readonly>> _chats : IMongoCollection<Message>
+ ChatRepository(dbContext:IDatabaseContext)
+ <<async>> Get() : Task<List<Message>>
+ <<async>> GetById(id:string) : Task<Message>
+ <<async>> Create(@Message:Message) : Task<Message>
+ <<async>> GetByContactId(contactId:string) : Task<IOrderedEnumerable<Message>>
+ <<async>> GetContactsForUserId(userId:string) : Task<IEnumerable<Message>>
+ <<async>> GetAllContacts() : Task<List<Message>>
}
IChatRepository <|-- ChatRepository
@enduml
|
b48ad4d41e92c147e523ff9de5aa55a831a8f0af | 83147b64e04741de0403ef88b6c9aeba85d05361 | /docs/Iteracao2/MD_a1.puml | 29194c61bde5ae7966bf973db40d85579c3f2be2 | [] | no_license | antoniodanielbf-isep/ESOFT-2020 | 3af037382ecf70f5b25448765e841a8733cc3968 | a1bcfcbb7951b58afcc9c1f663265091dde3926e | refs/heads/main | 2023-06-04T23:48:29.068810 | 2021-06-20T18:18:38 | 2021-06-20T18:18:38 | 378,711,541 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,980 | puml | @startuml
skinparam classAttributeIconSize 0
hide methods
left to right direction
class Plataforma {
-String designacao
}
class AreaAtividade {
-String codigo
-String descBreve
-String descDetalhada
}
class CompetenciaTecnica {
-String codigo
-String descBreve
-String descDetalhada
}
class Categoria {
-String id
-String descricao
}
class Organizacao {
-String nome
-String NIF
-String website
-String telefone
-String email
}
class Colaborador {
-String nome
-String funcao
-String telefone
-String email
}
class EnderecoPostal {
-String local
-String codPostal
-String localidade
}
class ListaCTRequeridas
{
}
class CaraterCT {
-Boolean obrigatoria
}
class Tarefa {
-String referencia
-String designacao
-String descInformal
-String descTecnica
-Integer duracaoEst
-Double custoEst
}
class Freelancer {
}
class Administrativo {
}
class Utilizador {
-String nome
-String email
-String password
}
Plataforma "1" -- "*" AreaAtividade : possui >
Plataforma "1" -- "*" CompetenciaTecnica : possui >
Plataforma "1" -- "*" Organizacao : tem registadas >
Plataforma "1" -- "*" Freelancer : tem/usa >
Plataforma "1" -- "*" Administrativo : tem >
Plataforma "1" -- "*" Categoria : possui >
Organizacao "1" -- "1..*" Colaborador: tem >
Organizacao "1" -- "1" Colaborador: tem gestor >
Organizacao "1" -- "1" EnderecoPostal: localizada em >
Organizacao "1" -- "*" Tarefa: possui >
CompetenciaTecnica "*" -- "1" AreaAtividade : referente a >
Categoria "1" -- "1" AreaAtividade: enquadra-se em >
Categoria "1" -- "1" ListaCTRequeridas : tem >
ListaCTRequeridas "1" -- "*" CaraterCT: possui >
CaraterCT "*" -- "1" CompetenciaTecnica : referente a >
Tarefa "*" -- "1" Categoria: enquadra-se em >
Tarefa "*" -- "1" Colaborador: especificada por >
Freelancer "0..1" -- "1" Utilizador: atua como >
Administrativo "0..1" -- "1" Utilizador: atua como >
Colaborador "0..1" -- "1" Utilizador: atua como >
@enduml
|
95f1947a819cabb244832f033fe3c82eeff4e378 | a886006f32e6a130f1a4e7b0cb3cf858b9e7de7e | /GUI/uml-class-diagram.plantuml | 0ed02ea7d4033f8b5d6a963fddb68c10c1b93bc6 | [] | no_license | casperlundberg/GUI-for-multi-party-auctioning | a8d0637e597de8c3050adf51a1019af7687f44a3 | 21876f2008c99e2af1987b2eeed34ae4686ba2b3 | refs/heads/main | 2023-03-15T02:50:04.912195 | 2021-03-20T14:27:55 | 2021-03-20T14:27:55 | 322,827,156 | 2 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 17,550 | plantuml | @startuml Auctionsystem
set namespaceSeparator ::
class "Auctioneer::Auctions::allAuctions.dart::_AllAuctionsState" {
/'+Function navigate
+FilterHandler filterHandler
+AuctionHandler auctionHandler
+OfferHandler offerHandler
+UserInfoHandler userHandler
-PageMarker _currentPage
+dynamic referenceTypeDropdownValue
+dynamic referenceSectorDropdownValue
+List<List> referenceTypes'/
'+void initState()
'+Widget build()
-SliverList _getPageContainer()
-SliverList _getAuctions()
-SliverList _getOffers()
-SliverList _generateBoxes()
+List getReferenceSectors()
+List getReferenceTypes()
}
"Auctioneer::Auctions::allAuctions.dart::_AllAuctionsState" o-- "Auctioneer::Handlers::filterHandler.dart::FilterHandler"
"Auctioneer::Auctions::allAuctions.dart::_AllAuctionsState" o-- "Auctioneer::Handlers::auctionHandler.dart::AuctionHandler"
"Auctioneer::Auctions::allAuctions.dart::_AllAuctionsState" o-- "Auctioneer::Handlers::offerHandler.dart::OfferHandler"
"Auctioneer::Auctions::allAuctions.dart::_AllAuctionsState" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
class "Auctioneer::Auctions::myauctions.dart::_MyAuctionsState" {
/'+Function navigate
+AuctionHandler auctionHandler
+OfferHandler offerHandler
+FilterHandler filterHandler
+UserInfoHandler userHandler
+List types
+dynamic typeDropdownValue
+TextEditingController title
+TextEditingController maxParticipants
+TextEditingController duration
+List<List> referenceTypes
+List<List> referenceParameters
+List<List> rangeReferenceParameters
+List<List> currentReferenceParameters
+dynamic referenceSectorDropdownValue
+dynamic referenceTypeDropdownValue
+List referenceParameterDropdownValues
+List<TextEditingController> rangeReferenceParameterControllers
+List templateIDs
+Template template
+dynamic templateIDDropdownValue
+List<TextEditingController> offerControllers'/
'+Widget build()
+Map split()
+SliverList buildAuctionList()
+void showTemplateGUI()
+List getReferenceSectors()
+List getReferenceTypes()
+List getReferenceParameters()
}
"Auctioneer::Auctions::myauctions.dart::_MyAuctionsState" o-- "Auctioneer::Handlers::auctionHandler.dart::AuctionHandler"
"Auctioneer::Auctions::myauctions.dart::_MyAuctionsState" o-- "Auctioneer::Handlers::offerHandler.dart::OfferHandler"
"Auctioneer::Auctions::myauctions.dart::_MyAuctionsState" o-- "Auctioneer::Handlers::filterHandler.dart::FilterHandler"
"Auctioneer::Auctions::myauctions.dart::_MyAuctionsState" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
'"Auctioneer::Auctions::myauctions.dart::_MyAuctionsState" o-- "Auctioneer::Entities::templateListJSON.dart::Template"
/'
class "Auctioneer::Entities::auctionDetailsListJSON.dart::AuctionDetailsList" {
+List<AuctionDetails> auctionDetailsList
+Map toJson()
}
'/
class "Auctioneer::Entities::auctionDetailsListJSON.dart::AuctionDetails" {
+int id
+List<Participant> participants
+int templateId
+List<Bid> bids
+int winningBid
+Map toJson()
}
/'
class "Auctioneer::Entities::filtersJSON.dart::Filters" {
+List<ReferenceSector> referenceSectors
+Map toJson()
}
class "Auctioneer::Entities::filtersJSON.dart::ReferenceSector" {
+String name
+List<ReferenceType> referenceTypes
+Map toJson()
}
class "Auctioneer::Entities::filtersJSON.dart::ReferenceType" {
+String name
+List<ReferenceParameter> referenceParameters
+List<RangeReferenceParameter> rangeReferenceParameters
+Map toJson()
}
'/
/'class "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialAuctionList" {
+List<MaterialAuction> materialAuctions
+Map toJson()
}
class "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialAuction" {
+int id
+String title
+int ownerId
+int maxParticipants
+int currentParticipants
+DateTime startDate
+DateTime stopDate
+String referenceSector
+String referenceType
+MaterialReferenceParameters materialReferenceParameters
+Map toJson()
}
"Auctioneer::Entities::materialAuctionListJSON.dart::MaterialAuction" o-- "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialReferenceParameters"
class "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialReferenceParameters" {
+String fibersType
+String resinType
+int minFiberLength
+int maxFiberLength
+String recyclingTechnology
+String sizing
+String additives
+int minVolume
+int maxVolume
+int localid
+Map toJson()
}
'/
/'class "Auctioneer::Entities::materialOfferListJSON.dart::MaterialOfferList" {
+List<MaterialOffer> materialOffers
+Map toJson()
}
'/
/'
class "Auctioneer::Entities::materialOfferListJSON.dart::MaterialOffer" {
+int id
+String title
+int userId
+int templateId
+List<KeyValuePair> keyValuePairs
+DateTime startDate
+DateTime stopDate
+String referenceSector
+String referenceType
+MaterialReferenceParameters materialReferenceParameters
+Map toJson()
}
'/
'"Auctioneer::Entities::materialOfferListJSON.dart::MaterialOffer" o-- "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialReferenceParameters"
/'class "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2AuctionList" {
+List<Referencetype2Auction> referencetype2Auctions
+Map toJson()
}
class "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2Auction" {
+int id
+String title
+int ownerId
+int maxParticipants
+int currentParticipants
+DateTime startDate
+DateTime stopDate
+String referenceSector
+String referenceType
+Referencetype2ReferenceParameters referencetype2ReferenceParameters
+Map toJson()
}
"Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2Auction" o-- "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2ReferenceParameters"
class "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2ReferenceParameters" {
+String parameter1
+String parameter2
+int minVolume
+int maxVolume
+int localid
+Map toJson()
}
class "Auctioneer::Entities::referencetype2OfferListJSON.dart::Referencetype2OfferList" {
+List<Referencetype2Offer> referencetype2Offers
+Map toJson()
}
class "Auctioneer::Entities::referencetype2OfferListJSON.dart::Referencetype2Offer" {
+int id
+String title
+int userId
+int templateId
+List<KeyValuePair> keyValuePairs
+DateTime startDate
+DateTime stopDate
+String referenceSector
+String referenceType
+Referencetype2ReferenceParameters referencetype2ReferenceParameters
+Map toJson()
}
"Auctioneer::Entities::referencetype2OfferListJSON.dart::Referencetype2Offer" o-- "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2ReferenceParameters"
class "Auctioneer::Entities::templateListJSON.dart::TemplateList" {
+List<Template> templates
+Map toJson()
}
class "Auctioneer::Entities::templateListJSON.dart::Template" {
+int id
+List<TemplateString> templateStrings
+List<TemplateVariable> templateVariables
+Map toJson()
}
'/
class "Auctioneer::Entities::userListJSON.dart::User" {
/'+int userId
+String userName
+String email
+Password password
+int age
+Address address
+String homePhoneNumber
+String mobilePhoneNumber
+String officePhoneNumber
+String currentType
+String company
+List<ParticipatingAuction> participatingAuctions
+List<Offer> offers
+List<Inbox> requestInbox
+List<Inbox> inviteInbox'/
+Map toJson()
}
class "Auctioneer::Filters::filtersGUI.dart::_FiltersState" {
/'+FilterHandler filterHandler
+List<TextEditingController> controllers
+List<List> referenceTypes
+List<List> referenceParameters
+List<List> rangeReferenceParameters
+List<List> currentReferenceParameters
+dynamic referenceSectorDropdownValue
+dynamic referenceTypeDropdownValue
+List referenceParameterDropdownValues
+List<TextEditingController> rangeReferenceParameterControllers
+Widget build()
+Widget ReturnContent()
+void showFilterTemplateGUI()
+List getReferenceSectors()
+List getReferenceTypes()
+List getReferenceParameters()'/
}
"Auctioneer::Filters::filtersGUI.dart::_FiltersState" o-- "Auctioneer::Handlers::filterHandler.dart::FilterHandler"
/'class "Auctioneer::Handlers::auctionHandler.dart::Auctions" {
+MaterialAuctionList materialAuctions
+Referencetype2AuctionList referencetype2Auctions
}
'/
'"Auctioneer::Handlers::auctionHandler.dart::Auctions" o-- "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialAuctionList"
'"Auctioneer::Handlers::auctionHandler.dart::Auctions" o-- "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2AuctionList"
class "Auctioneer::Handlers::auctionHandler.dart::AuctionHandler" {
+Function setMainState
+AuctionDetailsList consumerAuctionDetails
+AuctionDetailsList supplierAuctionDetails
+Auctions allAuctions
+TemplateList consumerContractTemplates
+TemplateList supplierContractTemplates
+Auctions myAuctions
+AuctionDetails currentAuctionDetails
+UserInfoHandler userHandler
'+int nextAuctionID
'+int nextBidID
'+int nextTemplateID
'+List<Inbox> inbox
'+List inboxAuctionTitles
'+int templateItemCount
'+List<TextEditingController> controllers
'+List valueTypes
'+List dropdownValues
'+List userTypes
'+dynamic dropdownValue
+void createMaterialAuction()
+void createReferencetype2Auction()
+void endAuction()
+void leaveAuction()
+void selectAuctionWinner()
+void viewBid()
+void setCurrentAuction()
+List getAuctionTitles()
+void makeBid()
+Template getContractTemplate()
+Container getListTile()
+void showNotifications()
+void createContractTemplate()
+void showContractTemplateGUI()
}
'"Auctioneer::Handlers::auctionHandler.dart::AuctionHandler" o-- "Auctioneer::Entities::auctionDetailsListJSON.dart::AuctionDetailsList"
'"Auctioneer::Handlers::auctionHandler.dart::AuctionHandler" o-- "Auctioneer::Handlers::auctionHandler.dart::Auctions"
'"Auctioneer::Handlers::auctionHandler.dart::AuctionHandler" o-- "Auctioneer::Entities::templateListJSON.dart::TemplateList"
"Auctioneer::Handlers::auctionHandler.dart::AuctionHandler" o-- "Auctioneer::Entities::auctionDetailsListJSON.dart::AuctionDetails"
"Auctioneer::Handlers::auctionHandler.dart::AuctionHandler" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
class "Auctioneer::Handlers::filterHandler.dart::FilterHandler" {
+Function setMainState
+Filters filters
+MaterialReferenceParameters materialFilter
+Referencetype2ReferenceParameters referencetype2Filter
+int localFilteridCounter
+void updateFilter()
+void deleteFilter()
+bool checkFilter()
+void retrieveFilters()
}
'"Auctioneer::Handlers::filterHandler.dart::FilterHandler" o-- "Auctioneer::Entities::filtersJSON.dart::Filters"
'"Auctioneer::Handlers::filterHandler.dart::FilterHandler" o-- "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialReferenceParameters"
'"Auctioneer::Handlers::filterHandler.dart::FilterHandler" o-- "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2ReferenceParameters"
/'
class "Auctioneer::Handlers::offerHandler.dart::Offers" {
+MaterialOfferList materialOffers
+Referencetype2OfferList referencetype2Offers
}
'/
'"Auctioneer::Handlers::offerHandler.dart::Offers" o-- "Auctioneer::Entities::materialOfferListJSON.dart::MaterialOfferList"
'"Auctioneer::Handlers::offerHandler.dart::Offers" o-- "Auctioneer::Entities::referencetype2OfferListJSON.dart::Referencetype2OfferList"
class "Auctioneer::Handlers::offerHandler.dart::OfferHandler" {
+Function setMainState
+Offers allOffers
+Offers myOffers
+TemplateList consumerOfferTemplates
+TemplateList supplierOfferTemplates
+UserInfoHandler userHandler
'+int nextOfferID
+void createMaterialOffer()
+void createReferencetype2Offer()
+void endOffer()
+void viewOffer()
}
'"Auctioneer::Handlers::offerHandler.dart::OfferHandler" o-- "Auctioneer::Handlers::offerHandler.dart::Offers"
'"Auctioneer::Handlers::offerHandler.dart::OfferHandler" o-- "Auctioneer::Entities::templateListJSON.dart::TemplateList"
"Auctioneer::Handlers::offerHandler.dart::OfferHandler" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
class "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler" {
+Function updateUser
+UserList userListObject
+User user
+bool isEmail()
+bool userCheck()
+String passHasher()
+bool passwordChecker()
+bool phoneCheck()
+bool profileEditCheck()
+bool passwordValidator()
+User loginValidator()
+void login()
+void register()
+void updateProfile()
+void requestToJoin()
+void inviteToAuction()
}
"Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler" o-- "Auctioneer::Entities::userListJSON.dart::User"
/'äclass "Auctioneer::mainGUI.dart::WidgetMarker" {
+int index
{static} +List<WidgetMarker> values
{static} +WidgetMarker auctions
{static} +WidgetMarker login
{static} +WidgetMarker register
{static} +WidgetMarker profile
{static} +WidgetMarker forgotPass
{static} +WidgetMarker room
}
'/
'"Auctioneer::mainGUI.dart::WidgetMarker" o-- "Auctioneer::mainGUI.dart::WidgetMarker"
class "Auctioneer::mainGUI.dart::MainGUIState" {
/'+WidgetMarker selectedWidgetMarker
+AnimationController controller
+Animation animation
+UserInfoHandler userHandler
+FilterHandler filterHandler
+AuctionHandler auctionHandler
+OfferHandler offerHandler
+int nextAuctionID
+int nextBidID
+int nextTemplateID
+int nextOfferID'/
+void initState()
+void dispose()
+Widget build()
+dynamic playAnimation()
+void setMainState()
+void updateUser()
+void navigate()
+Widget getCustomContainer()
+Widget getAuctionsGUIContainer()
+Widget getLoginContainer()
+Widget getRegisterContainer()
+Widget getForgotPassContainer()
+Widget getProfileContainer()
+Widget getRoomContainer()
}
'"Auctioneer::mainGUI.dart::MainGUIState" o-- "Auctioneer::mainGUI.dart::WidgetMarker"
"Auctioneer::mainGUI.dart::MainGUIState" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
"Auctioneer::mainGUI.dart::MainGUIState" o-- "Auctioneer::Handlers::filterHandler.dart::FilterHandler"
"Auctioneer::mainGUI.dart::MainGUIState" o-- "Auctioneer::Handlers::auctionHandler.dart::AuctionHandler"
"Auctioneer::mainGUI.dart::MainGUIState" o-- "Auctioneer::Handlers::offerHandler.dart::OfferHandler"
package UserPages <<Folder>> {
class "Login" {
/'+Function navigate
+UserInfoHandler userHandler
-TextEditingController _controllerUserName
-TextEditingController _controllerPW
+dynamic loginUserName
+dynamic loginPW
+Widget build()'/
}
class "Profile" {
/'+Function navigate
+UserInfoHandler userHandler
-GlobalKey<FormState> _formKey
-TextEditingController _controllerUserName
-TextEditingController _controllerEmail
-TextEditingController _controllerAge
-TextEditingController _controllerAddress
-TextEditingController _controllerCity
-TextEditingController _controllerState
-TextEditingController _controllerPostalCode
-TextEditingController _controllerHomePhoneNumber
-TextEditingController _controllerMobilePhoneNumber
-TextEditingController _controllerOfficePhoneNumber
-TextEditingController _controllerCompany
-TextEditingController _controllerOPW
-TextEditingController _controllerPW
-TextEditingController _controllerRPW
+dynamic newUserName
+dynamic newEmail
+int newAge
+dynamic newAddress
+dynamic newCity
+dynamic newState
+dynamic newPostalCode
+dynamic newHomePhoneNumber
+dynamic newMobilePhoneNumber
+dynamic newOfficePhoneNumber
+dynamic newCurrentType
+dynamic newCompany
+dynamic opw
+dynamic pw
+dynamic rpw
+Widget build()'/
}
class "Register" {
/'+Function navigate
+UserInfoHandler userHandler
-TextEditingController _controllerUserName
-TextEditingController _controllerEmail
-TextEditingController _controllerPW
-TextEditingController _controllerRPW
+dynamic newUserName
+dynamic newEmail
+dynamic pw
+dynamic rpw
+Widget build()'/
}
}
"Login" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
"Profile" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
"Register" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
class "Auctioneer::Pages::room.dart::_RoomState" {
/'+Function navigate
+AuctionHandler auctionHandler
+UserInfoHandler userHandler
+CountdownTimerController controller
+List<Inbox> out
+Template contractTemplate
+List<TextEditingController> controllers
+MaterialAuction materialAuction
+Referencetype2Auction referencetype2Auction
+bool isFinished
+bool isHost
+TextStyle smallText
+TextStyle bigText
+TextStyle boldText
+Widget build()'/
+bool checkForNotifications()
+void showContractGUI()
}
"Auctioneer::Pages::room.dart::_RoomState" o-- "Auctioneer::Handlers::auctionHandler.dart::AuctionHandler"
"Auctioneer::Pages::room.dart::_RoomState" o-- "Auctioneer::Handlers::userInfoHandler.dart::UserInfoHandler"
'"Auctioneer::Pages::room.dart::_RoomState" o-- "Auctioneer::Entities::templateListJSON.dart::Template"
'"Auctioneer::Pages::room.dart::_RoomState" o-- "Auctioneer::Entities::materialAuctionListJSON.dart::MaterialAuction"
'"Auctioneer::Pages::room.dart::_RoomState" o-- "Auctioneer::Entities::referencetype2AuctionListJSON.dart::Referencetype2Auction"
@enduml |
2293872fd0dd84d6c8d52e2d6425ce939dc60176 | 6631f2c7a4b3fcde26546ab707faf8a2fa56b160 | /app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r/androidx/navigation/common/common.plantuml | f7c9c147b1cf3fe0e053e9adaecc3d72d00cd72e | [] | no_license | DeniE46/iMet-raywenderlich- | a051175bbb549f111f6597e0cd9d4f8064ad14c9 | 698820ae72707421f5febaa4987428a258153660 | refs/heads/master | 2020-04-10T21:44:21.743382 | 2019-05-17T10:02:18 | 2019-05-17T10:02:18 | 161,305,177 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 9,076 | plantuml | @startuml
title __COMMON's Class Diagram__\n
package androidx.navigation {
package androidx.navigation.common {
class R {
- R()
}
}
}
package androidx.navigation {
package androidx.navigation.common {
class attr {
{static} + argType : int
{static} + clearTask : int
{static} + destination : int
{static} + enterAnim : int
{static} + exitAnim : 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} + fontWeight : int
{static} + launchDocument : int
{static} + launchSingleTop : int
{static} + nullable : int
{static} + popEnterAnim : int
{static} + popExitAnim : int
{static} + popUpTo : int
{static} + popUpToInclusive : int
{static} + startDestination : int
{static} + uri : int
- attr()
}
}
}
package androidx.navigation {
package androidx.navigation.common {
class bool {
{static} + abc_action_bar_embed_tabs : int
- bool()
}
}
}
package androidx.navigation {
package androidx.navigation.common {
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 androidx.navigation {
package androidx.navigation.common {
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} + 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 androidx.navigation {
package androidx.navigation.common {
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 androidx.navigation {
package androidx.navigation.common {
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} + text : int
{static} + text2 : int
{static} + time : int
{static} + title : int
- id()
}
}
}
package androidx.navigation {
package androidx.navigation.common {
class integer {
{static} + status_bar_notification_info_maxnum : int
- integer()
}
}
}
package androidx.navigation {
package androidx.navigation.common {
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 androidx.navigation {
package androidx.navigation.common {
class string {
{static} + status_bar_notification_info_overflow : int
- string()
}
}
}
package androidx.navigation {
package androidx.navigation.common {
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 androidx.navigation {
package androidx.navigation.common {
class styleable {
{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_font : int
{static} + FontFamilyFont_fontStyle : int
{static} + FontFamilyFont_fontWeight : int
{static} + NavAction : int[]
{static} + NavAction_android_id : int
{static} + NavAction_clearTask : int
{static} + NavAction_destination : int
{static} + NavAction_enterAnim : int
{static} + NavAction_exitAnim : int
{static} + NavAction_launchDocument : int
{static} + NavAction_launchSingleTop : int
{static} + NavAction_popEnterAnim : int
{static} + NavAction_popExitAnim : int
{static} + NavAction_popUpTo : int
{static} + NavAction_popUpToInclusive : int
{static} + NavArgument : int[]
{static} + NavArgument_android_name : int
{static} + NavArgument_android_defaultValue : int
{static} + NavArgument_argType : int
{static} + NavArgument_nullable : int
{static} + NavDeepLink : int[]
{static} + NavDeepLink_android_autoVerify : int
{static} + NavDeepLink_uri : int
{static} + NavGraphNavigator : int[]
{static} + NavGraphNavigator_startDestination : int
{static} + Navigator : int[]
{static} + Navigator_android_label : int
{static} + Navigator_android_id : int
- styleable()
}
}
}
R +-down- attr
R +-down- bool
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
|
9332dc73dc235bbedec0740324bb8cad803d451b | 9e9676cdfe6aea6d2db11068ad34eda0c3376d56 | /uml/uml.puml | d8d67ba67ca4a6cef9df5afc759f6b6f78bfa3cc | [
"MIT"
] | permissive | slinkydeveloper/ing-sw-2019-guardiani-mucignat-lischio | 621f17a7631d6c8c3a2ec3b3a7443e76de47e565 | f985abed3a1f7e2c95ae7fa20dcab1870840d110 | refs/heads/master | 2022-12-26T02:14:57.116316 | 2019-07-05T09:49:41 | 2019-07-05T09:49:41 | 176,522,157 | 0 | 0 | MIT | 2020-10-13T13:22:31 | 2019-03-19T13:50:02 | HTML | UTF-8 | PlantUML | false | false | 26,210 | puml | @startuml
package com.adrenalinici.adrenaline.model {
class Position {
-line: int
-cell: int
+int cell()
+int line()
}
enum AmmoColor {
RED
YELLOW
BLUE
}
interface Gun {
+List<AmmoColor> getRequiredAmmoToPickup();
+List<AmmoColor> getRequiredAmmoToReload();
+void visit(Consumer<AlternativeEffectGun> visitAlternativeEffectGun, Consumer<BaseEffectGun> visitBaseEffectGun)
}
BaseGun "1..n"-- AmmoColor: cost
abstract class BaseGun implements Gun {
-firstAmmo: AmmoColor
-extraAmmo: List<AmmoColor>
-name: String
-note: Optional<String>
}
class AlternativeEffectGun extends BaseGun {
-firstEffect: Effect
-secondEffect: Effect
-secondEffectCost: List<AmmoColor>
+Effect getFirstEffect()
+Effect getSecondEffect()
+List<AmmoColor> getSecondEffectCost()
}
AlternativeEffectGun "0..n"-- AmmoColor: "second effect cost"
AlternativeEffectGun "2..n"-- Effect
class BaseEffectGun extends BaseGun {
-baseEffect: Effect
-firstExtraEffect: Optional<Effect>
-firstExtraEffectCost: Optional<List<AmmoColor>>
-secondExtraEffect: Optional<Effect>
-secondExtraEffectCost: Optional<List<AmmoColor>>
+Effect getBaseEffect()
+Optional<Effect> getFirstExtraEffect()
+Optional<List<AmmoColor>> getFirstExtraEffectCost()
+Optional<Effect> getSecondExtraEffect()
+Optional<List<AmmoColor>> getSecondExtraEffectCost()
}
BaseEffectGun "1"-- Effect: "first effect"
BaseEffectGun "0..2"-- Effect: "extra effects"
BaseEffectGun "0..n"-- AmmoColor: "first extra effect cost"
BaseEffectGun "0..n"-- AmmoColor: "second extra effect cost"
class PowerUpCard {
-ammoColor: AmmoColor
-powerUpType: PowerUpType
+AmmoColor getAmmoColor()
+PowerUpType getPowerUpType()
}
PowerUpCard "1..n"-- AmmoColor
enum PowerUpType {
VENOM_GRANADE
SCOPE
TELEPORT
KINETIC_RAY
}
PowerUpCard "1"-- PowerUpType
class Effect {
-name : String
-description: String
-configFn: Function<GameController, EffectAvailableConfig>
-applyFn: BiConsumer<EffectAvailableConfig, GameController>
+String getName()
+String getDescription()
+EffectAvailableConfig generateConfig(GameController controller)
+void applyEffect(EffectAvailableConfig config, GameController controller)
}
class EffectAvailableConfig {
-hittablePlayers: List<PlayerColor>
-possiblePreThisPlayerMoves: List<Integer[]>
-possiblePostThisPlayerMoves: List<Integer[]>
-possibleEnemiesMovements: Map<PlayerColor, List<PlayerColor>>
}
enum PlayerColor {
GRAY
YELLOW
GREEN
PURPLE
CYAN
}
class PlayerDashboard {
-ammos: List<AmmoColor>
-damages: List<PlayerColor>
-marks: List<PlayerColor>
-loadedGuns: List<Gun>
-unloadedGuns: List<Gun>
-powerUpCards: List<PowerUpCard>
-skullsNumber: int
-points: int
-firstPlayer: boolean
+void addAmmo(AmmoColor ammo)
+void removeAmmos(List<AmmoColor> ammos)
+List<AmmoColor> getAmmos()
+void addDamages(List<PlayerColor> damages)
+void removeAllDamages()
+List<PlayerColor> getDamages()
+Optional<PlayerColor> getFirstDamage()
+Optional<PlayerColor> getKillDamage()
+Optional<PlayerColor> getCruelDamage()
+void addMarks(List<PlayerColor> marks)
+void removeMarks(List<PlayerColor> marks)
+List<PlayerColor> getMarks()
+void addLoadedGun(Gun loadedGun)
+void removeLoadedGun(Gun loadedGun)
+List<Gun> getLoadedGuns()
+void addUnloadedGun(Gun unloadedGun)
+void removeUnloadedGun(Gun loadedGun)
+List<Gun> getUnloadedGuns()
+void addPowerUpCard(PowerUpCard powerUp)
+void removePowerUpCard(PowerUpCard powerUp)
+List<PowerUpCard> getPowerUpCards()
+void incrementSkullsNumber()
+int getSkullsNumber()
+void addPoints(int points)
+int getPoints()
+boolean getFirstPlayer()
}
PlayerDashboard "0..9"-- AmmoColor
PlayerDashboard "0..12"-- PlayerColor: "damages"
PlayerDashboard "0..n"-- PlayerColor: "marks"
PlayerDashboard "0..3"-- PlayerColor: "guns"
PlayerDashboard "0..n"-- PowerUpCard: "power up cards"
class AmmoCard {
-ammoColor: List<AmmoColor>
-powerUpCard: Optional<PowerUpCard>
+List<AmmoColor> getAmmoColor()
+Optional<PowerUpCard> getPowerUpCard()
}
AmmoCard "2..3"-- AmmoColor
AmmoCard "0..1"-- PowerUpCard
enum Action {
MOVE_MOVE_MOVE
MOVE_PICKUP
SHOOT
MOVE_MOVE_PICKUP
MOVE_SHOOT
MOVE_RELOAD_SHOOT
MOVE_MOVE_MOVE_MOVE
MOVE_MOVE_RELOAD_SHOOT
MOVE_MOVE_MOVE_PICKUP
}
class GameStatus {
-killScore: List<Map.Entry<PlayerColor, Boolean>>
-remainingSkulls: int
-doubleKillScore: List<PlayerColor>
-roundPlayer: PlayerColor
-dashboard: Dashboard
-playerDashboards: List<PlayerDashboard>
+void addKillScore(PlayerColor playerColor, boolean cruelKill)
+List<Map.Entry<PlayerColor, Boolean>> getKillScore()
+int decrementSkulls()
+int getRemainingSkulls()
+void addDoubleKillScore(PlayerColor playerColor)
+List<PlayerColor> getDoubleKillScore()
+void setRoundPlayer(PlayerColor playerColor)
+PlayerColor getRoundPlayer()
}
com.adrenalinici.adrenaline.observer.Observable <|-- GameStatus: "T::ModelEvent"
note left: killScore is a list of tuples\nwhere PlayerColor is the color of the\nkiller and the Boolean represents cruel kill
GameStatus "0..8"-- PlayerColor: "assassins"
GameStatus "0..n"-- PlayerColor: "double kills"
GameStatus "1"-- PlayerColor: "round of player"
class Dashboard {
-dashboardCells: List<DashboardCell>
+List<DashboardCell> getDashboardCells()
}
enum DashboardCellBoundType{
OPEN
WALL
DOOR
}
interface DashboardCell {
+List<PlayerColor> getPlayersInCell()
+Optional<DashboardCellBoundType> getNorthDashboardCellBoundType()
+Optional<DashboardCellBoundType> getSouthDashboardCellBoundType()
+Optional<DashboardCellBoundType> getWestDashboardCellBoundType()
+Optional<DashboardCellBoundType> getEastDashboardCellBoundType()
+Optional<DashboardCell> getNorthDashboardCell()
+Optional<DashboardCell> getSouthDashboardCell()
+Optional<DashboardCell> getWestDashboardCell()
+Optional<DashboardCell> getEastDashboardCell()
+void visit(Consumer<RespawnDashboardCell> visitRespawnDashboardCell, Consumer<PickupDashboardCell> visitPickupDashboardCell)
}
DashboardCell --*"0..n" Dashboard
abstract class BaseDashboardCell implements DashboardCell {
-playerInCell: List<PlayerColor>
-northDashboardCellBoundType: DashboardCellBoundType
-southDashboardCellBoundType: DashboardCellBoundType
-westDashboardCellBoundType: DashboardCellBoundType
-eastDashboardCellBoundType: DashboardCellBoundType
}
BaseDashboardCell "4"-- DashboardCellBoundType
class RespawnDashboardCell extends BaseDashboardCell {
-availableGuns: List<Gun>
+List<Gun> getAvailableGuns()
+void removeAvailableGun(Gun gunToRemove)
+void addAvailableGun(Gun gunToAdd)
}
RespawnDashboardCell "0..3"-- Gun
class PickupDashboardCell extends BaseDashboardCell {
-ammoCard: Optional<AmmoCard>
+AmmoCard getAmmoCard()
+void setAmmoCard(AmmoCard ammoCard)
+void removeAmmoCard()
}
PickupDashboardCell "0..1"-- AmmoCard
}
package com.adrenalinici.adrenaline.view.events {
interface ViewEvent {
+GameView getGameView()
}
class FirstTurnEvent implements ViewEvent {
-player: PlayerColor
+PlayerColor getPlayer()
}
class NewTurnEvent implements ViewEvent {
-player: PlayerColor
+PlayerColor getPlayer()
}
class ActionChosenEvent implements ViewEvent {
-action: Action
+Action getAction()
}
class MovementChosenEvent implements ViewEvent {
-movement: Position
+Position getMovement()
}
class GunChosenEvent implements ViewEvent {
-gun: Gun
+Gun getChosenGun()
}
class ChosenEffectConfigurationEvent implements ViewEvent {
-playersToHit: List<PlayerColor>
-effectToApply: Effect
-numberOfScopePowerUpUsed: int
+List<PlayerColor> getPlayersToHit()
+Effect getEffectToApply()
+int getNumberOfScopePowerUpUsed()
}
class ChosenRespawnLocationEvent implements ViewEvent {
-respawnCell: Position
+Position getRespawnCell()
}
class ReloadGunsEvent implements ViewEvent {
-gunsToReload: List<Gun>
+List<Gun> getGunsToReload()
}
class ChosenBaseEffectConfigurationEvent implements ViewEvent {
-baseEffectPlayersToHit: List<PlayerColor>
-extraEffectOnePlayersToHit: List<PlayerColor>
-extraEffectTwoPlayersToHit: List<PlayerColor>
-numberOfScopePowerUpUsed: int
+List<PlayerColor> getBaseEffectPlayersToHit()
+PlayerColor getExtraEffectOnePlayersToHit()
+PlayerColor getExtraEffectTwoPlayersToHit()
+int getNumberOfScopePowerUpUsed()
}
class VenomGranadeChosenEvent implements ViewEvent{
-chosenVenomGranades: List<PowerUpCard>
+List<PowerUpCard> getChosenVenomGranades()
}
class EnemyChosenEvent implements ViewEvent{
-chosenEnemy: PlayerColor
+PlayerColor getChosenEnemy()
}
class EnemyMovementChosenEvent implements ViewEvent{
-chosenEnemyMovement: Position
+Position getChosenEnemyMovement()
}
}
package com.adrenalinici.adrenaline.model.events {
interface ModelEvent{
+GameStatus getGameStatus()
}
class DashboardCellUpdatedEvent implements ModelEvent{
-dashboard: Dashboard
-dashboardCell: DashboardCell
+Dashboard getDashboard()
+DashboardCell getDashboardCell()
}
class PlayerDashboardUpdatedEvent implements ModelEvent{
-playerDashboard: PlayerDashboard
+PlayerDashboard getPlayerDashboard()
}
class GameStatusUpdatedEvent implements ModelEvent{
-killerColor: PlayerColor
-cruelKill: Boolean
}
}
package com.adrenalinici.adrenaline.server.controller.guns {
abstract class AlternativeEffectGunFactory implements GunFactory {
+ AlternativeEffectGun getModelGun (String key, ObjectNode config)
+ public DecoratedAlternativeEffectGun getDecoratedGun(String key, ObjectNode config)
}
abstract class BaseEffectGunFactory implements GunFactory {
+BaseEffectGun getModelGun(String key, ObjectNode config)
+DecoratedBaseEffectGun getDecoratedGun(String key, ObjectNode config)
}
class MachineGunGunFactory extends BaseEffectGunFactory {
+boolean canConsume(String key, ObjectNode config)
+List<ControllerFlowNode> getAdditionalNodes(String key, ObjectNode config)
}
class ZX2GunFactory extends AlternativeEffectGunFactory {
+ boolean canConsume(String key, ObjectNode config)
+ List<ControllerFlowNode> getAdditionalNodes(String key, ObjectNode config)
}
}
package com.adrenalinici.adrenaline.server.controller {
class ControllerFlowContext extends com.adrenalinici.adrenaline.flow.BaseFlowContext {
-int remainingActions;
-PlayerColor turnOfPlayer;
- List<PlayerColor> killedPlayers;
- GunLoader loader;
+ int getRemainingActions()
+ ControllerFlowContext setRemainingActions(int remainingActions)
+ ControllerFlowContext decrementRemainingActions()
+ PlayerColor getTurnOfPlayer()
+ ControllerFlowContext setTurnOfPlayer(PlayerColor turnOfPlayer)
+ List<PlayerColor> getKilledPlayers()
+ ControllerFlowContext setKilledPlayers(List<PlayerColor> killedPlayers)
+ GunLoader getGunLoader()
}
interface ControllerFlowNode extends FlowNode
class DecoratedEffect {
- Effect effect
- List<String> additionalPhases
- List<AmmoColor> requiredAmmos
+ Effect get()
+ String getId()
+ String getName()
+ String getDescription()
+ List<AmmoColor> getRequiredAmmos()
+ List<String> getAdditionalPhases()
}
class GameController {
- GameModel gameModel
- FlowOrchestrator<ControllerFlowContext> flowOrchestrator
+ public GameController(List<? extends FlowNode> flowNodes, GameModel gameModel)
+ void onEvent(ViewEvent event)
- PlayerColor nextTurnPlayer()
+ endTurnCallback(GameView view)
- void startNewTurn(GameView view, PlayerColor player)
# ControllerFlowContext getFlowContext()
}
interface GunFactory {
+boolean canConsume(String key, ObjectNode config)
+ Gun getModelGun(String key, ObjectNode config)
+ DecoratedGun getDecoratedGun(String key, ObjectNode config)
+ List<ControllerFlowNode> getAdditionalNodes(String key, ObjectNode config)
}
class GunLoader {
- List<GunFactory> factories
+ GunLoader(List<GunFactory> factories)
+ Gun getModelGun(String id)
+ DecoratedGun getDecoratedGun(String id)
+ List<ControllerFlowNode> getAdditionalNodes(String id)
+ GunFactory resolveGunFactory(String id)
+ {static} JsonNode getGunConfigJson(String id)
}
class CardDeck<T> {
-List<T> deck
+CardDeck(List<T> deck)
+Optional<T> getCard()
}
interface StatelessControllerFlowNode extends StatelessFlowNode
com.adrenalinici.adrenaline.observer.Observer <|.. GameController: "T::ViewEvent"
interface DecoratedGun extends com.adrenalinici.adrenaline.model.Gun {
- Gun gun
- List<String> phases
+ DecoratedGun(Gun gun, List<String> phases)
+ Gun get()
+void visit(Consumer<AlternativeEffectGun> visitAlternativeEffectGun, Consumer<BaseEffectGun> visitBaseEffectGun)
+ String getId()
+ List<AmmoColor> getRequiredAmmoToPickup()
+ List<AmmoColor> getRequiredAmmoToReload()
+ String getName()
+ Optional<String> getNote()
+ List<String> getPhases()
}
class DecoratedAlternativeEffectGun extends DecoratedGun {
- DecoratedEffect firstEffect
- DecoratedEffect secondEffect
+ DecoratedEffect getFirstEffect()
+ DecoratedEffect getSecondEffect()
+ AlternativeEffectGun get()
}
class DecoratedBaseEffectGun extends DecoratedGun {
- DecoratedEffect baseEffect
- DecoratedEffect firstExtraEffect
- DecoratedEffect secondExtraEffect
+ DecoratedEffect getBaseEffect()
+ List<AmmoColor> getFirstExtraEffectCost()
+ DecoratedEffect getFirstExtraEffect()
+ boolean hasFirstExtraEffect()
+ List<AmmoColor> getSecondExtraEffectCost()
+ DecoratedEffect getSecondExtraEffect()
+ boolean hasSecondExtraEffect()
+ BaseEffectGun get()
}
}
package com.adrenalinici.adrenaline.server.controller.nodes {
enum ControllerNodes {
START_TURN
PICKUP
RELOAD
CHOOSE_ACTION
RESPAWN_KILLED_PEOPLE
CHOOSE_GUN
CHOOSE_PLAYER_TO_HIT
ALTERNATIVE_GUN_START
BASE_GUN_START
}
class ChooseActionFlowNode implements StatelessControllerFlowNode
class ChooseGunFlowNode implements StatelessControllerFlowNode
class ChooseMovementFlowNode implements StatelessControllerFlowNode {
-int distance
}
class NewTurnFlowNode implements StatelessControllerFlowNode
class PickupFlowNode implements StatelessControllerFlowNode
class ReloadFlowNode implements StatelessControllerFlowNode
}
package com.adrenalinici.adrenaline.server.controller.nodes.guns {
abstract class GunFlowState implements FlowState {
-chosenGun: DecoratedGun
-chosenPlayersToHit: List<PlayerColor>
-hitPlayers: List<PlayerColor>
}
class AlternativeEffectGunFlowState extends GunFlowState {
-firstEffect: Boolean
-chosenEffect: DecoratedEffect
}
class BaseEffectGunFlowState extends GunFlowState {
-activatedFirstExtraEffect: boolean
-activatedSecondExtraEffect: boolean
}
class ApplyAlternativeGunFlowNode implements ControllerFlowNode {
-nodeId: String
-consumer: TriConsumer<AlternativeEffectGunFlowState, GameModel, ControllerFlowContext>
}
class ApplyBaseGunFlowNode implements ControllerFlowNode {
-nodeId: String
-consumer: TriConsumer<BaseEffectGunFlowState, GameModel, ControllerFlowContext>
}
class ChooseAlternativeEffectForGunFlowNode implements ControllerFlowNode
class ChooseBaseEffectForGunFlowNode implements ControllerFlowNode
class ChoosePlayersToHitFlowNode implements ControllerFlowNode
}
package com.adrenalinici.adrenaline.flow {
interface FlowContext {
+ FlowOrchestrator getOrchestrator()
+ void jump(String stateId, GameView view, FlowState event)
+ void replayNode(GameView view)
+ void replayPhase(GameView view)
+ void nextPhase(GameView view)
+ void nextPhase(GameView view, FlowState flowState)
+ String actualPhase()
+ FlowNode actualFlowNode()
+ FlowNode actualNode()
+ void addPhases(String... phases)
+ void addPhasesToEnd(String... phases)
+ void end(GameView view)
+ void handleEvent(ViewEvent event)
}
interface FlowNode<S extends FlowState, C extends FlowContext> {
+ String id()
+ default S mapState(FlowState oldState)
+ void onJump(S flowState, GameView view, GameModel model, C context)
+ void handleEvent(ViewEvent event, S flowState, GameView view, GameModel model, C context)
}
interface FlowOrchestrator<T extends FlowContext> {
+ GameModel getModel()
+ void handleEvent(ViewEvent event)
+ void onEnd(GameView view)
+ FlowNode resolveState(String id)
+ void startNewFlow(GameView view, T context)
+ T getActualContext()
}
interface FlowState
interface StatelessFlowNode<C extends FlowContext> extends FlowNode {
+ default VoidState mapState(FlowState oldState)
}
}
package com.adrenalinici.adrenaline.server.impl {
abstract class BaseFlowContext implements FlowContext {
- FlowNode actualNode;
# FlowState actualState;
- String actualPhaseId;
- List<String> phasesQueue;
- FlowOrchestrator orchestrator;
- int actualIndex;
+ BaseFlowContext(FlowOrchestrator orchestrator)
+ FlowOrchestrator getOrchestrator()
+ void jump(String stateId, GameView view, FlowState state)
+ void replayNode(GameView view) {
+ void nextPhase(GameView view, FlowState flowState)
+ String actualPhase()
+ FlowNode actualFlowNode()
+ FlowNode actualNode()
+ void replayPhase(GameView view)
+ void addPhases(String... phases)
+ void addPhasesToEnd(String... phases)
+ void end(GameView view)
+ void handleEvent(ViewEvent event)
+ List<String> getPhasesQueue()
}
class FlowOrchestratorImpl<T extends FlowContext> implements FlowOrchestrator {
-Map<String, ? extends FlowNode> nodes;
-T actualContext;
-GameModel model;
-Consumer<GameView> onEndCallback;
+FlowOrchestratorImpl(List<? extends FlowNode> nodes, GameModel model, Consumer<GameView> onEndCallback)
+GameModel getModel()
+void handleEvent(ViewEvent event)
+void onEnd(GameView view)
+FlowNode resolveState(String id)
+void startNewFlow(GameView gameView, T context)
+T getActualContext()
}
class VoidState implements FlowState
}
package com.adrenalinici.adrenaline.view {
class GameView {
+void showAvailableActions(List<Action> actions)
+void showAvailableMovements(List<Position> positions)
+void showNextTurn(PlayerColor player)
+void showReloadableGuns(List<Gun> guns)
+void showLoadedGuns(List<Gun> guns)
+void showBaseGunExtraEffects(List<Effect> effects)
+void showAvailableRespawnLocations(List<AmmoColor> respawnLocations)
+void showAvailableAlternativeEffectsGun(Effect firstEffect, Effect secondEffect)
+void showChoosePlayerToHit(List<PlayerColor> players)
+void showChoosePlayerToMove(Map<PlayerColor, List<Position>> availableMovements)
+void showAvailableExtraEffects(Effect firstExtraEffect, Effect secondExtraEffect)
+void showAvailableVenomGranades(PlayerColor player)
+void showAvailablePowerUpCards(PlayerColor player)
+void showAvailableEnemyMovements(List<Position> positions)
+void showAvailableGuns(List<Gun> guns)
+void showAvailableGunsToPickup(List<Gun> guns)
}
com.adrenalinici.adrenaline.observer.Observable <|-- GameView: "T::ViewEvent"
com.adrenalinici.adrenaline.observer.Observer <|.. GameView: "T::ModelEvent"
note bottom: the two different showApplicableEffects methods are called from AlternativeEffectGun (first one) and from BaseEffectGun (second one)
}
package com.adrenalinici.adrenaline.observer {
interface Observer<T>
class Observable<T>
}
package com.adrenalinici.adrenaline.network.inbox {
interface InboxMessage
class InboxEntry {
-connectionId: String
-message: InboxMessage
+String getConnectionId()
+InboxMessage getMessage()
}
class ViewEventMessage implements InboxMessage {
-viewEvent: ViewEvent
+ViewEvent getViewEvent()
}
class ConnectedPlayerMessage implements InboxMessage
class DisconnectedPlayerMessage implements InboxMessage
class ChosenMyPlayerColorMessage implements InboxMessage {
-color: PlayerColor
+PlayerColor getColor()
}
}
package com.adrenalinici.adrenaline.network.outbox {
interface OutboxMessage
class AvailableActionsMessage implements OutboxMessage
class AvailableAlternativeEffectsGunMessage implements OutboxMessage
class AvailableEnemyExtraMovementsMessage implements OutboxMessage
class AvailableExtraEffectsMessage implements OutboxMessage
class AvailableGunsToPickupMessage implements OutboxMessage
class AvailableMovementsMessage implements OutboxMessage
class AvailablePowerUpCardsMessage implements OutboxMessage
class AvailableRespawnLocationsMessage implements OutboxMessage
class AvailableVenomGrenadesMessage implements OutboxMessage
class baseGunExtraEffectsMessage implements OutboxMessage
class ChooseMyPlayerMessage implements OutboxMessage
class ChoosePlayerToHitMessage implements OutboxMessage
class ChoosePlayerToMoveMessage implements OutboxMessage
class LoadedGunsMessage implements OutboxMessage
class ModelEventMessage implements OutboxMessage
class NextTurnMessage implements OutboxMessage
class ReloadableGunsMessage implements OutboxMessage
}
package com.adrenalinici.adrenaline.client.client {
class ClientViewProxy {
-view: BaseClientGameView
+void handleNewServerMessage(OutboxMessage message)
}
com.adrenalinici.adrenaline.observer.Observable <|-- ClientViewProxy: "T::InboxMessage"
class ClientNetworkAdapter implements java.lang.Runnable {
-clientViewOutbox: BlockingQueue<InboxMessage>
-clientViewInbox: BlockingQueue<OutboxMessage>
-proxy: ClientViewProxy
+void initialize()
+void run()
+void stop()
}
com.adrenalinici.adrenaline.observer.Observer <|-- ClientNetworkAdapter: "T::InboxMessage"
}
package com.adrenalinici.adrenaline.client.client.rmi {
interface GameRmiClient extends java.rmi.Remote {
+void acceptMessage(OutboxMessage message)
}
class GameRmiClientImpl implements GameRmiClient {
-clientViewInbox: BlockingQueue<OutboxMessage>
}
class RmiClientNetworkAdapter extends ClientNetworkAdapter {
-registry: Registry
-server: GameRmiServer
-senderThread: Thread
}
class SenderRunnable implements java.lang.Runnable {
-clientViewOutbox: BlockingQueue<InboxMessage>
-server: GameRmiServer
-client: GameRmiClient
}
}
package com.adrenalinici.adrenaline.client.client.socket {
class SocketClientNetworkAdapter extends ClientNetworkAdapter {
-receiverThread: Thread
-senderThread: Thread
-channel: SocketChannel
}
class ReceiverRunnable implements java.lang.Runnable {
-clientViewInbox: BlockingQueue<OutboxMessage>
-channel: SocketChannel
}
class SenderRunnable implements java.lang.Runnable {
-clientViewOutbox: BlockingQueue<InboxMessage>
-channel: SocketChannel
}
}
package com.adrenalinici.adrenaline.network.server {
abstract class BaseGameViewServer implements GameView, java.lang.Runnable {
-inbox: BlockingQueue<InboxEntry>
-outbox: BlockingQueue<OutboxMessage>
-connectedPlayers: Map<String, PlayerColor>
-availablePlayers: Set<PlayerColor>
+void run()
-void checkStartMatch()
-void checkResumeMatch()
#void broadcast(OutboxMessage en)
}
com.adrenalinici.adrenaline.observer.Observable <|-- BaseGameViewServer: "T::DecoratedEvent<ViewEvent, BaseGameViewServer>"
class GameViewServer extends BaseGameViewServer
abstract class ServerNetworkAdapter {
-inbox: BlockingQueue<InboxEntry>
-outbox: BlockingQueue<OutboxMessage>
+abstract void start()
+abstract void stop()
}
}
package com.adrenalinici.adrenaline.server.network.socket {
abstract class BaseSocketRunnable {
#connectedClients: Map<Socket, String>
}
class BroadcasterRunnable extends BaseSocketRunnable {
-viewOutbox: BlockingQueue<OutboxMessage>
}
class ReceiverRunnable extends BaseSocketRunnable {
-readSelector: Selector
-viewInbox: BlockingQueue<InboxEntry>
}
class SocketServerNetworkAdapter extends com.adrenalinici.adrenaline.server.network.ServerNetworkAdapter {
-receiverThread: Thread
-broadcasterThread: Thread
-serverChannel: ServerSocketChannel
-connectedClients: Map<Socket, String>
+void start()
+void stop()
}
}
package com.adrenalinici.adrenaline.server.network.rmi {
interface GameRmiServer extends java.rmi.Remote {
+void acceptMessage(InboxMessage message, GameRmiClient client)
+void startConnection(GameRmiClient client)
}
class BroadcasterRunnable implements java.lang.Runnable {
-connectedClients: Map<String, GameRmiClient>
-viewOutbox: BlockingQueue<OutboxMessage>
}
class RmiServerNetworkAdapter extends com.adrenalinici.adrenaline.server.network.ServerNetworkAdapter implements GameRmiServer {
-addressToConnectionId: Map<String, String>
-connectionIdToClient: Map<String, GameRmiClient>
-broadcasterThread: Thread
-registry: Registry
+void start()
+void stop()
}
}
@enduml
|
4bf742e2531280a8f715e1859f52a097610cf317 | 4641ec5074b33aa47f98a90dea84a253a9945d0b | /Diagram/classDiagram.puml | ef026986a7fb3ce2040b7dbfeb8175b53f1d6add | [
"MIT"
] | permissive | heyoon2j/maze-game | 02f17c65949fde7e18c972f7cbb378b95ab9dd4b | 1bd1efa089f8f9c1cd96554dabb787f20b4dd06e | refs/heads/main | 2023-01-01T01:38:05.168384 | 2020-10-22T06:32:21 | 2020-10-22T06:32:21 | 303,173,022 | 0 | 1 | MIT | 2020-10-22T05:39:08 | 2020-10-11T17:15:56 | Java | UTF-8 | PlantUML | false | false | 3,681 | puml | @startuml
package "main" <<Folder>> {
interface Command
interface Initializable
interface Playable
interface Printable
interface Usable
package "game" <<Folder>> {
class Board
abstract class Item
abstract class ItemFactory
class MazeGame
class MazeGameClient
class MazeGameTimer
class Player
class Position
class TimeItem
class TimeItemFactory
class TimeMinusItem
class TimePlusItem
}
package "rank" <<Folder>> {
class RankSystem
}
}
interface Playable {
+ {abstract} void play()
}
interface Printable {
+ {abstract} void print()
}
interface Initializable {
+ {abstract} void initialize()
}
interface Usable {
+ {abstract} void use(Player play)
}
interface Command {
+ {abstract} void execute()
}
class Board implements Initializable, Printable {
# {static} final char GOAL
# {static} final int[][] MOVE
# {static} final char[] PLAYER_MARK
# {static} final char[] BLOCK
- final char[][] board
- List<Item> itemMap
- MazeGame mazeGame
- Position goal
- List<Node> blankList
- boolean[][] visitedPos
+ Board(int size)
- boolean randomGenerator(List<Node> list, int x, int y)
- boolean isOutOfIndex(int x, int y)
- void surroundBlock(int x, int y)
- void makePass(List<Node> list)
+ void initialize()
+ void print()
+ void setPlayerPosition(Player curPlayer, int moveNum)
+ boolean isPossible(int x, int y)
+ boolean isFinished(Player curPlayer)
+ void addItem()
+ void removeItem()
}
abstract class Item implements Usable {
+ {abstract} void use()
}
abstract class ItemFactory {
+ abstract Item getItem()
}
class MazeGame implements Initializable {
+ enum Level
- List<Command> command
- boolean stop
- Level level
- Board board
- Player player
- MazeGameClient client;
- MazeGameTimer timer;
+ MazeGame(Level level, main.game.Player player)
+ void initialize()
+ void start()
+ void push(Command command)
+ void action()
+ void pop()
}
class MazeGameClient implements Runnable {
# {static} final boolean[] SIGNAL
- MazeGame mazeGame
+ MazeGameClient(MazeGame mazeGame)
+ run()
}
class MazeGameTimer {
{static} final long FINISH_TIME
- MazeGame mazeGame
- Timer itemGeneratorTimer
- Timer finishTimer
- long startTime
# MazeGameTimer(MazeGame mazeGame)
+ void start(int time)
+ void stop()
+ long getStartTime()
}
class Player implements Playable {
{static} final char[] MOVE_ACTION
- String name
- String timeRecord
- List<Item> itemList
- Position prevPos
- Position pos
- MazeGame mazeGame
+ Player()
+ void setTimeRecord(long timeRecord)
+ void play()
+ void addItem()
+ void removeItem()
}
class Position {
+ int x
+ int y
}
class TimeItem extends Item {
int addedTime
+ TimeItem(int addedTime)
+ void use(Player play)
}
class TimeItemFactory extends ItemFactory {
+ Item getItem(String itemName)
}
class TimeMinusItem extends TimeItem {
+ TimeMinusItem()
}
class TimePlusItem extends TimeItem {
+ TimePlusItem()
}
class RankSystem implements Printable {
- File rankFile
- RankSystem()
+ {static} RankSystem getRankSystem()
+ void print()
+ int readFile(long time)
+ void writeFile(String name, String time, int rank)
+ void setRankFile(File rankFile)
}
Player -- MazeGame
Board -- MazeGame
MazeGameTimer -- MazeGame
MazeGameClient -- MazeGame
Player o-- Position
@enduml |
c849205b700e7260dd29d4f3a57f8e90b9b8d351 | e390180506773ad407280a6e7ac0c59f84c16aa2 | /src/main/java/ex43/ex43.puml | e08d5565d537e169d728cff07b303a7ac4679725 | [] | no_license | muhalli2001/Alli-cop3330-Assignment3 | b1265db6e5c6f4e819bc56d7b5a940e925d18b98 | b4c258ad422e30ede86573c7e82d8114fc579e74 | refs/heads/master | 2023-08-22T02:57:38.475497 | 2021-10-12T01:49:56 | 2021-10-12T01:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 279 | puml | @startuml
'https://plantuml.com/class-diagram
class App {
class Main()
(Methods)
public static void createJs_Css_Folder(String type,String SiteName)
public static void createNameFolder(String SiteName)
public static void createWebsiteFolder()
}
@enduml |
3bb98d866b83e56ba3d14e6d9f1cf7049c3284eb | fe31c03d2c3301174851359174c6f5523286f0e4 | /src/main/cc/wenmin92/rxjava/rxjava2.puml | c3d323f32185850221674e781b3ac8249e46f172 | [] | no_license | wenmin92/JavaLearn | 846c8f5cec5fbb4d7da425648e014075d7ae7ae2 | 811db0e9869b9638ace4d8c15f83e2f6ab7d4882 | refs/heads/master | 2020-03-22T17:58:48.447833 | 2019-08-28T05:24:55 | 2019-08-28T05:24:55 | 140,428,608 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,986 | puml | @startuml
interface ObservableSource<T> {
+ subscribe(Observer<? super T> observer):void
}
abstract Observable<T> {
+ subscribe(Observer<? super T> observer):void
+ subscribeActual(Observer<? super T> observer):void
}
interface Observer<T> {
+ onSubscribe(Disposable d):void
+ onNext(T t):void
+ onError(Throwable e):void
+ onComplete():void
}
interface Disposable {
+ dispose():void
+ isDisposed():void
}
class ObservableCreate<T> {
+ subscribeActual(Observer<? super T> observer):void
}
interface ObservableOnSubscribe<T> {
+ subscribe(ObservableEmitter<T> emitter):void
}
interface Emitter<T> {
+ onNext(T value):void
+ onError(Throwable error):void
+ onComplete():void
}
class CreateEmitter<T> {
+ onNext(T value):void
+ onError(Throwable error):void
+ onComplete():void
}
interface ObservableEmitter<T> {
+ setDisposable(Disposable d):void
+ isDisposed():boolean
}
hide empty field
Observable ..|> ObservableSource
Observable ..> Observer
Observer ..> Disposable
ObservableCreate --|> Observable
ObservableCreate *--> ObservableOnSubscribe
ObservableOnSubscribe ..> CreateEmitter
CreateEmitter *..> Observer
CreateEmitter ..|> Disposable
CreateEmitter ..|> ObservableEmitter
ObservableEmitter ..|> Emitter
note top of Observable : 1.观察得到的——被观察者,不支持背压\n2.通过Observable创建一个可观察的序列(create方法)\n3.通过subscribe去注册一个观察者
note left of Observer : 1.用于接收数据——观察者\n2.作为Observable的subscribe方法的参数
note left of Disposable : 1.和RxJava1的Subscription作用相当\n2.用于取消订阅和获取当前的订阅状态
note top of ObservableOnSubscribe : 1.当订阅时会触发此接口调用\n2.在Observable内部,实际作用是向观察者发送数据
note right of Emitter : 1.一个发射数据的接口,和Observer的方法类似\n2.本质是对Observable和Subscriber的包装
@enduml |
e58e27a7b77f3999458bb49decb33cfee77b7951 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/Utils/IPostBuildCleanup.puml | a419b916404238150e27e3df83769ae2a037ca36 | [] | 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 | 71 | puml | @startuml
interface IPostBuildCleanup {
Cleanup() : void
}
@enduml
|
fa2804bc4eb35e3015c342c9b1f56fd7ef794b49 | d9c81782826b58a79a89a5b88e6c2c1afa59e532 | /docs/ex44.puml | 3448bc6418bfdff7bc9d8b6748d7a3dc5def0f22 | [] | no_license | SmokeIce593/parrish-cop3330-assignment3 | 1b1449091f72ef2540c9621b95e9998713e44e41 | d8b75979d4b86c71c1582d76241980b18fff6015 | refs/heads/master | 2023-08-15T08:27:16.888336 | 2021-10-12T02:11:13 | 2021-10-12T02:11:13 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 647 | puml | @startuml
'https://plantuml.com/class-diagram
class ProductSearchParser{
+ {static} JsonObject fileParse(String Input)
+ {static} JsonObject IterateArray(JsonArray subjects, String Input)
Object obj
JsonObject objects
JsonArray subjects
String input
JsonObject individual
}
class ProductSearchBase{
+ {static} void main()
+ {static} String Input()
+ {static} JsonObject Conditional(JsonObject Found)
String UserInput
JsonObject Found
}
class ProductSearchOutput{
void output(JsonObject Found)
}
ProductSearchBase <|-- ProductSearchParser
ProductSearchBase <|-- ProductSearchOutput
@enduml |
179daf09015014b9d3f8af0e5597e2db099953bf | b5c2a14e617ed7c41060f08322fe2192736972a4 | /Design Phase/ideas/MVC_example.plantuml | 7435d5e5ea1e4590aee8ae99dc344d01c1796b90 | [] | no_license | AlpTorac/PSE-Report | 621f8f2ec69f215764d9ad5f23e9ee3ebd381c38 | 55a3dedcdda36639cacd5386b224fd094961f165 | refs/heads/main | 2023-04-03T10:29:33.111467 | 2021-04-06T15:43:51 | 2021-04-06T15:43:51 | 315,664,095 | 0 | 1 | null | 2021-01-07T11:02:59 | 2020-11-24T14:53:15 | TeX | UTF-8 | PlantUML | false | false | 1,848 | plantuml | @startuml example
package MVC.view {
class GuessingGame {
+main()
}
note right of GuessingGame::main
Initializes all 3 within the main method
Calls registerListener from View
end note
class View extends JFrame {
-UIElements
+View() // Initialize UI
+registerListener(ActionListener listener)
+wasLowerButton(ActionEvent e)
+wasCorrectButton(ActionEvent e)
+wasHigherButton(ActionEvent e)
}
note right of View::registerListener
Registers actionListeners to components
end note
}
package MVC.model {
interface IObserver {
+update(changed variables)
}
class Model {
-IObserver listener
+setChangeListener(GuessingChange listener)
+someDataFunction1()
+...()
+someDataFunctionN()
-notifyChange()
}
note right of Model::someDataFunction1
Uses notifyChange to notify listener attribute
end note
}
package MVC.controller {
class Control implements ActionListener, IObserver {
Model model
View view
+actionPerformed(ActionEvent ae)
+update(variable)
}
note right of Control::actionPerformed
Uses a big if-statement with
wasLower/Correct/HigherButton methods
to decide what the event was and then
uses someDataFunctionX from Model
end note
}
Control --> Model
Control --> View
Model --> IObserver
GuessingGame --> Model : initializes and contains (from GuessingGame to Model)
GuessingGame --> Control : initializes and contains
GuessingGame --> View : initializes and contains
@enduml |
05e9cae24dbe32aa9066953f6cb17a5950b93c20 | 5852f6b38b87d13b732b67c8fdef4c22ae215a8f | /docs/diagrams/src/movies21.plantuml | ddbf97921c10de9480daa2c7d8dd1e56ca97e879 | [] | no_license | ivlago/Refactor | bbc940ba59aa2b397d52c3c041e3b1db97f8b22d | 5fc9ddb4517bc21dba3a8df0b629637b213cff79 | refs/heads/main | 2023-04-05T18:22:56.671516 | 2021-04-22T20:14:21 | 2021-04-22T20:14:21 | 359,514,464 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,579 | plantuml | @startuml movies
class Customer {
- String name;
- List<Rental> rentals;
+ Costumer(String name)
+ void addRental(Rental rental)
+ String getName()
+ String statement()
- double getTotalCharge()
- int getTotalFrequentRenterPoints()
}
class Rental {
- Movie movie;
- int daysRented;
+ Rental(Movie movie, int daysRented)
+ int getDaysRented()
+ Movie getMovie()
+ double getCharge()
+ int getFrequentRenterPoints()
}
class Movie {
+ static final int REGULAR = 0;
+ static final int NEW_RELEASE = 1;
+ static final int CHILDRENS = 2;
- String title;
- Price price;
+ Movie(String title, int priceCode)
+ double getCharge(int daysRented)
+ int getFrequentRenterPoints(int daysRented)
+ void setPriceCode(int priceCode)
+ String getTitle()
}
class Price {
+ int getPriceCode()
+ double getCharge(int daysRented)
+ int getFrequentRenterPoints(int daysRented)
}
class RegularPrice {
{static}- double CHARGE = 2.0;
{static}- double EXTRA CHARGE = 1.5;
{static}- final int DAYS RENTED THRESHOLD = 2;
+ double getCharge(int daysRented)
}
class ChildrenPrice {
{static}- double CHARGE = 1.5;
{static}- double EXTRA CHARGE = 1.5;
{static}- int DAYS RENTED THRESHOLD = 3;
+ double getCharge(int daysRented)
}
class NewReleasePrice {
{static}- double CHARGE = 3;
{static}- double EXTRA CHARGE = 1;
{static}- int DAYS RENTED THRESHOLD = 2;
+ double getCharge(int daysRented)
+ int getFrequentRenterPoints(int daysRented)
}
Customer o-down-> Rental
Rental -down-> Movie
Movie *-down- Price
Price <|-down- RegularPrice
Price <|-down- ChildrenPrice
Price <|-down- NewReleasePrice
@enduml
|
784f06c7aa20b8c36d795e13d61433c6ad3ff447 | fa73d5e26e858fd4dd862667850553179464a7da | /Lab3_MaisosLenteles_Intellij.plantuml | 665bd9a2d155af61d6a4e9ccc56bd8b868ba43d2 | [] | no_license | MPilinkus/Lab3 | c92c6f4ffdb5d8aca6e87e583ae4d532b9c39dbe | e99285a2bf4b24ec79fd1d598bfee8a12798c6e8 | refs/heads/master | 2020-09-12T09:53:57.533170 | 2019-12-07T11:07:30 | 2019-12-07T11:07:30 | 222,386,985 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,513 | plantuml | @startuml
title __Lab3_MaisosLenteles klasių diagrama__\n
namespace edu.ktu.ds.lab3.demo {
class edu.ktu.ds.lab3.demo.Car {
}
}
namespace edu.ktu.ds.lab3.demo {
class edu.ktu.ds.lab3.demo.CarsGenerator {
}
}
namespace edu.ktu.ds.lab3.demo {
class edu.ktu.ds.lab3.demo.DemoExecution {
}
}
namespace edu.ktu.ds.lab3.demo {
class edu.ktu.ds.lab3.demo.ManualTest {
}
}
namespace edu.ktu.ds.lab3.demo {
class edu.ktu.ds.lab3.demo.SimpleBenchmark {
}
}
namespace edu.ktu.ds.lab3.demo {
class edu.ktu.ds.lab3.demo.Timekeeper {
}
}
namespace edu.ktu.ds.lab3.gui {
class edu.ktu.ds.lab3.gui.KsGui {
}
}
namespace edu.ktu.ds.lab3.gui {
class edu.ktu.ds.lab3.gui.MainWindow {
}
}
namespace edu.ktu.ds.lab3.gui {
abstract class edu.ktu.ds.lab3.gui.MainWindowMenu {
}
}
namespace edu.ktu.ds.lab3.gui {
abstract class edu.ktu.ds.lab3.gui.MapTable {
}
}
namespace edu.ktu.ds.lab3.gui {
class edu.ktu.ds.lab3.gui.Panels {
}
}
namespace edu.ktu.ds.lab3.gui {
class edu.ktu.ds.lab3.gui.ValidationException {
}
}
namespace edu.ktu.ds.lab3.utils {
interface edu.ktu.ds.lab3.utils.EvaluableMap {
}
}
namespace edu.ktu.ds.lab3.utils {
class edu.ktu.ds.lab3.utils.HashMap {
}
}
namespace edu.ktu.ds.lab3.utils {
enum HashType {
}
}
namespace edu.ktu.ds.lab3.utils {
class edu.ktu.ds.lab3.utils.Ks {
}
}
namespace edu.ktu.ds.lab3.utils {
interface edu.ktu.ds.lab3.utils.Map {
}
}
namespace edu.ktu.ds.lab3.utils {
interface edu.ktu.ds.lab3.utils.Parsable {
}
}
namespace edu.ktu.ds.lab3.utils {
class edu.ktu.ds.lab3.utils.ParsableHashMap {
}
}
namespace edu.ktu.ds.lab3.utils {
interface edu.ktu.ds.lab3.utils.ParsableMap {
}
}
edu.ktu.ds.lab3.demo.Car .up.|> edu.ktu.ds.lab3.utils.Parsable
edu.ktu.ds.lab3.demo.DemoExecution -up-|> javafx.application.Application
edu.ktu.ds.lab3.demo.SimpleBenchmark o-- edu.ktu.ds.lab3.demo.Timekeeper : timekeeper
edu.ktu.ds.lab3.gui.MainWindow .up.|> javafx.event.EventHandler
edu.ktu.ds.lab3.gui.MainWindow -up-|> javafx.scene.layout.BorderPane
edu.ktu.ds.lab3.gui.MainWindow o-- edu.ktu.ds.lab3.demo.CarsGenerator : carsGenerator
edu.ktu.ds.lab3.gui.MainWindow o-- edu.ktu.ds.lab3.utils.HashType : ht
edu.ktu.ds.lab3.gui.MainWindow o-- edu.ktu.ds.lab3.gui.MainWindowMenu : mainWindowMenu
edu.ktu.ds.lab3.gui.MainWindow o-- edu.ktu.ds.lab3.gui.Panels : paneButtons
edu.ktu.ds.lab3.gui.MainWindow o-- edu.ktu.ds.lab3.gui.Panels : paneParam1
edu.ktu.ds.lab3.gui.MainWindow o-- edu.ktu.ds.lab3.gui.Panels : paneParam2
edu.ktu.ds.lab3.gui.MainWindowMenu .up.|> javafx.event.EventHandler
edu.ktu.ds.lab3.gui.MainWindowMenu -up-|> javafx.scene.control.MenuBar
edu.ktu.ds.lab3.gui.MapTable -up-|> javafx.scene.control.TableView
edu.ktu.ds.lab3.gui.Panels -up-|> javafx.scene.layout.GridPane
edu.ktu.ds.lab3.utils.EvaluableMap .up.|> edu.ktu.ds.lab3.utils.Map
edu.ktu.ds.lab3.utils.ParsableMap .up.|> edu.ktu.ds.lab3.utils.EvaluableMap
edu.ktu.ds.lab3.utils.HashMap .up.|> edu.ktu.ds.lab3.utils.EvaluableMap
edu.ktu.ds.lab3.utils.HashMap o-- edu.ktu.ds.lab3.utils.HashType : ht
edu.ktu.ds.lab3.utils.ParsableHashMap .up.|> edu.ktu.ds.lab3.utils.ParsableMap
edu.ktu.ds.lab3.utils.ParsableHashMap -up-|> edu.ktu.ds.lab3.utils.HashMap
@enduml
|
3e82f0609f326f9086c4b6a11fb45d93a19915ec | ef4d996745d3cad7823e9be3bad78f7be8cc2c59 | /java/2020/04/10/bin/test07/MyInteger.iuml | ec91e5744687e17ef045bd36ab8e7dd9bd737fa6 | [] | no_license | FishMagic/Laevatein | 005de8334c1f6f3d5ad08ab6131123bebbaf2f8c | 93e16ec8a2330d5f58ecbe4b0847cb5b28fbe0da | refs/heads/master | 2022-10-25T04:25:23.424090 | 2020-06-20T12:14:52 | 2020-06-20T12:14:52 | 246,463,868 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 536 | iuml | @startuml MyInterger
class MytInteger {
-int value
+MyInteger(value: int)
+getValue(): int
+static isEven(value: int): boolean
+static isOdd(value: int): boolean
+static isPrime(value: int): boolean
+isEven(): boolean
+isOdd(): boolean
+isPrime(): boolean
+static isEven(integer: MyInteger): boolean
+static isOdd(integer: MyInteger): boolean
+static isPrime(integer: MyInteger): boolean
+equals(value: int): boolean
+equals(integer: MyInteger): boolean
}
@enduml |
c140a3895e254779e1b5539902f15f4598a9247e | 0900d46a947c17fcfcb17328bf1e94b4d5e6bb4d | /src/main/java/ex45/Diagram.puml | bf77e7452cecffac5dbc035c9432ae667c00311d | [] | no_license | josevalen2001/valencia-cop3330-assignment3 | 5e9d214965ed196250e527a5728b5e63e9180a80 | 64fd979d673853d6d297c7eab959917771f0cd59 | refs/heads/master | 2023-05-30T06:13:09.829784 | 2021-06-18T02:19:41 | 2021-06-18T02:19:41 | 377,353,067 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 195 | puml | @startuml
class app {
+main()
}
class textEditor {
+String fileName;
+String fileDestination;
+String target;
+String replacement;
+String replaceTextFile()
}
app <--o textEditor
@enduml |
2a64eeb8589ec53495d1b098586b5fffb7156732 | 4e22bdc55bdc3e7f861cde56da0ccb080a1b6b26 | /city.puml | c35426ec6ffa56021f53e96fa7d17618f333a745 | [] | no_license | ahmad-hl/comp3021-corona-spring2021 | d6f48509cd91583ee256dacd6c55f6a66658f2b1 | b222aaeed25b83c0d722035905439e4c0af50834 | refs/heads/master | 2023-03-18T09:29:24.419027 | 2021-03-11T15:22:37 | 2021-03-11T15:22:37 | 337,751,700 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 145 | puml | @startuml
'https://plantuml.com/class-diagram
class GameMap{
- -players: List<Player>
+ +getPlayers(): List<Player>
+ +loadPlayers()
}
@enduml |
bb1c05333eb5029bd6f3f3bf7596b4d2a205efe3 | b582b2522fd68b6903f8318725308c22fbc97563 | /cardreader.provider.bluetooth.feitian/doc/plantuml/BFEICRP/FeitianBluetoothReceiver.plantuml | eb4e9e2848adaae64e98ff2067c583a594bd9e17 | [
"Apache-2.0"
] | permissive | gematik/ref-CardReaderProvider-Bluetooth-Feitian-Android | 4a8bb848ef0894c7da3516a82150a8cef6079fd8 | 5acf358dd6a5819c20b85d5b778d1aa487f7b3d7 | refs/heads/master | 2022-01-12T05:42:43.524841 | 2022-01-07T07:24:26 | 2022-01-07T07:24:26 | 214,090,891 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 317 | plantuml | @startuml
package de.gematik.ti.cardreader.provider.bluetooth.feitian.control {
class FeitianBluetoothReceiver {
{static} - LOG : Logger
+ onReceive()
- onDeviceDetached()
- onDeviceAttached()
}
}
FeitianBluetoothReceiver -up-|> BroadcastReceiver
@enduml |
71a4ef503585d90a64a0b146c42bea81953ea5bd | fa022c454d5da5e9d323772fa53d351b81c7fecb | /src/uml/AbstractFactory.puml | c7c3719fff1af094780474866239282ed42a00f9 | [] | no_license | wenjy/design_patten_php | f8c6d187939d8cd21305284599bdbaa4127234c9 | 7cee39063b90e3f886ca35ce776363dd89fd5ad4 | refs/heads/master | 2021-07-09T09:03:18.660118 | 2020-07-12T13:42:09 | 2020-07-12T13:42:09 | 157,344,700 | 9 | 4 | null | null | null | null | UTF-8 | PlantUML | false | false | 500 | puml | @startuml
interface AbstractFactory
interface AbstractProductA
interface AbstractProductB
AbstractFactory <|-- ConcreteFactory1
AbstractFactory <|-- ConcreteFactory2
AbstractProductA <|-- ProductA1
AbstractProductA <|-- ProductA2
AbstractProductB <|-- ProductB1
AbstractProductB <|-- ProductB2
ProductA1 <.. ConcreteFactory1
ProductB1 <.. ConcreteFactory1
ProductA2 <.. ConcreteFactory2
ProductB2 <.. ConcreteFactory2
interface AbstractFactory {
+createProductA()
+createProductB()
}
@enduml
|
30be665eea509e03d86e2e6053f95ca3b4b7e1c7 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CartDiscountChangeStackingModeAction.puml | 34903ff6ef12a4eaad2c0c58b2b395f23b543963 | [] | 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 | 514 | 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 CartDiscountChangeStackingModeAction [[CartDiscountChangeStackingModeAction.svg]] extends CartDiscountUpdateAction {
action: String
stackingMode: [[StackingMode.svg StackingMode]]
}
interface CartDiscountUpdateAction [[CartDiscountUpdateAction.svg]] {
action: String
}
@enduml
|
669214cf4bbac8d68031c4b7fd7d6c537c9e5c98 | 80905daea20f037ad1e90829c67947b7b95816b0 | /code/10_UML/Graphs/internal.plantUML | 1123fb6140a566c577ec03c2f20cfee43d2ecab1 | [] | no_license | Divino21/CsharpCourse | 7916b7b892fc3858ea3697f39e1fcd802fa2d475 | 473d92cd96346d005979770bdcae020cf4bbf0c4 | refs/heads/master | 2022-11-22T05:43:24.789564 | 2020-07-31T01:47:22 | 2020-07-31T01:47:22 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 382 | plantuml | @startuml
skinparam classAttributeIconSize 0
hide circle
package RoadTraffic <<Folder>> {
class Vehicle{
- speed: double
~ setSpeed(double speed)
+ getSpeed(): double
}
}
class Junction{
- cars: Traffic::Vehicles[]
+ SimulateJam()
}
class Airplane{
- heigth : double
+ Fly()
}
Junction "1" -- "0:.. "Vehicle : "greift zu auf"
Airplane -|> Vehicle
@enduml
|
4421692eaa5b1c8235ffb4ed840eb4874d3acb58 | 83147b64e04741de0403ef88b6c9aeba85d05361 | /docs/Iteracao1/UC2_MD.puml | 18c4516f05fa0603e30d3f2c73ed2ed11ccb9b77 | [] | no_license | antoniodanielbf-isep/ESOFT-2020 | 3af037382ecf70f5b25448765e841a8733cc3968 | a1bcfcbb7951b58afcc9c1f663265091dde3926e | refs/heads/main | 2023-06-04T23:48:29.068810 | 2021-06-20T18:18:38 | 2021-06-20T18:18:38 | 378,711,541 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 234 | puml | @startuml
hide methods
left to right direction
class AreaAtividade {
-String codigo
-String descBreve
-String descDetalhada
}
class Plataforma {
-String designacao
}
Plataforma "1" -- "*" AreaAtividade : possui >
@enduml
|
d86be0f9b4de3b29b06ba2c91489e7082b85f3c7 | b5c2a14e617ed7c41060f08322fe2192736972a4 | /Design Phase/Model.plantuml | ce0430b797884dd44242a7816c70787ac5847731 | [] | no_license | AlpTorac/PSE-Report | 621f8f2ec69f215764d9ad5f23e9ee3ebd381c38 | 55a3dedcdda36639cacd5386b224fd094961f165 | refs/heads/main | 2023-04-03T10:29:33.111467 | 2021-04-06T15:43:51 | 2021-04-06T15:43:51 | 315,664,095 | 0 | 1 | null | 2021-01-07T11:02:59 | 2020-11-24T14:53:15 | TeX | UTF-8 | PlantUML | false | false | 22,438 | plantuml | @startuml Model
skinparam linetype ortho
!startsub DIAGRAM
skinparam {
Linetype ortho
BackgroundColor #bababa
Shadowing false
Nodesep 60
Ranksep 50
}
skinparam Arrow {
Color #2e2e2e
Thickness 1.5
}
skinparam CircledCharacter {
Radius 8
FontSize 10
}
skinparam class {
BackgroundColor #d1d1d1
BorderColor #2e2e2e
BorderThickness 1.5
HeaderBackgroundColor #a6a6a6
}
skinparam package {
BackgroundColor #bcbfd6
BorderThickness 1.8
}
skinparam Note {
BackgroundColor #297547
BorderColor #171a17
FontColor #e8e8e8
}
/' package panelData{
enum ElementType {
LIBRARY
CELL
INPIN
OUTPIN
}
enum AttributeType{
OUTPOWER
INPOWER
DEFLEAKAGE
LEAKAGE
TIMING
AREA
CAPACITANCE
}
abstract class Panel{
ElementType elementType
String panelName
}
class TextEditor extends Panel{
- Element element
- String Content
- String greyedBeforeContent
- String greyedAfterContent
__
+ search(String) : int
+ switchToElementView()
+ updateData()
}
interface GraphicImp{
AttributeType attribute
PowerGroup powgroup
TimingGroup timgroup
TimingType timtype
TimingSense timsense
Mode mode
__
{abstract} getData()
}
interface CompareView{
__
{abstract} void selectElement(Element)
{abstract} void deselectElement(Element)
}
class CompareLibraryView extends Panel implements GraphicImp, CompareView{
Element[] openedLibraries
Library[] selectedLibraries
__
+ void getData()
+ void selectElement(Element)
+ void deselectElement(Element)
}
class CompareCellPinView extends Panel implements GraphicImp, CompareView{
Cell[] openedCells
Element[] selectedElements
__
+ void getData()
+ void selectElement(Element)
+ void deselectElement(Element)
}
class ElementView extends Panel implements GraphicImp{
Element element
__
+ void switchToTextEditor()
+ getData()
}
}'/
package elements{
class Stat {
-float min
-float max
-float avg
-float median
__
+ Stat(float,float,float,float)
+ getMin() : float
+ getMax() : float
+ getAvg() : float
+ getMed() : float
+ void setMin(float)
+ void setMax(float)
+ void setAvg(float)
+ void setMed(float)
}
package attributes {
abstract class Attribute{
# Stat stats
__
+ Attribute()
# void calculate()
+ void scale(float)
+ getStats(): Stats
}
abstract class InAttribute extends Attribute{
# float[] index1
# float[] values
# InputPin parentInPin
__
+ InAttribute()
# void calculate()
+ void scale(float)
+ getParentInPin() : InputPin
+ void setParentInPin(InputPin)
+ getIndex1() : float[]
+ getValues() : float[]
+ void setIndex1(float[])
+ void setValues(float[])
}
abstract class OutAttribute extends Attribute{
# float[] index1
# float[] index2
# float[][] values
# OutputPin parentOutPin
# InputPin relatedPin
__
+ OutAttribute()
# void calculate()
+ void scale(float)
+ getParentOutPin() : OutputPin
+ void setParentOutPin(OutputPin)
+ getIndex1() : float[]
+ getIndex2() : float[]
+ getValues() : float[][]
+ getRelatedPin() : InputPin
+ void setIndex1(float[])
+ void setIndex2(float[])
+ void setValues(float[][])
+ void setRelatedPin(InputPin)
+ Attribute createComparedAttribute(Attribute)
}
enum TimingSense {
POSITIVE
NEGATIVE
NON
}
enum TimingType {
COMBINATIONAL
COMBRISE
COMBFALL
TSDISABLE
TSENABLE
TSDISABLERISE
TSDISABLEFALL
TSENABLERISE
TSENABLEFALL
}
enum TimingGroup {
CELLRISE
CELLFALL
FALLTRANSITION
RISETRANSITION
}
enum PowerGroup {
RISEPOWER
FALLPOWER
POWER
}
class Timing extends OutAttribute {
-TimingSense timsense
-TimingType timtype
-TimingGroup timgroup
__
+ Timing(TimingSense, TimingType,
TimingGroup, InputPin, float[][])
}
class InputPower extends InAttribute {
-PowerGroup powgroup
__
+ InputPower(PowerGroup, float[])
}
class OutputPower extends OutAttribute {
-PowerGroup powgroup
__
+ OutputPower(PowerGroup, float[][])
}
class Leakage extends Attribute {
- float[] values
- Cell parentCell
__
+ Leakage(float[])
+ getParentCell() : Cell
+ void setParentCell(Cell)
+ getValues() : float[]
+ setValues(float[])
}
}
abstract class Element{
# boolean filtered
# boolean searched
# String name
__
+ Element()
+ getFiltered() : boolean
+ void setFiltered(boolean)
+ getSearched() : boolean
+ void setSearched(boolean)
+ {abstract} void calculate()
+ getName() : String
+ void setName(String)
+ compareTo(Element) : int
}
abstract class HigherElement extends Element{
# ArrayList<TimingSense> availableTimSen
# ArrayList<TimingGroup> availableTimGr
# ArrayList<TimingType> availableTimType
# ArrayList<PowerGroup> availableOutputPower
# ArrayList<PowerGroup> availableInputPower
# Map<Sense, Map<Group, Map<Type, Stat>>> timingStat
# Map<Group, Stat> inPowerStat
# Map<Group, Stat> outPowerStat
# boolean hasShownElements
# Stat leakage
__
+ HigherElement()
+ getAvailableOutputPower() : ArrayList<PowerGroup>
+ void setAvailableOutputPower(ArrayList<PowerGroup>)
+ getAvailableInputPower() : ArrayList<PowerGroup>
+ void setAvailableInputPower(ArrayList<PowerGroup>)
+ getAvailableTimSen(): ArrayList<TimingSense>
+ void setAvailableTimSen(ArrayList<TimingSense>)
+ getAvailableTimGr(): ArrayList<TimingGroup>
+ void setAvailableTimGr(ArrayList<TimingGroup>)
+ getAvailableTimType(): ArrayList<TimingType>
+ void setAvailableTimType(ArrayList<TimingType>)
+ getTimingStat() : Map<Sense, Map<Group, Map<Type, Stat>>>
+ getInpowerStat() : Map<Group, Stat>
+ getOutPowerStat() : Map<Group, Stat>
+ getHasShownElements() : boolean
+ void setHasShownElements(boolean)
+ void calculateHasShownElements()
}
class Library extends HigherElement{
- float[] index1
- float[] index2
- String path
- String[] fileData
- ArrayList<Cell> cells
- Stat defaultLeakage
__
+ Library(String, float[], float[], String, ArrayList<Cell>)
+ getCells() : ArrayList<Cell>
+ void setCells(ArrayList<Cell>)
+ void calculate()
+ void calculateLeakage()
+ void calculateInPow()
+ void calculateOutPow()
+ void calculateTiming()
+ void calculateDefaultLeakage()
+ getPath() : String
+ void setPath(String)
+ getFileData() : String[]
+ setFileData(String[])
+ getIndex1() : float[]
+ void setIndex1(float[])
+ getIndex2() : float[]
+ void setIndex2(float[])
+ getDefaultLeakage(): Stat
+ {static} void saveLibrary()
+ {static} void saveLibraryAs()
+ {static} void saveAsCSV()
}
class Cell extends HigherElement{
- float[] index1
- float[] index2
- Library parentLibrary
- ArrayList<InputPin> inPins
- ArrayList<OutputPin> outPins
- Leakage[] leakages
- float defaultLeakage
__
+ Cell(String, float[], float[], Library, ArrayList<InputPin>, \n ArrayList<OutputPin>, Leakage[], float)
+ getIndex1() : float[]
+ void setIndex1(float[])
+ getIndex2() : float[]
+ void setIndex2(float[])
+ getInPins() : ArrayList<InputPin>
+ void setInPins(ArrayList<InputPin>)
+ getOutPins() : ArrayList<OutputPin>
+ void setOutPins(ArrayList<OutputPin>)
+ getParent() : Library
+ void setParent(Library)
+ getLeakage() : Leakage[]
+ void setLeakage(Leakage[])
+ getDefaultLeakage() : float
+ void setDefaultLeakage(float)
+ void calculate()
+ void calculateLeakage()
+ void calculateInPow()
+ void calculateOutPow()
+ void calculateTiming()
+ interpolate(float[], float[])
+ {static} void saveAsCSV()
}
abstract class Pin extends Element{
# Cell parentCell
# float capacitance
# ArrayList<PowerGroup> availablePower
__
+ Pin()
+ getParent() : Cell
+ void setParent(Cell)
+ getCapacitance() : float
+ setCapacitance(float)
+ getAvailablePower() : ArrayList<PowerGroup>
+ setAvailablePower() : ArrayList<PowerGroup>
}
class InputPin{
- ArrayList<InputPower> inputPowers
__
+ InputPin(String, Cell, ArrayList<InputPower>)
+ void calculate()
+ void calculatePower()
+ getInputPowers(): ArrayList<InputPower>
+ void setInputPowers(ArrayList<InputPower>)
+ interpolate(float[])
+ {static} void saveAsCSV()
}
class OutputPin{
- ArrayList<TimingSense> availableTimSen
- ArrayList<TimingGroup> availableTimGr
- ArrayList<TimingType> availableTimType
- ArrayList<OutputPower> outputPowers
- ArrayList<Timing> timings
- String outputFunction
__
+ OutputPin(String, Cell, ArrayList<OutputPower>, ArrayList<Timing>)
+ getTimings(): ArrayList<Timing>
+ void setTimings(ArrayList<Timing>)
+ getOutputPowers(): ArrayList<OutputPower>
+ void setOutputPowers(ArrayList<OutputPower>)
+ getAvailableTimSen(): ArrayList<TimingSense>
+ setAvailableTimSen(ArrayList<TimingSense>)
+ getAvailableTimGr(): ArrayList<TimingGroup>
+ setAvailableTimGr(ArrayList<TimingGroup>)
+ getAvailableTimType(): ArrayList<TimingType>
+ setAvailableTimType(ArrayList<TimingType>)
+ getOutputFunction(): String
+ void setOutputFunction(String)
+ void calculate()
+ void calculatePower()
+ void calculateTiming()
+ interpolate(float[], float[])
+ {static} void saveAsCSV()
}
}
package exceptions{
class InvalidComparisonException
class InvalidFileFormatException
class ExceedingFileSizeException
class TooManySelectedException
class TooManyPanelsOpenedException
class InvalidArgumentException
class InvalidNameException
}
package commands{
interface Command{
__
# void execute()
# void undo()
}
class CommandHistory{
- Command[] commands
- Command[] undoneCommands
- int undoCount
__
+ CommandHistory()
+ void setUndoCount(int)
- void resetUndoneCommands()
+ void addCommand(Command)
+ void removeLatestCommand()
+ void resetCommands()
+ getLatestCommand() : Command
}
class CreateLibraryCommand implements Command{
- Library createdLibrary
__
+ CreateLibrary(String, String)
+ void execute()
+ void undo()
}
class ScaleCommand implements Command{
- Attribute attribute
- float scale
__
+ ScaleCommand(Attribute, float)
+ void execute()
+ void undo()
}
class RemoveFilterCommand implements Command{
- Filter removedFilter
__
+ RemoveFilterCommand(Filter)
+ execute()
+ undo()
}
class AddFilterCommand implements Command{
- Filter addedFilter
__
+ AddFilterCommand(Filter)
+ execute()
+ undo()
}
class TextEditCommand implements Command{
- String oldContent
- String newContent
- Element element
__
+ TextEditCommand (String, String, Element)
+ void execute()
+ void undo()
}
class UndoCommand implements Command{
__
+ UndoCommand()
+ void execute()
+ coid undo()
}
class MergeCommand implements Command{
- ArrayList<Library> mergedLibraries
- Library productLibrary
__
+ MergeCommand(String, ArrayList<Library>)
+ void execute()
+ void undo ()
}
class DeleteCommand implements Command{
- ArrayList<Cell> deletedCells
__
+ DeleteCommand(ArrayList<Cell>)
+ void execute()
+ void undo()
}
class RemoveCommand implements Command{
- ArrayList<Library> removedLibraries
__
+ RemoveCommand(ArrayList<Library>)
+ void execute()
+ void undo()
}
class PasteCommand implements Command{
- ArrayList<Cell> pastedCells
- ArrayList<Cell> deletedCells
- HashMap<Cell, String> renamedCellsOldName
- Library destinationLibrary
__
+ PasteCommand(Library)
+ PasteCommand(Library, ArrayList<Cell>)
+ void execute()
+ void undo()
}
class MoveCommand implements Command{
- HashMap<Cell, Library> initialPositions
- ArrayList<Cell> deletedCells
- HashMap<Cell, String> renamedCellsOldNames
- Library destinationLibrary
__
+ MoveCommand(ArrayList<Element>, Library)
+ void execute()
+ void undo()
}
class RenameCommand implements Command{
- String oldName
- String newName
__
+ RenameCommand(Element, String)
+ void execute()
+ void undo()
}
class OpenFileCommand implements Command {
- Library openedLibrary
__
+ OpenFileCommand()
+ void execute()
+ void undo()
}
class NameConflictResolver{
- HashMap<Cell, String> renamedCells
- ArrayList<Cell> deletedCells
- ArrayList<Cell> cells
__
+ NameConflictResolver(ArrayList<Cell>)
}
class ConflictData{
- String name
- ResolutionMethod resolutionMethod
__
+ ConflictData(ResolutionMethod, name)
+ getName() : String
+ getResolutionMethod() : ResolutionMethod
}
enum ResolutionMethod{
KEEPLEFT
KEEPRIGHT
RENAMELEFT
RENAMERIGHT
CANCEL
}
ConflictData -- ResolutionMethod
MoveCommand --> NameConflictResolver
PasteCommand --> NameConflictResolver
MergeCommand --> NameConflictResolver
OpenFileCommand -- RemoveCommand
/'class SelectStatCommand implements Command{
__
+ SelectStatCommand(String)
+ void execute()
+ void undo()
}
class SelectDropdownCommand implements Command {
+ SelectDropdownCommand(String)
+ void execute()
+ void undo()
}
class SelectCompareCommand implements Command {
+ SelectCompareCommand(Element)
+ void execute()
+ void undo()
}
'/
}
package parsers {
class LibertyParser {
- {static} final JsonParser PARSER
__
+ LibertyParser()
+ {static} void parseLibrary(String)
+ {static} void parseCell(String)
+ {static} void parsePin(String)
}
}
package compilers {
class CSVCompiler{
__
+ CSVCompiler()
+ {Static} compile(Pin): String
+ {Static} compile(Cell): String
+ {Static} compile(Library): String
}
class LibertyCompiler{
+ LibertyCompiler()
+ {Static} compile(Pin): String
+ {Static} compile(Cell): String
+ {Static} compile(Library): String
}
}
package project {
class Model {
- {static} Model instance = new Model()
- Project currentProject
- Settings currentSettings
- Shortcuts currentShortcuts
__
- Model()
+ {static} Model getInstance()
+ Project getCurrentProject()
+ void loadProject()
+ void saveProject()
+ Settings getCurrentSettings()
+ void saveSettings()
+ void resetSettings()
+ Shortcuts getCurrentShortcuts()
+ void saveShortcuts()
+ void resetShorcuts()
+ notify()
}
interface Updatable {
__
+ void update()
}
class Project {
- ArrayList<Library> libraries
- HashSet<Element> copiedElements
- HashSet<Element> openedInTextElements
- ArrayList<Filter> filters
- ArrayList<Updatable> updatable
__
+ Project()
+ notify()
+ getLibraries() : ArrayList<Library>
+ getCopiedElements(): HashSet<Element>
+ getOpenedInTextElements(): HashSet<Element>
+ getFilters(): ArrayList<Filter>
+ void setLibraries(ArrayList<Library>)
+ void setOpenedInTextElements(HashSet<Element>)
+ void setCopiedElements(HashSet<Element>)
+ void setFilters(ArrayList<Filter>)
+ void removeUpdatable(Updatable updatable)
+ void addUpdatable(Updatable updatable)
+ void saveDefaultFilters()
+ void loadDefaultFilters()
}
class FileManager{
__
+ {static} openFile(): File
+ {static} openFile(String): File
+ {static} void saveFile(String, String[], String)
+ {static} void saveFile(String, String, String, String)
}
class Interpolator{
__
+ Interpolator()
+ {static} float[] interpolate(float[], float[], float[])
+ {static} float[][] bicubicInterpolate(float[], float[], float[][], float[], float[])
}
enum LanguageEnum{
ENGLISH
DEUTSCH
TURK
SHQIP
FRANCAIS
}
enum ColorThemeEnum{
Theme1
Theme2
Theme3
ANDSOON
}
class Settings{
- Language currentLanguage
- ColorTheme colorTheme
- String fontType
- int fontSize
- int barCount
- int undoCount
- boolean editorOpenedFirst
__
+ Settings()
+ void setLanguage(LanguageEnum)
+ void setColorTheme(ColorThemeEnum)
+ void setFontType(String)
+ void setFontSize(int)
+ void setBarCount(int)
+ void setUndoCount(int)
+ void setEditorOpenedFirst(boolean)
+ getLanguage() : LanguageEnum
+ getColorTheme() : ColorThemeEnum
+ getFontType() : String
+ getFontSize() : int
+ getBarCount() : int
+ getUndoCount() : int
+ getEditorOpenedFirst(): boolean
- void notify()
}
LanguageEnum -- Settings
ColorThemeEnum -- Settings
class ColorTheme{
- HashMap<ColorEnum, int> colors
__
+ ColorTheme()
+ getColor(ColorEnum): int[]
}
enum ColorEnum{
System_BG
System_Shade
Hover_Highlight
Text_Default
Liberty_Window_BG
Section
SubSection
Input_Field_BG
Interactable_BG
Scroll_Bar_Handle
Text_Active
Text_Selected
}
ColorEnum -- ColorTheme
class Language{
- HashMap<TextComponent, String> map
__
+ getTextComponent(TextComponent): String
}
enum TextComponent{
PROGRAM_DESCRIPTION
LIBRARY
CELL
PIN
INDEX
FILE
EDIT
INFO
EDITOR
VIEWER
...
ABOUT_TEXT
}
Settings *-- ColorTheme
Settings *-- Language
class Shortcuts{
- HashMap<char, Event> actions
__
+ void setKey(char, Event)
+ void removeKey(char)
+ ArrayList<char> getKeys()
+ Event getAction(char)
}
enum Operation{
LESS
EQUAL
BIGGER
}
enum Mode{
MAX
MIN
AVG
MED
}
class Filter{
- Attribute attribute
- Mode mode
- float value
- Operation operation
- boolean status
__
+ Filter(Attribute, Mode,
float, Operation)
+ void filter()
+ setStatus(boolean)
+ getStatus(): boolean
}
}
Project --> CSVCompiler
Model --> Settings
Model --> Shortcuts
Model --> FileManager
Filter --> FileManager
MergeCommand ..> Library
Project --* Model
TextEditCommand --> LibertyParser
LibertyParser ..> Library
LibertyParser ..> Cell
LibertyParser ..> Pin
/'SelectDropdownCommand --> Attribute
SelectStatCommand --> Attribute '/
OpenFileCommand --> FileManager
OpenFileCommand --> LibertyParser
UndoCommand --> CommandHistory
Filter <-- AddFilterCommand
Filter <-- RemoveFilterCommand
Pin <|-- InputPin
Pin <|-- OutputPin
Operation -- Filter
Mode -- Filter
TimingSense -- Timing
TimingType -- Timing
TimingGroup -- Timing
PowerGroup -- OutputPower
PowerGroup -- InputPower
Library *-- Cell
Cell *-- Pin
Project --> LibertyCompiler
LibertyParser ..> Attribute
Project *-- Updatable
!endsub
/' project -[hidden]> compiler
compiler -[hidden]-> parser
parser -[hidden]> element
project-[hidden]> commands '/
OutputPower -[hidden]> InputPower
InputPower -[hidden]-> PowerGroup
Timing -[hidden]-> TimingType
Timing -[hidden]-> TimingSense
Timing -[hidden]-> TimingGroup
elements -[hidden]> exceptions
InvalidComparisonException -[hidden]-> InvalidFileFormatException
InvalidFileFormatException -[hidden]-> ExceedingFileSizeException
@enduml
|
69418f2ba0bcd8481d3767e7428059f7b5df084f | 0a31283657cdb7a86cfc867574a587cc3b7809e6 | /Structural/Adapter/uml/Adapter.puml | 7ae5152c4a8a012a29471ba08c0b91c298dc7847 | [] | no_license | rcj654020445/moshi | 96e42eff679036227faf9a60d2f5e92cfd05e616 | 71c329483f8270b09e91332cafdfdc0bb5bb8301 | refs/heads/master | 2021-01-19T02:27:12.290525 | 2017-04-28T10:29:50 | 2017-04-28T10:29:50 | 87,278,626 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 441 | puml | @startuml
interface PaperBookInterface{
+ open();
+ turnPage();
}
class EBookAdapter implements PaperBookInterface{
- $ebook;
+ __construct(EbookInterface $ebook)
+ open()
+ turnPage()
}
interface EbookInterface{
+ pressNext();
+ pressStart();
}
class Book implements PaperBookInterface{
+ open()
+ turnPage()
}
class Kindle implements EbookInterface{
+ pressNext()
+ pressStart()
}
@enduml |
a7a362cd10962d912d51d5635c088fea76f4453b | 20478b6c19855983adf0781338d1a30e98101a7b | /diagramas/AbstractFactory.iuml | f2318c98391fd0ab2b2f2edbaf2d2c3468f782e5 | [] | no_license | LEON12699/Patrones_diseno | f9391a3071ae76b6c70de0610c70804e9ab0cbdb | cf0e97ba3f7efe6101dc575b8508faedbf3d75b9 | refs/heads/master | 2023-01-02T13:49:08.209731 | 2020-10-26T03:40:25 | 2020-10-26T03:40:25 | 305,895,825 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 840 | iuml | @startuml AbstractFactory structure
skinparam class {
BackgroundColor lightGreen
BorderColor black
}
interface AbstractProductA
class ProductA1
class ProductA2
interface AbstractProductB
class ProductB1
class ProductB2
interface AbstractFactory{
CreateProductA()
CreateProductB()
}
class ConcreteFactory1{
CreateProductA()
CreateProductB()
}
class ConcreteFactory2{
CreateProductA()
CreateProductB()
}
client -left-> AbstractFactory
AbstractFactory <|.up. ConcreteFactory1
AbstractFactory <|.up. ConcreteFactory2
AbstractProductA <|.. ProductA1
AbstractProductA <|.. ProductA2
AbstractProductB <|.. ProductB1
AbstractProductB <|.. ProductB2
ProductA2 <--- ConcreteFactory2 #line:blue
ProductB2 <--- ConcreteFactory2 #line:blue
ProductA1 <--- ConcreteFactory1
ProductB1 <--- ConcreteFactory1
@enduml |
00e382b2d1da39924a52db330e3ad625c93b9bea | bf63aeb49921e539ab4c224134419da2ce68f091 | /design/dem-loading-class-diagram.puml | 1e4b93d8d8717341b8e6fbea08378c66aeb961d8 | [
"Apache-2.0"
] | permissive | sesteves/rugged-main | e67a75ebd17c72a6a1773ed633425eb97a8c6f94 | d5076af559d7c49a9f69eaa3ed7ba4f161a48a62 | refs/heads/master | 2020-04-06T06:58:09.162911 | 2016-08-30T22:30:57 | 2016-08-30T22:30:57 | 60,627,263 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,527 | puml | ' Copyright 2013-2015 CS Systèmes d'Information
' Licensed to CS Systèmes d'Information (CS) under one or more
' contributor license agreements. See the NOTICE file distributed with
' this work for additional information regarding copyright ownership.
' CS licenses this file to You under the Apache License, Version 2.0
' (the "License"); you may not use this file except in compliance with
' the License. You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
' Unless required by applicable law or agreed to in writing, software
' distributed under the License is distributed on an "AS IS" BASIS,
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' See the License for the specific language governing permissions and
' limitations under the License.
@startuml
skinparam svek true
skinparam ClassBackgroundColor #F3EFEB/CCC9C5
skinparam ClassArrowColor #691616
skinparam ClassBorderColor #691616
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #691616
skinparam NoteFontColor #691616
skinparam ClassFontSize 11
package org.orekit.rugged #ECEBD8 {
package raster #DDEBD8 {
interface UpdatableTile {
+setGeometry(φ₀, λ₀, δφ, δλ, rows, columns)
+setElevation(i, j, h)
}
interface TileUpdater {
+updateTile(φ, λ, UpdatableTile)
}
TileUpdater --> UpdatableTile : updates
interface "TileFactory<T extends Tile>" as TileFactory_T_ {
+T createTile()
}
class "TilesCache<T extends Tile>" as TilesCache_T_ {
+ T getTile(φ, λ)
}
interface Tile {
+ double interpolateElevation(φ, λ)
}
UpdatableTile <|.. Tile
Tile <|-- SimpleTile
TilesCache_T_ "1" o--> "*" Tile
TilesCache_T_ "1" o--> "1" TileUpdater : triggers
TilesCache_T_ "1" o--> "1" TileFactory_T_ : triggers
}
package intersection.duvenhage #DDEBD8 {
TileFactory_T_ <|-- MinMaxTreeTileFactory
SimpleTile <|-- MinMaxTreeTile
MinMaxTreeTileFactory -left-> MinMaxTreeTile : creates
note left
tile extended with Duvenhage
specific min/max kd-tree
end note
}
}
package mission.specific #C4D2C5 {
class MissionSpecificDEM #D5E0D5/E2EBE2
TileUpdater <|-- MissionSpecificDEM
note top #E2EBE2
user provides DEM loading
by implementing TileUpdater
end note
}
@enduml
|
49b437de9b5e441b545465320d592708f64a1dc9 | 5be108bd1422aa39ab922d0522f9111b18f43ac0 | /app/src/main/java/com/architectica/socialcomponents/model/model.plantuml | 684efb78e2e2362c2f0d7f566a2713f3c4c66424 | [
"Apache-2.0"
] | permissive | AryaAshish/ryft | 851ad5eecf5aa036d264b3b7aa4cf5312bc72b5d | f418206e2f19891b0caea2c65573ba9423af7afb | refs/heads/master | 2021-01-26T06:09:56.560944 | 2020-12-02T08:37:02 | 2020-12-02T08:37:02 | 243,340,976 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,749 | plantuml | @startuml
title __MODEL's Class Diagram__\n
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Article {
- author : String
- description : String
- publishedAt : String
- title : String
- url : String
- urlToImage : String
+ getAuthor()
+ getDescription()
+ getPublishedAt()
+ getSource()
+ getTitle()
+ getUrl()
+ getUrlToImage()
+ setAuthor()
+ setDescription()
+ setPublishedAt()
+ setSource()
+ setTitle()
+ setUrl()
+ setUrlToImage()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Comment {
- authorId : String
- createdDate : long
- id : String
- text : String
+ Comment()
+ Comment()
+ getAuthorId()
+ getCreatedDate()
+ getId()
+ getText()
+ setAuthorId()
+ setCreatedDate()
+ setId()
+ setText()
+ toMap()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Follower {
- createdDate : long
- profileId : String
+ Follower()
+ Follower()
+ getCreatedDate()
+ getProfileId()
+ setCreatedDate()
+ setProfileId()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Following {
- createdDate : long
- profileId : String
+ Following()
+ Following()
+ getCreatedDate()
+ getProfileId()
+ setCreatedDate()
+ setProfileId()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.FollowingPost {
- postId : String
+ FollowingPost()
+ getPostId()
+ setPostId()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
interface com.architectica.socialcomponents.model.LazyLoading {
{abstract} + getItemType()
{abstract} + setItemType()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Like {
- authorId : String
- createdDate : long
- id : String
+ Like()
+ Like()
+ getCreatedDate()
+ getId()
+ setId()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.ProjectMessages {
- from : String
- message : String
- type : String
+ Messages()
+ Messages()
+ Messages()
+ getFrom()
+ getMessage()
+ getType()
+ setFrom()
+ setMessage()
+ setType()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.News {
- article : List<Article>
- status : String
- totalResult : int
+ getArticle()
+ getStatus()
+ getTotalResult()
+ setArticle()
+ setStatus()
+ setTotalResult()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Post {
- authorId : String
- commentsCount : long
- createdDate : long
- description : String
- hasComplain : boolean
- id : String
- imagePath : String
- imageTitle : String
- likesCount : long
- title : String
- watchersCount : long
+ Post()
+ Post()
+ getAuthorId()
+ getCommentsCount()
+ getCreatedDate()
+ getDescription()
+ getId()
+ getImageTitle()
+ getItemType()
+ getLikesCount()
+ getTitle()
+ getWatchersCount()
+ isHasComplain()
+ setAuthorId()
+ setCommentsCount()
+ setCreatedDate()
+ setDescription()
+ setHasComplain()
+ setId()
+ setImageTitle()
+ setItemType()
+ setLikesCount()
+ setTitle()
+ setWatchersCount()
+ toMap()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.PostListResult {
~ isMoreDataAvailable : boolean
~ lastItemCreatedDate : long
~ posts : List<Post>
+ getLastItemCreatedDate()
+ getPosts()
+ isMoreDataAvailable()
+ setLastItemCreatedDate()
+ setMoreDataAvailable()
+ setPosts()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Profile {
- email : String
- id : String
- likesCount : long
- phoneNumber : String
- photoUrl : String
- registrationToken : String
- skill : String
- status : String
- userbio : String
- username : String
- usertype : String
- useruri : String
+ Profile()
+ Profile()
+ Profile()
+ getEmail()
+ getId()
+ getItemType()
+ getLikesCount()
+ getPhoneNumber()
+ getPhotoUrl()
+ getRegistrationToken()
+ getSkill()
+ getStatus()
+ getUserbio()
+ getUsername()
+ getUsertype()
+ getUseruri()
+ setEmail()
+ setId()
+ setItemType()
+ setLikesCount()
+ setPhoneNumber()
+ setPhotoUrl()
+ setRegistrationToken()
+ setSkill()
+ setStatus()
+ setUserbio()
+ setUsername()
+ setUsertype()
+ setUseruri()
}
}
}
namespace com.architectica.socialcomponents {
namespace model {
class com.architectica.socialcomponents.model.Source {
- id : String
- name : String
+ getId()
+ getName()
+ setId()
+ setName()
}
}
}
com.architectica.socialcomponents.model.Article o-- com.architectica.socialcomponents.model.Source : source
com.architectica.socialcomponents.model.Post .up.|> com.architectica.socialcomponents.model.LazyLoading
com.architectica.socialcomponents.model.Post .up.|> java.io.Serializable
com.architectica.socialcomponents.model.Post o-- com.architectica.socialcomponents.enums.ItemType : itemType
com.architectica.socialcomponents.model.Profile .up.|> com.architectica.socialcomponents.model.LazyLoading
com.architectica.socialcomponents.model.Profile .up.|> java.io.Serializable
com.architectica.socialcomponents.model.Profile o-- com.architectica.socialcomponents.enums.ItemType : itemType
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
|
313ec95c0b273a134e31fb95a715ba5973db0658 | 9d6de05cee68ea1f34432e8063eaefe74c66dc1b | /docs/c4-application.puml | 835217f3caae1c15c009f67076d8bb7391b30a3d | [] | no_license | mettyoung/automated-valet-car-parking-system | 5d44d0209dc6161c259967bb2ab1b9456c43dfd5 | a675f4477b5eeb946ba4cc4f4117c1759459def3 | refs/heads/master | 2023-04-11T09:07:56.708421 | 2021-04-23T16:10:55 | 2021-04-23T16:10:55 | 360,509,718 | 3 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 509 | puml | @startuml
class EnterVehicleCommand {
+ constructor(ParkingSpace parkingSpace, Vehicle vehicle, Timestamp timestamp)
+ setOnSuccessHandler(Consumer<ParkingReservation> callback)
+ setOnFailureHandler(Consumer<Vehicle> callback)
+ execute()
}
class ExitVehicleCommand {
+ constructor(ParkingSpace parkingSpace, Vehicle vehicle, Timestamp timestamp)
+ setOnSuccessHandler(Consumer<ParkingReceipt> callback)
+ setOnFailureHandler(Consumer<Vehicle> callback)
+ execute()
}
@enduml |
ae717f40ed3fe8d821c5c8a90882ed1a096f24a1 | 58f5766244826918a3cf79312f861f76c5aa6f7d | /Documents/uml/Models/CsvEditSharpConfigurationHost.puml | b790cd387b19322d1d76aa72cfae99ae065a177c | [
"MIT"
] | permissive | BillKrat/CsvEditSharp | 3835aa9d7955a33830be47b044d3c05763c68dff | a91334a8aa1b08c4f7fe38116892b088e92d4da4 | refs/heads/master | 2022-01-28T15:31:06.719793 | 2019-07-28T11:39:25 | 2019-07-28T11:39:25 | 198,216,226 | 0 | 1 | MIT | 2019-07-22T12:10:45 | 2019-07-22T12:10:44 | null | UTF-8 | PlantUML | false | false | 1,335 | puml | @startuml
class CsvEditSharpConfigurationHost {
+ Records : IEnumerable<object> <<get>>
+ ClassMapForReading : CsvClassMap <<get>>
+ ClassMapForWriting : CsvClassMap <<get>>
+ Encoding : Encoding <<get>> <<set>>
+ ColumnValidations : IDictionary<string, ColumnValidation> <<get>>
+ CsvEditSharpConfigurationHost()
+ RegisterClassMap() : void
+ RegisterClassMap(propertyMapSetter:Action<CsvClassMap<T>>) : void
+ RegisterClassMap(propertyMapSetter:Action<CsvClassMap<T>>, target:RegisterClassMapTarget) : void
+ SetConfiguration(configurationSetter:Action<CsvConfiguration>) : void
+ Query(query:Func<IEnumerable<T>, IEnumerable<T>>) : void
+ Query(query:Action<IEnumerable<T>>) : void
+ ExecuteQuery() : void
+ ResetQuery() : void
+ Read(baseReader:TextReader) : void
+ Write(baseWriter:TextWriter, records:IEnumerable) : void
+ Reset() : void
+ AddValidation(memberSelector:Expression<Func<TType, TMember>>, validation:Func<TMember, bool>, errorMessage:string) : void
}
class "AnonimousCsvClassMap`1"<T> {
+ AnonimousCsvClassMap(propertyMapSetter:Action<CsvClassMap<T>>)
}
"CsvClassMap`1" "<T>" <|-- "AnonimousCsvClassMap`1"
CsvEditSharpConfigurationHost +-- "AnonimousCsvClassMap`1"
ICsvEditSharpConfigurationHost <|-- CsvEditSharpConfigurationHost
@enduml
|
2bd8dad98575083e43c88bb52b84411514557884 | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/volumediscount@0.0.6.puml | 2afce0e19a53d0ab15ac277191e69b774d187e99 | [
"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 | 624 | puml | @startuml
class org.accordproject.volumediscount.TemplateModel {
+ Double firstVolume
+ Double secondVolume
+ Double firstRate
+ Double secondRate
+ Double thirdRate
}
class org.accordproject.volumediscount.VolumeDiscountRequest << (T,yellow) >> {
+ Double netAnnualChargeVolume
}
org.accordproject.volumediscount.VolumeDiscountRequest --|> org.hyperledger.composer.system.Transaction
class org.accordproject.volumediscount.VolumeDiscountResponse << (T,yellow) >> {
+ Double discountRate
}
org.accordproject.volumediscount.VolumeDiscountResponse --|> org.hyperledger.composer.system.Transaction
@enduml
|
7028fc2f96890d30a0c71debd819043c02839fe3 | bc6c6d669b8ad8515be5b5af56400135194e2be6 | /src/com/ivivisoft/state/example/type1/VoteUML.puml | 94e9eeda5680527135ea5f18e37804a85b5c374e | [] | no_license | ivivisoft/designpattern | 50e5079ef50d18ae779092bdf190669201809ddf | c1bff1cd8d79a5d78ab37b679bbd65d0d70d6796 | refs/heads/master | 2021-01-20T15:04:27.232211 | 2017-05-14T10:50:05 | 2017-05-14T10:50:05 | 90,717,041 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 766 | puml | @startuml
VoteManager o--> VoteState
VoteState <|.. NormalVoteState
VoteState <|.. RepeatVoteState
VoteState <|.. SpiteVoteState
VoteState <|.. BlackVoteState
class VoteManager{
- VoteState state
- Map<String,Integer> mapVoteCount
- Map<String,String> mapVote
+ void vote(String user,String voteItem)
}
interface VoteState{
+ void vote(String user,String voteItem,VoteManager voteManager)
}
class NormalVoteState{
+ void vote(String user,String voteItem,VoteManager voteManager)
}
class RepeatVoteState{
+ void vote(String user,String voteItem,VoteManager voteManager)
}
class SpiteVoteState{
+ void vote(String user,String voteItem,VoteManager voteManager)
}
class BlackVoteState{
+ void vote(String user,String voteItem,VoteManager voteManager)
}
@enduml |
2146d1781dc71a8c7c8a94f34b11b13d6b591fe8 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/TestRunner/RemoteHelpers/RemoteTestResultDataFactory.puml | 531caa32c570e90b84e7c7e53bc25ed1857aa45f | [] | 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 | 268 | puml | @startuml
class RemoteTestResultDataFactory {
+ CreateFromTestResult(result:ITestResult) : RemoteTestResultDataWithTestData
+ CreateFromTest(test:ITest) : RemoteTestResultDataWithTestData
}
IRemoteTestResultDataFactory <|-- RemoteTestResultDataFactory
@enduml
|
4ec840c07bc34c84f88e4e17a5a1c9de0c34aba7 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/InventoryEntrySetRestockableInDaysAction.puml | ad2c45aea1463f06390d78f02ba85dd8706148b1 | [] | 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 | 504 | 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 InventoryEntrySetRestockableInDaysAction [[InventoryEntrySetRestockableInDaysAction.svg]] extends InventoryEntryUpdateAction {
action: String
restockableInDays: Long
}
interface InventoryEntryUpdateAction [[InventoryEntryUpdateAction.svg]] {
action: String
}
@enduml
|
9885734889f321bb7a3c73ee01c9de93a2d3d2e1 | 1fef2f0f0ad13aebb3d3f732d0cae8867ee8e87c | /plantuml/Microwave.Test.Unit/TimerTest.puml | 09d395c362b7539751724493e56b6633ff11323e | [] | 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 | 522 | puml | @startuml
class TimerTest {
+ Setup() : void
+ Start_TimerTick_ShortEnough() : void
+ Start_TimerTick_LongEnough() : void
+ Start_TimerExpires_ShortEnough() : void
+ Start_TimerExpires_LongEnough() : void
+ Start_TimerTick_CorrectNumber() : void
+ Stop_NotStarted_NoThrow() : void
+ Stop_Started_NoTickTriggered() : void
+ Stop_Started_NoExpiredTriggered() : void
+ Stop_StartedOneTick_NoExpiredTriggered() : void
+ Tick_Started_TimeRemainingCorrect(ticks:int) : void
}
@enduml
|
f443ed27160373f2fd656b8e7a8319ee3b1a859c | 739e581f8c2ff75e429a5c3d4e71bd0c973dabc2 | /TO1410/out/production/TO1410/Moms/MomsUML.puml | 9c86103762da0aa0b109eeee04b00184b1d5af76 | [] | no_license | ClaesHeise/Tasks_Datamatiker | 6118b0a84e4dbda4635c5af572ddb52f94483210 | 7bb113b864824da8325356aff818c747bfa09eb9 | refs/heads/main | 2023-08-24T03:36:35.513807 | 2021-10-27T15:12:46 | 2021-10-27T15:12:46 | 404,719,491 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 464 | puml | @startuml
class Main{
+ Controller controller
}
class Controller{
- View view
- CalculateVat vat
- Dialog dialog
+ void runController()
}
class View{
- String MSG
- String CURRENCY
+ void doView(double moms)
}
class CalculateVat{
- int PRCVAT
+ double getVat(double userMoney)
}
class Dialog{
+ double getDiag()
}
Main <-- Controller
Controller <-- View
Controller <-- CalculateVat
Controller <-- Dialog
@enduml |
1c157aafa737e8eea7c6460c917b9abc1e0c035f | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/QuoteRequestCustomerChangedMessage.puml | 6f646f75cf8e0faca12fa837f7ca930b00c279a2 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 1,273 | 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 QuoteRequestCustomerChangedMessage [[QuoteRequestCustomerChangedMessage.svg]] extends Message {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
sequenceNumber: Long
resource: [[Reference.svg Reference]]
resourceVersion: Long
type: String
resourceUserProvidedIdentifiers: [[UserProvidedIdentifiers.svg UserProvidedIdentifiers]]
customer: [[CustomerReference.svg CustomerReference]]
previousCustomer: [[CustomerReference.svg CustomerReference]]
}
interface Message [[Message.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
sequenceNumber: Long
resource: [[Reference.svg Reference]]
resourceVersion: Long
type: String
resourceUserProvidedIdentifiers: [[UserProvidedIdentifiers.svg UserProvidedIdentifiers]]
}
@enduml
|
2ff43ac4293ea04f7f75e29ba87c8188862b2d55 | 2d45156fa4b19b6daebb3edb38bf0d920dd872ba | /out/production/Ex0/ex0/diagram.puml | fd85f482c5ee60628652a41ae7800a238583c3f7 | [] | no_license | AlonBarak-dev/Elevator-algorithms | 9ac8de747cd85900f34d8d95134009d988abc906 | a3653b91825ac1879baaa0768d6647227d932877 | refs/heads/main | 2023-08-30T13:42:03.831675 | 2021-10-28T23:22:15 | 2021-10-28T23:22:15 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,251 | puml | @startuml
'https://plantuml.com/class-diagram
class MyAlgo{
-Building b
-LinkedList<NodeD>[] callList
+Building getBuilding()
+String getAlgo()
+int allocateAnElevator()
+void cmdElevator()
-double calcTime()
-double addCall()
}
class NodeD{
-int floor
-CallForElevator c
}
interface ElevatorAlgo{
+Building getBuilding()
+String getAlgo()
+int allocateAnElevator()
+void cmdElevator()
}
interface Elevator{
+{static}int Up
+{static}int Down
+{static}int Level
+{static}int Error
+int getMinFloor()
+int getMaxFloor()
+double getTimeForOpen()
+double getTimeForClose()
+int getState()
+int getPos()
+boolean goTo(int floor)
+boolean stop(int floor)
+double getSpeed()
+double getStartTime()
+double getStopTime()
+int getID()
}
interface CallForElevator{
+{static}INIT
+{static}GOING2SRC
+{static}GOING2DEST
+{static}DONE
+{static}UP
+{static}DOWN
+int getState()
+double getTime(int state)
+int getSrc()
+int getDest()
+int getType()
+int allocatedTo()
}
interface Building{
+String getBuildingName()
+int minFloor()
+int maxFloor()
+int numberOfElevators()
+Elevator getElevator(int i)
}
MyAlgo <|-- ElevatorAlgo
MyAlgo <|-- Building
MyAlgo <|-- Elevator
MyAlgo <|-- CallForElevator
MyAlgo <|- NodeD
@enduml |
a082afd012e414495ea33101c5b3e74e91fae67a | db15a4762717f1c25f1b86534b29a4bfd3bc21b5 | /out/production/Laboration1/main/main.plantuml | 6e25ea5adc729fd374ea081ff22417d661bb9255 | [] | no_license | AdamRohdell/Laboration1 | 3f8a1c9022f29ad63d1c356b23a27c9866b3f808 | b4098b8d2be81b4dea9f9df3597653421bec0a10 | refs/heads/master | 2020-04-06T22:40:21.458338 | 2018-12-11T08:34:43 | 2018-12-11T08:34:43 | 157,843,265 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 13,365 | plantuml | @startuml
title __MAIN's Class Diagram__\n
package main {
abstract class Direction {
# angle : int
+ Direction()
{abstract} + getAngle()
+ setAngle()
+ addAngle()
{abstract} + move()
{abstract} + turnLeft()
{abstract} + turnRight()
}
}
package main {
class Flatbed {
- currentAngle : int
- minAngle : int
- maxAngle : int
+ Flatbed()
+ getCurrentAngle()
+ setCurrentAngle()
class DrawPanel {
~ cars : ArrayList<Car>
{static} - detectedOS : OSType
+ DrawPanel()
# paintComponent()
+ getImage()
- getOperatingSystemType()
}
}
package main {
enum OSType {
Windows
MacOS
Linux
}
}
class AccessibleJPanel {
# AccessibleJPanel()
+ getAccessibleRole()
}
class AccessibleFocusHandler {
# AccessibleFocusHandler()
+ focusGained()
+ focusLost()
}
class AccessibleContainerHandler {
# AccessibleContainerHandler()
+ componentAdded()
+ componentRemoved()
}
class AccessibleContainerHandler {
# AccessibleContainerHandler()
+ componentAdded()
+ componentRemoved()
}
class AccessibleAWTFocusHandler {
# AccessibleAWTFocusHandler()
+ focusGained()
+ focusLost()
}
class AccessibleAWTComponentHandler {
# AccessibleAWTComponentHandler()
+ componentHidden()
+ componentShown()
+ componentMoved()
+ componentResized()
}
class ReadObjectCallback {
- roots : Vector<JComponent>
- inputStream : ObjectInputStream
~ ReadObjectCallback()
+ validateObject()
- registerComponent()
}
abstract class AccessibleJComponent {
- propertyListenersCount : int
# accessibleFocusHandler : FocusListener
# AccessibleJComponent()
+ addPropertyChangeListener()
+ removePropertyChangeListener()
# getBorderTitle()
+ getAccessibleName()
+ getAccessibleDescription()
+ getAccessibleRole()
+ getAccessibleStateSet()
+ getAccessibleChildrenCount()
+ getAccessibleChild()
~ getAccessibleExtendedComponent()
+ getToolTipText()
+ getTitledBorderText()
+ getAccessibleKeyBinding()
}
class AccessibleFocusHandler {
# AccessibleFocusHandler()
+ focusGained()
+ focusLost()
}
class AccessibleContainerHandler {
# AccessibleContainerHandler()
+ componentAdded()
+ componentRemoved()
}
class AccessibleContainerHandler {
# AccessibleContainerHandler()
+ componentAdded()
+ componentRemoved()
}
class AccessibleAWTFocusHandler {
# AccessibleAWTFocusHandler()
+ focusGained()
+ focusLost()
}
class AccessibleAWTComponentHandler {
# AccessibleAWTComponentHandler()
+ componentHidden()
+ componentShown()
+ componentMoved()
+ componentResized()
}
class KeyboardState {
{static} - keyCodesKey : Object
~ KeyboardState()
{static} ~ getKeyCodeArray()
{static} ~ registerKeyPressed()
{static} ~ registerKeyReleased()
{static} ~ keyIsPressed()
{static} ~ shouldProcess()
}
class IntVector {
~ array : int[]
~ count : int
~ capacity : int
~ IntVector()
~ size()
~ elementAt()
~ addElement()
~ setElementAt()
}
class ActionStandin {
- actionListener : ActionListener
- command : String
- action : Action
~ ActionStandin()
+ getValue()
+ isEnabled()
+ actionPerformed()
+ putValue()
+ setEnabled()
+ addPropertyChangeListener()
+ removePropertyChangeListener()
}
class AccessibleAWTContainer {
{static} - serialVersionUID : long
- propertyListenersCount : int
# accessibleContainerHandler : ContainerListener
# AccessibleAWTContainer()
+ getAccessibleChildrenCount()
+ getAccessibleChild()
+ getAccessibleAt()
+ addPropertyChangeListener()
+ removePropertyChangeListener()
}
class AccessibleContainerHandler {
# AccessibleContainerHandler()
+ componentAdded()
+ componentRemoved()
}
class AccessibleAWTFocusHandler {
# AccessibleAWTFocusHandler()
+ focusGained()
+ focusLost()
}
class AccessibleAWTComponentHandler {
# AccessibleAWTComponentHandler()
+ componentHidden()
+ componentShown()
+ componentMoved()
+ componentResized()
}
class WakingRunnable {
~ WakingRunnable()
+ run()
}
class DropTargetEventTargetFilter {
{static} ~ FILTER : EventTargetFilter
- DropTargetEventTargetFilter()
+ accept()
}
class MouseEventTargetFilter {
{static} ~ FILTER : EventTargetFilter
- MouseEventTargetFilter()
+ accept()
}
interface EventTargetFilter {
{abstract} + accept()
}
abstract class AccessibleAWTComponent {
{static} - serialVersionUID : long
- propertyListenersCount : int
# accessibleAWTComponentHandler : ComponentListener
# accessibleAWTFocusHandler : FocusListener
# AccessibleAWTComponent()
+ addPropertyChangeListener()
+ removePropertyChangeListener()
+ getAccessibleName()
+ getAccessibleDescription()
+ getAccessibleRole()
+ getAccessibleStateSet()
+ getAccessibleParent()
+ getAccessibleIndexInParent()
+ getAccessibleChildrenCount()
+ getAccessibleChild()
+ getLocale()
+ getAccessibleComponent()
+ getBackground()
+ setBackground()
+ getForeground()
+ setForeground()
+ getCursor()
+ setCursor()
+ getFont()
+ setFont()
+ getFontMetrics()
+ isEnabled()
+ setEnabled()
+ isVisible()
+ setVisible()
+ isShowing()
+ contains()
+ getLocationOnScreen()
+ getLocation()
+ setLocation()
+ getBounds()
+ setBounds()
+ getSize()
+ setSize()
+ getAccessibleAt()
+ isFocusTraversable()
+ requestFocus()
+ addFocusListener()
+ removeFocusListener()
}
class AccessibleAWTFocusHandler {
# AccessibleAWTFocusHandler()
+ focusGained()
+ focusLost()
}
class AccessibleAWTComponentHandler {
# AccessibleAWTComponentHandler()
+ componentHidden()
+ componentShown()
+ componentMoved()
+ componentResized()
}
class DummyRequestFocusController {
- DummyRequestFocusController()
+ acceptRequestFocus()
}
class SingleBufferStrategy {
- caps : BufferCapabilities
+ SingleBufferStrategy()
+ getCapabilities()
+ getDrawGraphics()
+ contentsLost()
+ contentsRestored()
+ show()
}
class BltSubRegionBufferStrategy {
# BltSubRegionBufferStrategy()
+ show()
+ showIfNotLost()
}
class FlipSubRegionBufferStrategy {
# FlipSubRegionBufferStrategy()
+ show()
+ showIfNotLost()
}
class BltBufferStrategy {
# caps : BufferCapabilities
# backBuffers : VolatileImage[]
# validatedContents : boolean
# width : int
# height : int
- insets : Insets
# BltBufferStrategy()
+ dispose()
# createBackBuffers()
+ getCapabilities()
+ getDrawGraphics()
~ getBackBuffer()
+ show()
~ showSubRegion()
# revalidate()
~ revalidate()
+ contentsLost()
+ contentsRestored()
}
class FlipBufferStrategy {
# numBuffers : int
# caps : BufferCapabilities
# drawBuffer : Image
# drawVBuffer : VolatileImage
# validatedContents : boolean
~ width : int
~ height : int
# FlipBufferStrategy()
# createBuffers()
- updateInternalBuffers()
# getBackBuffer()
# flip()
~ flipSubRegion()
# destroyBuffers()
+ getCapabilities()
+ getDrawGraphics()
# revalidate()
~ revalidate()
+ contentsLost()
+ contentsRestored()
+ show()
~ showSubRegion()
+ dispose()
}
class ProxyCapabilities {
- orig : BufferCapabilities
- ProxyCapabilities()
}
enum VSyncType {
VSYNC_DEFAULT
VSYNC_ON
VSYNC_OFF
id
}
class FlipContents {
{static} - I_UNDEFINED : int
{static} - I_BACKGROUND : int
{static} - I_PRIOR : int
{static} - I_COPIED : int
{static} - NAMES : String[]
{static} + UNDEFINED : FlipContents
{static} + BACKGROUND : FlipContents
{static} + PRIOR : FlipContents
{static} + COPIED : FlipContents
- FlipContents()
}
enum BaselineResizeBehavior {
CONSTANT_ASCENT
CONSTANT_DESCENT
CENTER_OFFSET
OTHER
}
class AWTTreeLock {
~ AWTTreeLock()
}
package main {
interface IMoveable {
{abstract} + move()
{abstract} + turnLeft()
{abstract} + turnRight()
}
}
package main {
class Perpendicular {
+ Perpendicular()
+ getAngle()
+ addAngle()
+ move()
+ turnLeft()
+ turnRight()
}
}
DrawPanel -up-|> JPanel
DrawPanel +-down- OSType
DrawPanel +-down- AccessibleJPanel
DrawPanel +-down- ReadObjectCallback
DrawPanel +-down- AccessibleJComponent
DrawPanel +-down- KeyboardState
DrawPanel +-down- IntVector
DrawPanel +-down- ActionStandin
DrawPanel +-down- AccessibleAWTContainer
DrawPanel +-down- WakingRunnable
DrawPanel +-down- DropTargetEventTargetFilter
DrawPanel +-down- MouseEventTargetFilter
DrawPanel +-down- EventTargetFilter
DrawPanel +-down- AccessibleAWTComponent
DrawPanel +-down- DummyRequestFocusController
DrawPanel +-down- SingleBufferStrategy
DrawPanel +-down- BltSubRegionBufferStrategy
DrawPanel +-down- FlipSubRegionBufferStrategy
DrawPanel +-down- BltBufferStrategy
DrawPanel +-down- FlipBufferStrategy
DrawPanel +-down- ProxyCapabilities
DrawPanel +-down- BaselineResizeBehavior
DrawPanel +-down- AWTTreeLock
AccessibleJPanel -up-|> AccessibleJComponent
AccessibleJPanel +-down- AccessibleFocusHandler
AccessibleJPanel +-down- AccessibleContainerHandler
AccessibleJPanel +-down- AccessibleContainerHandler
AccessibleJPanel +-down- AccessibleAWTFocusHandler
AccessibleJPanel +-down- AccessibleAWTComponentHandler
AccessibleFocusHandler -up-|> FocusListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
ReadObjectCallback -up-|> ObjectInputValidation
AccessibleJComponent -up-|> AccessibleExtendedComponent
AccessibleJComponent -up-|> AccessibleAWTContainer
AccessibleJComponent +-down- AccessibleFocusHandler
AccessibleJComponent +-down- AccessibleContainerHandler
AccessibleJComponent +-down- AccessibleContainerHandler
AccessibleJComponent +-down- AccessibleAWTFocusHandler
AccessibleJComponent +-down- AccessibleAWTComponentHandler
AccessibleFocusHandler -up-|> FocusListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
KeyboardState -up-|> Serializable
ActionStandin -up-|> Action
AccessibleAWTContainer -up-|> AccessibleAWTComponent
AccessibleAWTContainer +-down- AccessibleContainerHandler
AccessibleAWTContainer +-down- AccessibleAWTFocusHandler
AccessibleAWTContainer +-down- AccessibleAWTComponentHandler
AccessibleContainerHandler -up-|> ContainerListener
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
WakingRunnable -up-|> Runnable
DropTargetEventTargetFilter -up-|> EventTargetFilter
MouseEventTargetFilter -up-|> EventTargetFilter
AccessibleAWTComponent -up-|> Serializable
AccessibleAWTComponent -up-|> AccessibleComponent
AccessibleAWTComponent -up-|> AccessibleContext
AccessibleAWTComponent +-down- AccessibleAWTFocusHandler
AccessibleAWTComponent +-down- AccessibleAWTComponentHandler
AccessibleAWTFocusHandler -up-|> FocusListener
AccessibleAWTComponentHandler -up-|> ComponentListener
DummyRequestFocusController -up-|> RequestFocusController
SingleBufferStrategy -up-|> BufferStrategy
BltSubRegionBufferStrategy -up-|> SubRegionShowable
BltSubRegionBufferStrategy -up-|> BltBufferStrategy
FlipSubRegionBufferStrategy -up-|> SubRegionShowable
FlipSubRegionBufferStrategy -up-|> FlipBufferStrategy
BltBufferStrategy -up-|> BufferStrategy
FlipBufferStrategy -up-|> BufferStrategy
ProxyCapabilities -up-|> ExtendedBufferCapabilities
ProxyCapabilities +-down- VSyncType
ProxyCapabilities +-down- FlipContents
FlipContents -up-|> AttributeValue
Perpendicular -up-|> Direction
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
|
2c6a3051bc2ad2fc57cbfaddf2dd7acc20a4a594 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/MyCartSetShippingMethodAction.puml | 515862874038655ca261f206a89254cf2663399a | [] | 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 | 595 | 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 MyCartSetShippingMethodAction [[MyCartSetShippingMethodAction.svg]] extends MyCartUpdateAction {
action: String
shippingMethod: [[ShippingMethodResourceIdentifier.svg ShippingMethodResourceIdentifier]]
externalTaxRate: [[ExternalTaxRateDraft.svg ExternalTaxRateDraft]]
}
interface MyCartUpdateAction [[MyCartUpdateAction.svg]] {
action: String
}
@enduml
|
841f9e7b87e071a00da69f434ee1f8edbee9836a | 1aa19dd5db8310c5d91a39663a8bfb7716cbdda5 | /red-strike-conceptual.puml | 7ec7071bc4baa22876c8ea36f34e67043434afe7 | [] | no_license | kirillvasilenko/otus-mssql | f8a5f613524b54e33965ae75299bead9a9681ed4 | 175e6bd4ad9d1205c78c735ee545b83e45377d97 | refs/heads/master | 2022-07-23T05:04:32.640082 | 2019-07-11T12:45:39 | 2019-07-11T12:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,075 | puml | @startuml
title Red strike
class Worker{
FullName
Birthdate
EmailAddress
PhoneNumber
}
class Company{
Name
}
class Address{
AddressLine1
AddressLine2
PostCode
City
Street
Building
Flat
}
class Country{
Name
}
class City{
Name
}
class TradeUnion{
Name
FoundationDate
ReadinessToStrike: ReadinessToStrikeTypes
}
class Strike{
Theme
DateFrom
DateTo
}
class WorkerInTradeUnion{
Role
}
class Employment{
Post
}
class CompanyHasAddress{
CompanyAddressType
}
class TradeUnionOnStrike{
DateFrom
DateTo
}
Worker }o-r-o{ Company : works for
(Worker, Company) .. Employment
Worker }o-d-o{ TradeUnion: takes part in
(Worker, TradeUnion) .. WorkerInTradeUnion
Company |o-r-o{ Address: has
(Company, Address) .. CompanyHasAddress
Country |o-l-o{ Address
City |o-u-o{ Address
Country ||-d-o{ City
TradeUnion }o-r-o{ Strike: takes part in
(TradeUnion, Strike) .. TradeUnionOnStrike
TradeUnionOnStrike |o-u-o{ Address: takes place in
hide methods
hide circle
@enduml |
b9c40144bf3376f66c47effe7cd1d273b0b58ff0 | 500453c913537f185bc9df842d24cebb4df0c568 | /gen-form/doc/controls.puml | 97b7f0c37aa1c462d4e3e412082a3f504b7c472f | [
"MIT"
] | permissive | guedel/phptools | f7ef8c8787f7c34db96df42e4ed47fe99c0c1d23 | 65669ddaee9123cd0b8788ea3b312cdc849d4d87 | refs/heads/master | 2021-09-08T14:52:12.622087 | 2021-09-01T19:54:12 | 2021-09-01T19:55:28 | 32,796,831 | 0 | 0 | MIT | 2021-09-01T19:57:00 | 2015-03-24T12:23:18 | PHP | UTF-8 | PlantUML | false | false | 3,069 | puml | @startuml
namespace controls {
enum DataType {
dtMixed
dtInteger
dtFloat
dtString
dtEnum
dtObject
}
class Option {
+ string name
+ string label
+ DataType type
+ string extra
+ bool required
+ mixed default
+ mixed value
+ <<create>> Option(string name, string label, bool required = false, DataType type = dtString, mixed extra = null, mixed default = null)
}
note bottom: Determine un parametre d un controle
OptionCollection *--> "0..*" Option
class OptionCollection {
+ <<create>> OptionCollection()
+ integer getCount()
+ Option getOption(string name)
+ Option addOption(name, label, type, required, default)
+ Option addEnumOption(string name, string label, mixed enumeration, bool required, mixed default)
+ addOption(Option option)
}
Widget ...> OptionCollection : use
abstract class Widget {
~ OptionCollection options
+ mixed id
+ <<create>> Widget()
~ {abstract} initOptionList()
}
WidgetCollection o--> "0..*" Widget
class WidgetCollection {
+ integer getCount()
+ mixed addWidget(Widget widget, mixed index = null)
+ removeWidget(mixed index)
+ getWidget(mixed index)
}
interface IRenderer {
+ string render()
}
interface IReader {
+ read()
}
Widget <|--- WidgetRenderer
IRenderer <|-- WidgetRenderer
abstract class WidgetRenderer {
- Widget wrapped
+ <<create>> WidgetRenderer(Widget decorated)
+ {abstract} string render()
}
Widget <|--- WidgetReader
IReader <|-- WidgetReader
abstract class WidgetReader {
- Widget wrapped
+ <<create>> WidgetReader(Widget wrapped)
+ read()
}
Widget <|-- Container
Container ...> WidgetCollection : use
abstract class Container {
~ WidgetCollection childs
+ WidgetCollection getChilds()
}
Container <|-- Form
abstract class Form {
+ <<create>> Form()
}
Widget <|-- Control
abstract class Control {
+ string name
<<create>> Control()
}
ControlCollection o--> "0..*" Control
class ControlCollection {
+ integer getCount()
+ mixed addControl(Control control)
+ getControl(mixed index)
+ boolean removeControl(mixed index)
}
Control <|-- Textbox
class Textbox {
+ <<create>> Textbox()
}
Control <|-- Checkbox
class Checkbox {
+ <<create>> Checkbox()
}
Control <|-- Listbox
class Listbox {
+ <<create>> Listbox()
}
namespace generation {
class CodeWriter {
- string current
- string lines[]
- int indent
+ string spacer = '\\t'
+ <<create>> CodeWriter(string spacer="\\t", string initialIndent = 0)
+ indent()
+ unindent()
+ write(string text)
+ writeln(string text)
+ nl()
+ string render()
+ merge(CodeWriter writer)
}
enum OutputMode {
output_html
output_php5
output_symfony_form
output_ajax
output_text
output_twig_template
output_volt_template
}
class Generator {
+ <<create>> Generator()
+ register_control_generator(WidgetClass, WidgetWriter)
}
abstract class WidgetWriter {
- WidgetWriter next
+ WidgetWriter setNext(WidgetWriter writer)
+ void render(Widget ctrl)
}
}
@enduml
|
81671160cf07428845bf06ff9f3e387361d13d05 | ed006f8e98c20dfd1fe16065e9037b6c8efc511d | /doc/design/diagrams/command_line_parser/command_line_parser_class_overview.puml | 8d31532d1d07cf582ae374ef52ac11703f646007 | [
"Apache-2.0",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-generic-export-compliance"
] | permissive | phongt/iceoryx | 939343855cc4bbe1610ce7c7ed504539a943f795 | efc697cf67a8bc8aedf3d123e2c9df582a5aeb83 | refs/heads/master | 2023-07-26T03:36:03.492954 | 2023-07-19T08:29:19 | 2023-07-19T08:29:19 | 237,723,029 | 0 | 0 | Apache-2.0 | 2023-07-21T19:33:59 | 2020-02-02T05:23:34 | C++ | UTF-8 | PlantUML | false | false | 1,437 | puml | @startuml
class OptionDefinition {
+OptionDefinition(programDescription, onFailureCallback)
+addSwitch(..)
+addOptional(..)
+addRequired(..)
}
class Arguments {
+T get(optionName)
+bool has(optionName)
+BinaryName_t binaryName()
}
class CommandLineParser {
+Arguments parse(OptionDefinition, ..)
}
class Option {
+isSwitch()
+hasOptionName(optionName)
+isSameOption(otherOption)
+operator<(otherOption)
+isEmpty()
+longOptionNameDoesStartWithDash()
+shortOptionNameIsEqualDash()
+hasLongOptionName(optionName)
+hasShortOptionName(value)
+hasShortOption()
+hasLongOption()
#shortOption
#longOption
#value
}
class OptionWithDetails::Details{
#description
#type
#typeName
}
class OptionWithDetails {
OptionWithDetails(option, description, type, typeName)
operator<(otherOptionWithDetails)
#details
}
class OptionManager {
+OptionManager(programDescription, onFailureCallback)
+T defineOption(..)
+populateDefinedOptions(..)
}
note "Used only by the macro struct builder IOX_CLI_DEFINITION" as N1
OptionManager .. N1
OptionWithDetails "1" *-- "1" OptionWithDetails::Details
Option <|--- OptionWithDetails
Arguments "0..n" *-- "1" Option
OptionDefinition "0..n" *-- "1" OptionWithDetails
CommandLineParser "1" *-- "1" OptionDefinition : borrows
CommandLineParser "1" *-- "1" Arguments : contains
@enduml
|
739099b1f62615e2b30416de0524db4313027d63 | a464792bc8eb19161f3c2f12f514eb0edb595958 | /src/main/java/ucf/assignments/AppGraph.puml | 020e41ce87452b773be265ed6c3e099f697537f1 | [] | no_license | kidnip/Rosales-cop3330-assignment4 | afd214888c1ca540f8974a125753afb04a9a1ccf | 1c21f7626fdf9190fe5c3c530c35713559840dad | refs/heads/master | 2023-09-01T12:57:56.131753 | 2021-11-01T07:18:19 | 2021-11-01T07:18:19 | 423,371,891 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,556 | puml | @startuml
node "To-Do List Maker"{
circle fxml_file
class ToDoList{
..Stage..
Stage window
..Scenes..
Scene scene1
Scene scene2
--Methods--
+{static} void main()
+void start()
}
class ToDoController{
--Adding Elements--
+void onRadioButtonClick()
+void onClickSubmit()
--List Options--
+ArrayList<ListEntry> editTitle()
+ArrayList<ListEntry> deleteList()
+void onRightClickList()
..View Options..
+void showAllItems()
+void showComplete()
+void showIncomplete()
+void viewListOptions()
--Event Options--
+ListEntry deleteEvent()
+EventEntry editDescription()
+EventEntry editDate()
+EventEntry markComplete()
+void onRightClickItem()
--Save Options--
+void createFile()
+void saveAList()
+void saveAll()
--Load Options--
+ArrayList<ListEntry> createLists()
+void loadLists()
}
class ListEntry{
..Private Data..
-String listName
-ArrayList<EventEntry> EventArray
--Methods--
+ListEntry()
+String getListName()
+void setListName()
+ArrayList<EventEntry> getEventArray()
}
class EventEntry{
..Private Data..
-String description
-String year
-String month
-String day
-int complete
--Methods--
..Getters..
String getDescription()
String getYear()
String getMonth()
String getDay()
int getComplete()
String getDate()
..Setters..
void setDescription()
void setYear()
void setMonth()
void setDay()
void setComplete()
}
fxml_file -l-> ToDoList : Creates a Stage using\nthe ToDoList.fxml file
ToDoController -r-> ListEntry : Initializes an ArrayList of \nListEntry to store data
ListEntry -r-> ToDoController : Passes data to ToDoController \nwhenever needed
EventEntry -u-> ListEntry : Array of events is\nstored within \nListEntry class
ToDoController -d-> fxml_file : Controls the \ninnerworkings and\n data within the \napplication
ToDoController <-u- fxml_file : Works with the\n Controls in the file\n to function
ToDoController -d-> EventEntry : Can edit EventEntrys\nwhen certain methods\n are called
EventEntry -u-> ToDoController : Passes data to \nToDoController whenever needed
}
@enduml |
bca3439b3550d91151ae1d5b18dc7eaa01e7bddd | 54f0570710d72445f30bc8261595126edc5b67ca | /ass12/quiz.py.puml | 98e14951d716db9c37500edac10de6c905ca0630 | [] | 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 | 195 | puml | @startuml
skinparam monochrome true
skinparam classAttributeIconSize 0
scale 2
class Quiz{
-__questions
-__players
-__answers
-__init__()
+run()
+print_results()
}
@enduml |
ae708e7839ee12bff2433d0a1ee7d379bad981e9 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/StagedOrderChangeCustomLineItemMoneyAction.puml | 19e3f1343ea3bab38ad6092c4b187403b81d3636 | [] | 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 | 561 | 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 StagedOrderChangeCustomLineItemMoneyAction [[StagedOrderChangeCustomLineItemMoneyAction.svg]] extends StagedOrderUpdateAction {
action: String
customLineItemId: String
customLineItemKey: String
money: [[Money.svg Money]]
}
interface StagedOrderUpdateAction [[StagedOrderUpdateAction.svg]] {
action: String
}
@enduml
|
8ac4cc8aff2b9983cd7845573f520359b36d4a0a | 3d33f4e31702fdba9b2d095dd3d91d711409264c | /class-diagram/common-tools-class.puml | 9d9796eeb5ca8a7ec338939990d9b9d081100409 | [
"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 | 14,701 | puml | @startuml
namespace github.com\\hyperledger\\fabric\\common\\tools\\configtxlator\\sanitycheck {
class Messages {
GeneralErrors []string
ElementWarnings []*ElementMessage
ElementErrors []*ElementMessage
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\configtxlator\\sanitycheck {
class ElementMessage {
Path string
Message string
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen\\ca {
class CA {
Name string
Signer crypto.Signer
SignCert *x509.Certificate
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen {
class HostnameData {
Prefix string
Index int
Domain string
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen {
class SpecData {
Hostname string
Domain string
CommonName string
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen {
class NodeTemplate {
Count int
Start int
Hostname string
SANS []string
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen {
class NodeSpec {
Hostname string
CommonName string
SANS []string
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen {
class UsersSpec {
Count int
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen {
class OrgSpec {
Name string
Domain string
CA NodeSpec
Template NodeTemplate
Specs []NodeSpec
Users UsersSpec
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\cryptogen {
class Config {
OrdererOrgs []OrgSpec
PeerOrgs []OrgSpec
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class dynamicFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class dynamicMapFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class dynamicSliceFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class baseField {
msg proto.Message
name string
fType reflect.Type
vType reflect.Type
value reflect.Value
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class plainField {
baseField
populateFrom func(source interface { },destType reflect.Type)(reflect.Value,error)
populateTo func(source reflect.Value)(interface { },error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class mapField {
baseField
populateFrom func(key string,value interface { },destType reflect.Type)(reflect.Value,error)
populateTo func(key string,value reflect.Value)(interface { },error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class sliceField {
baseField
populateTo func(i int,source reflect.Value)(interface { },error)
populateFrom func(i int,source interface { },destType reflect.Type)(reflect.Value,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class nestedFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class nestedMapFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class nestedSliceFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class staticallyOpaqueFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class staticallyOpaqueMapFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class staticallyOpaqueSliceFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos {
class DynamicMessageWrapper {
*ContextlessMsg
typeName string
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos {
class SimpleMsg {
PlainField string
MapField map[string]string
SliceField []string
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos {
class NestedMsg {
PlainNestedField *SimpleMsg
MapNestedField map[string]*SimpleMsg
SliceNestedField []*SimpleMsg
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos {
class StaticallyOpaqueMsg {
PlainOpaqueField []byte
MapOpaqueField map[string][]byte
SliceOpaqueField [][]byte
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos {
class VariablyOpaqueMsg {
OpaqueType string
PlainOpaqueField []byte
MapOpaqueField map[string][]byte
SliceOpaqueField [][]byte
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos {
class DynamicMsg {
DynamicType string
PlainDynamicField *ContextlessMsg
MapDynamicField map[string]*ContextlessMsg
SliceDynamicField []*ContextlessMsg
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos {
class ContextlessMsg {
OpaqueField []byte
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class variablyOpaqueFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class variablyOpaqueMapFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
class variablyOpaqueSliceFieldFactory {
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface StaticallyOpaqueFieldProto {
StaticallyOpaqueFields()[]string
StaticallyOpaqueFieldProto(name string)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface StaticallyOpaqueMapFieldProto {
StaticallyOpaqueMapFields()[]string
StaticallyOpaqueMapFieldProto(name string,key string)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface StaticallyOpaqueSliceFieldProto {
StaticallyOpaqueSliceFields()[]string
StaticallyOpaqueSliceFieldProto(name string,index int)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface VariablyOpaqueFieldProto {
VariablyOpaqueFields()[]string
VariablyOpaqueFieldProto(name string)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface VariablyOpaqueMapFieldProto {
VariablyOpaqueMapFields()[]string
VariablyOpaqueMapFieldProto(name string,key string)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface VariablyOpaqueSliceFieldProto {
VariablyOpaqueSliceFields()[]string
VariablyOpaqueSliceFieldProto(name string,index int)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface DynamicFieldProto {
DynamicFields()[]string
DynamicFieldProto(name string,underlying proto.Message)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface DynamicMapFieldProto {
DynamicMapFields()[]string
DynamicMapFieldProto(name string,key string,underlying proto.Message)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface DynamicSliceFieldProto {
DynamicSliceFields()[]string
DynamicSliceFieldProto(name string,index int,underlying proto.Message)(proto.Message,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface DecoratedProto {
Underlying()proto.Message
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface protoFieldFactory {
Handles(msg proto.Message,fieldName string,fieldType reflect.Type,fieldValue reflect.Value)bool
NewProtoField(msg proto.Message,fieldName string,fieldType reflect.Type,fieldValue reflect.Value)(protoField,error)
}
}
namespace github.com\\hyperledger\\fabric\\common\\tools\\protolator {
interface protoField {
Name()string
PopulateFrom(source interface { })error
PopulateTo()(interface { },error)
}
}
github.com\\hyperledger\\fabric\\common\\tools\\configtxlator\\sanitycheck.Messages ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\configtxlator\\sanitycheck.ElementMessage : ElementWarnings
github.com\\hyperledger\\fabric\\common\\tools\\configtxlator\\sanitycheck.Messages ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\configtxlator\\sanitycheck.ElementMessage : ElementErrors
github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.OrgSpec ---> github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.NodeSpec : CA
github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.OrgSpec ---> github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.NodeTemplate : Template
github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.OrgSpec ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.NodeSpec : Specs
github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.OrgSpec ---> github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.UsersSpec : Users
github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.Config ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.OrgSpec : OrdererOrgs
github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.Config ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\cryptogen.OrgSpec : PeerOrgs
github.com\\hyperledger\\fabric\\common\\tools\\protolator.plainField -|> github.com\\hyperledger\\fabric\\common\\tools\\protolator.baseField
github.com\\hyperledger\\fabric\\common\\tools\\protolator.mapField -|> github.com\\hyperledger\\fabric\\common\\tools\\protolator.baseField
github.com\\hyperledger\\fabric\\common\\tools\\protolator.sliceField -|> github.com\\hyperledger\\fabric\\common\\tools\\protolator.baseField
github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMessageWrapper -|> github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.ContextlessMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.NestedMsg ---> github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.SimpleMsg : PlainNestedField
github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.NestedMsg ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.SimpleMsg : MapNestedField
github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.NestedMsg ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.SimpleMsg : SliceNestedField
github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMsg ---> github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.ContextlessMsg : PlainDynamicField
github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMsg ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.ContextlessMsg : MapDynamicField
github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMsg ---> "*" github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.ContextlessMsg : SliceDynamicField
github.com\\hyperledger\\fabric\\common\\tools\\protolator.StaticallyOpaqueFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.StaticallyOpaqueMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.StaticallyOpaqueMapFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.StaticallyOpaqueMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.StaticallyOpaqueSliceFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.StaticallyOpaqueMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.VariablyOpaqueFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.VariablyOpaqueMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.VariablyOpaqueMapFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.VariablyOpaqueMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.VariablyOpaqueSliceFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.VariablyOpaqueMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.DynamicFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.DynamicMapFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.DynamicSliceFieldProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMsg
github.com\\hyperledger\\fabric\\common\\tools\\protolator.DecoratedProto <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator\\testprotos.DynamicMessageWrapper
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.dynamicFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.dynamicMapFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.dynamicSliceFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.nestedFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.nestedMapFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.nestedSliceFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.staticallyOpaqueFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.staticallyOpaqueMapFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.staticallyOpaqueSliceFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.variablyOpaqueFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.variablyOpaqueMapFieldFactory
github.com\\hyperledger\\fabric\\common\\tools\\protolator.protoFieldFactory <|- github.com\\hyperledger\\fabric\\common\\tools\\protolator.variablyOpaqueSliceFieldFactory
@enduml |
bd05140341cfaabd4e68737130afca9aadc78124 | b4b2b1a759f24afddbc6779e46bed4c757d4502a | /src/Client-side.puml | 6207c908b92adbfe0f8b4711429c9012a411bea7 | [] | no_license | adamrhurley/DistributedComputingProject1 | cb7268e63604be35e7f02e6db94bcaea8644bf66 | 02cfca48a605c54335ae99f330688e3fef9489fe | refs/heads/master | 2023-04-02T01:00:00.132972 | 2021-04-11T15:36:28 | 2021-04-11T15:36:28 | 344,565,712 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 434 | puml | @startuml
title Client-Side
left to right direction
Main --|> EchoClient2
EchoClient2 --|> EchoClientHelper2
EchoClientHelper2 --|> MyStreamSocket
class Main{
main()
}
class EchoClient2{
main()
mainMenu()
messageFrame()
}
class EchoClientHelper2{
protocolInterpreter()
done()
}
class MyStreamSocket{
setStreams()
sendMessage()
receiveMessage()
viewAllMessages()
logout()
saveMessages()
sendText()
checkLogin()
close()
}
@enduml |
61a63b87e9476cd2229e90d642871b8f2f1a3540 | a35809cd34147b14b63d8b2dc942054392805e68 | /src/main/java/com/shengsiyuan/dp/principle/segregation/组合关系.puml | a9c2c0b51a0311b522bd15e21384ffffdc4c0832 | [] | 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 | 266 | puml | @startuml
class Computer {
- Mouse mouse
- Monitor monitor
+ void setMouse(Mouse mouse)
+ void setMonitor(Monitor monitor)
}
note top: 组合关系是同生共死的关系
class Mouse
class Monitor
Computer *-- Mouse
Computer *-- Monitor
@enduml |
7fbbdff88517512cba9dfde567d12bc6279276f3 | dc20115738d63d9d0dbd16fab019785740465cc7 | /plantuml/Users/hunter/Coding/maternity-ward-system/InternWithBreechSpecialty.puml | e5e8ec73b9b1cddd92d9fa009c471e9582c9e96b | [] | 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 | 399 | puml | @startuml
class InternWithBreechSpecialty {
+ ExpertHourlyPay : double <<get>>
+ InternWithBreechSpecialty(fname:string, lname:string, id:string, age:int, hours:double)
+ InternWithBreechSpecialty(fname:string, lname:string, id:string, age:int)
+ <<override>> EndOfMonthSalary() : double
}
Intern <|-- InternWithBreechSpecialty
IExpertEmployee <|-- InternWithBreechSpecialty
@enduml
|
af8ad3633e7d5e0363a1e68fa51402b7ce47e170 | c7a12cd544a7ae7750f2a2e9e9900d543d99926d | /res/diagram.puml | 93b87c6459faf5063592eb5a0cb4f6ad5eb18ced | [] | no_license | theochp/c-antlr-compiler | db52b7468c2f0be75ba022087cc91e664a538f9f | 5c2fe1805c888d6b4deda2d50fe2f476afd830b7 | refs/heads/master | 2022-11-14T00:55:41.593669 | 2020-07-03T10:50:53 | 2020-07-03T10:50:53 | 270,654,240 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,562 | puml | @startuml
skinparam classAttributeIconSize 0
left to right direction
package ir{
Instruction --> inst_type
class Instruction{
- op inst_type,
- dest string
- operands vector<string>
- block IRBlock*
}
Instruction -- IRBlock
class IRFunc {
- name : string
- blocks : vector<IRBlock*>
- params: vector<string>
}
class IRBlock {
- label : string
- instructions : vector<Instruction*>
- func : IRFunc*
- exitTrue : IRBlock*
- exitFalse : IRBlock*
- testVarName : string
}
IRBlock *-- "*" Instruction
IRFunc *-- "*" IRBlock
IRBlock -- "exitTrue" IRBlock
IRBlock -- "exitFalse" IRBlock
enum inst_type {
ldcst
store
ret
add
sub
mul
div
neg
loadT
storeT
call
je
jmp
equalcomp
diffcomp
infcomp
infeqcomp
supcomp
supeqcomp
bitwise_and
bitwise_or
bitwise_xor
bitwise_not
postincre
postdecre
preincre
predecre
logicalNot
}
}
package generator{
ASMGenerator *-- "*" Instruction
class ASMGenerator {
-vector<Instruction *> instruction
-symbolTable : map<string, map<string,int>>
generate(ostream)
}
IRGenerator *-- "*" IRFunc
class IRGenerator{
-vector<IRFunc *> instruction
-ast : vector<Node*>
-symbolTable : map<string, map<string,int>>
-tempVarCount : int
-symbolOffsets : map<string,int>
generate()
}
X86Generator --|> ASMGenerator
MSP30Generator --|> ASMGenerator
}
package ast{
Statement --|> Node
Assignement --|> Operator
Block --|> Node
Constant --|> Expression
Operator --|> Expression
Return --|> Expression
Variable --|> Expression
Char --|> Expression
Expression --|> Statement
Declaration --|> Statement
For --|> Statement
Func --|> Node
FuncCall --|> Expression
IfElse --|> Statement
ArrayValue --|> Expression
ArrayDeclaration --|> Expression
UnExpression --|> Expression
Block *-- "*" Expression
class Node{
}
class FuncParam {
- name : string
}
class Func {
- name : string
- block : Block *
- params : vector<FuncParam*>
}
Func *-- "*" FuncParam
class Assignement{
-lvalue : Variable *
-rvalue : Expression *
}
class Block{
-statement : Expression *
}
class Constant{
-value : int
}
class Operator{
-left : Expression *
-right : Expression *
-op : Operator
}
Operator --> OpType
class Operator{
-opType : OpType
}
enum OpType {
MULT
DIV
ADD
MINUS
ASSIGN
}
class Return{
-statement : Expression *
}
class UnExpression{
-expr : Expression *
-op : UnOperator
}
UnExpression --> UnOperator
UnOperator --> UnOpType
class UnOperator{
-opType : UnOpType
}
enum UnOpType{
UN_PLUS
UN_MINUS
}
class Expression{
}
class Variable{
-name : string
}
}
class Visitor{
-symbolTable : map<string, int>
-stackOffset : int
-errorCount : int
}
class main{
}
@enduml |
6f0dd205349c70a6fedd55542840432b63ebce09 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/StagedOrderTransitionCustomLineItemStateAction.puml | 0b0a3a1c50ae404f179400fab77d74fc04c67f75 | [] | 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 | 732 | 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 StagedOrderTransitionCustomLineItemStateAction [[StagedOrderTransitionCustomLineItemStateAction.svg]] extends StagedOrderUpdateAction {
action: String
customLineItemId: String
customLineItemKey: String
quantity: Long
fromState: [[StateResourceIdentifier.svg StateResourceIdentifier]]
toState: [[StateResourceIdentifier.svg StateResourceIdentifier]]
actualTransitionDate: DateTime
}
interface StagedOrderUpdateAction [[StagedOrderUpdateAction.svg]] {
action: String
}
@enduml
|
612f316e5969a4d2dbe2eb2a8c7d4b70a93b12cc | 72e0d65cb502431500578350accc1ec3e7423065 | /2015-11-CDI-Forge-uni/slides/diagrams/architecture_model.puml | 8974794605b42860539eecd8b56e746197435eae | [
"MIT",
"CC-BY-4.0"
] | permissive | agoncal/agoncal-talks | a089d816cdcedeb8b00e3ac44198f69322ad44b5 | e95c9d28077867034c2df4f868ceba9383f6373a | refs/heads/master | 2022-12-05T00:27:03.272910 | 2022-11-23T14:02:47 | 2022-11-23T14:02:47 | 69,746,105 | 9 | 5 | null | 2022-06-24T01:42:35 | 2016-10-01T15:20:56 | HTML | UTF-8 | PlantUML | false | false | 573 | puml | @startuml
User "1" --* "*" Reimbursement
Reimbursement "1" *-right- "*" Expense
Conference "1" --* "*" Reimbursement
class Conference {
-String name
-Date date
-String country
-String city
}
class Expense {
-description
-Date date
-Float amount
-ExpenseType expenseType
-private Currency currency
}
class Reimbursement{
-Date date
-Set<Expense> expenses
-Currency currency
-User user
-Conference conference
}
class User{
-String login
-String password
-String name
-String email
-UserRole role
}
@enduml |
00c20a359df469ac14b2a287be59f5ebb3fe47f7 | 372e13940be1f116c671dbb746617a331f06899e | /Assets/TPPackages/com.cocoplay.core/Documentation-/puml/Editor/Property/RangeValueDrawer.puml | 34f7b3da06ac9c51610c4e5071deb00020f503aa | [] | 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 | 500 | puml | @startuml
class RangeValueDrawer {
+ <<override>> OnGUI(position:Rect, property:SerializedProperty, label:GUIContent) : void
}
class RangeVector2Drawer {
+ <<override>> GetPropertyHeight(property:SerializedProperty, label:GUIContent) : float
}
class RangeVector3Drawer {
+ <<override>> GetPropertyHeight(property:SerializedProperty, label:GUIContent) : float
}
PropertyDrawer <|-- RangeValueDrawer
RangeValueDrawer <|-- RangeVector2Drawer
RangeValueDrawer <|-- RangeVector3Drawer
@enduml
|
80246d93dd310e3adb99a218078126353758fcae | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ShippingMethodSetCustomTypeAction.puml | 9a4e0ce803f1a5a798e2207e4802b571ac718f9f | [] | 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 | 576 | 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 ShippingMethodSetCustomTypeAction [[ShippingMethodSetCustomTypeAction.svg]] extends ShippingMethodUpdateAction {
action: String
type: [[TypeResourceIdentifier.svg TypeResourceIdentifier]]
fields: [[FieldContainer.svg FieldContainer]]
}
interface ShippingMethodUpdateAction [[ShippingMethodUpdateAction.svg]] {
action: String
}
@enduml
|
75f2f1b74a3e9a3b2a53c9d8ebfa0f7d791fdcf4 | ddc18265d5ed4399a699a43a472396f9e61bc0a0 | /src/me/hifancy/philosopher/philosopher.puml | 4f12829f52e65763be9903272aeb04a43eab6c78 | [] | no_license | carlZou/OSExperiment | 754b777ee53ceaecbf8e40f46b7d265b04b12601 | 514dcc468f56e4303a9f2eda79fa8f7f6a0a4ede | refs/heads/master | 2021-07-18T08:12:40.033691 | 2017-10-23T11:48:29 | 2017-10-23T11:48:29 | 107,970,906 | 1 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 176 | puml | @startuml
class philosopher
class stick
class stick{
boolean used
void getstatus()
boolean setstatus()
}
class philosopher{
int id
void eating()
void thinking()
}
@enduml |
f2c6e04083acbd67302dd24e612929a9774392bf | d702b31e656edcb9944228c0309f153bdff29eec | /doc/plantuml/HCARDA/command/PsoEncipher.plantuml | 56b0c4de08cdca06929c4384a139f630282654e9 | [
"Apache-2.0"
] | permissive | gematik/ref-HealthCardAccess | 4f3957bfe40c56ffbf82782528a6e543ea00e9e3 | eb9a12f7eea309bb5b23269de9d8fa924f91fe4f | refs/heads/master | 2022-02-14T18:25:41.769547 | 2022-01-07T07:24:17 | 2022-01-07T07:24:17 | 213,916,430 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,498 | plantuml | @startuml
package de.gematik.ti.healthcardaccess {
interface IHealthCardCommand {
{abstract} + executeOn()
}
}
package de.gematik.ti.healthcardaccess {
abstract class AbstractHealthCardCommand {
{static} - LOG : Logger
{static} # NE_MAX_EXTENDED_LENGTH : int
{static} # NE_MAX_SHORT_LENGTH : int
{static} # EXPECT_ALL : int
# cla : int
# ins : int
# p1 : int
# p2 : int
# data : byte[]
# ne : int
# AbstractHealthCardCommand()
# AbstractHealthCardCommand()
{abstract} + getTechnicalResponseApdus()
- inferResponseStatusFromResponseCode()
+ executeOn()
# sendApdu()
- getCommandApdu()
}
}
package de.gematik.ti.healthcardaccess {
package de.gematik.ti.healthcardaccess.commands {
class PsoEncipher {
{static} - CLA : int
{static} - INS : int
{static} - ANSWER_IS_CIPHER_P1 : int
{static} - DATA_IS_PLAINTEXT_P2 : int
{static} - technicalResponseApdus : Map<Integer, ResponseStatus>
+ getTechnicalResponseApdus()
+ PsoEncipher()
+ PsoEncipher()
+ PsoEncipher()
- computePlainDoRsaEncipher()
- computePlainDoEllipticCurveEncipher()
}
}
}
AbstractHealthCardCommand -up-|> IHealthCardCommand
PsoEncipher -up-|> AbstractHealthCardCommand
@enduml |
ce5030acf01d17a385d922844edb256ef9bf69ba | 6153f22ccad5e550ec60e6465d77bd7088174144 | /DesignPattern/AbstractFactory/uml/AbstractFactory.puml | 58a4366066172aca6186a5203936d063cd088352 | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | zwxbest/Demo | a5093d4e82b269d200d23a7a390e299334301917 | 16ce40b63907d52d65ad93fba6a793847911d216 | refs/heads/master | 2023-06-08T17:15:27.688512 | 2022-03-03T03:53:31 | 2022-03-03T03:53:31 | 123,203,277 | 1 | 7 | MIT | 2023-05-26T22:15:03 | 2018-02-27T23:52:55 | Roff | UTF-8 | PlantUML | false | false | 433 | puml | @startuml
interface IFactory{
+CreateUser()
+CreateDepartment()
}
interface IUser{
}
sqlServerUser..-up-|>IUser
mysqlUser..-up-|>IUser
interface IDepartment{
}
sqlServerDepartment..-up-|>IDepartment
mysqlDepartment..-up-|>IDepartment
sqlServerFactory..>sqlServerUser
sqlServerFactory-up-..|>IFactory
sqlServerFactory..>sqlServerDepartment
mysqlFactory-up-..|>IFactory
mysqlFactory..>mysqlUser
mysqlFactory..>mysqlDepartment
@enduml |
82656c8be0deb53591620b0b885feb2952900b58 | 326f0532299d6efcaec59d5a2cc95c31d9af9ef2 | /src/com/atguigu/prototype/deepclone/deepclone.plantuml | a04258437a25736344b79dc90f801fb5f12dab0b | [] | no_license | srefp/design_pattern | 4b45ceb0808a8ae98a007bc5b0e01825693dcf7b | b7ff2d80172c55848b8f59530da6ccca477dfd24 | refs/heads/main | 2023-01-19T06:12:14.495913 | 2020-11-24T08:48:53 | 2020-11-24T08:48:53 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,408 | plantuml | @startuml
title __DEEPCLONE's Class Diagram__\n
namespace com.atguigu.prototype {
namespace deepclone {
class com.atguigu.prototype.deepclone.Client {
{static} + main()
}
}
}
namespace com.atguigu.prototype {
namespace deepclone {
class com.atguigu.prototype.deepclone.DeepCloneableTarget {
- cloneClass : String
- cloneName : String
{static} - serialVersionUID : long
+ DeepCloneableTarget()
# clone()
}
}
}
namespace com.atguigu.prototype {
namespace deepclone {
class com.atguigu.prototype.deepclone.DeepProtoType {
+ name : String
+ DeepProtoType()
+ deepClone()
# clone()
}
}
}
com.atguigu.prototype.deepclone.DeepCloneableTarget .up.|> java.io.Serializable
com.atguigu.prototype.deepclone.DeepCloneableTarget .up.|> java.lang.Cloneable
com.atguigu.prototype.deepclone.DeepProtoType .up.|> java.io.Serializable
com.atguigu.prototype.deepclone.DeepProtoType .up.|> java.lang.Cloneable
com.atguigu.prototype.deepclone.DeepProtoType o-- com.atguigu.prototype.deepclone.DeepCloneableTarget : deepCloneableTarget
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
|
c5dde53ca8b8e7ba7992dc7d883ed87bcbcfc988 | a91911e5cb7152c74d512ef19e54f381b41944c4 | /src/main/java/ex41/ex41.puml | 7950983c4be939ec385ced7a1da269255e13c974 | [] | no_license | Amos-L/Luo-cop3330-assignment3 | 1dca7c191ce1de8b86bb88f52a99f5f27de7e1ee | af0bf5cc87faad4dc3050f62dc98786b5fe873f1 | refs/heads/master | 2023-08-23T01:31:39.377738 | 2021-10-12T02:37:35 | 2021-10-12T02:37:35 | 416,156,903 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 369 | puml | @startuml
'https://plantuml.com/class-diagram
sort <|-- input
writing <|-- sort
input <|-- Main
class Main {
+readFile
+sortFile(readFile String output)
+writeOutputfile(sortFile)
}
class input {
+input.txt
-return String(input.txt)
}
class sort {
+input String from input.txt
-return Sorted(string)
}
class writing{
+sorted(string)
-output.txt
-void
}
@enduml |
bdcd8415772dc6ae2a5522a69d358b27170007f2 | fbb40b162037d2a0001c1fd7b86b775e9278b1bf | /mastermind-documentView-withFactoryMethod/diagrams/src/mastermind.plantuml | 8496c9f8a3e6f7bebd50050c549c0d491ad9e58e | [] | no_license | Master-Desarrollo-20-21/diseno-oo-ejercicio2-mastermind-document-view-asantamaria779 | d208ea4e885a1d0dcc9ecd54235be668e180f846 | 8ac2c1128deca6a832928403edb25ed2633ada4c | refs/heads/main | 2023-02-02T06:29:33.903703 | 2020-12-17T19:17:48 | 2020-12-17T19:17:48 | 319,729,841 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 739 | plantuml | @startuml
abstract class mastermind.Mastermind {
#View view
#Game game
#Mastermind()
#{abstract}View createView(Game)
#void play()
}
class mastermind.ConsoleMastermind {
#ConsoleView createView(Game)
+{static}void main(String[] args)
}
class mastermind.GraphicsMastermind {
#GraphicsView createView(Game)
+{static}void main(String[] args)
}
mastermind.Mastermind *-down-> mastermind.views.View
mastermind.Mastermind -down-> mastermind.models.Game
mastermind.Mastermind ..> mastermind.views.console.ConsoleView
mastermind.Mastermind ..> mastermind.views.console.GraphicsView
mastermind.Mastermind <|-down- mastermind.ConsoleMastermind
mastermind.Mastermind <|-down- mastermind.GraphicsMastermind
@enduml |
8f41431aa13996d214e0b069da2f60e262633ce0 | 70b6b3086d64939b4bd08cf8aad93ac5283cf1ac | /uml-meta-model-extensions/scala.profile.classcomplete2.puml | be0b177c393d21aa08127170c7061af79785fe09 | [
"MIT"
] | permissive | tizuck/scala-uml-diagrams | 4a9d35e54a0f6fb3ef753e46eb59e81d7c42a26b | c5c432132bff9df7ab60352f0e715583d9d51973 | refs/heads/main | 2023-03-01T02:44:15.288794 | 2021-02-03T22:26:55 | 2021-02-03T22:26:55 | 306,687,367 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,904 | puml | @startuml
package Scala <<profile>> {
class Class <<metaclass>>
abstract class ScalaClass <<stereotype>>
abstract class AccessModifierElement {
isObjectPrivate : boolean
isClassPrivate : boolean
isQualifiedPrivate : boolean
privateAccessQualid : String
isObjectProtected : boolean
isQualifiedProtected : boolean
protectedAccessQualid : String
}
abstract class ModifierElement {
isFinal : boolean
isImplicit : boolean
isInline : boolean
isLazy : boolean
isOpaque : boolean
isOpen : boolean
isOverride : boolean
isSealed : boolean
}
class Object <<stereotype>>
class CaseObject <<stereotype>>
class Case <<stereotype>>
class Type <<stereotype>>
class Plist <<stereotype>>
class Pathdep <<stereotype>>
class Annotated <<stereotype>> {
annotations:String [1..*]
}
Class <-- ScalaClass : {required}
AccessModifierElement <|-- ScalaClass
ModifierElement <|-- ScalaClass
ScalaClass <|-- Object
ScalaClass <|-- CaseObject
ScalaClass <|-- Case
ScalaClass <|-- Type
Class <|-- Plist
Class <|-right- Annotated
Class <|-- Pathdep
}
hide circle
hide <<metaclass>> members
hide methods
hide members
show ModifierElement members
show AccessModifierElement members
hide ModifierElement methods
hide AccessModifierElement methods
show Annotated attributes
skinparam defaultFontName Source Code Pro
skinparam groupinheritance 4
skinparam ClassStereotypeFontColor #1b1f23
skinparam class {
BackgroundColor White
BorderColor #1b1f23
ArrowColor #1b1f23
FontColor #6f42c1
}
skinparam note {
BackgroundColor White
BorderColor #1b1f23
ArrowColor #1b1f23
FontColor #d73a49
}
skinparam stereotype {
FontColor #d73a49
}
@enduml |
ba41aee57508c31d93d23e683c81d168bc2fc3ad | 112e511928937b8ec60004ca94f1dd996bd9fd1a | /Documents/Shos.Chatter.Server/Areas/HelpPage/ModelDescriptions/ParameterAnnotation.puml | 289412e14085f0e88a03028956a35b485378539f | [
"MIT"
] | permissive | Fujiwo/Shos.Chatter.NetFramework | 2c143b390b1588e38e5967a8b8f1c51bf5487362 | 3c7061398e790c2fc856585fdbf60a18705f11e0 | refs/heads/master | 2023-03-23T09:31:02.071913 | 2021-03-11T05:27:48 | 2021-03-11T05:27:48 | 323,569,895 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 149 | puml | @startuml
class ParameterAnnotation {
+ Documentation : string <<get>> <<set>>
}
ParameterAnnotation --> "AnnotationAttribute" Attribute
@enduml
|
22acd82a66d999abbd897130ff62357c973bfe4a | eb79b5e41b205bca757ecb47616d107d0c78e13d | /design_patterns/behavioral/command/1. command.puml | 0e0bd6feacf42b5700482094df48e36ff92e80c2 | [] | no_license | kevinwong1983/exploration | 6023bb1c903c316794b132b1bff4ef817fe55f5d | 20029c025c7ae44e0dba535a6ec47b065b19f65b | refs/heads/master | 2022-06-09T09:48:26.087800 | 2022-06-05T22:29:47 | 2022-06-05T22:29:47 | 207,248,735 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,485 | puml | @startuml
skinparam monochrome true
note as N
<b>The Command Pattern
Decouples an object, making a request from
the one that knows how to perform it.
end note
class Client
class Receiver {
action
}
class ConcreteCommand {
execute()
undo()
state
}
interface Command {
execute()
undo()
}
class Invoker {
setCommand()
}
Client -r-> Receiver
ConcreteCommand -l-> Receiver
Command <-u- ConcreteCommand
Invoker -r-> Command
Client .r.> ConcreteCommand
note left of Client
Responsible for creating a
ConcreteCommand command and
setting its Receiver.
e.g. Application.
end note
note bottom of Receiver
The Receiver knows how to
perform the work needed to
carry out the request. Any
class can act as Receiver.
e.g. BankAccount.
end note
note bottom of ConcreteCommand
The ConcreteCommand defines a binding
between an action and a Receiver. The Invoker
makes a request by calling execute() and the
ConcreteCommand carries it out by calling
one or more actions on the Receiver.
In practice, it is not uncommon for "smart"
Command objects to implement the request
themselves rather than delegating to a receiver.
end note
note right of ConcreteCommand::execute
receiver->action();
end note
note top of Invoker
The invoker makes request of
a Command object by calling its
execute() method, which invokes
those action on the receiver.
e.g. UI/GUI
end note
@enduml |
4f14c8ccf5ff7e7c045dfcbb018235371b889fef | aa789735c7d54ca324d0c09be9042ccf809e947b | /uml/contract.puml | 25a9713b1b9f77fdbe30c2f5b18cc45cf6cda165 | [] | no_license | itk-pbo-2021-a-k2/tubes | b8b536555acf9a4a886bb67290cb3846edb95532 | 43eb62fdd9d4c057ad50b7ce6a668508ea460520 | refs/heads/main | 2023-06-10T04:42:17.034136 | 2021-06-12T04:02:44 | 2021-06-12T04:02:44 | 370,187,220 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,377 | puml | @startuml
'https://plantuml.com/class-diagram
package com.github.itk.pbo2021.a.k2.tubes {
package contract {
interface FormulaAction {
+accept(InputValues values);
}
interface InputRequest {
+request(String name) : ValueProperty
+request(String name, Pattern pattern) : ValueProperty
+requestDecimal(String name) : ValueProperty
+requestInteger(String name) : ValueProperty
+addAction(FormulaAction action) : void
}
abstract InputValues {
--Getter--
{abstract} +get(String name) : String
+getBigInteger(String name) : BigInteger
+getBigDecimal(String name) : BigDecimal
+getFloat(String name) : float
+getDouble(String name) : double
+getInt(String name) : int
}
interface ValueProperty {
--Getter--
+getName() : String
+getDescription() : String
+getDefault() : String
--Setter--
+setDefault() : String
}
interface Formula {
+name() : String
+apply(InputRequest input) : void
}
interface FormulaGroup {
+name() : String
+get() : List<Formula>
}
FormulaGroup --o Formula
Formula --o FormulaAction
Formula - InputRequest : request Input >
Formula - InputRequest : add Formula Action >
InputRequest --o InputValues
InputRequest --o ValueProperty
Formula -- ValueProperty
FormulaAction -- InputValues
'FormulaAction - InputValues : Use >
}
}
'package com
@enduml |
0986baf66a596a9a14c41df8e60b6dcc26d32461 | 9719552a1c9d48895aa95b7235a414ce4f9be2a4 | /command/src/command/command.puml | 9821a79f5c473196d18b89762c9f57c866e8b3ad | [] | no_license | lzyJava666/designMode | c2b582702ddb38eecf65b355408a937c8678f8c9 | cf3bee2e67ece800853efe6b0a1c06bde8c16bbf | refs/heads/main | 2023-03-07T13:55:48.882683 | 2021-02-04T07:59:16 | 2021-02-04T07:59:16 | 325,688,331 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 962 | puml | @startuml
interface Command{
void execute()
void undo()
}
note top:规定命令类必须有的具体操作 执行/撤销
class Lamp{
void on()
void off()
}
note left:电灯类,具体执行者
class Tv{
void on()
void off()
}
note left:电视类,具体执行者
class LampOnCommand
class LampOffCommand
class TvOnCommand
class TvOffCommand
class NoCommand
note left:空命令,用于省去空判断操作
Command <|.. LampOnCommand
Command <|.. LampOffCommand
Command <|.. NoCommand
Command <|.. TvOnCommand
Command <|.. TvOffCommand
LampOnCommand o-- Lamp
LampOffCommand o-- Lamp
TvOffCommand o-- Tv
TvOnCommand o-- Tv
class Jxpra{
-Command[] onCommands
-Command[] offCommands
-Command undoCommand
+Jxpra()
+ void setCommand(int index,Command onCommand,Command offCommand)
+ void onButton(int index)
+ void offButton(int index)
+ void undo()
}
Jxpra o-- Command
class Client
Client ..> Jxpra
@enduml |
f4fffa70424fb6eda99fbd67f0125fa3ac9b317b | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/InternalConstraintViolatedError.puml | 22906799628d644c0b2e9f339418d52afaeac9f5 | [] | 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 | 449 | 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 InternalConstraintViolatedError [[InternalConstraintViolatedError.svg]] extends ErrorObject {
code: String
message: String
}
interface ErrorObject [[ErrorObject.svg]] {
code: String
message: String
}
@enduml
|
2d84297f834616ec4aa625e641705cd7ff197cb8 | 4e22d261d7dcf5fe2731d77ba3cfb47c5568977c | /Documentation/Source/Breakdown/Engine/TempestEngine/Rendering/VertexArrayManager-Class.iuml | 6363fdf26984907da2a322bb51e59c5c4ba07fc4 | [] | no_license | SeraphinaMJ/Reformed | 2d7424d6d38d1cfaf8d385fade474a27c02103a5 | 8563d35ab2b80ca403b3b57ad80db1173504cf55 | refs/heads/master | 2023-04-06T00:40:34.223840 | 2021-05-06T11:25:51 | 2021-05-06T11:25:51 | 364,884,928 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 191 | iuml | namespace Graphics::Rendering {
class VertexArrayManager {
+CreateArrayBuffer()
+GetVertexArrayBuffer()
+BuildFullScreenQuad()
}
}
|
d159f7ebc07c5ca31e6794a01c86a17fd80971ee | ccc4a578b9cf4323653f87212acca9b3d12f1c23 | /WasteWatcherApp/WasteWatcherApp/UML/Product/Persistance/ProductCache.puml | 1bc97edf7fa3a81aceb8ae45f2be231fd7af2167 | [] | no_license | MarioGeier00/WasterWatcherApp | 383531013b68fb52927ef4abf529e83bd6beff4b | 88190459884fa0252ebfe63fdf3e1ce852eeb75f | refs/heads/dev | 2023-06-04T09:37:22.112757 | 2021-07-01T11:57:02 | 2021-07-01T11:57:02 | 355,274,133 | 0 | 0 | null | 2021-05-19T12:48:26 | 2021-04-06T17:24:11 | C# | UTF-8 | PlantUML | false | false | 366 | puml | @startuml
class ProductCache {
+ {static} IsCachingEnabled : bool <<get>> <<set>>
{static} ProductCache()
+ ProductCache(fallback:IProductSource<string>)
+ <<async>> GetData(barcode:string) : Task<string>
}
class "IProductSource`1"<T> {
}
"IProductSource`1" "<string>" <|-- ProductCache
ProductCache --> "Fallback<string>" "IProductSource`1"
@enduml
|
393082a3c0ee1ce5346766121a1a23ade07ea22b | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/fixed-interests@0.2.0.puml | 82fb77c42639d8d8b7c30d79b71f5a1e4bcc5b8c | [
"Apache-2.0",
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | accordproject/cicero-template-library | 737586850933daac2fbff2ff8b2d60dd50526b80 | 35e6c93ba9d9e78d9384c44a78d85ac216d9e9ea | refs/heads/main | 2023-04-27T01:07:05.932361 | 2022-08-26T13:02:59 | 2022-08-26T13:02:59 | 109,224,687 | 77 | 149 | Apache-2.0 | 2023-04-20T21:43:00 | 2017-11-02T06:11:37 | HTML | UTF-8 | PlantUML | false | false | 631 | puml | @startuml
class org.accordproject.interests.Request << (T,yellow) >> {
+ String input
}
org.accordproject.interests.Request --|> org.accordproject.base.Transaction
class org.accordproject.interests.Response << (T,yellow) >> {
+ String output
}
org.accordproject.interests.Response --|> org.accordproject.base.Transaction
class org.accordproject.interests.TemplateModel << (A,green) >> {
+ Double loanAmount
+ Double rate
+ Integer loanDuration
}
org.accordproject.interests.TemplateModel --|> org.accordproject.cicero.contract.AccordClause
class org.accordproject.interests.TextResponse {
+ String text
}
@enduml
|
2db268f1de60c67a232299f8af0971e63474daba | fb84bca41a00746017b56791cc1900e4cb811be7 | /plantuml/UIs/VCamFollow.puml | f9f5d3f03acabbab1f1343300a23b7181f0124a9 | [] | no_license | MainCastle1212/EverythingEater_Main | 9b3622cc5cca5f78a411cfd7df61fbdec29a8856 | c228f75b78387aee448c6fbb2f3a362dccb724bd | refs/heads/main | 2023-01-12T07:33:38.139825 | 2020-11-12T10:01:22 | 2020-11-12T10:01:22 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 249 | puml | @startuml
class VCamFollow {
Radius : float = 4
+ AddCinemaChineGroup(target:Transform) : void
+ RemoveCinemaChineGroup(target:Transform) : void
}
MonoBehaviour <|-- VCamFollow
VCamFollow --> "TargetGroup" CinemachineTargetGroup
@enduml
|
6f22d5ca86de5fed9c747ff1edb1d33ddfac251a | 993e33e2c4641256c55970a1b34f346fd174fb62 | /stats/monitor-sender-stats-class.puml | f10226b7983be51a49848ccde4a9adc92065e010 | [] | no_license | richardspop/monitor-sender | e7cea00b46012fb118663362c3b4439a01818cb8 | fafe784067565c787f1b23dd980cb39a809e4a92 | refs/heads/main | 2023-02-08T17:41:19.346758 | 2021-01-03T15:37:46 | 2021-01-03T15:38:36 | 324,749,700 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 897 | puml | @startuml
interface AbstractStatImplInterface {
getStats()
StartMonitoring()
}
interface AbstractStatInterface {
getCPUUsage()
getMemoryUsage()
}
class CPUProcStat {
- string procStatPath
- string cpuStats
- UpdateCPUStats()
CPUProcStat()
getStats()
StartMonitoring()
}
class MEMSysconf {
MEMSysconf()
getStats()
StartMonitoring()
}
class CPUStatImpl {
- AbstractStatImplInterface * statImpl
CPUStatImpl(string statSource)
getCPUUsage()
getMemoryUsage()
}
class MEMStatImpl {
- AbstractStatImplInterface * statImpl
MEMStatImpl(string statSource)
getCPUUsage()
getMemoryUsage()
}
AbstractStatImplInterface <|-- CPUProcStat
AbstractStatImplInterface <|-- MEMSysconf
AbstractStatInterface <|-- CPUStatImpl
AbstractStatInterface <|-- MEMStatImpl
CPUStatImpl *-- CPUProcStat
MEMStatImpl *-- MEMSysconf
@enduml |
7de4dbe19ede551c9e405c6f77a54e19e95f9551 | 2403afd9ecd1ce2c07e906574bcfb7a1cf7a1a1b | /src/main/java/com/hcf/head/first/design/pattern/chapter06/chapter06.puml | 8c96b88de0892e818258fb0cd177fc52d3afbd34 | [] | no_license | GCMH/design-pattern | 9f211746d653f2d930854d250df1f362c66df923 | 0dd9b086917729dd78352cd87bd9bf4ff798dc5b | refs/heads/master | 2022-12-30T09:05:12.255011 | 2020-10-23T13:05:33 | 2020-10-23T13:05:33 | 294,738,250 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 816 | puml | @startuml
class Client{
}
class Invoker{
+setCommand(Command command)
}
interface Command{
void execute()
void undo()
}
class Receiver{
+void action()
}
class ConcreteCommand{
void execute()
void undo()
}
Command<|..ConcreteCommand
Invoker-right->Command
Client-right->Receiver
Client-right->ConcreteCommand
ConcreteCommand-left->Receiver
note left of Client : 客户端负责创建一个ConcreteCommand,并设置接受者
note bottom of Receiver : 接受者最终执行具体操作
note bottom of ConcreteCommand : 定义了动作和接受者之间的绑定关系,调用execute方法,即可调用了最终Receiver的动作。
note top of Invoker : 调用者设置持有的命令对象,调用时执行命令对象execute方法,最终是接收者执行。
@enduml |
b6cb29782abbfdfc30b4a2e59115ef0ec54213e6 | 3a4fbffc931fc3f281e88c0eba61ee7e3111abff | /post/flink-temporal-table-join-rule.iuml | 60c77c015586e294c0f3b140b3b878189aa20908 | [] | no_license | jrthe42/jrthe42.github.io | 801b0f8f4edd30a756400bce7ba12727ac8be6b5 | e831589a82720d9fd8c8a4c69ef535ab59f5719c | refs/heads/master | 2021-05-24T04:01:24.767798 | 2021-03-23T14:25:19 | 2021-03-23T14:25:19 | 34,150,333 | 1 | 0 | null | 2015-08-14T07:00:27 | 2015-04-18T03:06:28 | CSS | UTF-8 | PlantUML | false | false | 1,724 | iuml | @startuml flink-correlate-to-join-rule-for-temporal-table
abstract class LogicalCorrelateToJoinFromTemporalTableRule {
}
abstract class LogicalCorrelateToJoinFromLookupTemporalTableRule extends LogicalCorrelateToJoinFromTemporalTableRule {
}
abstract class LogicalCorrelateToJoinFromGeneralTemporalTableRule extends LogicalCorrelateToJoinFromTemporalTableRule {
}
class LogicalCorrelateToJoinFromLookupTableRuleWithFilter extends LogicalCorrelateToJoinFromLookupTemporalTableRule {
}
class LogicalCorrelateToJoinFromLookupTableRuleWithoutFilter extends LogicalCorrelateToJoinFromLookupTemporalTableRule {
}
class LogicalCorrelateToJoinFromTemporalTableRuleWithFilter extends LogicalCorrelateToJoinFromGeneralTemporalTableRule {
}
class LogicalCorrelateToJoinFromTemporalTableRuleWithoutFilter extends LogicalCorrelateToJoinFromGeneralTemporalTableRule {
}
interface CommonTemporalTableJoinRule {
}
interface CommonLookupJoinRule extends CommonTemporalTableJoinRule {
}
abstract class BaseSnapshotOnTableScanRule implements CommonLookupJoinRule {
}
class StreamExecLookupJoinRule$SnapshotOnTableScanRule extends BaseSnapshotOnTableScanRule {
}
class BatchExecLookupJoinRule$SnapshotOnTableScanRule extends BaseSnapshotOnTableScanRule {
}
abstract class BaseSnapshotOnCalcTableScanRule implements CommonLookupJoinRule{
}
class StreamExecLookupJoinRule$SnapshotOnCalcTableScanRule extends BaseSnapshotOnCalcTableScanRule {
}
class BatchExecLookupJoinRule$SnapshotOnCalcTableScanRule extends BaseSnapshotOnCalcTableScanRule {
}
class StreamExecTemporalJoinRule {
}
' lateral join with udtf
class FlinkLogicalCorrelateConverter {
}
class StreamExecCorrelateRule {
}
class StreamExecCorrelate {
}
@enduml
|
a56d25d16b876fd19c8bf96f975920098fbc931a | a249c2addc54fa5250d268f1c9cb71c1f555fec4 | /learn-design-pattern/src/main/java/com/hqbhoho/bigdata/design/pattern/decorator/decorator.puml | 6aacbdd8d96bfe4f9b5956d4de1ad2a71ab3d864 | [] | no_license | hqbhoho/learn-bigdata | 3bb16248eed5498758bf3f98179242078ed6ddf7 | cb2eca9b1b795a4a8712850f0ec49a32b2f7922d | refs/heads/master | 2022-11-21T16:48:22.455348 | 2020-09-15T01:30:16 | 2020-09-15T01:30:28 | 173,652,937 | 19 | 7 | null | 2022-11-16T11:46:09 | 2019-03-04T01:31:39 | Java | UTF-8 | PlantUML | false | false | 1,278 | puml | @startuml
interface Phone{
{abstract} {method} + String getDetails()
{abstract} {method} + double getPrice()
}
abstract class AbstractPhone{
{field} - String details
{field} - String price
{method} + AbstractPhone()
{method} + void getDetails()
}
class HWPhone{
{method} + HWPhone()
{method} + double getPrice()
}
class XMPhone{
{method} + XMPhone()
{method} + double getPrice()
}
abstract class DecoratorPhone {
{field} - String details
{field} - String price
{field} - Phone phone
{method} + DecoratorPhone(Phone phone)
{method} + void showDetails()
}
class ShellDecoratorPhone{
{method} + ShellDecoratorPhone(Phone phone)
{method} + double getPrice()
}
class ScreenProtectorDecoratorPhone{
{method} + ScreenProtectorDecoratorPhone(Phone phone)
{method} + double getPrice()
}
class client
Phone <|.. AbstractPhone
AbstractPhone <|-- HWPhone
AbstractPhone <|-- XMPhone
Phone <|.. DecoratorPhone
DecoratorPhone <|-- ShellDecoratorPhone
DecoratorPhone <|-- ScreenProtectorDecoratorPhone
DecoratorPhone o-- Phone
ShellDecoratorPhone o-- Phone
ScreenProtectorDecoratorPhone o-- Phone
HWPhone <.. Client
XMPhone <.. Client
ShellDecoratorPhone <.. Client
ScreenProtectorDecoratorPhone <.. Client
@enduml |
b2fc005056e0dff64d675ec4a34c209965274e89 | 271eb04d522e661c1328ea47266851b2e2b5fcf0 | /modelViewPresenter/presentationModel/basic/docs/diagrams/src/paquetes.plantuml | a84d0d0d0efe4315f36261322ea28aa6187c0e33 | [] | no_license | kodenix/solution.java.swing.socket.sql | d734ae8d123ec67cfd18ebe8ff764ccb5e6b5be8 | 604ecc1523e235c9b6767d7381db9d281e340df2 | refs/heads/master | 2023-01-24T15:21:14.111851 | 2020-12-05T23:35:31 | 2020-12-05T23:35:31 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 11,601 | plantuml | @startuml paqueteTicTacToe
class View as "tictactoe.views.View" {}
class Game as "tictactoe.models.Game" {}
class StartController as "tictactoe.controllers.StartController" {}
class PlayController as "tictactoe.controllers.PlayController" {}
class ResumeController as "tictactoe.controllers.ResumeController" {}
class tictactoe.ConsoleTicTacToe{
+ {static} main(String[])
# createView(StartController, PlayController, ResumeController): View
}
tictactoe.TicTacToe <|-down- tictactoe.ConsoleTicTacToe
class tictactoe.TicTacToe{
- game: Game
- startController: StartController
- playController: PlayController
- resumeController: ResumeController
- view: View
# TicTacToe()
# {abstract} createView(StartController, PlayController, ResumeController): View
# play()
}
tictactoe.TicTacToe --> View
tictactoe.TicTacToe --> Game
tictactoe.TicTacToe --> StartController
tictactoe.TicTacToe --> PlayController
tictactoe.TicTacToe --> ResumeController
@enduml
@startuml paqueteTicTactoeViews
class Error as "tictactoe.types.Error" {}
class Console as "usantatecla.utils.Console" {}
class tictactoe.views.ErrorView{
+ {static} MESSAGES: String[]
# error: Error
+ ErrorView(Error)
}
tictactoe.views.ErrorView .down.> Error
enum tictactoe.views.Message{
+ EMPTY
+ NUMBER_PLAYERS
+ SEPARATOR
+ VERTICAL_LINE_LEFT
+ VERTICAL_LINE_CENTERED
+ VERTICAL_LINE_RIGHT
+ ENTER_COORDINATE_TO_PUT
+ ENTER_COORDINATE_TO_REMOVE
+ COORDINATE_TO_PUT
+ COORDINATE_TO_REMOVE
+ COORDINATE_TO_MOVE
+ PLAYER_WIN
+ RESUME
- message: String
- Message(String)
+ getMessage(): String
+ write()
+ writeln()
+ toString(): String
}
tictactoe.views.Message .down.> Console
class tictactoe.views.View {
+ interact()
# {abstract} start()
# {abstract} play()
# {abstract} isResumed(): boolean
}
@enduml
@startuml paqueteTicTactoeViewsConsole
class Error as "tictactoe.models.\nError" {}
class Coordinate as "tictactoe.models.\nCoordinate" {}
class Console as "usantatecla.utils.\nConsole" {}
class Controller as "tictactoe.controllers.\nController" {}
class PlayController as "tictactoe.controllers.\nPlayController" {}
class ResumeController as "tictactoe.controllers.\nResumeController" {}
class YesNoDialog as "usantatecla.utils.\nYesNoDialog" {}
class StartController as "tictactoe.controllers.\nStartController" {}
class LimitedIntDialog as "usantatecla.utils.\nLimitedIntDialog" {}
class Token as "tictactoe.models.\nToken" {}
class Message as "tictactoe.views.\nMessage" {}
class ErrorView as "tictactoe.views.\nErrorView" {}
class tictactoe.views.console.CoordinateView {
+ read(String): Coordinate
}
tictactoe.views.console.CoordinateView .down.> Console
tictactoe.views.console.CoordinateView .down.> Error
tictactoe.views.console.CoordinateView .down.> Coordinate
class tictactoe.views.console.ErrorView{
~ ErrorView(Error)
~ writeln()
}
tictactoe.views.console.ErrorView .down.> Error
tictactoe.views.console.ErrorView .down.> Console
ErrorView <|-down- tictactoe.views.console.ErrorView
class tictactoe.views.console.GameView{
~ GameView(Controller)
~ write()
}
tictactoe.views.console.GameView *-down-> Controller
tictactoe.views.console.GameView .down.> Coordinate
tictactoe.views.console.GameView .down.> Message
class tictactoe.views.console.PlayView{
~ PlayView(PlayController)
~ interact()
- put()
- move()
}
tictactoe.views.console.PlayView *-down-> PlayController
tictactoe.views.console.PlayView .down.> Coordinate
tictactoe.views.console.PlayView .down.> Message
tictactoe.views.console.PlayView .down.> Error
class tictactoe.views.console.ResumeView{
+ ResumeView(ResumeController)
~ interact(): boolean
}
tictactoe.views.console.ResumeView *-down-> ResumeController
tictactoe.views.console.ResumeView .down.> Message
tictactoe.views.console.ResumeView .down.> YesNoDialog
class tictactoe.views.console.StartView{
~ StartView(StartController)
~ interact(): void
}
tictactoe.views.console.StartView *-down-> StartController
tictactoe.views.console.StartView .down.> Message
tictactoe.views.console.StartView .down.> LimitedIntDialog
class tictactoe.views.console.TokenView{
+ {static} SYMBOLS: char[]
~ TokenView(Token)
~ write()
}
tictactoe.views.console.StartView *-down-> Token
tictactoe.views.console.StartView .down.> Console
class tictactoe.views.console.View{
+ View(StartController, PlayController, ResumeController)
+ interact()
# start()
# play()
# isResumed(): boolean
}
tictactoe.views.console.View *-down-> tictactoe.views.console.StartView
tictactoe.views.console.View *-down-> tictactoe.views.console.PlayView
tictactoe.views.console.View *-down-> tictactoe.views.console.ResumeView
@enduml
@startuml paqueteTicTactoeModels
class ClosedInterval as "usantatecla.utils.\nClosedInterval" {}
class ConcreteCoordinate as "usantatecla.utils.\nConcreteCoordinate" {}
class Direction as "usantatecla.utils.\nDirection" {}
class Error as "tictactoe.types.Error" {}
class tictactoe.models.Board{
+ Board()
~ reset()
~ getToken(Coordinate): Token
~ boolean isCompleted()
~ put(Coordinate, Token)
~ move(Coordinate, Coordinate)
- remove(Coordinate)
~ isOccupied(Coordinate, Token): boolean
~ isEmpty(Coordinate): boolean
~ isTicTacToe(Token): boolean
- getCoordinates(Token): List<Coordinate>
}
tictactoe.models.Board *-down-> "*" tictactoe.models.Token
tictactoe.models.Board .down.> tictactoe.models.Coordinate
tictactoe.models.Board .down.> Direction
class tictactoe.models.Coordinate{
- {static} NULL_COORDINATE: Coordinate
+ {static} DIMENSION: int
- {static} LIMITS: ClosedInterval
+ Coordinate()
+ Coordinate(int, int)
+ isNull(): boolean
+ isValid(): Error
+ getDirection(Coordinate): Direction
- inInverseDiagonal(): boolean
+ random()
+ equals(Object): boolean
}
ConcreteCoordinate <|-down- tictactoe.models.Coordinate
tictactoe.models.Coordinate .down.> Error
tictactoe.models.Coordinate .down.> Direction
tictactoe.models.Coordinate .down.> ClosedInterval
class tictactoe.models.Game{
+ Game()
+ reset()
+ setUsers(int)
+ isBoardComplete(): boolean
+ isUser(): boolean
+ put(Coordinate): Error
+ move(Coordinate, Coordinate): Error
+ next(Error)
+ isTicTacToe(): boolean
+ getToken(Coordinate): Token
+ getToken(): Token
+ getMaxPlayers(): int
}
tictactoe.models.Game *-down-> tictactoe.models.Board
tictactoe.models.Game *-down-> tictactoe.models.Turn
tictactoe.models.Game .down.> tictactoe.models.Coordinate
tictactoe.models.Game .down.> Error
class tictactoe.models.Player{
~ Player(Token, Board)
~ put(Coordinate): Error
~ move(Coordinate, Coordinate): Error
~ getToken(): Token
}
tictactoe.models.Player *-down-> tictactoe.models.Token
tictactoe.models.Player *-down-> tictactoe.models.Board
tictactoe.models.Player .down.> tictactoe.models.Coordinate
tictactoe.models.Player .down.> Error
enum tictactoe.models.Token{
+ X
+ O
+ NULL
+ isNull(): boolean
+ {static} get(int): Token
}
tictactoe.models.Token .down.> ClosedInterval
class tictactoe.models.Turn{
+ {static} NUM_PLAYERS: int
- active: int
- users: int
~ Turn(Board)
~ setUsers(int)
~ next()
~ isUser(): boolean
~ put(Coordinate): Error
~ getPlayer(): Player
~ move(Coordinate, Coordinate): Error
~ getToken(): Token
}
tictactoe.models.Turn *-down-> "*" tictactoe.models.Player
tictactoe.models.Turn *-down-> tictactoe.models.Board
tictactoe.models.Turn .down.-> tictactoe.models.Token
tictactoe.models.Turn .down.-> tictactoe.models.Coordinate
tictactoe.models.Turn .down.-> Error
@enduml
@startuml paqueteTypes
enum tictactoe.types.Error{
+ NOT_EMPTY
+ NOT_OWNER
+ SAME_COORDINATES
+ NOT_VALID
+ NULL_ERROR
+ isNull(): boolean
}
@enduml
@startuml paqueteTicTactoeControllers
class Game as "tictactoe.models.\nGame" {}
class Coordinate as "tictactoe.models.\nCoordinate" {}
class Error as "tictactoe.types.\nError" {}
class Token as "tictactoe.models.\nToken" {}
class tictactoe.controllers.Controller{
~ Controller(Game)
+ getToken(Coordinate): Token
}
tictactoe.controllers.Controller *-down-> Game
class tictactoe.controllers.PlayController{
+ PlayController(Game)
+ isBoardComplete(): boolean
+ isTicTacToe(): boolean
+ getToken(): Token
+ isUser(): boolean
+ put(Coordinate): Error
+ move(Coordinate,Coordinate): Error
}
tictactoe.controllers.Controller <|-down- tictactoe.controllers.PlayController
tictactoe.controllers.PlayController .down.> Coordinate
tictactoe.controllers.PlayController .down.> Error
tictactoe.controllers.PlayController .down.> Game
tictactoe.controllers.PlayController .down.> Token
class tictactoe.controllers.ResumeController{
+ ResumeController(Game)
+ resume()
}
tictactoe.controllers.Controller <|-down- tictactoe.controllers.ResumeController
tictactoe.controllers.ResumeController .down.> Game
class tictactoe.controllers.StartController{
+ StartController(Game)
+ setUsers(int)
+ getMaxPlayers(): int
}
tictactoe.controllers.Controller <|-down- tictactoe.controllers.StartController
tictactoe.controllers.StartController .down.> Game
@enduml
@startuml paqueteUtils
class BufferedReader as "java.io.BufferedReader"{}
class usantatecla.utils.ClosedInterval{
- min: int
- max: int
+ ClosedInterval(int,int)
+ isIncluded(int): boolean
+ toString(): String
}
class usantatecla.utils.ConcreteCoordinate{
# row: int
# column: int
- {static} ROW: String
- {static} COLUMN: String
# ConcreteCoordinate()
# ConcreteCoordinate(int,int)
+ isNull(): boolean
+ getDirection(Coordinate): Direction
+ inHorizontal(Coordinate): boolean
+ inVertical(Coordinate): boolean
+ inMainDiagonal(): boolean
# read(String)
+ getRow(): int
+ getColumn(): int
+ hashCode(): int
+ equals(Object): boolean
+ toString(): String
}
usantatecla.utils.Coordinate <|-down- usantatecla.utils.ConcreteCoordinate
usantatecla.utils.ConcreteCoordinate .down.> usantatecla.utils.Direction
usantatecla.utils.ConcreteCoordinate .down.> usantatecla.utils.Console
class usantatecla.utils.Console{
- {static} console: Console
+ {static} instance(): Console
- readString(String): String
+ readString(): String
+ readInt(String): int
~ readChar(String): char
+ writeln()
+ write(String)
+ write(int)
+ writeln(String)
+ writeln(int)
+ write(char)
- writeError(String)
}
usantatecla.utils.Console *-down-> BufferedReader
interface usantatecla.utils.Coordinate{
~ isNull(): boolean
~ getDirection(Coordinate): Direction
~ inHorizontal(Coordinate): boolean
~ inVertical(Coordinate): boolean
~ inMainDiagonal(): boolean
}
usantatecla.utils.Coordinate .down.> usantatecla.utils.Direction
enum usantatecla.utils.Direction{
VERTICAL
HORIZONTAL
MAIN_DIAGONAL
INVERSE_DIAGONAL
NULL
}
class usantatecla.utils.LimitedIntDialog{
- LIMITS: ClosedInterval
- {static} ERROR_MESSAGE: String
+ LimitedIntDialog(int,int)
+ read(String): int
}
usantatecla.utils.LimitedIntDialog *-down-> usantatecla.utils.ClosedInterval
usantatecla.utils.LimitedIntDialog .down.> usantatecla.utils.Console
class usantatecla.utils.NullCoordinate{
- {static} instance: NullCoordinate
+ {static} instance(): Coordinate
+ isNull(): boolean
+ getDirection(Coordinate): Direction
+ inHorizontal(Coordinate): boolean
+ inVertical(Coordinate): boolean
+ inMainDiagonal(): boolean
+ hashCode(): int
+ equals(Object): boolean
+ toString(): String
}
usantatecla.utils.Coordinate <|-down- usantatecla.utils.NullCoordinate
usantatecla.utils.NullCoordinate .down.> usantatecla.utils.Direction
class usantatecla.utils.YesNoDialog{
- {static} AFIRMATIVE: char
- {static} NEGATIVE: char
- {static} SUFFIX: String
- {static} MESSAGE: String
- answer: char
+ read(String): boolean
- isAffirmative(): boolean
- getAnswer(): char
- isNegative(): boolean
}
usantatecla.utils.YesNoDialog .down.> usantatecla.utils.Console
@enduml
|
07eea5622eca913d06f07de87c9ae823da95950c | 9623791303908fef9f52edc019691abebad9e719 | /src/cn/shui/learning_plan/offer/eighteenth/eighteenth.plantuml | bdf3115af88a2fccc430645f6917e97fc401cc9a | [] | 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 | 635 | plantuml | @startuml
title __EIGHTEENTH's Class Diagram__\n
namespace cn.shui.learning_plan.offer.eighteenth {
class cn.shui.learning_plan.offer.eighteenth.Offer55I {
+ maxDepth()
+ maxDepth2()
}
}
namespace cn.shui.learning_plan.offer.eighteenth {
class cn.shui.learning_plan.offer.eighteenth.Offer55II {
+ isBalanced()
+ isBalanced2()
- height()
- maxDepth()
}
}
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
|
db52d3b4d50292a9ed8768246e65477632d3b52a | b2d33d6e2b323281a5adab60b65f5c9906c6d5ec | /exempluGrafica/src/main/java/joc/player/player.plantuml | a321fa503cfe2e51590fea43f4fbee516bcb7ca5 | [] | no_license | LoghinVladDev/gameEx | b68da7b75f01cdf11afce935fac876cb4420ad68 | 3dc465af55f55b2aa5634446d2115615cc8a46f7 | refs/heads/master | 2022-10-17T05:20:03.623434 | 2020-06-11T16:03:28 | 2020-06-11T16:03:28 | 265,932,516 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,272 | plantuml | @startuml
title __PLAYER's Class Diagram__\n
namespace joc {
namespace player {
enum Directions {
DOWN
LEFT
LEFT_DOWN
LEFT_UP
NOTHING
RIGHT
RIGHT_DOWN
RIGHT_UP
UP
}
}
}
namespace joc {
namespace player {
class joc.player.Player {
~ combinedMovement : boolean
{static} - ARCHER_ENEMY_DETECTION_CIRCLE_RADIUS : int
- FRAME_PLAYER_COLLIDE_SPEED : float
- FRAME_PLAYER_MOVE_SPEED : float
{static} - REGULAR_ENEMY_DETECTION_CIRCLE_RADIUS : int
{static} - ROCK_THROWER_ENEMY_DETECTION_CIRCLE_RADIUS : int
- actualPlayerSpeed : float
- dead : boolean
- enemies : List<Enemy>
- facingRight : boolean
- heartsCount : int
- keyCount : int
- playerSpriteLeft : BufferedImage
- playerSpriteRight : BufferedImage
- surroundingEnemies : List<HumanoidEnemy>
- x : float
- y : float
+ Player()
+ addKey()
+ draw()
+ getHeartsCount()
+ getHit()
+ getInputDirection()
+ getKeyCount()
+ getLocationStatus()
+ getNextProjectileDirection()
+ getSurroundingEnemies()
+ getX()
+ getY()
+ heal()
+ isDead()
+ setEnemies()
+ setMovementListener()
+ update()
- getDetectedByEnemies()
- stopIfEnemyIsAround()
}
}
}
namespace joc {
namespace player {
enum PlayerStatus {
PLAYER_COLLIDE
PLAYER_COLLIDE_BOTTOM
PLAYER_COLLIDE_LEFT
PLAYER_COLLIDE_RIGHT
PLAYER_COLLIDE_TOP
PLAYER_IN_WATER
PLAYER_NO_COLLIDE
}
}
}
joc.player.Player o-- joc.player.PlayerStatus : locationStatus
joc.player.Player o-- joc.listener.MovementListener : movementListener
joc.player.Player o-- joc.projectile.ProjectileDirection : projectileDirection
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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.