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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
104f8042e6d94eb5f53486ee9123efdac8f55ac8 | e251f0f9a7fcc88a46be4be7e969da1ce5336c59 | /src/main/java/Iterateur/Name/README.puml | 7ce48b2850204eedb2a36ad862e5f6895cff6143 | [] | no_license | RaulSima/LOG121-GOF-exemples | c8974b93825d4b29e833ffde899b1c4056d87c75 | f778d48faa2d79d5f2d4cb7b46fccacf493e5b29 | refs/heads/master | 2023-02-21T01:34:43.043039 | 2021-01-22T20:01:59 | 2021-01-22T20:01:59 | 330,019,270 | 0 | 0 | null | 2021-01-15T20:49:47 | 2021-01-15T20:49:34 | null | UTF-8 | PlantUML | false | false | 537 | puml | @startuml Diagramme de classe
skinparam style strictuml
interface Container <<Interface>> {
getIterator(): Iterator
}
interface Iterator <<Interface>> {
hasNext(): boolen
next(): Object
}
class NameRepository{
name: String[]
getIterator(): Iterator
}
class NameIterator{
hasNext(): boolean
next(): Object
}
class IteratorPatternDemo{
main():void
}
class NameRepository implements Container
class NameIterator implements Iterator
IteratorPatternDemo -> NameRepository : uses
NameRepository -> NameIterator : as
@enduml |
ccd0a380cae260bbe91d35a4cb359fbf316a4941 | 3495a3bc8450a240a21780fb8c795c215f88000a | /Exemplos/uc13-timer example/UC13_MD.puml | 4bd80324628fea2368b7b9b1849a97b98c210d06 | [] | no_license | 1190452/LAPR2 | f27ac4e485b91d04189dd0a37551bc108c070b12 | 97c5488c091243cf65f9e16821f56a5020e0ae2e | refs/heads/master | 2023-05-09T02:35:50.850483 | 2020-06-14T21:07:59 | 2020-06-14T21:07:59 | 372,570,349 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,505 | puml | @startuml
skinparam classAttributeIconSize 0
hide methods
left to right direction
class Plataforma {
-String designacao
}
class TipoRegimento
{
-String designacao
-String descricaoRegras
}
class Freelancer {
-String nome
-String NIF
-String telefone
-String email
}
class Anuncio
{
-Date dtInicioPublicitacao
-Date dtFimPublicitacao
-Date dtInicioCandidatura
-Date dtFimCandidatura
-Date dtInicioSeriacao
-Date dtFimSeriacao
}
class Candidatura
{
-Date dataCandidatura
-Double valorPretendido
-Integer nrDias
-String txtApresentacao
-String txtMotivacao
}
class Classificacao
{
-Integer lugar
}
class ProcessoSeriacao
{
-Date dataRealizacao
-String conclusao
}
class ProcessoAdjudicacao
{
}
Plataforma "1" -- "*" TipoRegimento : suporta >
Plataforma "1" -- "*" Anuncio : publicita >
Plataforma "1" -- "*" Freelancer : tem/usa >
Anuncio "*" -- "1" TipoRegimento: rege-se por >
Anuncio "1" -- "*" Candidatura: recebe >
Anuncio "1" -- "0..1" ProcessoSeriacao: espoleta >
Anuncio "1" -- "0..1" ProcessoAdjudicacao: espoleta >
Candidatura "*" -- "1" Freelancer: realizada por >
ProcessoSeriacao "*" -- "1" TipoRegimento: decorre em concordância com >
ProcessoSeriacao "1" -- "*" Classificacao: resulta >
ProcessoAdjudicacao "1" -- "*" Classificacao: resulta >
ProcessoAdjudicacao "*" -- "1" TipoRegimento: decorre em concordância com >
Classificacao "0..1" -- "1" Candidatura: referente a >
@enduml |
ff235fe5a60acec00d0b1ebaca20471a71b4fad9 | 40e351567ea4253710fab5639d62af6dbb8686d2 | /plantuml/Memento.puml | cf7738bed233d7dd4b9e9c04c6f04d6e7e698c54 | [] | no_license | AlexMaxwell2001/MementoDesignPattern | e6e0c9715217e47ea352c5084621148897ba03c3 | 54a456ac2eecdca88dd7fab09ec7de19d04c7f59 | refs/heads/main | 2023-01-18T15:46:11.610765 | 2020-12-03T13:22:49 | 2020-12-03T13:22:49 | 318,200,279 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 182 | puml | @startuml
class Memento {
+ GetState() : ArrayList
+ SetState(state:ArrayList) : void
+ CreateMemento() : Memento
+ SetMemento(ar:ArrayList) : void
}
@enduml
|
cbdd17fe4a986728796028c1e01f798eaa60c1ee | 636d88cc43ec1ba57c3699ed58d0cec51a1a3084 | /Term Project/Memento/Memento_Class_diagram.puml | 1ca93f703800422296455e4ed7b8dd07429310f2 | [] | no_license | ahmedAlraimi/Tasarim | 088944d13cbdaeea4e0537f7035b1e7ad618c91c | c5a1ee24b3c57561cca80fd7a6e81359bde5b040 | refs/heads/master | 2020-04-26T15:33:28.741752 | 2019-07-10T13:09:39 | 2019-07-10T13:09:39 | 173,650,584 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 579 | puml | @startuml
skinparam classAttributeIconSize 0
class Ticket {
{field} - currentState
{method} + open()
{method} + assign()
{method} + close()
{method} + saveToMemento()
{method} + restoreFromMemento(memento)
{method} + getState()
}
class Memento {
{field} - state)
{method} + getState()
}
class State {
{field} - validStates
{field} - state
{field} - STATE_CREATED
{field} - STATE_OPENED
{field} - STATE_ASSIGNED
{field} - STATE_CLOSED
{static} + ensurelsValidState(state)
{method} + __toString()
}
Ticket -> Memento
Memento <-- State
@enduml |
f8d921dca02b6b2a3ab50e976d84f19cd8bee79b | bb96defe4fc3854eb54a88844e6b14c9ddd2b26d | /IteratorsPattern/dskim_iterators/doc/classDiagram.puml | d5b9dcc81fac4e23c1c1904cb463add24541dcd0 | [] | no_license | marcioarede/Iteratorpattern | 9ae2be3a4f0ad5750799343090e8f6317c7b7a29 | 20867fa9cca910e7786ddfe848c50c7a88ae7f0d | refs/heads/main | 2023-08-27T17:52:26.170350 | 2021-10-06T21:46:54 | 2021-10-06T21:46:54 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 704 | puml | @startuml Iterator 패턴(김동석)
hide empty members
hide empty methods
title Iterator 패턴(김동석)
header https://github.com/bluedskim/javaDesignPatterns
footer 작성시각 %date("yyyy.MM.dd' 'HH:mm")
interface Iterator<E> {
public boolean hasNext();
public E next();
}
class ArrayIterator {
public boolean hasNext();
public Object next();
Object[] array;
int index = 0;
}
interface Iterable<T> {
public abstract java.util.Iterator<T> iterator();
}
class ArrayContainer {
public Iterator<Object> iterator()
}
class IteratorTest {
void arrayIteratorTest()
}
Iterable <|-- ArrayContainer
Iterator <|-- ArrayIterator
IteratorTest --> Iterable
IteratorTest --> Iterator
@enduml |
933262339dcf78c0ca0cc738a6ac70c476fc99c3 | 839110c61147336520651df5662d286d0746add4 | /documentation/klassediagram/klassediagram.plantuml | 82d71e8677317f819bf1bbe055e5f264760afdb1 | [] | no_license | dxnlz/DDU---eksamensprojekt | 523a743e062eb246ae0a3dacb07f943d8d7099a0 | 2b750fd1bdcc6fc231cc20b4380c2be35ddd92fe | refs/heads/main | 2023-05-03T04:56:19.686962 | 2021-05-19T18:20:15 | 2021-05-19T18:20:15 | 345,969,175 | 0 | 1 | null | 2021-05-18T20:35:22 | 2021-03-09T10:32:49 | TypeScript | UTF-8 | PlantUML | false | false | 3,582 | plantuml | @startuml
title Klassediagram
' class DataStore << (P,yellow) Provider>> {
' +viewState: ViewState
' +newSessionModal: boolean
' +oldSessionModal: boolean
' +data: Array<SensorData>
' +session: number
' +recordBegin: number
' +lastUpdate: number
' ==methods==
' ~openNewSessionModal()
' ~ParseSensorData(elem)
' ~FetchSensorData()
' ~FetchSessionList()
' }
class NextApp {
//imported from nextjs//
}
class App << (M,green) React.Component>> extends NextApp {
==methods==
~async getInitialProps()
~componentDidMount()
~render()
}
class DropItem << (M,green) React.Component>> {
==props==
+text: string
+url: string
+path?: string
==methods==
~render()
}
class BarItem << (M,green) React.Component>> {
==props==
+text: string
+url: string
+path?: string
==methods==
~render()
}
class TitleItem << (M,green) React.Component>> {
==props==
+text: string
+url: string
+path?: string
==methods==
~render()
}
class Header << (M,green) React.Component>> {
==props==
+path: string
+inputstyles?: any
+profile: IProfileStatus
==state==
+search: string
==methods==
~onLogout(popupState: any)
~loggedOutMenu(popupState: any)
~render()
}
class Cell << (M,green) React.Component>> {
==props==
+id: number
+name: string
+description: string
+price: number
+stock: number
+category: number
+image: string
+created: string
+last_updated: string
==methods==
~render()
}
class Review << (M,green) React.Component>> {
==props==
+id: number
+stars: number
+review: string
+author: number
+created: Date
+product: number
+last_updated: Date
+username: string
==methods==
~render()
}
' class Modal << (M,green) React.Component>> {
' ==props==
' +children
' +title
' +show
' +buttons
' ==methods==
' ~onHide()
' }
' class OldSessionList << (M,green) React.Component>> {
' +sessions: Session[]
' ==props==
' +data: DataStore
' ==methods==
' ~onSelectSession()
' ~componentWillMount()
' }
' class Graph << (M,blue) React.Component>> {
' ==props==
' +title: string
' +graphTitle: string
' +yAxis: string
' +xAxis: string
' +graphRef: React.RefObject<Line>
' +graphs: string[]
' ==methods==
' ~onHide()
' }
' package Container {
' class CanSat3D << (M,blue) React.Component>> {
' +roll
' +pitch
' ==props==
' +data: DataStore
' ==methods==
' ~calcRoll()
' ~calcPitch()
' }
' class Kort << (M,blue) React.Component>> {
' ==props==
' +data: DataStore
' ==methods==
' ~getLocation()
' }
' class Telemetry << (M,blue) React.Component>> {
' }
' class Table << (M,blue) React.Component>> {
' -tableRef
' -columns
' ==props==
' +title: string
' +data: DataStore
' }
' }
' class NavBar {
' //imported from bootstrap//
' }
' skinparam nodesep 100
' App -[hidden]> DataStore
' DataStore |o-- App : store: DataStore
' DataStore |o-- OldSessionList : store: DataStore
' DataStore |o-- Container : store: DataStore
' DataStore -[hidden]> Container
' ' DataStore o.. CanSat3D : store: DataStore
' ' DataStore o.. Kort : store: DataStore
' ' DataStore o.. Table : store: DataStore
' App <..> NavBar
' App <..> Modal
' App <..[norank]> Container
' Modal <..> OldSessionList
' App <..> GraphView
' GraphView <..> Graph
@enduml |
14fc1ac6f1f7323d40d85668a8ffd72da36643ce | cc2bd8f80488850533e0d31ae4d317b3e6abd106 | /src/main/java/ex44/base/EX44.puml | e5bce0ba34f3c0ab031ed2563e374ef0720312a6 | [] | no_license | joshfeds/Federman-cop3330-assignment3 | 680d3b1b2901a1554681abd901a44391dfd61cb8 | 667b357fd674df7734dc7a4b93d8fab866f2ad76 | refs/heads/master | 2023-06-03T08:48:21.431093 | 2021-06-21T03:49:43 | 2021-06-21T03:49:43 | 378,732,878 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 394 | puml | @startuml
'https://plantuml.com/class-diagram
listCreation <|-- Base44
Products <|-- Base44
StringBase44 <|-- Base44
BooleanBase44 <|-- StringBase44
Base44 <|-- StringBase44
class Base44 {
printingOutput();
}
class Products{
Name
Price
Quantity
}
class listCreation {
createList();
}
class BooleanBase44{
doesProductExist();
}
class StringBase44{
getProductName();
creatingOutput();
}
@enduml |
acbbe6e0dd8e6ee1f7359fa691606a8ad457e71f | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Assets/Test/Script/DebugQuestionTime.puml | 2b1bd1c0719449a2a34f4b380b7ee8a686c91428 | [] | 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 | 204 | puml | @startuml
class DebugQuestionTime {
Start() : void
Update() : void
}
MonoBehaviour <|-- DebugQuestionTime
DebugQuestionTime --> "at" CharacterTest
DebugQuestionTime --> "debugQTText" Text
@enduml
|
cbdc8db53af9d41e4e6726f9a0c0cbaa2868dc10 | 8a7a2b763c25a755aedf038864286f5fcf0e47be | /exercise45/docs/classes.puml | ebd55daf9eb16b8c31ec14ae66b9f65983f856cc | [] | no_license | Your0nlySon/Duncan-a04 | c9b375dd79a52ec89e7c59ed1ef8b3230f2ac05d | 6108e441b8dd7d5d0063426aa571ab0608f6c55e | refs/heads/main | 2023-08-24T19:49:40.986791 | 2021-10-18T03:55:07 | 2021-10-18T03:55:07 | 416,451,319 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 698 | puml | @startuml
class Solution45 {
-readFile rF;
-replaceWord rW;
-writeFile wF;
-String fileName = "data/exercise44_input.txt"
main(String[])
+fileRead()
'rF.fileRead(fileName)
+wordReplace()
'rW.wordReplace(fileRead)
+askFilename()
'fN.askFN()
+fileWrite()
'wF.fileWrite(wordReplace)
}
class readFile {
+String fileReader(String fileName)
}
class replaceWord {
+String wordReplacer(String fileString)
}
class askFilename {
+String askFn
}
class writeToFile {
+fileWriter(String stringToFile, String askFilename)
}
Solution45 --o readFile
Solution45 --o replaceWord
Solution45 --o askFilename
Solution45 --o writeToFile
@enduml |
bba199760be2f12675db7c7b19079be88db7d218 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CustomerSetCustomFieldAction.puml | 86f7abc00d7fe74199eb92ea1f5c45d7bba919ef | [] | 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 | 484 | 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 CustomerSetCustomFieldAction [[CustomerSetCustomFieldAction.svg]] extends CustomerUpdateAction {
action: String
name: String
value: [[Object.svg Object]]
}
interface CustomerUpdateAction [[CustomerUpdateAction.svg]] {
action: String
}
@enduml
|
15419fe72ece5f7fabc996858b474a7febf641ae | 3ad61f0f2022769ec749a2b606ab068c850be54d | /src/main/java/ex46/ex46PUML.puml | 42161dbd2999b00f656f4343a4a0a86f75124545 | [] | no_license | Nickstar2020/smarsh-cop3330-assignment3 | 82bb7317a36f0c943d37ede51197c0014bdb718d | 5ae8b92a307371508bde7c0eac3fc32720a294dd | refs/heads/master | 2023-08-12T07:29:35.380647 | 2021-10-11T18:38:57 | 2021-10-11T18:38:57 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,346 | puml | @startuml
header ex45 code flow
class readFile{
reads the input File
creates an array list
*scans the input into the array list
{method} returns allWords
}
class countOccurrences{
takes in:
*allWords
*word
{method}loops through the array list and counts how many times a words has
{method} been in the input from the allWords list.
{method} returns count
}
class findHighestOccurrence {
takes in:
*count
*word
*word amount
also creates an array of the graphical visuals
{method} organizes the arrays from highest to lowest
{method} prints out the word and how many times it was contained in the input
}
class findTheWords {
look through all the words and pair the
occurrences together.
{method}
}
class main {
creates an array list that's = to readFile
creates a number for the amount of mods that is = to writeFile
{method} prints out the amount of modifications
}
main -[thickness=4]> readFile : sends info
main -[thickness=4]> findTheWords : sends info
findTheWords -[thickness=4]> findHighestOccurrence : reorders the arrays from highest to lowest occurrence
findTheWords -[thickness=1]> countOccurrences : asks to count occurrence of a word
countOccurrences -[thickness=1]> findTheWords : sends how many times its been counted
@enduml |
e51ed980a4f880ff3bca1761ef63cb8fe42a9416 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ItemShippingTarget.puml | 6fc553f62c3f207af8cea88487450fa01eefb81e | [] | 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,954 | 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 ItemShippingTarget [[ItemShippingTarget.svg]] {
addressKey: String
quantity: Long
shippingMethodKey: String
}
interface ItemShippingDetails [[ItemShippingDetails.svg]] {
targets: [[ItemShippingTarget.svg List<ItemShippingTarget>]]
valid: Boolean
}
interface ItemShippingDetailsDraft [[ItemShippingDetailsDraft.svg]] {
targets: [[ItemShippingTarget.svg List<ItemShippingTarget>]]
}
interface CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction [[CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction.svg]] {
action: String
customLineItemId: String
customLineItemKey: String
targetsDelta: [[ItemShippingTarget.svg List<ItemShippingTarget>]]
}
interface CartApplyDeltaToLineItemShippingDetailsTargetsAction [[CartApplyDeltaToLineItemShippingDetailsTargetsAction.svg]] {
action: String
lineItemId: String
lineItemKey: String
targetsDelta: [[ItemShippingTarget.svg List<ItemShippingTarget>]]
}
interface MyCartApplyDeltaToLineItemShippingDetailsTargetsAction [[MyCartApplyDeltaToLineItemShippingDetailsTargetsAction.svg]] {
action: String
lineItemId: String
lineItemKey: String
targetsDelta: [[ItemShippingTarget.svg List<ItemShippingTarget>]]
}
ItemShippingTarget --> ItemShippingDetails #green;text:green : "targets"
ItemShippingTarget --> ItemShippingDetailsDraft #green;text:green : "targets"
ItemShippingTarget --> CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction #green;text:green : "targetsDelta"
ItemShippingTarget --> CartApplyDeltaToLineItemShippingDetailsTargetsAction #green;text:green : "targetsDelta"
ItemShippingTarget --> MyCartApplyDeltaToLineItemShippingDetailsTargetsAction #green;text:green : "targetsDelta"
@enduml
|
912750b09469e42a117ce8edec78c9dfb21de410 | b209f48148c07f4c1733694cfccb4f2563b93b9f | /MainReport/img/dnsprivacy-classification.plantuml | ea52ee685b5e3f2f7b7a94faab265768696e0ff1 | [] | no_license | songhokun/2DV50E-2019VT | 4014aa43114b6b5429565c222a3c9996f32400b9 | a567737edf0342c6f60ade1658be97553385d13e | refs/heads/master | 2020-04-24T04:18:34.411832 | 2019-06-19T10:39:30 | 2019-06-19T10:39:30 | 171,698,047 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,296 | plantuml | @startuml
skinparam dpi 400
abstract Hierachial {
Preserving exisiting\nDNS Structure
}
abstract Decentralised {
Radical DNS\narchitecture change
}
abstract Encipherment {
}
abstract Redaction {
Minimise information leaks
}
abstract TransportChannel {
}
abstract CurrentStandards {
Reusing DNS\nover exisiting secure protocols
}
abstract NewChannelMethod {
Reusing DNS over\nown-implemented secure protocols
}
class DoT {
standarised = "T"
}
class DoH {
standarised = "T"
}
class Namecoin {
standarised = "F"
}
class GNUNet {
standarised = "F"
}
class ObliviousDNS{
standarised = "F"
}
class QNAMEMinimization{
standarised = "T"
}
class DTLS{
standarised = "T"
}
class DNSCrypt{
standarised = "F"
}
class DNSCurve{
standarised = "F"
}
class DoQUIC{
standarised = "Ongoing"
}
Hierachial -- Encipherment
Hierachial -- Redaction
Encipherment -- TransportChannel
TransportChannel -- CurrentStandards
TransportChannel -- NewChannelMethod
CurrentStandards <|-- DoT
CurrentStandards <|-- DoH
CurrentStandards <|-- DTLS
Redaction <|-- ObliviousDNS
Redaction <|-- QNAMEMinimization
NewChannelMethod <|-- DNSCrypt
NewChannelMethod <|-- DNSCurve
NewChannelMethod <|-- DoQUIC
Decentralised <|-- Namecoin
Decentralised <|-- GNUNet
@enduml |
ebeafbd4babc56b75567de1a864283b1b19ad59e | 89ce22784b25e74a731104006524709bc75f259e | /src/edu/ifes/lfa/calc/data/CalcData.puml | e702074b525c793e0dad47733e9a7b6c339b9f41 | [] | no_license | LuizGuzzo/LFA-Calc-20182 | 64123c426f1c2ed91662216362ae9845c25895d0 | f566bb275e7a01d5f8f1d273af7cce90c73489f6 | refs/heads/master | 2020-04-11T13:59:02.447947 | 2018-12-14T21:52:20 | 2018-12-14T21:52:20 | 160,973,559 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,232 | puml | @startuml
abstract class Expr {
+{abstract}eval(ctx: Context): Expr
+{abstract}write(): String
}
Expr --> Context
class Context {
#parent: Optional<Context>
+isGlobal(): boolean
+contains(name: String): boolean
+put(name: String, value: Expr)
+set(name: String, value: Expr): boolean
+get(name: String): Expr
}
abstract class Literal {
+eval(ctx: Context): Expr
}
Expr <|-- Variable
class Variable {
+name: String
}
Expr <|-- ExpecialForm
ExpecialForm <|-- Assignment
class Assignment {
+varName: String
+expr: Expr
+eval(ctx: Context)
}
ExpecialForm <|-- BlockExpr
class BlockExpr {
+exprList: List<Expr>
+eval(ctx: Context): Expr
}
ExpecialForm <|-- IfExpr
class IfExpr {
+cond: Expr
+thenExpr: Expr
+elseExpr: Expr
+eval(ctx: Context): Expr
}
class WhileExpr {
+cond: Expr
+doExpr: Expr
+eval(ctx: Context): Expr
}
ExpecialForm <|-- WhileExpr
Expr <|-- Literal
class Numeric {
+intValue: Long
+decValue: Double
}
class Int {
+value: Integer {readOnly}
}
class Decimal {
+value: Double {readOnly}
}
Literal <|-- Numeric
Numeric <|-- Int
Numeric <|-- Decimal
class Bool {
+value: Boolean
+{static}VERUM: Bool
+{static}FALSUM: Bool
+neg(): Bool
}
Literal <|-- Bool
class CompositeExpr {
+fn: Function
+args: List<Expr>
+eval(ctx: Context): Expr
}
Expr <|-- CompositeExpr
CompositeExpr *-- Expr : args
CompositeExpr --> Function
abstract class Function {
+minArity: Integer
+maxArity: Optional<Integer>
+notation: ExprNotation
#checkArity(args: List<Expr>)
+apply(args: List<Expr>): Expr
}
enum ExprNotation {
INFIX
PREFIX
POSTFIX
}
hide enum methods
Literal <|-- Function
Function --> ExprNotation
abstract class SysFunction {
+apply(args: List<Expr>): Expr
+{abstract}fn(values: List<Expr>): Expr
}
Function <|-- SysFunction
class UserFunction {
+formalArgs: List<String>
+body: Expr
+apply(args: List<Expr>): Expr
}
Function <|-- UserFunction
class Operator {
+symbol: String
}
SysFunction <|-- Operator
abstract class Declaration {
+name: String
+initValue: Expr
}
Expr <|-- Declaration
@enduml
|
7962229b070a41dec5e52e2f7c04416800028c66 | 3ca9e58bcb43c7a06b42770e03482244b09c1df8 | /uml/video/class/tyydmediaplayer.puml | 743ce11be65d30619b89a40b7780083fa37f1797 | [
"Apache-2.0"
] | permissive | yufns/uml | 3abca774ef5787d27d09bb3fe0981c86df0e60c3 | 0173ce1a8138b6e88ed39f08c9c42b22a38c880a | refs/heads/master | 2021-11-10T17:50:18.612839 | 2021-10-25T06:56:02 | 2021-10-25T06:56:02 | 145,532,139 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,036 | puml | @startuml
class TyydVideoPlayerView {
- void registerViews(View view)
}
class TyydMusicPlayerView {
- void registerViews(View view)
+ void setOnMenuClickListener(OnMenuClickListener onMenuClickListener)
}
abstract BaseTyydViewPlayer{
-- field --
- HashMap<View, Integer> views
- ITouchListener iTouchListener;
- GestureDetectorCompat gestureDetectorCompat;
- Consumer mCompletionConsumer;
- Consumer mErrorConsumer;
-- abstract --
{abstract} # ITyydMediaPlayer getMediaPlayer(IRenderView renderView);
{abstract} # @LayoutRes int getLayoutId();
{abstract} # IRenderView getRenderView();
{abstract} # @PlayerType int getPlayerType();
-- 用户接口 --
+ void changeChapter(int index)
+ void startPlay()
+ void setState(@Status int mState)
+ void setDataAndSoruce(MediaInfoBean mediaInfoBean)
+ void setPlayeMode(@PlayerMode int mode)
+ void setProgressListener(IProgressListener progressListener)
+ void setChapterChangerListener(OnChapterChangerListener onChapterChangerListener)
+ void setOrientation()
+ void setOnCaptionListener(OnCaptionListener onCaptionListener)
-- protected --
# void register(View view, @BindingView int actions)
# void bindingViews()
# @PlayerMode int getPlayeMode()
-- 横竖屏 --
- void setPortrait(Activity activity)
- void setLandscape(Activity activity)
-- 初始化 --
- void initConsumer()
- void initViews(View key, Integer value)
- void setClickListener(View key, final Integer value)
- void initTouch()
-- 播放逻辑 --
- void checkNetwork()
- void progressRenderView()
- private void play()
-- 字幕 --
- void setCaptionUrl(final String url, final int type)
- CaptionItem getCaption(int currentPosition)
- File getDiskCacheDir(Context context, String uniqueName)
}
interface ITyydMediaPlayer{
void setProgressListener(@NonNull IProgressListener progressListener);
void setChapterChangerListener(OnChapterChangerListener onChapterChangerListener);
void prepare(@NonNull PreparedListener preparedListener);
void setCompletionConsumerBaseView(@NonNull Consumer consumerBaseView);
void setErrorConsumerBaseView(@NonNull Consumer consumerBaseView);
void play();
void setDisplay(@NonNull SurfaceHolder surfaceHolder);
void seekTo(int progress);
void onPause();
void onResume();
void onStop();
void onDestory();
@PlayerState int getPlayerState();
boolean isPlaying();
int getCurPosition();
List<BookContentBean> getCurMediaInfo();
int getTotalTime();
void changeSharpnessByIndex(int index) throws IOException;
void setDataSource(List<Integer> urls,long bookId) throws IOException;
void setDataSource(List<Integer> urls,long bookId,int index) throws IOException;
void setPlayerMode(@PlayerMode int mode);
@PlayerMode int getPlayerMode();
void playNext();
void playPre();
void changeChapter(int index);
void resetUrl() throws IOException;
String getCurAudioRate();
void retory();
}
class MediaPlayerProxy{
-- field --
- AudioManager mAudioManager;
- Consumer mCompletionConsumer;
}
note left:播放器代理对象
ITyydMediaPlayer <|.. MediaPlayerProxy
class PlayerStatusManager{
- IStatusChangeListener iStatusChangeListener;
+ void setStatus(@Status int action)
}
note right:播放器UI管理器
TyydVideoPlayerView --|> BaseTyydViewPlayer
TyydMusicPlayerView --|> BaseTyydViewPlayer
BaseTyydViewPlayer *-- MediaPlayerProxy
BaseTyydViewPlayer *-- PlayerStatusManager
MediaPlayerProxy *-- ITyydMediaPlayer
interface IRenderView{
void saveCurrentFrame();
SurfaceHolder getHolderView();
}
class SystemMediaPlayer{
- MediaPlayer mediaPlayer;
- IProgressListener progressListener;
- MediaPlayerListener mMediaPlayerListener;
- IRenderView mIRenderView;
}
SystemMediaPlayer *-- IRenderView
IRenderView <|.. TyydSurfaceView
ITyydMediaPlayer <|.. SystemMediaPlayer
class IJKMediaPlayer{
}
class TyydTextureView{
}
IJKMediaPlayer *-- IRenderView
ITyydMediaPlayer <|.. IJKMediaPlayer
IRenderView <|.. TyydTextureView
@enduml |
40b0fd37e457af6e593338cc46e50900385eff51 | 3749560da1ecabdc893404c1c2889c97dcd905bf | /src/main/java/com/myself/nettychat/common/ip/ip.plantuml | 59263e5d2c4df15a0374e9a59c7fce67224d4405 | [
"Apache-2.0"
] | permissive | anhtu1197/WebSocketProject | 02ceb566fc9995d499a76e685b053781b5d4b885 | 7e57a9077943322fbe3cd845fc65029c1155fe1f | refs/heads/master | 2020-04-05T04:38:52.015046 | 2018-11-09T01:24:28 | 2018-11-09T01:24:28 | 156,559,854 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 463 | plantuml | @startuml
title __IP's Class Diagram__\n
package com.myself.nettychat {
package com.myself.nettychat.common.ip {
class IpUtils {
{static} + internetIp()
{static} + intranetIp()
{static} + getHost()
}
}
}
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
|
892032bb9250af4fbfe260a90f989e156a79d6f8 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/MyBusinessUnitSetCustomFieldAction.puml | f78662ba02b834682288e07c6dcd594dbfa82315 | [] | 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 MyBusinessUnitSetCustomFieldAction [[MyBusinessUnitSetCustomFieldAction.svg]] extends MyBusinessUnitUpdateAction {
action: String
name: String
value: [[Object.svg Object]]
}
interface MyBusinessUnitUpdateAction [[MyBusinessUnitUpdateAction.svg]] {
action: String
}
@enduml
|
6b85c3a021a1ffc2d817bc4cb2a1c49a85e3a855 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/GraphQLDuplicateStandalonePriceScopeError.puml | 8661accb0b463f80938b210a4c6f85a411ba4b70 | [] | 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 | 810 | 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 GraphQLDuplicateStandalonePriceScopeError [[GraphQLDuplicateStandalonePriceScopeError.svg]] extends GraphQLErrorObject {
code: String
conflictingStandalonePrice: [[StandalonePriceReference.svg StandalonePriceReference]]
sku: String
currency: String
country: String
customerGroup: [[CustomerGroupResourceIdentifier.svg CustomerGroupResourceIdentifier]]
channel: [[ChannelResourceIdentifier.svg ChannelResourceIdentifier]]
validFrom: DateTime
validUntil: DateTime
}
interface GraphQLErrorObject [[GraphQLErrorObject.svg]] {
code: String
}
@enduml
|
6bbaf76e0a34c2c5fba42dc2c8f693d0d1dcc6a8 | 699af3572c154257239505377b8bfe8ef26e39b6 | /src/main/java/ru/example/udinkirill/domain/enums/enums.plantuml | c203b54fda8139d88b3b24545f43112d265f03b6 | [] | no_license | bkmzli1/UdinKirill | a19a9932adeeabdfc343f8f89da02e8f8b21aaf2 | b8b0760254e711fa4bd514d5396b4a620cfdd17a | refs/heads/master | 2023-06-03T08:50:34.139294 | 2021-06-22T16:19:59 | 2021-06-22T16:19:59 | 378,037,793 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 965 | plantuml | @startuml
title __ENUMS's Class Diagram__\n
namespace ru.example.udinkirill {
namespace domain {
namespace enums {
enum ImgType {
PROFILE_BACKGROUND
PROFILE_IMG
TASK
TASK_MS
type
}
}
}
}
namespace ru.example.udinkirill {
namespace domain {
namespace enums {
enum Level {
HIGH
INFO
LOW
MEDIUM
}
}
}
}
namespace ru.example.udinkirill {
namespace domain {
namespace enums {
enum Role {
ADMIN
EXECUTOR
USER
role
}
}
}
}
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
|
795983db96d6974df38eb67593fe6b5b425c8ab3 | 7e76778bf9a2540a68e2f05ad6ad32f99fc70bed | /Assets/Assets/Scripts/NoteItem.puml | 18196bb81eb70c8eb24a4a0b2b0617e9f84d44a2 | [] | no_license | JosipSkrlec/TVZ_GuestBook | e047760cd605d9d433406edc09f3f24d8a6c3ba3 | 1455332d4b71d615ea38db23698b31741289b056 | refs/heads/main | 2023-07-16T18:40:16.758495 | 2021-08-28T12:42:11 | 2021-08-28T12:42:11 | 347,311,742 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 215 | puml | @startuml
class NoteItem {
+ SetupNote(noteID:int, noteUsername:string, noteContent:string, pinIndicator:int, randomSpawn:bool) : void
+ DeleteNoteOnAdminClick() : void
}
MonoBehaviour <|-- NoteItem
@enduml
|
c82cd39d746655d948155aea5f0146dfe2e91911 | 10ba145e3e26796ec618e76328f3ca90d4521b6a | /设计模式/java演示版/design-pattern/src/main/java/com/zhenhunfan/design/pattern/_04_build/demo2/建造者模式_原理类图.puml | 40ff565c90ef7fa4f625dd6f6de8cd4c47116a7a | [] | no_license | zhenhunfan/learn | a7fa4c39ce0e791313abaa51325591a6f98abf09 | bdb6538de38db9e3d9aa6a827f4a445e57325852 | refs/heads/main | 2023-03-30T14:22:26.202669 | 2021-03-30T02:19:20 | 2021-03-30T02:19:20 | 309,221,361 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 558 | puml | @startuml
class Director{
- builder : Builder
+ construct()
}
note left of Director::"construct()"
调用builder.builderPartA();
调用builder.builderPartB();
调用builder.builderPartC();
return builder.getResult();
end note
abstract class Builder{
+ builderPartA()
+ builderPartB()
+ builderPartC()
+ getResult()
}
Director --> Builder
Director o-- Builder
Builder *-- Product
class ConcreteBuilder{
+ builderPartA()
+ builderPartB()
+ builderPartC()
+ getResult()
}
ConcreteBuilder --|> Builder
@enduml |
c68274a0c82fe17fa1c08935233b6398c8144454 | 4bde884fbde7b14a13a3a71e2ccb83a663cdf054 | /src/main/java/com/ycorn/patterns/observer/pratices/observer.puml | 7a815d560f93ca97561617fe922e0d5944bda529 | [] | no_license | woshiwjma956/java-design-patterns-learn | 31b2a7ea2ae90dc0ca8f329066fc0fa6bdb88e7e | ebbbfa72d76f17a4db4c05823ce85cb9d82cb18a | refs/heads/master | 2021-05-18T01:05:26.324439 | 2020-05-14T09:53:28 | 2020-05-14T09:53:28 | 251,039,101 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 341 | puml | @startuml
interface Observer{
void update(Object data);
}
interface Subject{
void notifyObserver();
void registerObserver(Observer observer)
void remoteObserver(Observer observer)
}
Observer <|-- ObserverA
Observer <|-- ObserverB
Subject <|-- ConcreteSubject
ConcreteSubject <-- client
ObserverA <-- client
ObserverB <-- client
@enduml |
9a682da1447d40b73087cf3e2b265aeed2339ae2 | d1f63947144be0ead575386d7306963dff76a161 | /docs/TP5-observer.plantuml | 26503cacd7c42bd3c5bc0cae00463296891d19d1 | [
"MIT",
"CC-BY-SA-3.0"
] | permissive | IUT-Blagnac/cpoa-tp5-MiloGrabie | 5650c0f17d6d3d48cc06400c4436906b8e18b989 | b438053cac6f58935377ec9661e53ec2d3642b1c | refs/heads/master | 2023-01-31T08:21:27.638509 | 2020-12-09T10:06:36 | 2020-12-09T10:06:36 | 319,254,703 | 0 | 0 | MIT | 2020-12-07T08:56:24 | 2020-12-07T08:37:38 | Java | UTF-8 | PlantUML | false | false | 1,324 | plantuml | @startuml
class CourseViewer {
- button : JButton
- coursePanel : JPanel
- scrollPane : JScrollPane
- sliderPanel : JPanel
- sliders : Vector<JSlider>
+ CourseViewer()
+ actionPerformed()
+ addCourse()
{static} + main()
+ paint()
+ stateChanged()
}
CourseViewer .up.|> ActionListener
CourseViewer .up.|> ChangeListener
CourseViewer -up-|> JFrame
class BarChartObserver {
- courseData : Vector<CourseRecord>
+ BarChartObserver()
+ paint()
+ update()
}
class CourseController {
- coursePanel : JPanel
- sliders : Vector<JSlider>
+ CourseController()
+ actionPerformed()
+ addCourse()
{static} + main()
+ stateChanged()
+ update()
}
class CourseData {
- courseData : Vector<CourseRecord>
+ CourseData()
+ addCourseRecord()
+ changeCourseRecord()
+ getUpdate()
}
abstract class Observable {
# observers : Vector<Observer>
+ Observable()
+ attach()
+ detach()
{abstract} + getUpdate()
+ notifyObservers()
}
interface Observer {
{abstract} + update()
}
BarChartObserver .up.|> Observer
BarChartObserver -up-|> JPanel
CourseController .up.|> ActionListener
CourseController .up.|> ChangeListener
CourseController .up.|> Observer
CourseController -up-|> JPanel
CourseController o-- CourseData : courseData
CourseData -up-|> Observable
@enduml |
de93fce133d922573f40e0d4f377004c5ac98c65 | 7028a90e3cc6096e70b06e0d18c51983bf54f4d6 | /plantuml/SettingManager.puml | 97ec10f1ae999fc4447b86e7b915bf20eb5c4557 | [] | no_license | KazukiShimura/AnimalVillage | 2d73f459e9df3b839f9328309de890c09f4b1f1d | 916c5edc80613ade565b5fe481debf79f890b505 | refs/heads/main | 2023-05-06T07:27:10.043196 | 2021-05-27T01:55:47 | 2021-05-27T01:55:47 | 358,861,857 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 227 | puml | @startuml
class SettingManager {
+ OnSettingPanel() : void
+ Quit() : void
+ OnHowToPanel() : void
+ OffHowToPanel() : void
}
MonoBehaviour <|-- SettingManager
SettingManager --> "howToPanel" GameObject
@enduml
|
4db903acd7b00536ae4ecdf29006e3fe45fc014a | 46fd1573fc0ca60b3a29379c8d912078d9840691 | /study/learnjava/src/main/java/com/myzuji/study/gof23/factory/simplefactory/pizzastore/tradition.puml | fd38b2391593f892c8cc3738a90e1d970192535f | [
"MIT"
] | permissive | mestarshine/myzuji | 35b7d447f77f26133adce99a7759891e441f1e75 | 4b7298a2cfaf7f852fe4f633bc51312d9f8d8450 | refs/heads/master | 2023-04-30T11:27:10.835117 | 2023-04-14T03:54:40 | 2023-04-14T03:54:40 | 237,580,467 | 0 | 0 | MIT | 2023-04-14T03:54:41 | 2020-02-01T07:43:39 | HTML | UTF-8 | PlantUML | false | false | 815 | puml | # 传统的方法的优缺点
# 优点:比较好理解,简单易操作
# 缺点:违反类设计模式的 ocp 原则,即对扩展开放,对修改关闭
@startuml
abstract class Pizza {
String name;
abstract void prepare()
void bake()
void cut()
void box()
}
class CheesePizza{
void prepare()
}
class GreekPizza{
void prepare()
}
class PepperPizza{
void prepare()
}
class OrderPizza
class OrderPizza2
class PizzaStore
Pizza <|-- CheesePizza
Pizza <|-- GreekPizza
Pizza <|-- PepperPizza
Pizza <... OrderPizza
CheesePizza <... OrderPizza
GreekPizza <... OrderPizza
PepperPizza <... OrderPizza
OrderPizza <... PizzaStore
Pizza <... OrderPizza2
CheesePizza <... OrderPizza2
GreekPizza <... OrderPizza2
PepperPizza <... OrderPizza2
OrderPizza2 <... PizzaStore
@enduml
|
0824eea272f0a2a5d31151211567d37d81adae00 | c567b66afcb3e4413b252e89fcfc21ac1f806a5d | /assets/architecture.plantuml | 58558595040ae7304b5c503670ee695d5dda3008 | [] | no_license | EssenceTech8028/azure-iot-edge-playground | c251bfba0b48afb429b1686dcf2f8b7bfeee08f6 | 8b1a3d3dc1fec3089e3e53fee2cc330784ba665d | refs/heads/master | 2023-08-08T00:15:25.933188 | 2020-09-03T13:52:27 | 2020-09-03T13:52:27 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 882 | plantuml | @startuml
title Architecture
class "Azure\nIoT Hub" as iot << (I,azure) >> {
+Digital Twins
+Deploymnents
+Data Routing
+Device Registration
}
class "Azure\nDevice Provisioning Service" as dps << (D,azure) >> {
+Register via preshared Key
+Regsiter via Certificate
+Register via TPM
}
class "Edge Key 1" as e1 << (E,orchid) >>
class "Edge Key 2" as e2 << (E,orchid) >>
class "Edge Cert 1" as e3 << (E,yellow) >>
class "Edge Cert 2" as e4 << (E,yellow) >>
class "Edge TPM 1" as e5 << (E,lightgreen) >>
class "Edge TPM 2" as e6 << (E,lightgreen) >>
dps <|-- e1: "use Key"
dps <|-- e2: "use Key"
dps <|-- e3: "use Cert"
dps <|-- e4: "use Cert"
dps <|-- e5: "use TPM"
dps <|-- e6: "use TPM"
iot <|-- dps: "register devices"
iot <|-- e1: workload
iot <|-- e2: workload
iot <|-- e3: workload
iot <|-- e4: workload
iot <|-- e5: workload
iot <|-- e6: workload
@enduml |
1e6114b2888de53ac9e2c2158677dc64bce22bff | 98d354b02719933a104aa96a689fa0963a2218d1 | /doc/uml/class_diagrams/activities/activity.plantuml | 34420e3c29e2791fd6a36e8f2dd6d4b3a80c0ed3 | [
"Apache-2.0"
] | permissive | cmput301w19t02/Alexandria | fbbc1cf26ad3a18d7a5baecc582418d49bf83546 | 1e66077a3661ef6f8c72d414117b5512c59f9d8a | refs/heads/master | 2023-01-28T11:39:01.320635 | 2019-04-01T21:57:49 | 2019-04-01T21:57:49 | 169,452,637 | 2 | 6 | Apache-2.0 | 2023-01-09T11:35:24 | 2019-02-06T18:12:07 | Java | UTF-8 | PlantUML | false | false | 9,565 | plantuml | @startuml
title __MISC. ACTIVITY's Class Diagram__\n
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.controller {
class NotificationController {
- database : FirebaseDatabase
- functions : FirebaseFunctions
{static} - instance : NotificationController
{static} + getInstance()
+ setDeviceToken()
+ sendNotification()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.controller {
class ChatController {
{static} - instance : ChatController
- database : FirebaseDatabase
- ChatController()
- userController : UserController
- userCache : ObservableUserCache
{static} + getInstance()
+ addChatRoom()
- addChatRoomPrivate()
- getNewChatRoomId()
- addChatRoomItemToId()
+ setUserChatRoomReadStatus()
- setChatRoomReadStatusPrivate()
+ addTextMessage()
- addTextMessagePrivate()
+ addLocationMessage()
- addLocationMessagePrivate()
- getUserChatRoomListReference()
- getChatMessagesReference()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.adapter {
class MessageRecyclerViewAdapter {
{static} - SENT_TEXT : int
{static} - SENT_LOCATION : int
{static} - RECEIVED_TEXT : int
{static} - RECEIVED_LOCATION : int
- mContext : Context
- mMessageList : List<Message>
- userController : UserController
- imageController : ImageController
+ MessageRecyclerViewAdapter()
+ getItemViewType()
+ onCreateViewHolder()
+ onBindViewHolder()
+ getItemCount()
+ updateMessageList()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class ChatRoomActivity {
{static} ~ MEET_LOCATION_REQUEST : int
- messagesRef : DatabaseReference
- messagesListener : ValueEventListener
- messageList : List<Message>
- chatId : String
- receiverId : String
- senderId : String
- receiverName : String
- chatController : ChatController
- userController : UserController
- notificationController : NotificationController
- adapter : MessageRecyclerViewAdapter
# onCreate()
+ onResume()
+ onStop()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
+ onAddLocationClick()
+ onSendMessageClick()
# onActivityResult()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.model {
package ca.ualberta.CMPUT3012019T02.alexandria.model.user {
class UserProfile {
- name : String
- email : String
- phone : String
- picture : String
- username : String
+ UserProfile()
+ UserProfile()
+ getName()
+ setName()
+ getEmail()
+ setEmail()
+ getPhone()
+ setPhone()
+ getPicture()
+ setPicture()
+ getUsername()
+ setUsername()
}
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.controller {
class ImageController {
- IMAGE_FORMAT : String
- storage : StorageReference
- cache : ImageCache
{static} - instance : ImageController
- ImageController()
{static} + getInstance()
+ addImage()
+ getImage()
+ updateImage()
+ deleteImage()
- getImageReference()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.controller {
class UserController {
- auth : FirebaseAuth
- database : FirebaseDatabase
{static} - instance : UserController
- UserController()
{static} + getInstance()
+ isAuthenticated()
+ authenticate()
+ deauthenticate()
+ createUser()
+ getMyId()
- getUserEmail()
+ getUserProfile()
+ getMyProfile()
+ updateMyProfile()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class ChatRoomActivity {
- messagesRef : DatabaseReference
- messagesListener : ValueEventListener
- messageList : List<Message>
- chatId : String
- recieverId : String
- senderId : String
# onCreate()
+ onStart()
+ onStop()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
+ onAddPhotoClick()
+ onAddLocationClick()
# onSendMessageClick()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class EditMyProfileActivity {
{static} + RESULT_CAMERA : int
{static} + RESULT_GALLERY : int
+ REQUEST_PERMISSION_PHONE_STATE : int
- name : String
- email : String
- userAvatar : Bitmap
- imageID : String
- editText_name : EditText
- editText_username : EditText
- editText_email : EditText
- userController : UserController
- myUserProfile : UserProfile
# onCreate()
+ isImageBitmap()
- setPopupMenu()
+ removePhoto()
+ openGallery()
+ addPhotoCamera()
# onActivityResult()
- getBitmapFromUri()
- initializePageAndData()
- stopSpinner()
- startSpinner()
- showError()
- showMessage()
+ onSaveButtonClick()
- saveUserWithImage()
- saveUser()
- fetchData()
- delayedClose()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class ISBNLookup {
- mScannerView : ZXingScannerView
- REQUEST_PERMISSION_PHONE_STATE : int
+ onCreate()
+ onResume()
+ onPause()
+ handleResult()
- checkCameraPermissions()
+ onRequestPermissionsResult()
- showExplanation()
- requestPermission()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class LoginActivity {
- userController : UserController
# onCreate()
+ signIn()
+ navigateToSignUp()
- validator()
+ onBackPressed()
- stopSpinner()
- startSpinner()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class SignUpActivity {
{static} + RESULT_CAMERA : int
{static} + RESULT_GALLERY : int
+ REQUEST_PERMISSION_PHONE_STATE : int
- coverBitmap : Bitmap
- progressDialog : ProgressDialog
- userController : UserController
- imageController : ImageController
# onCreate()
# onDestroy()
+ openGallery()
+ removePhoto()
+ addPhotoCamera()
+ isImageBitmap()
- setPopupMenu()
+ signUp()
# onActivityResult()
- getBitmapFromUri()
- showError()
- validateUsername()
- validateName()
- validateEmail()
- validatePassword()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class ViewImageActivity {
{static} + IMAGE_ID : String
- image_id : String
# onCreate()
- load_imageID()
- set_toolbar()
- setImage()
+ showError()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class ViewMyProfileActivity {
- myUserProfile : UserProfile
# onCreate()
+ onResume()
- stopSpinner()
- showError()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
}
}
}
package ca.ualberta.CMPUT3012019T02.alexandria {
package ca.ualberta.CMPUT3012019T02.alexandria.activity {
class ViewUserProfileActivity {
- username : String
- name : String
- photoId : String
- userID : String
- userProfile : UserProfile
- imageController : ImageController
- userController : UserController
# onCreate()
+ onResume()
- showError()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
}
}
}
ChatRoomActivity -up-|> AppCompatActivity
ChatRoomActivity o-- "1" ChatController
ChatRoomActivity o-- "1" UserController
ChatRoomActivity o-- "1" NotificationController
ChatRoomActivity o-- "1" MessageRecyclerViewAdapter
EditMyProfileActivity -up-|> AppCompatActivity
EditMyProfileActivity o-- "1" UserController
EditMyProfileActivity o-- "1" UserProfile
ISBNLookup -up-|> ResultHandler
ISBNLookup -up-|> AppCompatActivity
LoginActivity -up-|> AppCompatActivity
LoginActivity o-- "1" UserController
SignUpActivity -up-|> AppCompatActivity
SignUpActivity o-- "1" UserController
SignUpActivity o-- "1" ImageController
ViewImageActivity -up-|> AppCompatActivity
ViewMyProfileActivity -up-|> AppCompatActivity
ViewMyProfileActivity o-- "1" UserProfile
ViewUserProfileActivity -up-|> AppCompatActivity
ViewUserProfileActivity o-- "1" UserProfile
ViewUserProfileActivity o-- "1" ImageController
ViewUserProfileActivity o-- "1" UserController
right footer
PlantUML diagram partly generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
48ccd8365b7f4ab1e7f1978adb68a32b9dfc6aae | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/ShoppingListSetDeleteDaysAfterLastModificationAction.puml | e28d30b847892218747eaffa17bef35e663fe690 | [] | 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 | 536 | 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 ShoppingListSetDeleteDaysAfterLastModificationAction [[ShoppingListSetDeleteDaysAfterLastModificationAction.svg]] extends ShoppingListUpdateAction {
action: String
deleteDaysAfterLastModification: Long
}
interface ShoppingListUpdateAction [[ShoppingListUpdateAction.svg]] {
action: String
}
@enduml
|
9a2f449e3751f32a94c1dd780c6313237a776f22 | 064cd6eb85cbb2af72c1be6d192569e244e90ba6 | /src/main/java/oop/assignment3/ex43/exercise43_Diagram.puml | 85a1bcf582f47c8a35fc86f637f3bd70b6d88546 | [] | no_license | Awesome-wolf-101/ashby-cop3330-assignment3 | dea3a5009db3341e9ab0c9fb48752969cb7ca2da | 5c943f85831fd03e966c3ed52acdcdf03a82cca1 | refs/heads/master | 2023-06-04T17:09:10.387582 | 2021-06-21T03:52:15 | 2021-06-21T03:52:15 | 377,309,711 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 391 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Application{
+main()
}
class WebsiteGenerator{
-Scanner in
-String inputString1;
-String inputString2;
-String inputString3;
-String inputString4;
-String Pathname1
-String Pathname
-File file1
+InputTime()
+JsDirectoryMaker()
+CSSDirectoryMaker()
+HTMLDirectoryAndFileMaker()
}
Application o-> WebsiteGenerator
@enduml |
73ad3626b5c3ca6a2b3fe0c72fcb4195f3595f0e | e3d116d7903a869ff58a4f3d993c8b1d1d5dfe22 | /app/f3krule.puml | 9274fc99619beb23af10159c455e076d6ee3dd1e | [] | no_license | witon/F3KTimer | d763611616d3da35f635b442920050692289c834 | 44a00325ca0dd1817d5f155431d1e93d7b38b7b2 | refs/heads/master | 2022-07-20T11:56:42.458172 | 2020-05-18T02:41:46 | 2020-05-18T02:41:46 | 251,505,191 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 609 | puml | @startuml
class CompetitionArrangement
class Competition
class Competitor
class Round
class Task
class TaskLastFlight
class TaskLastTwo
class TaskActionLastFlight
class TaskActionLastTwo
class Group
class TaskAction{
Flight flight
}
class RoundAction
class Flight
Round "1" o-- "*" Group
RoundAction "1" o-- "*" TaskAction
TaskAction <|-- TaskActionLastFlight
TaskAction <|-- TaskActionLastTwo
Task <|-- TaskLastFlight
Task <|-- TaskLastTwo
Competitor "1" o-- "*" RoundAction
Competition "1" o-- "*" Competitor
Competition "1" o-- "*" Round
Round "1" *-- "1" Task
Group "*" o-- "*" Competitor
@enduml |
cd733d2b7f6968979e20c2396e3d00e62e2afa39 | 0ea7eb2e7e91bc7531593c465db1aa1e72f8f15d | /PUML Files/ex44.puml | ee9da9208ba6aa9079c3c9d1d29dbdf798c7c80b | [] | no_license | GianniAngelone/Angelone-COP3330-assignment3 | 1c4b74720b56617415fa90bc567ac05e723d7f8a | e18bedf8ce8ae8176b56eac1bb5b802ce5a7384f | refs/heads/master | 2023-08-14T00:17:10.749277 | 2021-10-12T01:59:35 | 2021-10-12T01:59:35 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 370 | puml | @startuml
class productScan {
+int count
+JSONObject json
+String name
+productSearch(String input, JSONArray subjects)
+input.equalsIgnoreCase(name)
}
class ex44 {
+JSONParser parser
+Object obj
+JSONArray subjects
+BufferedReader(new InputStreamReader(System.in)
+productSearch(input, subjects)
}
productScan <|-- ex44
@enduml |
373f19c410ab374eff29c8974354dc7b69863c52 | 9623791303908fef9f52edc019691abebad9e719 | /src/cn/shui/order/length_of_last_word/length_of_last_word.plantuml | c1e2501c6195a65af04f883f8e38d0b2295cbc6b | [] | 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 | 470 | plantuml | @startuml
title __LENGTH_OF_LAST_WORD's Class Diagram__\n
namespace cn.shui.order {
namespace length_of_last_word {
class cn.shui.order.length_of_last_word.Solution {
{static} + lengthOfLastWord()
{static} + main()
}
}
}
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
4eb0fcae9fd56eb2093f47ea8b426edb0d1df21c | 5a7e90c78082baf0160490802050be4a35ac4307 | /umls/plantuml/Statements.puml | 3ee26a8a3c7d8f8ad31fc34c771373d9ddc33729 | [] | no_license | lamasumas/DLP_PMM | fc3b3560dc92342cd31005fcfa6f5e06acbb2d7a | cd0fe6d29b298791881723877cf9e4c903494326 | refs/heads/master | 2022-11-12T14:24:58.329549 | 2020-07-02T17:58:57 | 2020-07-02T17:58:57 | 276,710,989 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,075 | puml | @startuml Statements
class Assignment{
- int theLine
- int theColumn
- Expression leftExpression
- Expression rightExpression
+ int getLine()
+ int getColumn()
+ R accept(Visitor<R,T> v, T param)
+ Expression getLeftExpression()
+ Expression getRightExpression()
}
class IfElse{
- int theLine
- int theColumn
- List<Statement> ifStatements
- List<Statement> elseStatements
- Expression theExpression
+ int getLine()
+ int getColumn()
+ R accept(Visitor<R,T> v, T param)
+ List<Statement> getIfStatements()
+ List<Statement> getElseStatements()
+ Expression getTheExpression()
}
class Input{
- int theLine
- int theColumn
- List<Expression> expressionList
+ int getLine()
+ int getColumn()
+ R accept(Visitor<R,T> v, T param)
+ List<Expression> getExpressionList()
}
class Print{
- int theLine
- int theColumn
- List<Expression> expressionList
+ int getLine()
+ int getColumn()
+ R accept(Visitor<R,T> v, T param)
+ List<Expression> getExpressionList()
}
class Return{
- int theLine
- int theColumn
- Expression theExpression
+ int getLine()
+ int getColumn()
+ R accept(Visitor<R,T> v, T param)
+ List<Expression> getTheExpression()
}
class While{
- int theLine
- int theColumn
- Expression theExpression
- List<Statement> theStatemetnList
+ int getLine()
+ int getColumn()
+ R accept(Visitor<R,T> v, T param)
+ List<Expression> getTheStatementList()
+ Expression getTheExpression()
}
class FunctionInvocation{
- List<Expression> expressionList
- FunctionDefinition functionDefinition
+ FunctionDefinition getFunctionDefinition()
+ void setFunctionDefinition(FunctionDefinition functionDefinition)
+ R accept(Visitor<R,T> v, T param)
+ List<Expression> getExpressionList()
}
class VarDefinition{
- int offset
+ R accept(Visitor<R,T> v, T param)
+ void checkDupliclateNames(List<String> varNames, int xline, int xColumn)
+ void setOffset(int offset)
}
interface ASTNode{
int getLine
int getColumn
R accept(Visitor<R,T> v, T param)
}
interface Expression{
void setLvalue(boolean lvalue)
boolean isLvalue()
Type getType()
void setType(Type theType)
}
interface Statement
note top of Statement : This interface is implemented an Abstract class \n and then this abstrac class is extended by each class.
Statement <|.. Input
Statement <|.. While
Statement <|.. Print
Statement <|.. Return
Statement <|.. IfElse
Statement <|.. Assignment
ASTNode <-- Statement
ASTNode <.. Expression
Statement <|..FunctionInvocation
Statement <|.. VarDefinition
FunctionInvocation ..|> Expression
VarDefinition o--"1" Expression
Input o--"n" Expression
Print o--"n" Expression
Return o--"1" Expression
While o--"1" Expression
IfElse o--"1" Expression
Assignment o--"2" Expression
FunctionInvocation o--"n" Expression
Statement "1"--o While
Statement "o*"--o IfElse: if
Statement "o*"--o IfElse: else
@enduml |
cdde86a5591bc345fe487272da92c7076e7ac0f2 | 6d8537a4e561f76d683f130f906d02c3bd8ef908 | /front-end/src/classDiagram.puml | ee6b0f42a7b466ddd9c94c07c2ef9a3c63280cbc | [] | no_license | igtampe/Macademia | 614b7ade996d5dc9671a87e790cf3ce0acfeb3c3 | b3b7a40c416d3847f4e12b0cc31c53fcca00740c | refs/heads/master | 2023-03-16T13:34:46.058119 | 2020-11-27T02:49:56 | 2020-11-27T02:49:56 | 344,215,687 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,755 | puml | @startuml classDiagram
Student "1" -- "1..*" Matricula
Student "1" -- "1..*" Course
Student "1" -- "1" Department
Department "1" -- "1..*" Course
Matricula "1" -- "1..*" Section
Matricula "1" -- "1..*" Course
Course "1" -- "1" Section
Section "1" -- "1" Period
class User{
-{static}String: UserName
-{static}String: Password
String getUserName()
String getPassword()
boolean checkPassword(String Password)
}
Class Student extends User{
-matricula : Matricula
-department: Department
-name : String
-StudentNumber : String
-matricula : List<Matricula>
-priorities : List<Course>
String getStudentNumber()
String getName()
Department getDepartment()
Matricula getMatricula()
void addCourse(Course e)
void addMatricula(Matricula e)
Matricula createMatricula(String p)
boolean verifyPrereqs(Course e)
boolean verifyCoreqs(Course e)
void addPriority(Course e)
Course removePriority(int i)
void swapPriority(int i, int j)
}
Class Department {
-CourseCatalog : Map<Integer, Course>
-{static}Name : String
-{static}ShortName : String
String getName()
String getShortName()
Map<Integer, Course> getCatalog()
void AddCourse(Course course)
}
Class Matricula{
-Sections: List<Section>
-totalCredits: int
-Period:period
void addCourse(Course e)
void removeCourses(Course e)
List<Section> getSections()
int getTotalCredits()
String getPeriod()
}
Class Course{
-name:String
-dept:Department
-code:int
-credits:int
-prereq:List<Course>
-coreq:List<Course>
-sections:List<Section>
String getName()
Department getDept()
int getCode()
int getCredits()
List<Course> getPrereq()
List<Course> getCoreq()
List<Section> getSections()
void setName(String name)
void setDept(Department dept)
void setCode(int code)
void setCredits(int credits)
void setPrereq(List<Course> prereq)
void setCoreq(List<Course> coreq)
void setSections(List<Section> sections)
void addPrereq(Course course)
void addCoreq(Course course)
void addSection(Section sect)
}
Class Section{
-secNum:String
-day:String
-time:String
-course:Course
-period:Period
void setPeriod(Period period)
Period getPeriod()
void setSecNum(String s)
void setDay(String d)
void setTime(String t)
String getSecNum()
String getDay()
String getTime()
Course getCourse()
boolean Conflict(Section sec)
Period timetoPeriod(String time)
}
Class Period{
-start:int
-end:int
int getStart()
int getEnd()
void setStart(int start)
void setEnd(int end)
boolean Conflict(Period sec)
}
@enduml |
5b3905f26e13bb8e330596f724ed87da4859937c | a751888fd29a1b92bb32ef7d272d3e72f664ed30 | /src/design/time-class-diagram.puml | f823f33878a5d02620298fa68da84c8e5c5d0944 | [
"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 | 5,025 | 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.time #ECEBD8 {
interface TimeStamped {
+AbsoluteDate getDate()
}
interface "TimeShiftable<T>" as TimeShiftable_T_ {
+T shiftedBy(double dt)
}
interface "TimeInterpolable<T>" as TimeInterpolable_T_ {
+T interpolate(AbsoluteDate date, Collection<T> sample)
}
class AbsoluteDate {
+AbsoluteDate JULIAN_EPOCH
+AbsoluteDate MODIFIED_JULIAN_EPOCH
+AbsoluteDate FIFTIES_EPOCH
+AbsoluteDate CCSDS_EPOCH
+AbsoluteDate GALILEO_EPOCH
+AbsoluteDate GPS_EPOCH
+AbsoluteDate J2000_EPOCH
+AbsoluteDate JAVA_EPOCH
+AbsoluteDate PAST_INFINITY
+AbsoluteDate FUTURE_INFINITY
+AbsoluteDate(String location, TimeScale timeScale)
+AbsoluteDate(DateTimeComponents location, TimeScale timeScale)
+AbsoluteDate(AbsoluteDate since, double elapsedDuration)
+AbsoluteDate(AbsoluteDate reference, double apparentOffset, TimeScale timeScale)
+AbsoluteDate parseCCSD...(...)
+AbsoluteDate createGPSDate(int weekNumber, double milliInWeek)
+AbsoluteDate shiftedBy(double dt)
+double durationFrom(AbsoluteDate instant)
+double offsetFrom(AbsoluteDate instant, TimeScale timeScale)
+double timeScalesOffset(TimeScale scale1, TimeScale scale2)
+boolean isAfter(Timestamped other)
+boolean isAfterOrEqualTo(Timestamped other)
+boolean isBefore(Timestamped other)
+boolean isBeforeOrEqualTo(Timestamped other)
+boolean isBetween(Timestamped boundary1, Timestamped boundary2)
+boolean isBetweenOrEqualTo(Timestamped boundary1, Timestamped boundary2)
+boolean isCloseTo(Timestamped other, double tolerance)
+boolean isEqualTo(Timestamped other)
}
note top
numerous constructor ommitted
for clarity
end note
interface "Comparable<AbsoluteDate>" as Comparable_AbsoluteDate_ {
+int compareTo(AbsoluteDate)
}
interface "Comparator<TimeStamped>" as Comparator_TimeStamped_ {
+int compare(TimeStamped, TimeStamped)
}
class DateTimeComponents
class DateComponents
class TimeComponents
interface TimeScale {
+double offsetFromTAI(AbsoluteDate date)
+double offsetToTAI(DateComponents date, TimeComponents time)
+String getName()
}
class TimeScalesFactory {
+TAIScale getTAI()
+UTCScale getUTC()
+UT1Scale getUT1()
+TTScale getTT()
+GalileoScale getGST()
+GPSScale getGPS()
+TCGScale getTCG()
+TDBScale getTDB()
+TCBScale getTCB()
+GMSTScale getGMST()
+GLONASSScale getGLONASS()
+QZSSScale getQZSS()
}
class TAIScale
class UTCScale
class UT1Scale
class TTScale
class GalileoScale
class "...Scale" as DummyScale
note bottom
numerous times scales ommitted
for clarity
end note
TimeStamped <|.. AbsoluteDate
TimeShiftable_T_ <|.. AbsoluteDate
TimeScalesFactory *-down-> TimeScale : creates
Comparable_AbsoluteDate_ <|.. AbsoluteDate
Comparator_TimeStamped_ <-up- ChronologicalComparator
ChronologicalComparator -right-> TimeStamped
Comparator_TimeStamped_ <-up- TimeStamped
DateComponents <--* DateTimeComponents
TimeComponents <--* DateTimeComponents
AbsoluteDate -down-> DateTimeComponents
AbsoluteDate -down-> DateComponents
AbsoluteDate -down-> TimeComponents
AbsoluteDate -down-> TimeScale
TimeScale <|-- TTScale
TimeScale <|-- GalileoScale
TimeScale <|-- TAIScale
TimeScale <|-- UTCScale
TimeScale <|-- UT1Scale
TimeScale <|-- DummyScale
UTCScale <--* GLONASSScale
}
@enduml
|
1630c47139b6e704e1c8ac6c4f5954d3a26db608 | fd4a0dd2f1e9aae2b3726f12e63bd918f5eeca31 | /patterns/observers/diagram.puml | 69fab7cf0b91c8e6b4c03d1b2c698186ce7f5c15 | [
"MIT"
] | permissive | huntertran/soen6441-design-patterns | 41e2d3e46a01dc4210f7245cf3da88fef7b33844 | 5b97aefae260fa816fa04ddf92f5af1027b28e5f | refs/heads/master | 2020-10-02T04:09:13.910240 | 2019-12-19T04:04:56 | 2019-12-19T04:04:56 | 227,698,036 | 0 | 0 | MIT | 2019-12-13T15:00:47 | 2019-12-12T21:16:18 | Java | UTF-8 | PlantUML | false | false | 470 | puml | @startuml observers_pattern
class Subject {
attach()
detach()
notify()
}
note left: java.util.Observable
class Observer {
void update()
}
note left: java.util.Observer
class ConcreteObserver {
observerState
void update()
}
note left: View
class ConcreteSubject {
subjectState
getState()
}
note top: Model
Observer <|-- Subject
ConcreteObserver --|> Observer
ConcreteObserver --|> ConcreteSubject
ConcreteSubject --|> Subject
@enduml |
2319c0beab0a2d7257e83f4ef05994e48b7836b1 | 41e335a2ded65f95ece1c413fe9d465df1d198b4 | /app/src/main/java/afkt/project/ui/widget/widget.plantuml | 471ea76d16367fe9536785b165041494086da6b4 | [
"Apache-2.0"
] | permissive | tulensayyj/DevUtils | ea40e897de72b88591cc1f1cea798eb74175eda8 | 3bc39eaf343c811270bc01e223cd37e80db9e04c | refs/heads/master | 2022-11-27T05:08:28.115620 | 2020-07-27T13:24:50 | 2020-07-27T13:24:50 | 281,569,859 | 0 | 0 | Apache-2.0 | 2020-07-22T03:59:24 | 2020-07-22T03:59:23 | null | UTF-8 | PlantUML | false | false | 4,202 | plantuml | @startuml
title __WIDGET's Class Diagram__\n
namespace afkt.project {
namespace ui {
namespace widget {
class afkt.project.ui.widget.AutoGridView {
{static} - TAG : String
- numColumns : int
- numColumnsID : int
- previousFirstVisible : int
+ AutoGridView()
+ AutoGridView()
+ AutoGridView()
+ setNumColumns()
# onConfigurationChanged()
# onLayout()
# onScrollChanged()
- init()
- setHeights()
- updateColumns()
}
}
}
}
namespace afkt.project {
namespace ui {
namespace widget {
class afkt.project.ui.widget.BaseButton {
+ BaseButton()
+ BaseButton()
+ BaseButton()
}
}
}
}
namespace afkt.project {
namespace ui {
namespace widget {
class afkt.project.ui.widget.BaseEditText {
+ BaseEditText()
+ BaseEditText()
+ BaseEditText()
}
}
}
}
namespace afkt.project {
namespace ui {
namespace widget {
class afkt.project.ui.widget.BaseImageView {
+ BaseImageView()
+ BaseImageView()
+ BaseImageView()
}
}
}
}
namespace afkt.project {
namespace ui {
namespace widget {
class afkt.project.ui.widget.BaseRefreshView {
- adapter : BaseQuickAdapter
- body : FrameLayout
- pageAssist : PageAssist<String>
- recyclerView : RecyclerView
- smartRefreshLayout : SmartRefreshLayout
+ BaseRefreshView()
+ BaseRefreshView()
+ BaseRefreshView()
+ BaseRefreshView()
+ addFooterView()
+ addFooterView()
+ addHeaderView()
+ addHeaderView()
+ finishLoadMore()
+ finishRefresh()
+ finishRefreshAndLoad()
+ finishRefreshOrLoad()
+ getAdapter()
+ getBody()
+ getFooterLayoutCount()
+ getHeaderLayoutCount()
+ getPageAssist()
+ getRecyclerView()
+ setAdapter()
+ setEnableLoadMore()
+ setEnableRefresh()
+ setLayoutManager()
+ setNoMoreData()
+ setOnLoadMoreListener()
+ setOnRefreshListener()
+ setOnRefreshLoadMoreListener()
+ setPageAssist()
- init()
}
}
}
}
namespace afkt.project {
namespace ui {
namespace widget {
class afkt.project.ui.widget.BaseTextView {
+ BaseTextView()
+ BaseTextView()
+ BaseTextView()
}
}
}
}
namespace afkt.project {
namespace ui {
namespace widget {
class afkt.project.ui.widget.LoadingView {
+ LoadingView()
+ LoadingView()
+ setLoadingRenderer()
# onAttachedToWindow()
# onDetachedFromWindow()
# onVisibilityChanged()
- initAttrs()
- startAnimation()
- stopAnimation()
}
}
}
}
afkt.project.ui.widget.AutoGridView -up-|> android.widget.GridView
afkt.project.ui.widget.BaseButton -up-|> androidx.appcompat.widget.AppCompatButton
afkt.project.ui.widget.BaseEditText -up-|> androidx.appcompat.widget.AppCompatEditText
afkt.project.ui.widget.BaseImageView -up-|> androidx.appcompat.widget.AppCompatImageView
afkt.project.ui.widget.BaseRefreshView -up-|> android.widget.LinearLayout
afkt.project.ui.widget.BaseTextView -up-|> androidx.appcompat.widget.AppCompatTextView
afkt.project.ui.widget.LoadingView -up-|> androidx.appcompat.widget.AppCompatImageView
afkt.project.ui.widget.LoadingView o-- afkt.project.ui.widget.render.LoadingDrawable : mLoadingDrawable
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
|
aef6ed17b63916df69e15fc14320df0b1721aca3 | a4442afeaeffcefbea519fd760977cd5f5aa85c1 | /netty/netty-uml/bootstrap.puml | 1fb8acd7c5648e2f5d5d19ff09a91d4668d7b305 | [] | no_license | zhongxigong/stronger | 0586c62cac43ccb465c3149b39c9c947d8257f87 | e7aec22ccd3e611e910c4537ad1d72f51bdbe69b | refs/heads/master | 2020-05-17T17:21:22.503481 | 2019-05-21T13:47:33 | 2019-05-21T13:47:33 | 183,849,590 | 3 | 2 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,106 | puml | @startuml
skinparam BackGroundColor #3c3f41
skinparam class {
BorderColor #cbd5d6
ArrowColor #589df6
BackGroundColor #645e4d
}
class AbstractBootstrap{
EventLoopGroup group
ChannelFactory<? extends C> channelFactory
SocketAddress localAddress
Map<ChannelOption<?>, Object> options
Map<AttributeKey<?>, Object> attrs
ChannelHandler handler
B group(EventLoopGroup group)
B channel(Class<? extends C> channelClass)
B channelFactory(ChannelFactory<? extends C> channelFactory)
B localAddress(SocketAddress localAddress)
B option(ChannelOption<T> option, T value)
B attr(AttributeKey<T> key, T value)
ChannelFuture register()
ChannelFuture bind()
void init(Channel channel)
B handler(ChannelHandler handler)
EventLoopGroup group()
}
class ServerBootstrapAcceptor{
EventLoopGroup childGroup
ChannelHandler childHandler
Runnable enableAutoReadTask
void channelRead(ChannelHandlerContext ctx, Object msg)
}
class Bootstrap{
BootstrapConfig config
SocketAddress remoteAddress
Bootstrap remoteAddress(SocketAddress remoteAddress)
ChannelFuture connect()
ChannelFuture doResolveAndConnect(final SocketAddress remoteAddress, final SocketAddress localAddress)
void init(Channel channel)
}
class ServerBootstrap{
Map<ChannelOption<?>, Object> childOptions
Map<AttributeKey<?>, Object> childAttrs
ServerBootstrapConfig config
EventLoopGroup childGroup
ChannelHandler childHandler
ServerBootstrap group(EventLoopGroup group)
ServerBootstrap group(EventLoopGroup parentGroup, EventLoopGroup childGroup)
ServerBootstrap childOption(ChannelOption<T> childOption, T value)
ServerBootstrap childAttr(AttributeKey<T> childKey, T value)
ServerBootstrap childHandler(ChannelHandler childHandler)
init(Channel channel)
EventLoopGroup childGroup()
ChannelHandler childHandler()
}
Bootstrap -up-> AbstractBootstrap : extend
ServerBootstrap -up-> AbstractBootstrap : exend
ServerBootstrap *-up- ServerBootstrapAcceptor : contains >
@enduml |
9e33dd54926b31d1557f3d02c096d95b70add379 | c65f90cd64189e6a8718705e4931a613759dcb00 | /uml/ToDos.puml | fa93738b5d146035440fcafd8d9dfa7ba6254e88 | [] | no_license | mel4ni3/ehrlich-cop3330-assignment4 | 9975361bbedb380ada9820b912b6c0ef51f69641 | a0f6d673f89ced2fe5a7d748e92cd07f3df106b0 | refs/heads/master | 2023-08-28T13:27:30.201488 | 2021-10-25T23:07:34 | 2021-10-25T23:07:34 | 421,208,634 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 282 | puml | @startuml
'https://plantuml.com/class-diagram
+class ToDos {
- desc: String
- dueDate: String
- isComplete: Boolean
+ getDesc(): String
+ getPos(): Boolean
+ editDesc(String str)
+ editDate(String date)
+ editPos(Boolean completed)
- formatDate(): Date
+ getDate(): Date
}
@enduml |
a8dc8a4056cd28dcce240bdbbcbaa444da8ce86f | cc66ef8bf283f6b12b1ced8e1c15e3971b26e3f2 | /bluesky-framework-core/src/main/uml/setting.puml | 8478935b5f01b9ef30db47e7f5da3091477eefcc | [] | no_license | Cutry/framework | b01c9781771bb6ef234bafaa7dea786c8fdc9797 | 605cd0c413920816c1dba02192a4db9527d77b07 | refs/heads/master | 2022-12-23T18:10:54.715985 | 2020-01-21T02:28:07 | 2020-01-21T02:28:07 | 232,483,006 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,142 | puml | @startuml
/'数据目录'/
class pageSetting<<页面配置>>{
- id
- page 1登录页、2首页、3工作页、4版权信息
- type 类型:Logo、background、method、theme
- value 值
- operatorId 操作人ID
- createdAt 创建时间
- updatedAt 修改日期
}
class CustomIndex<<首页个性化>>{
- id
- accountId 账户ID
- menuIds 菜单资源ID
- createdAt 创建时间
}
class MenuSource<<菜单资源>>{
- id
- code 菜单编码
- name 菜单名称
- url 自定义菜单的链接地址,空则空白页
- backgroundColor 首页展示背景颜色
- icon 图标
- iconColor 图标颜色
- color 首页名称颜色
- parentId 父菜单ID
- seq 顺序
- systemMenu 是否系统菜单
- createdAt 创建时间
- updatedAt 修改日期
}
class MenuSourceOperation<<菜单资源操作项>>{
- id
- menuId 所属菜单ID
- parentMenuIds 所属菜单的父IDs
- operation 操作
- operationName 操作名称
- createdAt 创建时间
- updatedAt 修改日期
}
MenuSourceOperation -> MenuSource
CustomIndex -> MenuSource
@enduml |
0217f00a41e755f5c0f591426764ec9d53e3670f | 27a045c374d7118b8019e71c6a166ccfef66a4cc | /JavaBasics/src/com/sourcecode/concurrencytools_CyclicBarrier/CyclicBarrier_framework.puml | f8c6da7a76db48824beaa7933956d06f723f6342 | [] | no_license | colonel8377/code | 6f422c687226bae928ab6e377e321e4671d70d18 | 07ee8b4fc0d325341c6866395b5bda6d44271707 | refs/heads/master | 2022-01-04T20:09:21.777194 | 2018-12-26T14:15:39 | 2018-12-26T14:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 396 | puml | @startuml
class CyclicBarrier {
lock : ReentrantLock;
trip : Condition;
parties : int
barrierCommand:Runnable
generation : Generation
count : int
}
class ReentrantLock {
}
interface Condition {
}
class Generation {
broke : boolean
}
CyclicBarrier o-- "1" ReentrantLock
CyclicBarrier o-- "1" Condition
CyclicBarrier +-- Generation
@enduml |
0f1b691fa83dd70db6ae6b59632fbfd27ac3b20e | 5f58cbbdec93bd1342ce2745c82721daacb93740 | /BeanFactory.puml | 97c9f48fc5a59d554f1e1aae1e2f00d34f99b3cb | [] | no_license | rustberry/tiny-spring | e2397755912d3c4af0236d3dc1f3c587b141a25c | d0d34e678071e6319805e7bfed6f928a59ece1ad | refs/heads/master | 2021-07-07T18:05:12.245534 | 2019-08-12T06:45:53 | 2019-08-12T06:45:53 | 196,033,002 | 0 | 0 | null | 2020-10-13T15:10:31 | 2019-07-09T15:10:48 | Java | UTF-8 | PlantUML | false | false | 2,568 | puml | @startuml
' ---- layout starts
together {
interface ConfigurableBeanFactory
class DefaultSingletonBeanRegistry
interface BeanDefinitionRegistry
}
ConfigurableBeanFactory -[hidden]> DefaultSingletonBeanRegistry
DefaultSingletonBeanRegistry -[hidden]> BeanDefinitionRegistry
' ---- layout ends
interface SingletonBeanRegistry {
registerSingleton()
getSingleton()
}
interface SingletonBeanRegistry #Orange
class DefaultSingletonBeanRegistry #Orange
DefaultSingletonBeanRegistry ..|> SingletonBeanRegistry : implements
class XmlBeanDefinitionReader {
BeanDefinitionRegistry registry
}
interface BeanDefinitionRegistry {
getBeanDefinition()
registerBeanDefinition()
}
XmlBeanDefinitionReader --* BeanDefinitionRegistry : has-a
interface BeanDefinition
class GenericBeanDefinition
BeanDefinition <|.. GenericBeanDefinition : implements
BeanDefinition o.. BeanDefinitionRegistry : aggregates/depends on
interface BeanFactory {
getBean()
}
interface ConfigurableBeanFactory {
setBeanClassLoader()
getBeanClassLoader()
}
BeanFactory <|-- ConfigurableBeanFactory : extends
class DefaultBeanFactory
DefaultBeanFactory ....|> ConfigurableBeanFactory : implements
DefaultBeanFactory ....|> BeanDefinitionRegistry : implements
DefaultBeanFactory ---|> DefaultSingletonBeanRegistry : extends
interface ApplicationContext #APPLICATION
ApplicationContext ----|> ConfigurableBeanFactory : extends
ApplicationContext -* DefaultBeanFactory : has-a
abstract class AbstractApplicationContext {
{abstract} getResourceByPath()
}
abstract class AbstractApplicationContext #Pink
AbstractApplicationContext ...|> ApplicationContext : implements
AbstractApplicationContext .o Resource : depends on
'class rust.tinyspring.context.support.ClassPathXmlApplicationContext
'class rust.tinyspring.context.support.FileSystemXmlApplicationContext
FileSystemXmlApplicationContext --|> AbstractApplicationContext
ClassPathXmlApplicationContext --|> AbstractApplicationContext
interface Resource {
getInputStream()
}
'class rust.tinyspring.core.io.ClassPathResource
'class rust.tinyspring.core.io.FileSystemResource
ClassPathResource ..|> Resource
FileSystemResource ..|> Resource
'abstract class AbstractList
'abstract AbstractCollection
'interface List
'interface Collection
'
'List <|-- AbstractList
'Collection <|-- AbstractCollection
'
'Collection <|- List
'AbstractCollection <|- AbstractList
'AbstractList <|-- ArrayList
'
'class ArrayList {
'Object[] elementData
'size()
'}
'
'enum TimeUnit {
'DAYS
'HOURS
'MINUTES
'}
@enduml |
6e875661c9ec39000bab05edf9141f4b65905616 | c3287e91ce0ebce396cd3966de3d2f7d90131c20 | /Plantuml/UI/include.puml | f5f8903f642784c3afe6076ece56bde0a84c6615 | [] | 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 | 11,696 | puml | @startuml
class App <<partial>> {
# <<override>> OnStartup(e:StartupEventArgs) : void
}
Application <|-- App
class CreateUpdateTourView <<partial>> {
+ CreateUpdateTourView()
}
Window <|-- CreateUpdateTourView
IDialog <|-- CreateUpdateTourView
class ErrorView <<partial>> {
+ ErrorView()
}
Window <|-- ErrorView
IDialog <|-- ErrorView
class ImportConfigView <<partial>> {
+ ImportConfigView()
}
Window <|-- ImportConfigView
IDialog <|-- ImportConfigView
class ImportView <<partial>> {
+ ImportView()
}
Window <|-- ImportView
IDialog <|-- ImportView
class MainWindow <<partial>> {
+ MainWindow()
}
Window <|-- MainWindow
class ManeuverManagementWindow <<partial>> {
+ ManeuverManagementWindow()
}
Window <|-- ManeuverManagementWindow
IDialog <|-- ManeuverManagementWindow
class TourLogCreateUpdateView <<partial>> {
+ TourLogCreateUpdateView()
}
Window <|-- TourLogCreateUpdateView
IDialog <|-- TourLogCreateUpdateView
class RelayCommand {
+ RelayCommand(execute:Action<object>, canExecute:Predicate<object>)
+ CanExecute(parameter:object) : bool
+ <<virtual>> Execute(parameter:object) : void
}
class "Action`1"<T> {
}
class "Predicate`1"<T> {
}
ICommand <|-- RelayCommand
RelayCommand --> "_execute<object>" "Action`1"
RelayCommand --> "_canExecute<object>" "Predicate`1"
class RouteInfoImageConverter {
+ Convert(value:object, targetType:Type, parameter:object, culture:CultureInfo) : object
+ ConvertBack(value:object, targetType:Type, parameter:object, culture:CultureInfo) : object
}
IValueConverter <|-- RouteInfoImageConverter
class StringToDateTimeConverter {
+ Convert(value:object, targetType:Type, parameter:object, culture:CultureInfo) : object
+ ConvertBack(value:object, targetType:Type, parameter:object, culture:CultureInfo) : object
}
IValueConverter <|-- StringToDateTimeConverter
class DialogCloseRequestedEventArgs {
+ DialogCloseRequestedEventArgs(dialogResult:bool?)
+ DialogResult : bool? <<get>>
}
EventArgs <|-- DialogCloseRequestedEventArgs
class DialogService {
+ DialogService(owner:Window)
+ Register() : void
+ ShowDialog(viewModel:TViewModel) : bool?
}
class "IDictionary`2"<T1,T2> {
}
IDialogService <|-- DialogService
DialogService --> "owner" Window
DialogService --> "Mappings<Type,Type>" "IDictionary`2"
interface IDialog {
DataContext : object <<get>> <<set>>
DialogResult : bool? <<get>> <<set>>
Close() : void
ShowDialog() : bool?
}
IDialog --> "Owner" Window
interface IDialogRequestClose {
<<event>> CloseRequested : EventHandler<DialogCloseRequestedEventArgs>
}
interface IDialogService {
Register() : void
ShowDialog(viewModel:TViewModel) : bool?
}
class ExternalResourceControl <<partial>> {
- {static} <<readonly>> googleFaviconCrawler : string = @"https://www.google.com/s2/favicons?domain"
- faviconLocation : string
+ LinkText : string <<get>> <<set>>
+ Link : string <<get>> <<set>>
+ Favicon : object <<get>> <<set>>
+ ExternalResourceControl()
- ExternalResource_MouseDown(sender:object, e:MouseButtonEventArgs) : void
- {static} OnLinkChanged(d:DependencyObject, e:DependencyPropertyChangedEventArgs) : void
+ <<event>> PropertyChanged : PropertyChangedEventHandler
# <<virtual>> OnPropertyChanged(propertyName:string) : void
}
UserControl <|-- ExternalResourceControl
INotifyPropertyChanged <|-- ExternalResourceControl
ExternalResourceControl o-> "LinkTextProperty" DependencyProperty
ExternalResourceControl o-> "LinkProperty" DependencyProperty
class DoubleRangeRule {
+ Min : double <<get>> <<set>>
+ Max : double <<get>> <<set>>
+ <<override>> Validate(value:object, cultureInfo:CultureInfo) : ValidationResult
}
ValidationRule <|-- DoubleRangeRule
class ManeuverValidationRule {
+ <<override>> Validate(value:object, cultureInfo:CultureInfo) : ValidationResult
}
ValidationRule <|-- ManeuverValidationRule
class NoNegativeDistancesRule {
+ <<override>> Validate(value:object, cultureInfo:CultureInfo) : ValidationResult
}
ValidationRule <|-- NoNegativeDistancesRule
class TextInputValidationRule {
+ Min : int <<get>> <<set>>
+ Max : int <<get>> <<set>>
+ <<override>> Validate(value:object, cultureInfo:CultureInfo) : ValidationResult
}
ValidationRule <|-- TextInputValidationRule
abstract class BaseViewModel {
+ <<event>> PropertyChanged : PropertyChangedEventHandler
# <<virtual>> OnPropertyChanged(propertyName:string) : void
}
INotifyPropertyChanged <|-- BaseViewModel
class CreateUpdateTourLogViewModel {
+ <<event>> CloseRequested : EventHandler<DialogCloseRequestedEventArgs>
+ Distance : double <<get>> <<set>>
+ Temperature : double <<get>> <<set>>
+ Rating : double <<get>> <<set>>
+ Report : string <<get>> <<set>>
+ ConfirmButtonMessage : string <<get>>
+ HeadingMessage : string <<get>>
+ CreateUpdateTourLogViewModel(tourLog:TourLog)
}
class "IEnumerable`1"<T> {
}
BaseViewModel <|-- CreateUpdateTourLogViewModel
IDialogRequestClose <|-- CreateUpdateTourLogViewModel
CreateUpdateTourLogViewModel --> "tourLog" TourLog
CreateUpdateTourLogViewModel --> "StartDate" DateTime
CreateUpdateTourLogViewModel --> "EndDate" DateTime
CreateUpdateTourLogViewModel --> "Weather" EWeather
CreateUpdateTourLogViewModel --> "TravelMethod" ETravelMethod
CreateUpdateTourLogViewModel --> "WeatherTypes<EWeather>" "IEnumerable`1"
CreateUpdateTourLogViewModel --> "TravelMethods<ETravelMethod>" "IEnumerable`1"
CreateUpdateTourLogViewModel --> "ExitCommand" ICommand
CreateUpdateTourLogViewModel --> "ConductCreateUpdateCommand" ICommand
class CreateUpdateTourViewModel {
- manualTour : bool = false
+ <<event>> CloseRequested : EventHandler<DialogCloseRequestedEventArgs>
+ Name : string <<get>> <<set>>
+ StartLocation : string <<get>> <<set>>
+ EndLocation : string <<get>> <<set>>
+ Description : string <<get>> <<set>>
+ Distance : double <<get>> <<set>>
+ RouteInfo : string <<get>> <<set>>
+ HeadingMessage : string <<get>>
+ ConfirmButtonMessage : string <<get>>
+ ManualTour : bool <<get>> <<set>>
+ CreateUpdateTourViewModel(tour:Tour, dialogService:IDialogService)
}
class "ObservableCollection`1"<T> {
}
class "IEnumerable`1"<T> {
}
BaseViewModel <|-- CreateUpdateTourViewModel
IDialogRequestClose <|-- CreateUpdateTourViewModel
CreateUpdateTourViewModel --> "tour" Tour
CreateUpdateTourViewModel --> "maneuvers<Maneuver>" "ObservableCollection`1"
CreateUpdateTourViewModel --> "maneuversViewModel" ManeuversViewModel
CreateUpdateTourViewModel --> "RouteType" ERouteType
CreateUpdateTourViewModel --> "Maneuvers<Maneuver>" "ObservableCollection`1"
CreateUpdateTourViewModel --> "RouteTypes<ERouteType>" "IEnumerable`1"
CreateUpdateTourViewModel --> "ExitCommand" ICommand
CreateUpdateTourViewModel --> "CommitCommand" ICommand
CreateUpdateTourViewModel --> "ManageManeuverCommand" ICommand
CreateUpdateTourViewModel --> "SelectRouteInfoCommand" ICommand
class ErrorViewModel {
- errorHandlingMessage : string
- errorType : string
+ <<event>> CloseRequested : EventHandler<DialogCloseRequestedEventArgs>
+ ErrorHandlingMessage : string <<get>>
+ ErrorType : string <<get>>
+ ErrorViewModel(errorHandlingMessage:string, errorType:string)
}
BaseViewModel <|-- ErrorViewModel
IDialogRequestClose <|-- ErrorViewModel
ErrorViewModel --> "CloseCommand" ICommand
class ImportConfigViewModel {
- configPath : string
+ <<event>> CloseRequested : EventHandler<DialogCloseRequestedEventArgs>
+ ConfigPath : string <<get>> <<set>>
+ ImportConfigViewModel()
}
BaseViewModel <|-- ImportConfigViewModel
IDialogRequestClose <|-- ImportConfigViewModel
ImportConfigViewModel --> "SelectConfigCommand" ICommand
ImportConfigViewModel --> "ExitCommand" ICommand
ImportConfigViewModel --> "ConfirmCommand" ICommand
class ImportViewModel {
+ <<event>> CloseRequested : EventHandler<DialogCloseRequestedEventArgs>
+ ImportViewModel(config:ITourPlannerConfig)
}
class "ObservableCollection`1"<T> {
}
BaseViewModel <|-- ImportViewModel
IDialogRequestClose <|-- ImportViewModel
ImportViewModel --> "jsonPaths<string>" "ObservableCollection`1"
ImportViewModel --> "config" ITourPlannerConfig
ImportViewModel --> "JsonPaths<string>" "ObservableCollection`1"
ImportViewModel --> "SelectPathsCommand" ICommand
ImportViewModel --> "ExitCommand" ICommand
ImportViewModel --> "ConfirmImportCommand" ICommand
class MainViewModel {
- ShowException(e:Exception) : void
+ MainViewModel(dialogService:IDialogService)
}
class "IExporterImporter`1"<T> {
}
BaseViewModel <|-- MainViewModel
MainViewModel --> "tourDetailViewModel" TourDetailViewModel
MainViewModel --> "toursViewModel" ToursViewModel
MainViewModel --> "tourPlannerFactory" ITourFactory
MainViewModel --> "dialogService" IDialogService
MainViewModel --> "pdfGenerator" ITourPlannerReportsGenerator
MainViewModel --> "exporterImporter<Tour>" "IExporterImporter`1"
MainViewModel --> "TourDetailViewModel" TourDetailViewModel
MainViewModel --> "ToursViewModel" ToursViewModel
MainViewModel --> "AddTourCommand" ICommand
MainViewModel --> "RemoveTourCommand" ICommand
MainViewModel --> "EditTourCommand" ICommand
MainViewModel --> "GenerateTourReportCommand" ICommand
MainViewModel --> "GenerateSummaryReportCommand" ICommand
MainViewModel --> "GenerateJSONExportCommand" ICommand
MainViewModel --> "ConductImportCommand" ICommand
MainViewModel --> "LoadConfigCommand" ICommand
class ManeuversViewModel {
+ <<event>> CloseRequested : EventHandler<DialogCloseRequestedEventArgs>
+ ManeuversViewModel(maneuvers:List<Maneuver>)
}
class "ObservableCollection`1"<T> {
}
BaseViewModel <|-- ManeuversViewModel
IDialogRequestClose <|-- ManeuversViewModel
ManeuversViewModel --> "maneuvers<Maneuver>" "ObservableCollection`1"
ManeuversViewModel --> "currentManeuver" Maneuver
ManeuversViewModel --> "Maneuvers<Maneuver>" "ObservableCollection`1"
ManeuversViewModel --> "CurrentManeuver" Maneuver
ManeuversViewModel --> "AddManeuverCommand" ICommand
ManeuversViewModel --> "RemoveManeuverCommand" ICommand
ManeuversViewModel --> "ConfirmCommand" ICommand
ManeuversViewModel --> "ExitCommand" ICommand
class TourDetailViewModel {
- ShowException(e:Exception) : void
+ TourDetailViewModel(dialogService:IDialogService)
}
class "ObservableCollection`1"<T> {
}
BaseViewModel <|-- TourDetailViewModel
TourDetailViewModel --> "_selectedTour" Tour
TourDetailViewModel --> "selectedTourLog" TourLog
TourDetailViewModel --> "currentTourLogs<TourLog>" "ObservableCollection`1"
TourDetailViewModel --> "tourLogFactory" ITourLogFactory
TourDetailViewModel --> "dialogService" IDialogService
TourDetailViewModel --> "CurrentTourLogs<TourLog>" "ObservableCollection`1"
TourDetailViewModel --> "SelectedTour" Tour
TourDetailViewModel --> "SelectedTourLog" TourLog
TourDetailViewModel --> "AddLogCommand" ICommand
TourDetailViewModel --> "RemoveLogCommand" ICommand
TourDetailViewModel --> "EditLogCommand" ICommand
class ToursViewModel {
- searchString : string
+ SearchString : string <<get>> <<set>>
+ ToursViewModel(tourPlannerFactory:ITourFactory, dialogService:IDialogService)
}
class "ObservableCollection`1"<T> {
}
BaseViewModel <|-- ToursViewModel
ToursViewModel --> "tourPlannerFactory" ITourFactory
ToursViewModel --> "dialogService" IDialogService
ToursViewModel --> "filteredTours<Tour>" "ObservableCollection`1"
ToursViewModel --> "_tours<Tour>" "ObservableCollection`1"
ToursViewModel --> "FilteredTours<Tour>" "ObservableCollection`1"
ToursViewModel --> "Tours<Tour>" "ObservableCollection`1"
ToursViewModel --> "SearchToursCommand" ICommand
@enduml
|
56e53b8e359b45f05e4ecb4089207b66bee06225 | 0e0595b97aa91ffada0fcd46baf3f80428685c66 | /src/main/java/memento/doc/memento.puml | 3bb513bcbe1a685eef988c92067e54bb2c404584 | [
"Zlib"
] | permissive | alarm10086/GoF | a6a47390080075ee3387593843c2bf3d2e40ce50 | 153d458a30bb2da2e79ee7b142353d0323b83330 | refs/heads/master | 2020-03-20T21:20:58.000341 | 2018-07-27T19:12:43 | 2018-07-27T19:12:43 | 137,736,414 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 316 | puml | @startuml
note "备忘录模式" as N1
Caretaker -> Originator : Requests >
Originator -> Memento: Creates >
Caretaker o-- Memento
class Originator {
==
createMemento
restoreMemento
}
class Memento {
==
<<wide interface>> ~ getProtectedInfo
<<narrow interface>> + getPublicInfo
}
@enduml |
10b31d643c5c4778316e32f5e72ea9324028f9c3 | 8c59fbc94a2ba7fa9a12c10991fe334cda0df128 | /metrics/web/docs/features/searchable_dropdown/diagrams/project_groups_searchable_dropdown_widget_class_diagram.puml | f36dd803b0a37d1a7d71c8556fb552cd96be91e4 | [
"Apache-2.0"
] | permissive | solid-vovabeloded/flank-dashboard | 7e952fa1399585d3f15cae2ed2cab435fb82df3f | 15dae0c40823cc12886a1bb0c087442c0697ac89 | refs/heads/master | 2023-07-11T19:54:58.430004 | 2021-08-06T10:29:26 | 2021-08-06T10:29:26 | 389,593,827 | 0 | 0 | Apache-2.0 | 2021-07-26T10:33:52 | 2021-07-26T10:25:59 | null | UTF-8 | PlantUML | false | false | 1,127 | puml | @startuml
package common.widgets {
class ProjectGroupsSearchableDropdown {
- _dropdownMenuController : SelectionMenuController
- _searchBarFocusNode : FocusNode
- _searchBarTextController : TextEditingController
- void _openMenu()
- void _closeMenu()
- void _searchBarFocusNodeListener()
- void _selectAllSearchBarText()
- void _fillSearchBarWithSelectedItem()
- void _onEnterKeyPressed()
}
}
package base.widgets {
class SearchableDropdown<T> {
+ searchBarBuilder : SearchBarBuilder
+ dropdownMenuBuilder : DropdownMenuBuilder
+ itemBuilder : DropdownItemBuilder
+ dropdownMenuController : SelectionMenuController
+ onDropdownMenuStateChanged : ValueChanged<MenuState>
+ items : List<T>
+ maxVisibleItems : int
+ onItemSelected : VoidCallback
+ itemHeight : double
+ searchBarPadding : EdgeInsets
+ dropdownPadding : EdgeInsets
+ closeDropdownOnTapOutside : bool
}
}
ProjectGroupsSearchableDropdown --> SearchableDropdown : uses
@enduml
|
d99815159e353a67c0107afa7e68f9362d291cf5 | 3a3e44d479b4a2bfc5c57eae20da9865d436f304 | /samples/oauth2/sparklr/src/main/java/org/springframework/security/oauth/examples/sparklr/repository/repository.plantuml | 6539be05fa89d212b27a30e3e20126adbe9e25b5 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | zwan2016/spring-security-oauth | abd781584a9e309df941ec53122b8f49575cbb35 | 43d8cf4d0386515c48a5cae2d463e2ac0e40dbe3 | refs/heads/master | 2020-08-24T19:19:39.887062 | 2020-04-08T15:57:53 | 2020-04-08T15:57:53 | 216,889,795 | 0 | 0 | Apache-2.0 | 2019-10-22T19:06:43 | 2019-10-22T19:06:43 | null | UTF-8 | PlantUML | false | false | 756 | plantuml | @startuml
title __REPOSITORY's Class Diagram__\n
namespace org.springframework.security.oauth.examples.sparklr {
namespace repository {
interface org.springframework.security.oauth.examples.sparklr.repository.ClientRepository {
{abstract} + findByClientName()
}
}
}
namespace org.springframework.security.oauth.examples.sparklr {
namespace repository {
interface org.springframework.security.oauth.examples.sparklr.repository.UserRepository {
{abstract} + findByUsername()
}
}
}
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
|
04f35422314e678eace6e02cb8e1350eb867cf13 | 0eda5bcc972f2358b4ae6d39be64086c219b22ef | /src/main/java/Assignments/ex46/diagram.puml | a47f46dceb3e3a681f3a04d0d9ac63bde1f9fd57 | [] | no_license | arkaik2k01/nobrega-cop3330-assignment3 | c1d7f7640def29994e6ed6df694244e0234e841c | aeb470a45a70c8015f3b7354e69e9c48eb854e7e | refs/heads/master | 2023-05-30T21:32:35.783064 | 2021-06-20T21:24:16 | 2021-06-20T21:24:16 | 377,331,823 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 292 | puml | @startuml
'https://plantuml.com/class-diagram
class App {
- Frequency freq
- App prog
-readInput()
-outputFreq(Frequency)
}
note right: Driver code
App <|-- Frequency
class Frequency {
- TreeMap<String, Integer> freq
+ void addToMap(String)
+ gets()
}
@enduml |
c137e9619001f52e79c42a846281efee3d138664 | 1ac0a5cf0a74b207d7cdac817f81b15f452f494c | /Livrables/Diagrammes/Composants/UML/KitchenPorterController.plantuml | d93c7f547f477158916c5421f2310fd11a629811 | [
"MIT"
] | permissive | HugoLA1/Projet-programmation-systeme | 1f143b71a52871ca3536b30d78592c29f19aae97 | 5262fa64cd862283078346b4f8a2aa69246d47d6 | refs/heads/master | 2020-06-01T10:33:49.688170 | 2018-12-13T13:22:55 | 2018-12-13T13:22:55 | 190,750,176 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 808 | plantuml | @startuml
class KitchenPorterController {
model : Model
threadK : Thread
- observers : List<IObserver>
+ KitchenPorterController()
+ MoveToDishWater(kitchenPorter:KitchenPorter) : void
+ MoveToWashingMachine() : void
+ WashUstensil(useUstensil:List<Ustensil>, kitchenPorter:KitchenPorter) : void
- MoveToCounter(kitchenPorter:KitchenPorter) : void
+ StartDishWasher(ustensils:List<Ustensil>) : void
+ StartWashingMachine(ustensils:List<Ustensil>) : void
+ CreateThread() : void
+ WatchLoop() : void
+ RegisterObserver(observer:IObserver) : void
+ UnregisterObserver(observer:IObserver) : void
+ NotifyObservers(counter:List<Point>) : void
+ NotifyObservers(track:List<Point>, table:Table) : void
}
ISubject <|-- KitchenPorterController
@enduml
|
8d32c4bfc398039bf288eedcd5a896a68999cc71 | a69bffbb1891cce8d8d1cb18376eec2e4cdfc1ad | /UML.puml | e5049a5e10d0479d64579b6fb6c7e01dc1611a63 | [] | no_license | Ellakh/FlightGearJoystickApp | 0975b472251684ac74ba964a33f63e4633997f37 | cfc7fc3c9761cbe314b7ddfe83a5db7fcf2f8d69 | refs/heads/master | 2023-06-11T13:19:26.944608 | 2021-06-27T20:26:59 | 2021-06-27T20:26:59 | 378,531,306 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,797 | puml | @startuml
MainActivity o-- ViewModel
ViewModel o-- Model
AppCompatActivity <|-- MainActivity
BaseObservable <|-- ViewModel
SurfaceView <|-- Joystick
Callback <|-- Joystick
OnTouchListener <|-- Joystick
Joystick o-- IOnChange
class MainActivity {
- private ViewModel vm
# protected void onCreate(Bundle savedInstanceState)
}
class Joystick {
+ IOnChange onChange
- float XPosition
- float YPosition
- float totalRadius
- float joystickRadius
- private void draw(float x, float y)
+ public void surfaceCreated(@NonNull SurfaceHolder holder)
+ public void surfaceChanged(@NonNull SurfaceHolder holder, int format, int width, int height)
+ public void surfaceDestroyed(@NonNull SurfaceHolder holder)
+ public boolean onTouch(View v, MotionEvent event)
}
class ViewModel {
- Model mdl
- int rudder
- int throttle
- String ip
- String port
+ public void setIp(String ipAddress)
+ public String getIp()
+ public void setPort(String portNumber)
+ public String getPort()
+ public void setAileron(double val)
+ public void setElevator(double val)
+ public void setThrottle(int throttle)
+ public int getThrottle()
+ public void setRudder(int rudder)
+ public int getRudder()
+ public void connectToSimulator()
}
class Model {
- BlockingQueue<Runnable> taskQueue
- PrintWriter printIt
- boolean terminate
+ public void closeTheThread()
+ public void setAileron(double val)
+ public void setThrottle(double val)
+ public void setRudder(double val)
+ public void setElevator(double val)
+ public void connectToSimulatorInModel(String ip, int port)
}
interface IOnChange {
+ void move()
}
interface OnTouchListener {
}
interface Callback {
}
@enduml |
89adc6a9a8417223664f3ba0132087a12f0c6b53 | b19e1cd9af26a9f3cb65823e1a7885ce278337fe | /documentation/productApi/quote/media/src/place_entities.puml | 7e0132cc3ee0c1fefb29649f6e0eec04ae4ad2a5 | [
"Apache-2.0"
] | permissive | MEF-GIT/MEF-LSO-Sonata-SDK | 969c3717fba3fffa009bf3a5de65337b2caccaaf | 6d66bc0778fe0f5a96cdbcb3579e47513b7fd62f | refs/heads/working-draft | 2023-07-07T02:17:11.649855 | 2023-06-23T09:30:18 | 2023-06-23T09:30:18 | 90,886,429 | 33 | 32 | Apache-2.0 | 2023-01-05T23:58:23 | 2017-05-10T16:38:08 | null | UTF-8 | PlantUML | false | false | 1,754 | puml | @startuml
skinparam {
ClassBackgroundColor White
ClassBorderColor Black
}
class RelatedPlaceRefOrValue {
@schemaLocation: uri
@type*: string <<discriminator>>
role*: string
}
class FieldedAddress {
city*: string
country*: string
locality: string
postcode: string
postcodeExtension: string
stateOrProvince: string
streetName*: string
streetNr: string
streetNrLast: string
streetNrLastSuffix: string
streetNrSuffix: string
streetSuffix: string
streetType: string
}
RelatedPlaceRefOrValue <|-- FieldedAddress
FieldedAddress *--> GeographicSubAddress : geographicSubAddress
class FormattedAddress {
addrLine1*: string
addrLine2: string
city*: string
country*: string
locality: string
postcode: string
postcodeExtension: string
stateOrProvince: string
}
RelatedPlaceRefOrValue <|-- FormattedAddress
class GeographicSubAddress {
buildingName: string
levelNumber: string
levelType: string
privateStreetName: string
privateStreetNumber: string
}
GeographicSubAddress *-->"*" MEFSubUnit : subUnit
class GeographiclAddressLabel {
externalReferenceId*: string
externalReferenceType*: string
}
RelatedPlaceRefOrValue <|-- GeographiclAddressLabel
class MEFGeographicPoint {
spatialRef*: string
x*: string
y*: string
z: string
}
RelatedPlaceRefOrValue <|-- MEFGeographicPoint
class MEFSubUnit {
subUnitNumber*: string
subUnitType*: string
}
class GeographicAddressRef {
href: string
id*: string
}
RelatedPlaceRefOrValue <|-- GeographicAddressRef
class GeographicSiteRef {
href: string
id*: string
}
RelatedPlaceRefOrValue <|-- GeographicSiteRef
@enduml
|
84a6c3d62de78cc8fc4e06211d52acc910081a1e | 1ecbe75d13e45e5e7daae306ec34f62d2fcc6ddf | /images/proxy.plantuml | 9d889416d1c3053911e3db35ff23798438decddb | [] | no_license | skiadas/SoftwareDevelopmentPracticumCourse | 77ba943e6856e9a841b1f94aabd52c695a635812 | f8fccfcd9a9410a191455484c6a7b9927e325ed2 | refs/heads/master | 2020-04-15T23:40:28.229011 | 2019-12-06T15:16:56 | 2019-12-06T15:16:56 | 165,113,828 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 557 | plantuml | @startuml
skinparam shadowing false
skinparam packageStyle rectangle
skinparam class {
BackgroundColor White
BorderThickness 3
ArrowThickness 2
ArrowColor Maroon
BorderColor Maroon
FontColor Maroon
}
package app {
class Payroll
interface Employee {
+ calcPay()
}
}
package DB {
class DBAPI
class RealEmployee {
+ calcPay()
}
}
class EmployeeProxy {
+ calcPay()
}
Employee <|.. EmployeeProxy
Payroll -> Employee
Employee <|.. RealEmployee
EmployeeProxy --> RealEmployee : <<delegate>>
EmployeeProxy -> DBAPI
@enduml
|
a65ffb17c0d4ee0e7456896e14d9cbdf7c2751ef | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/PaymentChangeTransactionInteractionIdAction.puml | 6fbf4b88db6196a1a32fa6c3b24be340253b4ad6 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 513 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface PaymentChangeTransactionInteractionIdAction [[PaymentChangeTransactionInteractionIdAction.svg]] extends PaymentUpdateAction {
action: String
transactionId: String
interactionId: String
}
interface PaymentUpdateAction [[PaymentUpdateAction.svg]] {
action: String
}
@enduml
|
9ca819e18aac8e721b009bb8e0cff76cbcec78cb | 2dd49f2981e4214afba61067809fbe7db6418d8b | /test6/src/class.puml | c1fcad8e73b6774066465f336a46092bea688525 | [] | no_license | qtfy1005050140/is_analysis | 15d4c31f0c38c7e290cb5c610bc9025900dcc432 | 7e31074a9d7dd26667c55bc49d3c40463ef395df | refs/heads/master | 2022-09-02T20:36:10.075171 | 2020-05-26T20:58:59 | 2020-05-26T20:58:59 | 244,255,324 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,395 | puml | @startuml
title 基于GitHub的实验管理平台--类图
class users {
<b>user_id</b> (用户ID)
name (用户真实姓名)
github_username (用户GitHub账号)
update_date (用户GitHub账号修改日期)
password (用户密码)
disable (用户是否禁用)
}
class teachers{
<b>teacher_id</b> (老师工号)
department (老师所属部门)
}
class students{
<b>student_id</b> (学号)
class (班级)
result_sum(成绩汇总)
web_sum (网站正确与否汇总)
}
users <|- students
users <|-- teachers
class grades {
<b>student_id</b> (学号)
<b>test_id</b> (实验编号)
memo (评价)
update_date (评改日期)
wanchengdu (内容完成度分数)
yuyan (语言分数)
jiegou (结构分数)
result (总分数)
}
class tests {
<b>test_id</b> (实验编号)
<b>lesson_id (课程Id)
title (实验名称)
}
class lesson{
<b> lesson_id (课程Id)
<b> profession_id (专业id)
<b> teacher_id
<b> student_id
year (开课年份)
semester (开课学期)
}
class profession{
<b> profession_id (专业id)
prifession_name (专业名称)
}
lesson "n"--|>"1" profession
tests "n"--"1" lesson
students "n"--"n" lesson
teachers "n"--"n" lesson
students "1" -- "n" grades
tests "1" -- "n" grades
@enduml |
258cd5155799000025852b358bbc61aa148a2626 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Editor/inspectors/CurvesOwner/ICurvesOwnerInspectorWrapper.puml | b35cc0ac84a056218be90838fc5b584fdf123e03 | [] | 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 | 320 | puml | @startuml
interface ICurvesOwnerInspectorWrapper {
lastCurveVersion : int <<get>> <<set>>
lastEvalTime : double <<get>> <<set>>
ToLocalTime(time:double) : double
}
ICurvesOwnerInspectorWrapper --> "curvesOwner" ICurvesOwner
ICurvesOwnerInspectorWrapper --> "serializedPlayableAsset" SerializedObject
@enduml
|
c37ffe38d6aebb5834576bedf148bd6bdd15cd26 | f3e5470b71219337445bca0f5e5c1ffa32da3af8 | /Documentation/plantuml/Grid/State Control/GridController.puml | 8826f6413bfd595e2e26e3d5d4b7172ab67dfe5f | [
"MIT"
] | permissive | Jaren-Taylor/Smart-City-Dashboard | 65116d7afd09bdc9d5ff33e05213a83bc73b52cb | 7d947637bc1c0b0d4a7a2b781c405518481dc319 | refs/heads/main | 2023-04-14T06:55:40.565340 | 2021-04-26T19:55:52 | 2021-04-26T19:55:52 | 327,404,880 | 0 | 0 | null | 2021-04-19T02:11:24 | 2021-01-06T19:02:38 | C# | UTF-8 | PlantUML | false | false | 413 | puml | @startuml
class GridController {
+ GridController(initState:IGridControlState)
+ SetState(newState:IGridControlState, mousePosition:DigitalCursor) : void
+ MoveCursor(oldPosition:DigitalCursor, newPosition:DigitalCursor) : void
+ OnMouseDown(mousePosition:DigitalCursor) : void
+ SuspendState(mousePosition:DigitalCursor) : void
+ ResumeState(mousePosition:DigitalCursor) : void
}
@enduml
|
7d85bce423b97bb414ab109757dc79d332636703 | 8a01731637b7d98427e290e9ae0e4b74dc2d86f1 | /src/com/zzw/java1000000/z1136785/reflect/md/AnnotatedElement.puml | eabed6a0948ef08712053fbce1b3938efb8e1547 | [] | no_license | zhengzewang/1000000study | a2629ceff34f2083ab211c6eb64c939248c6d31d | 93b0f2d30e36f6653316aec8077b6fd424b099a2 | refs/heads/master | 2020-04-12T15:55:52.586491 | 2019-09-02T12:24:07 | 2019-09-02T12:24:09 | 162,595,667 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,528 | puml | @startuml
package java.lang{
package java.lang.reflect{
interface AnnotatedElement{
default boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
Annotation[] getAnnotations()
Annotation[] getDeclaredAnnotations()
<T extends Annotation> T getAnnotation(Class<T> annotationClass)
default <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
default <T extends Annotation> T[] getAnnotationsByType(Class<T> annotationClass)
default <T extends Annotation> T[] getDeclaredAnnotationsByType(Class<T> annotationClass)
}
interface TypeVariable<D extends GenericDeclaration> extends AnnotatedElement
class Parameter implements AnnotatedElement
interface AnnotatedType extends AnnotatedElement
interface AnnotatedArrayType extends AnnotatedType
interface AnnotatedParameterizedType extends AnnotatedType
interface AnnotatedTypeVariable extends AnnotatedType
class AccessibleObject implements AnnotatedElement
class Field extends AccessibleObject
interface GenericDeclaration extends AnnotatedElement
abstract class Executable extends AccessibleObject implements GenericDeclaration
class Method extends Executable
class Constructor<T> extends Executable
interface AnnotatedWildcardType extends AnnotatedType
}
class Class<T> implements GenericDeclaration,AnnotatedElement
}
@enduml |
c9f82eb560f1ce1182525a4c4e53c251e72b701b | 186819bc98500f794e563bd3ba5a23073756a2ba | /PSP2/Hospital/src/test/java/com/hospital/Hospital/Hospital.plantuml | 1f5a6bcc28c2e35cc7d4fef24774054ac79f57c2 | [] | no_license | macro161/PSP | 0e53943e4f8568b2c4b788524dc9e12f276d5c9e | 7e5e094bbe42af30006fb28d541229dea4efb610 | refs/heads/master | 2020-03-30T08:04:17.541705 | 2018-12-07T20:24:18 | 2018-12-07T20:24:18 | 150,986,741 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 358 | plantuml | @startuml
title __HOSPITAL's Class Diagram__\n
package com.hospital.Hospital {
class HospitalApplicationTests {
+ contextLoads()
}
}
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
|
6ccf06767cca041c01c736ca78098cce4bf0e702 | eee65bdd4128eeedc3271601006ed5739b43bd67 | /uml/border_cross_okay.puml | a00bc27ecccf59e70b1a3a77bb5d1a29b924ada3 | [] | no_license | argh87/bachelorthesis | 25e8443e61233a628a12a6207f20b0a8319c3cf5 | 9f8a463b455b6e84f67a424ebf5efc2507bc3ebc | refs/heads/master | 2023-04-14T08:47:44.757939 | 2021-04-12T08:32:34 | 2021-04-12T08:32:34 | 345,094,877 | 0 | 1 | null | 2021-04-12T08:32:35 | 2021-03-06T13:01:32 | TeX | UTF-8 | PlantUML | false | false | 311 | puml | @startuml
package Business {
class Client
interface Repository {
+ get()
}
class Data
}
Client --> Repository
Client --> Data
Client -[hidden] Repository
package DB {
class RepositoryImpl
}
RepositoryImpl --|> Repository
RepositoryImpl -> Data
Repository -[hidden] RepositoryImpl
@enduml
|
2710cd354b9b07006921d5c197fc9f6943098833 | 65c79e69d7c97dc7eb1532e77ae1bd2ece83fbe6 | /notes/Design/UML/Proxy.puml | d7c7f1d2fce34d7c438b73564cc9c36be5c44ba9 | [] | no_license | zhangjukai/Go-Gad | 8618bf0a377d34f784ad7c201d08431861f48c52 | d463e3faccc580d77b67886a11288c78622ddbae | refs/heads/master | 2023-05-31T06:37:30.215749 | 2023-05-12T03:28:19 | 2023-05-12T03:28:19 | 185,611,030 | 0 | 0 | null | 2022-12-15T23:30:09 | 2019-05-08T13:25:51 | Java | UTF-8 | PlantUML | false | false | 163 | puml | @startuml
class Target {
+ opreation1():void
+ opreation2():void
}
class ProxyObject {
}
class client
client ..> ProxyObject
ProxyObject ..> Target
@enduml |
8f8457948d998b3a8f1828ae08b8ae60f1449ec0 | 66ea0c9b247dea259741044623f8cf0c58344b0c | /diagrams/classes_diag.puml | 8d18486332b02dcbc01c869dcc03a5a2834f9806 | [
"MIT"
] | permissive | sovrasov/uml_course | c2f0934b59276cbac8c3123a901bdce0252ce7ac | 82b814263f9dbccc968304768097df9f4d36051e | refs/heads/master | 2021-01-19T22:59:46.692458 | 2017-04-25T13:07:49 | 2017-04-25T18:45:42 | 88,904,089 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,913 | puml | @startuml
left to right direction
package "Server Database" {
abstract class IDatabaseManager {
+getSalespersonTable()
+getGoodsTable()
+getCustomerTable()
+updateGoodsTable()
+onNewConnection()
}
class DatabaseManager
class Salesperson
class Customer
class SalespersonsTable
class CustomersTable
class GoodsTable
DatabaseManager <|-- IDatabaseManager
SalespersonsTable *-- DatabaseManager
CustomersTable *-- DatabaseManager
GoodsTable *-- DatabaseManager
Customer o-- CustomersTable
Salesperson o-- SalespersonsTable
SaleItem o-- GoodsTable
}
package "Terminal software" {
abstract class ITerminalManager {
+startNewOrder()
+deleteLastItemFromOrder()
+addItemToOrder()
+connectToServer()
+disconnectFromServer()
+loadDBFromServer()
}
class TerminalManager
class PrintController {
+printOrder(Order)
+checkStatus()
}
class DisplayController {
+printMessage(string)
+printOrder(Order)
}
class MoneyCase {
+open()
+close()
+getBalance()
+resetBalance()
+addToBalance(int)
+subtractFromBalance(int)
}
class CardReader {
+readCard()
}
class BarcodeScanner {
+initScanProcess()
+getLastScanResult()
}
class LocalDB {
+importTables()
+getCustomerByID(ID)
+getSaleItemByID(ID)
+applyOrder(Order)
}
class Order {
+deleteLastItem()
+addIttem()
+getItemsList()
}
class ServerInteractor {
+createConnection()
+loadDB()
+uploadStatistics()
}
MoneyCase *-- TerminalManager
DisplayController *-- TerminalManager
PrintController *-- TerminalManager
CardReader *-- TerminalManager
BarcodeScanner *-- TerminalManager
LocalDB *-- TerminalManager
Order *-- TerminalManager
TerminalManager <|-- ITerminalManager
ITerminalManager o-- ServerInteractor
IDatabaseManager o-- ServerInteractor
}
@enduml
|
2387d3412d4595c29c6861f826075cba57e9eff6 | d65090568de84c85cf22ce70367e25b69827918c | /doc/uml/src/class-diagram.puml | 8e808e0582f641e23bbe163c0d485302445fdee1 | [] | no_license | JoshuaSFryer/multi-agent-sim | b82d5a16b16a6a157085651bc984573f7d66c653 | 814fe32cf500b1ee193d98b57e5362a7150d9f8f | refs/heads/master | 2023-05-06T16:55:53.122632 | 2021-06-01T18:19:08 | 2021-06-01T18:19:08 | 298,406,403 | 0 | 0 | null | 2021-03-20T19:48:43 | 2020-09-24T22:12:41 | Python | UTF-8 | PlantUML | false | false | 593 | puml | @startuml agent-sim-diagram
skinparam DefaultFontName ArialMT
' Object <|-- Agent
Agent <|-- FocusedAgent
FocusedAgent <|-- BiologicalAgent
BiologicalAgent <|-- TraceableAgent
FocusedAgent : Shifts between home and work points
BiologicalAgent : Contracts and spreads infection
TraceableAgent : Registers contacts, will self-isolate
TraceableAgent : under certain circumstances
Infection *-- BiologicalAgent
class Environment {
current_time:int
daytime:bool
tick()
add_agent()
}
Window -- Environment : displays
Environment *-- Agent : *
Environment o-- Logger
@enduml |
6cb98c3612e3c587f7676a962a50228912a4ef8c | 61f77755f3ca65fa0a0dfbbdc51137e01ded03fc | /design_model/src/main/resources/面向对象设计原则/Single Responsibility Principle.puml | 9a5939e372e4ab748f31ddde6d36b79f5626cb46 | [] | no_license | lyszhen3/myWeb | 670e02a585ea3193f6c388b9cea37969a94792dc | c1543ec5f48d84e6c6481a95e54b84f04654b323 | refs/heads/master | 2023-07-11T02:29:33.530130 | 2019-02-25T01:39:29 | 2019-02-25T01:39:29 | 78,835,228 | 0 | 1 | null | 2022-12-16T04:38:41 | 2017-01-13T09:31:45 | Java | UTF-8 | PlantUML | false | false | 531 | puml | @startuml
class CustomerDataChart{
+getConnection()
+findCustomers()
+createChart()
+displayChart()
}
note right:一个类负责多职责
class DButil{
+getConnection
}
class CustomerDao{
-util:DButil
+findCustomers():List
}
class CustomerDataChart2{
-dao:CustomerDao
+createChart()
+displayChart()
}
CustomerDataChart2-->CustomerDao
CustomerDao-->DButil
note "职责分离" as N2
note "单一职责原则\n'一个类只负责一个功能领域中的相应职责'" as N1
DButil.N2
CustomerDao.N2
CustomerDataChart2.N2
@enduml |
51d694357516fb1b9e0b8a7c2df1a833775829dd | e75e9ab0e9fd1a31e408256b7e00259524f54feb | /boot-pattern/src/main/java/com/ylkget/pattern/uml/relation/Association-Aggregation-Composition.puml | 87c821b2840c3fc20fc3797f07e95bcbe8e24967 | [
"MIT"
] | permissive | ylksty/spring-hub | 413a2ab35bd953f8037f4acc0ef975b5d2ab0970 | c948e30f205ae0b65f59ff274e49a3d1abcbb3d2 | refs/heads/main | 2023-04-04T01:36:29.742178 | 2021-04-17T15:16:33 | 2021-04-17T15:16:33 | 332,437,547 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 701 | puml | @startuml
'https://plantuml.com/class-diagram
title Association-Aggregation-Composition
class Person {
-idCard: IDCard
-head: Head
-setIDCard(idCard: IDCard): void
}
class IDCard {
-person: Person
-setPerson(person Person)
}
class Cloth
Person --> Cloth : Association\n单向一对一
Person -- IDCard : Association\n双向一对一
class Computer {
-mouse: Mounse
-moniter: Moniter
-setMouse(Mouse mouse): void
-setMoniter(Monitor monitor): void
}
class Mounse
class Moniter
Computer o-- Mounse : Aggregation\n聚合
Computer o-- Moniter : Aggregation\n聚合
class Head
Person *-- Head : Composition\n组合
Person o-- IDCard : Aggregation\n聚合
@enduml |
6a8d1a6c26687e5e07ed6fc79d0468e820b9351e | 037106db8696dbb32953a5a3d9b8953ae830aa66 | /static/diagrams/hessian-AbstractHessianOutput.puml | b26a2591679119ed598ce76f4bfc8713785cb51c | [
"Apache-2.0"
] | permissive | diguage/www.diguage.com | 05dda5721dc85a28423b6930cee382c7236f3bf7 | c154ee72ecaf4a330268760746e35da4f5f30ad7 | refs/heads/master | 2023-07-06T18:18:41.282079 | 2023-06-30T02:10:19 | 2023-06-30T02:10:19 | 216,299,477 | 0 | 3 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,764 | puml | @startuml
title **Hessian AbstractHessianOutput 类图**
abstract class AbstractHessianOutput {
-SerializerFactory _defaultSerializerFactory
#SerializerFactory _serializerFactory
+void setSerializerFactory(SerializerFactory factory)
+SerializerFactory getSerializerFactory()
#SerializerFactory findSerializerFactory()
+boolean setUnshared(boolean isUnshared)
+{abstract} void writeBoolean(boolean value)
+{abstract} void writeInt(int value)
+{abstract} void writeLong(long value)
+{abstract} void writeDouble(double value)
+{abstract} void writeUTCDate(long time)
+{abstract} void writeNull()
+{abstract} void writeString(String value)
+{abstract} void writeString(char []buffer, int offset, int length)
+{abstract} void writeBytes(byte []buffer)
+{abstract} void writeBytes(byte []buffer, int offset, int length)
#{abstract} void writeRef(int value)
+boolean removeRef(Object obj)
+{abstract} boolean replaceRef(Object oldRef, Object newRef)
+{abstract} boolean addRef(Object object)
+{abstract} int getRef(Object obj)
+{abstract} void writeObject(Object object)
+{abstract} boolean writeListBegin(int length, String type)
+{abstract} void writeListEnd()
+{abstract} void writeMapBegin(String type)
+{abstract} void writeMapEnd()
+int writeObjectBegin(String type)
+void writeObjectEnd()
+void writeClassFieldLength(int len)
+void flush()
+void close()
}
note left of AbstractHessianOutput::writeObjectBegin
直接调用的
writeMapBegin(String type)
end note
class HessianOutput extends AbstractHessianOutput
class Hessian2Output extends AbstractHessianOutput implements Hessian2Constants {
+int writeObjectBegin(String type)
}
footer D瓜哥 · https://www.diguage.com · 出品
@enduml |
d2ff711bec445b73be4c768af47bd27567427367 | 4d8081befb632768ae391f48438c16724dda8448 | /uml.puml | 1dfc7617baaf5b0a01193e6a94a675427acc1026 | [
"MIT"
] | permissive | codegym-vn/pf-java-fruit | eafd71d44ec04fac5e1112f9cb3a37c36e46f2f4 | b197248fe2ee107d277a1e28c259560598d8e41d | refs/heads/master | 2021-04-27T11:31:27.253418 | 2018-08-23T10:20:57 | 2018-08-23T10:20:57 | 122,564,264 | 1 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 312 | puml | @startuml
interface Edible {
+ {abstract} howtoEat(): String
}
abstract class Animal {
+ {abstract} makeSound(): String
}
class Tiger extends Animal
class Chicken extends Animal implements Edible
abstract class Fruit implements Edible
class Orange extends Fruit
class Apple extends Fruit
@enduml
|
ee0de6077eb72adc15115b2916a60f44d0adb161 | 01beed8e16046a3d467b325fbe6324dd30d834c8 | /Docs/Ex43.puml | fac88f34d9c445dd4d456f206733710f8098cd4f | [] | no_license | Harsha-Aith/aitharaju-cop3330-assignment3 | ca37fd913f8caf6a40e4978a0903463f424596b8 | 74ad863c5baa47af294d9d524ea64d1d83b4e6b5 | refs/heads/master | 2023-06-03T22:27:23.908018 | 2021-06-21T04:00:21 | 2021-06-21T04:00:21 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 282 | puml | @startuml
'https://plantuml.com/class-diagram
class ex43Sol{
Scanner kb
$siteName
$author
$js
$css
}
ex43<|-- WebsiteGenerator
class WebsiteGenerator
{
+boolean mkdir(String path)
+boolean createIndex(String site, String author) throws IOException
}
@enduml |
b72a02ab7b8f1e1b11e46acbb4dd20d189bddb1b | b2215d9679854662a617a8234f79e676138d2dcc | /TDA552/Labb/Labb-1/out/production/Labb-1/Labb/Labb.plantuml | 29751ca5e67c1bdeca8f52b1cc9f1a8c341da356 | [] | no_license | OscarSanner/SchoolProjects | 52d73a725076042f48a2dfa6637e25d211e31a55 | 2f70c4c1ba524f8a6b85d254689bc28ef821716f | refs/heads/master | 2020-09-05T23:03:58.233815 | 2020-04-22T11:41:01 | 2020-04-22T11:41:01 | 220,229,305 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 963 | plantuml | @startuml
title __LABB's Class Diagram__\n
namespace abb {
class Labb.Application {
{static} + main()
}
}
namespace abb {
class Labb.CarController {
+ CarController()
- initListeners()
}
}
namespace abb {
interface Labb.IObservable {
{abstract} + attach()
{abstract} + detach()
{abstract} + notifyAllObservers()
}
}
namespace abb {
interface Labb.IObserver {
{abstract} + observerUpdate()
}
}
namespace abb {
class Labb.Main {
{static} + main()
~ program()
}
}
Labb.CarController o-- Labb.View.CarView : frame
Labb.CarController o-- Labb.Model.Model : model
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
|
9e60a20f44e54f5c8ce533dd600e9fd8725302b8 | 07b0fd9f1ad48c9611fd70a3f62bcd4afc27d865 | /app/src/main/java/com/example/procomsearch/ui/Search/Search.plantuml | 1065da05965cc2162a93b2ac6142d83c0890e3ac | [] | no_license | cyberflax2020/COMP2100_6442_S2_2020_GROUP_PROJECT | 9c668698b4722c73a85d8f850414a35b4579b761 | 51ca21a4e3e62d25f7a1d60674cce51a313d3b57 | refs/heads/main | 2023-04-14T22:04:12.605649 | 2021-05-08T16:33:57 | 2021-05-08T16:33:57 | 365,550,501 | 1 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,848 | plantuml | @startuml
title __SEARCH's Class Diagram__\n
namespace com.example.procomsearch {
namespace ui.Search {
class com.example.procomsearch.ui.Search.SearchFragment {
~ autoInput : ImageButton
{static} ~ firstTime : boolean
~ hintButton : ImageButton
~ keyBoard : ImageButton
~ listPopupWindow : ListPopupWindow
~ mDrawerLayout : DrawerLayout
~ root : View
~ toolbar : Toolbar
{static} ~ typeOddTimes : boolean
- progressBar : ProgressBar
- rankAttribute : String
- searchButton : Button
- textList : ArrayList<String>
- userId : int
+ onCreateView()
+ onResume()
{static} + printCompanies()
{static} - parseQuery()
- search()
- setMightBeInterest()
- setQuickInput()
- showListPopupWindow()
- showPopupHint()
}
}
}
namespace com.example.procomsearch {
namespace ui.Search {
class com.example.procomsearch.ui.Search.SearchViewModel {
- mText : MutableLiveData<String>
+ SearchViewModel()
+ getText()
}
}
}
com.example.procomsearch.ui.Search.SearchFragment -up-|> androidx.fragment.app.Fragment
com.example.procomsearch.ui.Search.SearchFragment o-- com.example.procomsearch.buttonEditText.ClearableEditText : searchBox
com.example.procomsearch.ui.Search.SearchFragment o-- com.example.procomsearch.ui.Search.SearchViewModel : searchViewModel
com.example.procomsearch.ui.Search.SearchViewModel -up-|> androidx.lifecycle.ViewModel
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
|
632ad5b737cbfe3929215f5197446c9f1dbe86a7 | 23b2b41d6fb21abc0530d308b1643d2d0a45a48c | /ライブチケット.plantuml | f6cb095e83fc54f35f45b4b951e5ea0c41d19f40 | [
"Apache-2.0"
] | permissive | FScoward/billets-en-concert | 0a8c9e1942b6e436426c2776c2f7611770bf364c | c95ccb359f76d0514860748ce148c353e377af65 | refs/heads/master | 2020-06-21T02:46:37.697028 | 2016-12-04T13:09:28 | 2016-12-04T13:09:28 | 74,809,878 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,770 | plantuml | package チケット {
interface チケット {
ライブID
グループID
座席番号
}
class 余剰チケット {
}
class 割当て済みチケット {
ユーザーID
チケットID
}
}
package アーティスト {
class アーティスト {
アーティストID
アーティスト名
}
}
package ライブ {
class ツアー {
ツアーID
ツアー名
ライブID
}
class ライブ<<RootEntity>> {
ライブID
アーティストID
ライブタイトル
開始日時
終了日時
会場
}
}
package 会場 {
class 会場 {
会場名
住所
}
}
package グループ {
class グループ {
グループID
ライブID
グループ名
公開・非公開
+ createdBy(ユーザーID)
+ メンバー追加()
}
class オーナー {
ユーザーID
グループID
}
class メンバー {
ユーザーID
グループID
}
}
package ユーザー {
class サインアップサービス<<Service>> {
+ signInWithTwitter()
}
class ユーザー {
ユーザーID
ユーザー名
+ 登録()
+ Twitter連携()
}
}
package 評価 {
class 評価 {
評価ユーザーID
評価対象ユーザーID
評価内容
+ 評価する(評価ユーザーID, 評価対象ユーザーID)
}
}
チケット -- ライブ
チケット <|-- 余剰チケット
チケット <|-- 割当て済みチケット
チケット -- グループ
アーティスト -- ライブ
グループ "1" o--"1..*" メンバー
グループ "1" o--"1..*" オーナー
メンバー --> ユーザー
オーナー --> ユーザー
ライブ "1" o-- "0..*" グループ
ライブ "1" o--"1" 会場
評価 -- ユーザー
|
e6d8682d375f87a1bd69022b1de2eb48c71a228c | 653f21cf6253c69421aa4d44c9ae454af6046089 | /demo-uml/src/main/resources/uml/service.puml | cc6fb51a284d87e39e50736ab1edaecdab0c58ec | [] | no_license | bluesgao/my-demo-parent | 63ba851e8a5bb3657dfad546311bd59fd11612c0 | f584330f14063a672059edba288a57439a5ce257 | refs/heads/master | 2021-09-07T20:55:22.261247 | 2018-03-01T01:15:12 | 2018-03-01T01:15:12 | 115,093,427 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 557 | puml | @startuml
title 服务类图
scale 1.5
interface Service
interface Rule
abstract class AbstractService
class ServiceA
class ServiceB
class ServiceC
AbstractService .up.|> Service :implement
AbstractService *-up-> Rule: contatins
ServiceA -up-|> AbstractService :extend
ServiceB -up-|> AbstractService :extend
ServiceC -up-|> AbstractService :extend
interface Service {
serve()
}
abstract class AbstractService {
- Rule rule;
+ AbstractService(Rule rule);
+ serve();
}
class ServiceA {
}
class ServiceB {
}
class ServiceC {
}
@enduml |
3a4e9739b5c3d769c93cdcb35dcc79c067b8dce0 | 20478b6c19855983adf0781338d1a30e98101a7b | /diagramas/Interpreter.iuml | ca56426259dd9f8cb88f742b6aaca2b7322f71b4 | [] | 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 | 505 | iuml | @startuml Interpreter structure
skinparam class {
BackgroundColor #DDDDDD
BorderColor black
ArrowColor black
}
abstract AbstractExpression {
Interpret( context: Context)
}
class TerminateExpression{
Interpret( context: Context)
}
class NonterminalExpression{
Interpret( context: Context)
}
Client -->Context
Client -right-> AbstractExpression
AbstractExpression <|-- TerminateExpression
AbstractExpression <|-- NonterminalExpression
NonterminalExpression o-->AbstractExpression
@enduml |
2a2494930ee70877591c8c83ae784be5c9a34494 | 1e557a8d0b755ce2d66458e43dcd426dd8f27fec | /阅读代码/android/视图相关/Event.plantuml | 810c9c97b896d83ea16d7e507f20e9c296ec17c4 | [] | no_license | rickgit/rickgit.github.io | 94ff804637d1fe891583c9c1513a9b65b86361f5 | 5891f01bdd8ca1231cd9977a68960e11e28688f4 | refs/heads/master | 2023-08-29T21:35:00.999632 | 2023-08-12T04:40:16 | 2023-08-12T04:40:16 | 52,088,713 | 4 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 655 | plantuml | @startuml
skinparam monochrome true
skinparam classBackgroundColor transparent
skinparam style strictuml
class Activity{
Window mWindow
dispatchTouchEvent()
onUserInteraction()
}
class PhoneWinodw extends Window{
DecorView mDecor
superDispatchTouchEvent()
}
class DecorView extends FrameLayout implements RootViewSurfaceTaker{
}
class FrameLayout extends ViewGroup{
public boolean onInterceptTouchEvent(MotionEvent ev)
}
class ViewGroup extends View{
public boolean onInterceptTouchEvent(MotionEvent ev)
}
class View{
dispatchTouchEvent()
onFilterTouchEventForSecurity(event)
}
Activity -->PhoneWinodw
PhoneWinodw -->DecorView
@enduml |
27878c6371b41571674ca5db8180b9ee184c69da | 9fb800bced4689dc1cd56f5fd38f288062d5140c | /src/files-service/Application/Services/FileService.puml | be066598f245cd89423874bc5bca37097dbdb620 | [] | no_license | converge-app/uml-diagrams | b0638f3b801ced52b650025b1b81d29f4ff345fe | 4202d41a464838d7604062e407b065bf512ad8d6 | refs/heads/master | 2020-11-25T09:53:56.136779 | 2019-12-17T12:11:29 | 2019-12-17T12:11:29 | 228,607,152 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 368 | puml | @startuml
interface IFileService {
UploadFile(file:File, formFile:IFormFile) : Task<File>
}
class FileService {
- <<readonly>> _fileRepository : IFileRepository
- _credentials : GoogleCredential
+ FileService(fileRepository:IFileRepository)
+ <<async>> UploadFile(file:File, formFile:IFormFile) : Task<File>
}
IFileService <|-- FileService
@enduml
|
4271cc7a9451e0c15b8217c993c23e944e0fd8dd | ed0c891d32880da75653a851ed37afc1cc752c91 | /uml/project_classdiagram.puml | 298f59d287b27aa155f5dffd8c93f9d94c661c09 | [] | no_license | mohamed-hamdi/BestiolesProject | 0c77d74c4eac8e4c8fe0ddea2a093a537931fa93 | 24532c3c2924dfa6f2c3058662902cb4ae8d97eb | refs/heads/master | 2023-03-25T07:49:42.776057 | 2021-03-24T17:54:24 | 2021-03-24T17:54:24 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 8,408 | puml | @startuml classDiagram
class main
{
+main(int argc, char** argv):int
}
class BestioleFactory
{
+{static}Milieu: *milieu_
+{static}createBestiole(enum_Behavior selected_behaviour,enum_Sensor selected_sensor,enum_Accessory selected_accessory):shared_ptr<Bestiole>
+{static}createBestioleClone(Bestiole& b):shared_ptr<Bestiole>
+{static}createRandomeBestiole():shared_ptr<Bestiole>
+{static}createRandomBehaviour(): Behaviour*
-{static}createBehaviour(enum_Behavior selected_behaviour):Behaviour
-{static}createSensor(enum_Sensor selected_sensor):Sensor
-{static}createAccessory(enum_Accessory selected_accessory):Accessory
}
class Milieu {
-int: width
-int: height
-vector<shared_ptr<Bestiole>>: listeBestioles
+int deathByCollisions
+int naturalDeaths
+int births
+int clones
+Milieu(int _width, int _height)
+~Milieu()
+getWidth():int
+getHeight():int
+step():void
+addMember(shared_ptr<Bestiole> b):void
+nbVoisins(Bestiole* b):int
getBestiolesList():vector<shared_ptr<Bestiole>>&
+applyDeath():void
+operator<<(): ostream&
+shouldDie(Bestiole b):bool
}
class Aquarium{
-Milieu:*flotte
-int:delay
-int:currentStep
+int:screenWidth
+int:screenHeigth
+Aquarium(int width, int height, int _delay)
+~Aquarium()
+getMilieu(): Milieu&
+run():void
+waitForKey(): int
+saveState(fstream& MyFile):void
+saveBilan():void
}
enum enum_Behavior{
Dumb
Spinner
Braindead
Gregaire
Kamikaze
Peureuse
Prevoyante
Psycho
}
enum enum_Sensor{
Eyes
Ears
CompositeSensor
}
enum enum_Accessory{
TurboJet
Cloak
Shield
Empty
}
class Accessory{
#double: speed_mod_
#double: armor_mod_
#double: stealh_mod_
#T: color_[3]
+Acessory(const string name)
+~Acessory()
+getSpeedMod():double
+getArmorMod():double
+getStealthMod():double
+clone(Bestiole* ownr):Accessory*
+Draw(UImg & support): void
}
class Cloak{
+Cloak()
+~Cloak()
+clone(Bestiole* ownr): Cloak*
}
class Empty{
+Empty()
+~Empty()
clone(Bestiole* ownr): Empty*
+Draw(UImg & support): void
}
class TurboJet{
+TurboJet()
+~TurboJet()
clone(Bestiole* ownr): TurboJet*
}
class Shield{
+Shield()
+~Shield()
clone(Bestiole* ownr): Shield*
}
interface Component{
# Bestiole*: owner
# const string: name_
+Component(string name)
+~Component()
+setOwner(Bestiole* ownr):void
+clone(Bestiole* ownr):Component*
+getOwner():Bestiole*
+Draw(UImg & support):void
+const getName():string
}
class Sensor{
+Sensor(const string name)
+~Sensor()
+canSense(const Bestiole &b2):bool
+clone(Bestiole* ownr):Sensor*
}
class Ears {
-double: detection_capacity
-double: max_dist
+Ears()
+Ears(const Ears &ear)
+~Ears()
+canSense(Bestiole* &b2):bool
+clone(Bestiole* ownr):Ears*
+Draw(UImg&support):void
+DrawHearingCircle(UImg &support):void
}
class Eyes{
-double:detection_capacity
-double:fov_deg
-double:max_dist
+Eyes()
+Eyes(Eyes &eye)
+~Eyes()
+canSense(const Bestiole &b2):bool
+clone(Bestiole* ownr):Eyes*
+Draw(UImg & support):void
+DrawVisionCone(UImg &support):void
}
class CompositeSensor {
-Ears*: ear
-Eyes*: eye
+CompositeSensor()
+CompositeSensor(const CompositeSensor &csensor)
+~CompositeSensor()
+canSense(const Bestiole &b2):bool
+clone(Bestiole* ownr)CompositeSensor*
+Draw(UImg & support):void
+DrawCompositeSensor(UImg &support)
+setOwner(Bestiole* ownr):void
}
interface Behaviour {
<<friend>> Bestiole
# double: angle_rad
# double: speedMod
# T: color_[3]
+Behaviour(const string name)
+~Behaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr):Behaviour
+getAngleRad():double
+getSpeed():double
getColor(): T*
}
class BraindeadBehaviour {
+BraindeadBehaviour()
+~BraindeadBehaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr):BraindeadBehaviour*
}
class DumbBehaviour {
+DumbBehaviour()
+~DumbBehaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr):DumbBehaviour*
}
class GregaireBehaviour{
+GregaireBehaviour()
+~GregaireBehaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr): GregaireBehaviour*
}
class KamikazeBehaviour{
+KamikazeBehaviour()
+~KamikazeBehaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr): KamikazeBehaviour*
}
class PeureuseBehaviour{
-int: max_neighbours
-double: speed_factor
-bool: isEscaping
+PeureuseBehaviour()
+~PeureuseBehaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr): PeureuseBehaviour*
}
class PrevoyanteBehaviour{
+PrevoyanteBehaviour()
+~PrevoyanteBehaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr):PrevoyanteBehaviour()
}
class SpinnerBehaviour {
+SpinnerBehaviour()
+~SpinnerBehaviour()
+calculateDir(Milieu & monMilieu):void
+clone(Bestiole* ownr):SpinnerBehaviour*
}
class PsychoBehaviour {
- DumbBehaviour: dumbBehaviour
- SpinnerBehaviour: spinnerBehaviour
- KamikazeBehaviour: kamikazeBehaviour
- PrevoyanteBehaviour: prevoyanteBehaviour
- PeureuseBehaviour: peureuseBehaviour
- GregaireBehaviour: gregaireBehaviour
- BraindeadBehaviour: braindeadBehaviour
- Behaviour*: currentBehaviour_
+PsychoBehaviour()
+~PsychoBehaviour()
+calculateDir(Milieu & monMilieu):void
+setOwner(Bestiole ownr):void
+clone(Bestiole* ownr):PsachoBehaviour*
}
enum PsycBehvrs{
psychDumb
psychSpinner
psychBraindead
psychKamikaze
psychGregaire
psychPeureuse
psychPrevoyante
}
class Bestiole{
-{static} const double: AFF_SIZE
-{static} const double: MAX_VITESSE
-{static} const double: LIMITE_VUE
-{static} int: next
-int: identite
-vector2: pos
-vector2: cumulPos
-double: orientation
-double: base_vitesse
-double: base_armour
-double: base_stealth
-T*: couleur
-bool: stillInCollision
-Sensor*: sensor_
-Behvaiour*: Behaviour_
-Accessory*: accessory_
+bool: markedToDie
+bool: markedToClone
+bool: stillInCollision
+int: lastCollWith
+Bestiole(Sensor* const sensor ,Behaviour* const behaviour,Accessory* const accessory)
+Bestiole(const Bestiole& b)
+~Bestiole()
-bouge(int:xLim, int:yLim):void
+action(Milieu &monMilieu):void
+draw(UImg & support)
+jeTeVois(const Bestiole & b):bool
+initCoords(int xLim, int yLim):void
+setCoords(double x, double y):void
+operator==(const Bestiole & b1,const Bestiole & b2):bool
+setOrientationDeg(double angle):void
+getOrientationRad():double
+getAFF_SIZE():double
+getPosition():vector2
+getAngleDeg():double
+getColeur() T*
+initState():void
+getSensor():Sensor*
+getBehaviour():Beheaviour*
+getAccessory():Acessory*
+ocurredCollision(Bestiole &b):bool
+checkCollisions(Mileu &monMilieu):void
+getIdentite():int
+getFinalSpeed():double
+getFinalArmor():double
+getFinalStealth():double
+changeBehaviour(Behaviour* newBehaviour):void
+drawVisionCone(UImg & support,const Bestiole & b,double orientation, math::vector2 relativePos):void
operator<<(ostream& os, Bestiole& b):ostream&
}
class vec2{
+contrainAngle(double x): double
+rad2Deg(double x): double
+deg2Rad(double x):double
}
main-->Aquarium
Aquarium-->Milieu
Milieu *-- Bestiole
BestioleFactory ..> Bestiole
BestioleFactory -- Milieu
Bestiole *-- Component
Bestiole ..> enum_Behavior
Bestiole ..> enum_Accessory
Bestiole ..> enum_Sensor
Bestiole --> vec2
Component <|-- Sensor
Sensor <|-- CompositeSensor
Sensor <|-- Ears
Sensor <|-- Eyes
Component<|-- Behaviour
Behaviour<|-- DumbBehaviour
Behaviour<|-- BraindeadBehaviour
Behaviour<|-- PsychoBehaviour
Behaviour<|-- SpinnerBehaviour
Behaviour<|-- GregaireBehaviour
Behaviour<|-- KamikazeBehaviour
Behaviour<|-- PeureuseBehaviour
Behaviour<|-- PrevoyanteBehaviour
PsychoBehaviour..>PsycBehvrs
PsychoBehaviour *-- Behaviour
Component<|--Accessory
Accessory<|--TurboJet
Accessory<|--Cloak
Accessory<|--Shield
Accessory<|--Empty
@enduml |
d9b201e49c0eb753a59e03b95157dfa46c6c7ab0 | 560e8a52f95138903d5198d217551de6bd8aa4a8 | /src/main/java/com/infosupport/poc/ddd/domain/entity/entity.plantuml | 13bbd12d9049477bd96698741e4c82eee2696e2a | [] | no_license | ingmars1709/ddd | dcfcf06951c4d968cda849aa462f0e6cc3c2a2d0 | 8cac199a2808a12f65745509bb66dd7a200a4d0f | refs/heads/master | 2020-04-20T19:11:43.488997 | 2020-03-13T08:21:01 | 2020-03-13T08:21:01 | 169,042,695 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 490 | plantuml | @startuml
title __ENTITY's Class Diagram__\n
package com.infosupport.poc.ddd.domain.entity {
interface Entity {
{abstract} + hasSameIdentityAs()
}
}
package com.infosupport.poc.ddd.domain.entity {
interface Tracer {
{abstract} + trace()
}
}
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
|
f616e60e6ffebb8aa2dd90e57acf8fa28f90557b | ea8dd9668aa29902dbd0b4c08af3aaaa3ff106a3 | /docs/class_diagram_01.puml | 8c15d28298802e93b796c1b51715480c1796a07c | [] | no_license | rumrog/w12d5_java_fantasy_game | 9f0c35ef4d2dc5b5cb69dd249bcbde030c09d774 | ba47deadc990806edc0410c64a69b262bcdf3277 | refs/heads/master | 2022-12-26T17:34:52.131548 | 2020-08-03T13:41:53 | 2020-08-03T13:41:53 | 284,487,634 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,751 | puml | @startuml
'''''''''''''
' Styling '
'''''''''''''
' Colors definition ==============================================
' Nord color palette https://www.nordtheme.com/docs/colors-and-palettes
' Polar Night
!$night0 = "#2E3440"
!$night1 = "#3B4252"
!$night2 = "#434C5E"
!$night3 = "#4C566A"
' Snow Storm
!$snow0 = "#D8DEE9"
!$snow1 = "#E5E9F0"
!$snow2 = "#ECEFF4"
' Frost
!$frost0 = "#8FBCBB"
!$frost1 = "#88C0D0"
!$frost2 = "#81A1C1"
!$frost3 = "#5E81AC"
' Aurora
!$aurora0 = "#BF616A"
!$aurora1 = "#D08770"
!$aurora2 = "#EBCB8B"
!$aurora3 = "#A3BE8C"
!$aurora4 = "#B48EAD"
' Theme configuration ===========================================
!if (%not(%variable_exists("$font")))
!$font = "Helvetica"
!endif
' Global skinparams =========================================
skinparam BackgroundColor $snow0
skinparam Shadowing false
skinparam lineType ortho
hide empty members
hide circle
skinparam Default {
FontName $font
FontColor $night1
}
skinparam Diagram {
BorderColor $night3
}
skinparam Arrow {
Color $night3
FontColor $night3
FontStyle Italic
}
skinparam Package {
FontColor $aurora4
BackgroundColor $snow1
BorderColor $frost2
}
' Usecase ===============================================
skinparam Usecase {
BackgroundColor $snow2
BorderColor $night3
FontColor $frost2
}
skinparam Actor {
BackgroundColor $aurora3
BorderColor $night3
FontColor $aurora3
}
' Class ===============================================
skinparam CircledCharacter {
FontName $font
FontColor $night0
FontSize 12
Radius 8
}
skinparam Class {
BackgroundColor $snow2
BorderColor $night3
FontColor $frost3
FontStyle Bold
hide circle
Attribute {
FontColor $night2
' IconSize 0
}
}
' Activity ===========================================
skinparam Activity {
BackgroundColor $night2
FontColor $frost1
BorderColor $night3
BarColor $aurora2
EndColor $aurora0
StartColor $aurora3
Diamond {
BackgroundColor $aurora4
BorderColor $night3
FontColor $aurora4
}
}
'''''''''''''
' Players '
'''''''''''''
package "Players" <<Frame>> {
abstract class Player {
# name: String
# healthPoints: int
# treasureChest: int
+ checkHealth()
+ collectTreasure()
}
abstract class MeleeCharacter extends Player implements IAttack {
- armory: array
+ changeArmoryItem()
+ attack()
}
abstract class MagicCharacter extends Player implements IProtect {
- spells: array
+ changeSpell()
+ protect()
}
class Cleric extends Player implements IHeal {
- healingTools: array
+ changeHealingTool()
+ heal()
}
class Barbarian extends MeleeCharacter {
+ ripHeadOff()
}
class Knight extends MeleeCharacter implements IProtect {
- armory: array
+ protect()
}
class Dwarf extends MeleeCharacter {
- armory: Pickaxe
+ usePickaxe()
}
class Warlock extends MagicCharacter {
- spells: LightRoom
+ lightRoom()
}
class Wizard extends MagicCharacter {
+ impersonateGandalf()
}
}
'''''''''''''
' Enemies '
'''''''''''''
package "Enemies" <<Frame>> {
abstract class Enemy implements IAttack {
# name: String
# healthPoints: int
+ checkHealth()
+ attack()
}
class Orc extends Enemy {
- armory: Sword
}
class Troll extends Enemy {
- armory: Club
}
}
'''''''''''''
' Rooms '
'''''''''''''
package "Rooms" <<Frame>> {
abstract class Room {
# isExitLocked: boolean
# floor: array
+ wasTreasureCollected()
}
class TreasureRoom extends Room{
- gold: int
+ wasTreasureCollected()
}
class EnemyRoom extends Room {
- enemies: array
+ areAllDead()
}
}
''''''''''''''''
' Interfaces '
''''''''''''''''
interface IAttack {
attack() ∅
}
interface IProtect {
protect() ∅
}
interface IHeal {
heal() ∅
}
@enduml
|
3011a6018bd933d78755e467e4a3470ad51e9d9b | e251f0f9a7fcc88a46be4be7e969da1ce5336c59 | /src/main/java/Strategie/Animal/README.puml | 09edc05ef32cd94b2971cd2d3db86a09a996a533 | [] | no_license | RaulSima/LOG121-GOF-exemples | c8974b93825d4b29e833ffde899b1c4056d87c75 | f778d48faa2d79d5f2d4cb7b46fccacf493e5b29 | refs/heads/master | 2023-02-21T01:34:43.043039 | 2021-01-22T20:01:59 | 2021-01-22T20:01:59 | 330,019,270 | 0 | 0 | null | 2021-01-15T20:49:47 | 2021-01-15T20:49:34 | null | UTF-8 | PlantUML | false | false | 1,687 | puml | @startuml diagamme de classe
class Animal{
- String : name;
- double : height;
- int : weight;
- String : favFood;
- double : speed;
- String : sound;
+ Flys : flyingType;
+ String tryToFly()
+ void setFlyingAbility()
}
class AnimalExample{
{static} + void main()
}
class Bird{}
class Dog{
+ void digHole()
}
interface Flys{
+ String fly()
}
class ItFlys{
+ String fly()
}
class CantFly{
+ String fly()
}
ItFlys -|> Flys
CantFly -|> Flys
Flys .. Animal
Bird -|> Animal
Dog -|> Animal
AnimalExample .. Animal
@enduml
@startuml diagamme de séquence
skinparam Style strictuml
title Diagramme de séquence
actor AnimalExemple
participant "sparky:Dog" as Dog
participant "tweety:Bird" as Bird
participant "flyingType:CantFly" as CantFly
participant "flyingType:ItFlys" as CanFly
participant ":ItFlys" as CanFly2
participant "System.out" as sysout
AnimalExemple -> Dog ** : Animal sparky = new Dog()
Dog -> CantFly ** : Flys flyingType = new CantFly()
AnimalExemple -> Dog : tryToFly()
Dog -> CantFly : fly()
CantFly --> AnimalExemple : flyText
AnimalExemple -> sysout : println("Dog: " + flyText)
== ==
AnimalExemple -> Bird ** : Animal tweety = new Bird()
Bird -> CanFly ** : Flys flyingType = new ItFlys()
AnimalExemple -> Bird : tryToFly()
Bird -> CanFly : fly()
CanFly --> AnimalExemple : flyText
AnimalExemple -> sysout : println("Bird: " + flyText)
== ==
AnimalExemple -> CanFly2 ** : Flys newFlyingType = new ItFlys()
AnimalExemple -> Dog : setFlyingAbility(newFlyingType)
AnimalExemple -> Dog : tryToFly()
Dog -> CanFly2 : fly()
CanFly2 --> AnimalExemple : flyText
AnimalExemple -> sysout : println("Dog: " + flyText)
@enduml |
5d3a15462647b19f7b1bbf6cc1b377c3065e8c2d | 7061830313db3f07ee8bdaa4465a7d6d3108b34f | /app/src/main/java/com/example/harjoitustyo/harjoitustyo.plantuml | 5b508d72629c91effd51fe49098f1ee09310ca97 | [] | no_license | AntonHelminen/Harjoitustyo | 512868b1fac6014ffa33d1cb37b3efdab8168016 | ffd4acefa5e3c35ad433695ed42a63228e025856 | refs/heads/master | 2023-04-08T14:09:16.079522 | 2021-04-25T17:52:02 | 2021-04-25T17:52:02 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 9,939 | plantuml | @startuml
title __HARJOITUSTYO's Class Diagram__\n
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.API_reader {
{static} - api_reader : API_reader
- bioWaste : String
- carton : String
- electronic : String
- estimate : String
- glass : String
- hazardous : String
- metal : String
- paper : String
- plastic : String
- result : double
+ calculate()
{static} + getInstance()
+ getJSON()
+ getJSON2()
+ getResult()
+ setBioWaste()
+ setCarton()
+ setElectronic()
+ setEstimate()
+ setGlass()
+ setHazardous()
+ setMetal()
+ setPaper()
+ setPlastic()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.AddDataFragment {
~ button : Button
~ scrollview : ScrollView
~ scrollview2 : ScrollView
~ scrollview3 : ScrollView
~ scrollview4 : ScrollView
~ scrollview5 : ScrollView
~ scrollview6 : ScrollView
~ scrollview7 : ScrollView
~ scrollview8 : ScrollView
~ scrollview9 : ScrollView
~ spinner : Spinner
~ spinner2 : Spinner
~ spinner3 : Spinner
~ spinner4 : Spinner
~ spinner5 : Spinner
~ spinner6 : Spinner
~ spinner7 : Spinner
~ spinner8 : Spinner
~ spinner9 : Spinner
+ onCreateView()
+ onItemSelected()
+ onNothingSelected()
+ onViewCreated()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.BarChartActivity {
+ GoBack()
# onCreate()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.Data_Manager {
~ habits : HashMap<String, String>
~ people : HashMap<String, Person>
{static} - data_Manager : Data_Manager
+ carbon_trace_per_waste_type()
+ converter_for_C02_weight()
+ converter_for_recycling_amount()
+ evaluator()
{static} + getInstance()
+ least_sorted_waste()
+ most_sorted_waste()
+ person_habits_to_value()
+ sorting_by_age()
+ totalUses()
+ worst_waste_type()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.HelpFragment {
+ onCreateView()
+ onViewCreated()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.HomeFragment {
~ personal_use : TextView
~ total_use : TextView
+ onCreateView()
+ onViewCreated()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.LoginActivity {
~ password : TextView
~ username : TextView
- Bypass : Button
- LogIn : Button
- SignUp : Button
+ Login()
+ goToSignUp()
# onCreate()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.Login_Manager {
{static} - login_checker : Login_Manager
+ createPerson()
+ find_person()
{static} + getInstance()
+ login()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.MainActivity {
~ fragment : Fragment
~ navigationView : NavigationView
- actionBarDrawerToggle : ActionBarDrawerToggle
- drawerLayout : DrawerLayout
+ logout()
+ onOptionsItemSelected()
# onCreate()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.NavigationHeader {
~ text : TextView
# onCreate()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.Person {
- C02 : ArrayList<Double>
- age : int
- bioWaste : String
- carton : String
- electronic : String
- estimate : String
- fragment : String
- glass : String
- habits : HashMap<String, String>
- hazardous : String
- home_town : String
- metal : String
- name : String
- paper : String
- password : String
- plastic : String
- times_used : int
- username : String
+ Person()
+ getAge()
+ getBioWaste()
+ getC02()
+ getCarton()
+ getElectronic()
+ getEstimate()
+ getFragment()
+ getGlass()
+ getHabits()
+ getHazardous()
+ getHome_town()
+ getMetal()
+ getName()
+ getPaper()
+ getPassword()
+ getPlastic()
+ getTimes_used()
+ getUsername()
+ reset()
+ setAge()
+ setBioWaste()
+ setC02()
+ setCarton()
+ setElectronic()
+ setEstimate()
+ setFragment()
+ setGlass()
+ setHabits()
+ setHazardous()
+ setHome_town()
+ setMetal()
+ setName()
+ setPaper()
+ setPassword()
+ setPlastic()
+ setTimes_used()
+ setUsername()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.Person_manager {
{static} - manager : Person_manager
- people : HashMap<String, Person>
+ addPerson()
+ findPerson()
{static} + getInstance()
+ getPeopleMap()
+ getPerson()
+ personToString()
+ readFile()
+ removePerson()
+ writeFile()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.PieChartActivity {
+ GoBack()
# onCreate()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.ProfileFragment {
~ age : String
~ ageInMillis : long
~ ageInt : int
~ ageSet : int
~ ageSetInMillis : long
~ calender : CalendarView
~ currentInMillis : long
~ currentTime : Calendar
~ dateInMillis : long
~ formatedDate : String
~ name : String
~ textAge : TextView
~ textName : TextView
~ yearSet : int
+ onCreateView()
+ onViewCreated()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.SignUpActivity {
~ context : Context
- editAge : EditText
- editConfirm : EditText
- editName : EditText
- editPassword : EditText
- editUsername : EditText
+ GoBack()
+ SignUp()
# onCreate()
- validateAge()
- validateName()
- validatePassword()
- validateUsername()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.User {
{static} - user : User
{static} + getInstance()
+ getPerson()
+ setPerson()
}
}
namespace com.example.harjoitustyo {
class com.example.harjoitustyo.ViewDataFragment {
~ C02_amount : TextView
~ analysis : TextView
~ info : TextView
~ message : TextView
~ units : TextView
~ waste_type : TextView
+ onCreateView()
+ onViewCreated()
}
}
com.example.harjoitustyo.API_reader o-- com.example.harjoitustyo.User : user
com.example.harjoitustyo.AddDataFragment .up.|> android.widget.AdapterView.OnItemSelectedListener
com.example.harjoitustyo.AddDataFragment -up-|> androidx.fragment.app.Fragment
com.example.harjoitustyo.BarChartActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.harjoitustyo.Data_Manager o-- com.example.harjoitustyo.Person_manager : person_manager
com.example.harjoitustyo.HelpFragment -up-|> androidx.fragment.app.Fragment
com.example.harjoitustyo.HomeFragment -up-|> androidx.fragment.app.Fragment
com.example.harjoitustyo.HomeFragment o-- com.example.harjoitustyo.Data_Manager : data_manager
com.example.harjoitustyo.HomeFragment o-- com.example.harjoitustyo.User : user
com.example.harjoitustyo.LoginActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.harjoitustyo.LoginActivity o-- com.example.harjoitustyo.Login_Manager : login_manager
com.example.harjoitustyo.LoginActivity o-- com.example.harjoitustyo.Person_manager : person_manager
com.example.harjoitustyo.LoginActivity o-- com.example.harjoitustyo.User : user
com.example.harjoitustyo.Login_Manager o-- com.example.harjoitustyo.Person : person
com.example.harjoitustyo.Login_Manager o-- com.example.harjoitustyo.Person_manager : person_manager
com.example.harjoitustyo.Login_Manager o-- com.example.harjoitustyo.User : user
com.example.harjoitustyo.MainActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.harjoitustyo.NavigationHeader -up-|> androidx.appcompat.app.AppCompatActivity
com.example.harjoitustyo.PieChartActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.harjoitustyo.PieChartActivity o-- com.example.harjoitustyo.Data_Manager : data_manager
com.example.harjoitustyo.ProfileFragment -up-|> androidx.fragment.app.Fragment
com.example.harjoitustyo.SignUpActivity -up-|> androidx.appcompat.app.AppCompatActivity
com.example.harjoitustyo.User o-- com.example.harjoitustyo.Person : person
com.example.harjoitustyo.ViewDataFragment -up-|> androidx.fragment.app.Fragment
com.example.harjoitustyo.ViewDataFragment o-- com.example.harjoitustyo.Data_Manager : data_manager
com.example.harjoitustyo.ViewDataFragment o-- com.example.harjoitustyo.Person : person
com.example.harjoitustyo.ViewDataFragment o-- com.example.harjoitustyo.User : user
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
|
d35cdab9df6aba9322f941deff59942d4ba158ee | 9655943d1f1de106247934f0b4045ab682c17ca7 | /src/Portal/FileManagement/FileManagement.plantuml | cbfde171d58f36164c1b5384921864815fa47464 | [] | no_license | MartinEmilEshack/PortalOld | de97437fb0c7904a1338922fc847ca60a117c478 | c0290d993205b95a5a766632ab1a75d439d37ee9 | refs/heads/master | 2022-01-10T19:23:01.254495 | 2019-05-10T23:43:10 | 2019-05-10T23:43:10 | 176,746,376 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 971 | plantuml | @startuml
title __FILEMANAGEMENT's Class Diagram__\n
package Portal.FileManagement {
class Explorer {
{static} + OPEN_FOLDER : int
{static} + FORWARD : int
{static} + BACK : int
{static} - path : ArrayList<String>
- Explorer()
{static} + getExplorerData()
{static} - openFolder()
{static} - back()
{static} - forward()
{static} - makeFilesArrayList()
}
}
package Portal.FileManagement {
class ExplorerData {
+ path : String
+ files : File[]
- ExplorerData()
}
}
package Portal.FileManagement {
class File {
+ name : String
+ path : String
+ isFile : boolean
}
}
Explorer +-down- ExplorerData
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
|
567d5ece92cf8a9c3d20d3ed2bf8e97c46b0d6b8 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Editor/Manipulators/AddDelete/AddDeleteItemModeRipple.puml | 61fae7cc9703f3210660e8969bce8a29b030a6f2 | [] | 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 | 258 | puml | @startuml
class AddDeleteItemModeRipple {
+ InsertItemsAtTime(itemsGroups:IEnumerable<ItemsPerTrack>, requestedTime:double) : void
+ RemoveItems(itemsGroups:IEnumerable<ItemsPerTrack>) : void
}
IAddDeleteItemMode <|-- AddDeleteItemModeRipple
@enduml
|
9259323fba215919632ac598ec9c17f1989a5607 | 96d48952312778fe2c57b273f826bd9bd6d2396c | /Sample/Class/AbstractClassAndInheritance.puml | 42a28acd518f19bfe02c128f658de7d27249bf5e | [
"Apache-2.0"
] | permissive | MathB/PlantUML-NB | d757f6ef77f749eda5e6e9998ee6a3f7f25133eb | 2a63699858c5074714fca3af286ae542a32142bd | refs/heads/master | 2021-01-10T16:19:50.268639 | 2014-06-02T06:51:59 | 2014-06-02T06:51:59 | 44,731,558 | 1 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 382 | puml | @startuml
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|-- AbstractList
Collection <|-- AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
}
annotation SuppressWarnings
@enduml |
a7d7da8f752740b49e42311514e21c14987513c9 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/TaxCalculationMode.puml | 155b491625dd0f0141a84fedc3895b2733b16734 | [] | 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 | 11,755 | puml | @startuml
hide methods
enum TaxCalculationMode {
LINE_ITEM_LEVEL
UNIT_PRICE_LEVEL
}
interface Cart [[Cart.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
key: String
customerId: String
customerEmail: String
customerGroup: [[CustomerGroupReference.svg CustomerGroupReference]]
anonymousId: String
businessUnit: [[BusinessUnitKeyReference.svg BusinessUnitKeyReference]]
store: [[StoreKeyReference.svg StoreKeyReference]]
lineItems: [[LineItem.svg List<LineItem>]]
customLineItems: [[CustomLineItem.svg List<CustomLineItem>]]
totalLineItemQuantity: Long
totalPrice: [[CentPrecisionMoney.svg CentPrecisionMoney]]
taxedPrice: [[TaxedPrice.svg TaxedPrice]]
taxedShippingPrice: [[TaxedPrice.svg TaxedPrice]]
taxMode: [[TaxMode.svg TaxMode]]
taxRoundingMode: [[RoundingMode.svg RoundingMode]]
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
cartState: [[CartState.svg CartState]]
billingAddress: [[Address.svg Address]]
shippingAddress: [[Address.svg Address]]
shippingMode: [[ShippingMode.svg ShippingMode]]
shippingKey: String
shippingInfo: [[ShippingInfo.svg ShippingInfo]]
shippingRateInput: [[ShippingRateInput.svg ShippingRateInput]]
shippingCustomFields: [[CustomFields.svg CustomFields]]
shipping: [[Shipping.svg List<Shipping>]]
itemShippingAddresses: [[Address.svg List<Address>]]
discountCodes: [[DiscountCodeInfo.svg List<DiscountCodeInfo>]]
directDiscounts: [[DirectDiscount.svg List<DirectDiscount>]]
refusedGifts: [[CartDiscountReference.svg List<CartDiscountReference>]]
paymentInfo: [[PaymentInfo.svg PaymentInfo]]
country: String
locale: String
origin: [[CartOrigin.svg CartOrigin]]
custom: [[CustomFields.svg CustomFields]]
deleteDaysAfterLastModification: Integer
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
}
interface CartDraft [[CartDraft.svg]] {
currency: String
key: String
customerId: String
customerEmail: String
customerGroup: [[CustomerGroupResourceIdentifier.svg CustomerGroupResourceIdentifier]]
anonymousId: String
businessUnit: [[BusinessUnitResourceIdentifier.svg BusinessUnitResourceIdentifier]]
store: [[StoreResourceIdentifier.svg StoreResourceIdentifier]]
lineItems: [[LineItemDraft.svg List<LineItemDraft>]]
customLineItems: [[CustomLineItemDraft.svg List<CustomLineItemDraft>]]
taxMode: [[TaxMode.svg TaxMode]]
externalTaxRateForShippingMethod: [[ExternalTaxRateDraft.svg ExternalTaxRateDraft]]
taxRoundingMode: [[RoundingMode.svg RoundingMode]]
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
billingAddress: [[BaseAddress.svg BaseAddress]]
shippingAddress: [[BaseAddress.svg BaseAddress]]
shippingMethod: [[ShippingMethodResourceIdentifier.svg ShippingMethodResourceIdentifier]]
shippingRateInput: [[ShippingRateInputDraft.svg ShippingRateInputDraft]]
shippingMode: [[ShippingMode.svg ShippingMode]]
customShipping: [[CustomShippingDraft.svg List<CustomShippingDraft>]]
shipping: [[ShippingDraft.svg List<ShippingDraft>]]
itemShippingAddresses: [[BaseAddress.svg List<BaseAddress>]]
discountCodes: [[String.svg List<String>]]
country: String
locale: String
origin: [[CartOrigin.svg CartOrigin]]
deleteDaysAfterLastModification: Long
custom: [[CustomFieldsDraft.svg CustomFieldsDraft]]
}
interface CartChangeTaxCalculationModeAction [[CartChangeTaxCalculationModeAction.svg]] {
action: String
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
}
interface StagedOrderChangeTaxCalculationModeAction [[StagedOrderChangeTaxCalculationModeAction.svg]] {
action: String
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
}
interface Order [[Order.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
orderNumber: String
purchaseOrderNumber: String
customerId: String
customerEmail: String
customerGroup: [[CustomerGroupReference.svg CustomerGroupReference]]
anonymousId: String
businessUnit: [[BusinessUnitKeyReference.svg BusinessUnitKeyReference]]
store: [[StoreKeyReference.svg StoreKeyReference]]
lineItems: [[LineItem.svg List<LineItem>]]
customLineItems: [[CustomLineItem.svg List<CustomLineItem>]]
totalPrice: [[TypedMoney.svg TypedMoney]]
taxedPrice: [[TaxedPrice.svg TaxedPrice]]
taxedShippingPrice: [[TaxedPrice.svg TaxedPrice]]
taxMode: [[TaxMode.svg TaxMode]]
taxRoundingMode: [[RoundingMode.svg RoundingMode]]
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
billingAddress: [[Address.svg Address]]
shippingAddress: [[Address.svg Address]]
shippingMode: [[ShippingMode.svg ShippingMode]]
shippingKey: String
shippingInfo: [[ShippingInfo.svg ShippingInfo]]
shippingRateInput: [[ShippingRateInput.svg ShippingRateInput]]
shippingCustomFields: [[CustomFields.svg CustomFields]]
shipping: [[Shipping.svg List<Shipping>]]
itemShippingAddresses: [[Address.svg List<Address>]]
discountCodes: [[DiscountCodeInfo.svg List<DiscountCodeInfo>]]
directDiscounts: [[DirectDiscount.svg List<DirectDiscount>]]
refusedGifts: [[CartDiscountReference.svg List<CartDiscountReference>]]
paymentInfo: [[PaymentInfo.svg PaymentInfo]]
country: String
locale: String
origin: [[CartOrigin.svg CartOrigin]]
cart: [[CartReference.svg CartReference]]
quote: [[QuoteReference.svg QuoteReference]]
orderState: [[OrderState.svg OrderState]]
shipmentState: [[ShipmentState.svg ShipmentState]]
paymentState: [[PaymentState.svg PaymentState]]
state: [[StateReference.svg StateReference]]
syncInfo: [[SyncInfo.svg List<SyncInfo>]]
returnInfo: [[ReturnInfo.svg List<ReturnInfo>]]
lastMessageSequenceNumber: Long
custom: [[CustomFields.svg CustomFields]]
completedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
}
interface OrderImportDraft [[OrderImportDraft.svg]] {
orderNumber: String
purchaseOrderNumber: String
customerId: String
customerEmail: String
customerGroup: [[CustomerGroupResourceIdentifier.svg CustomerGroupResourceIdentifier]]
businessUnit: [[BusinessUnitResourceIdentifier.svg BusinessUnitResourceIdentifier]]
store: [[StoreResourceIdentifier.svg StoreResourceIdentifier]]
lineItems: [[LineItemImportDraft.svg List<LineItemImportDraft>]]
customLineItems: [[CustomLineItemImportDraft.svg List<CustomLineItemImportDraft>]]
totalPrice: [[Money.svg Money]]
taxedPrice: [[TaxedPriceDraft.svg TaxedPriceDraft]]
taxRoundingMode: [[RoundingMode.svg RoundingMode]]
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
billingAddress: [[BaseAddress.svg BaseAddress]]
shippingAddress: [[BaseAddress.svg BaseAddress]]
itemShippingAddresses: [[BaseAddress.svg List<BaseAddress>]]
shippingInfo: [[ShippingInfoImportDraft.svg ShippingInfoImportDraft]]
paymentInfo: [[PaymentInfo.svg PaymentInfo]]
paymentState: [[PaymentState.svg PaymentState]]
shipmentState: [[ShipmentState.svg ShipmentState]]
orderState: [[OrderState.svg OrderState]]
state: [[StateReference.svg StateReference]]
country: String
origin: [[CartOrigin.svg CartOrigin]]
completedAt: DateTime
custom: [[CustomFieldsDraft.svg CustomFieldsDraft]]
}
interface QuoteRequest [[QuoteRequest.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
key: String
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
quoteRequestState: [[QuoteRequestState.svg QuoteRequestState]]
comment: String
customer: [[CustomerReference.svg CustomerReference]]
customerGroup: [[CustomerGroupReference.svg CustomerGroupReference]]
store: [[StoreKeyReference.svg StoreKeyReference]]
lineItems: [[LineItem.svg List<LineItem>]]
customLineItems: [[CustomLineItem.svg List<CustomLineItem>]]
totalPrice: [[TypedMoney.svg TypedMoney]]
taxedPrice: [[TaxedPrice.svg TaxedPrice]]
shippingAddress: [[Address.svg Address]]
billingAddress: [[Address.svg Address]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
taxMode: [[TaxMode.svg TaxMode]]
taxRoundingMode: [[RoundingMode.svg RoundingMode]]
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
country: String
shippingInfo: [[ShippingInfo.svg ShippingInfo]]
paymentInfo: [[PaymentInfo.svg PaymentInfo]]
shippingRateInput: [[ShippingRateInput.svg ShippingRateInput]]
itemShippingAddresses: [[Address.svg List<Address>]]
directDiscounts: [[DirectDiscount.svg List<DirectDiscount>]]
custom: [[CustomFields.svg CustomFields]]
state: [[StateReference.svg StateReference]]
purchaseOrderNumber: String
cart: [[CartReference.svg CartReference]]
businessUnit: [[BusinessUnitKeyReference.svg BusinessUnitKeyReference]]
}
interface Quote [[Quote.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
key: String
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
quoteRequest: [[QuoteRequestReference.svg QuoteRequestReference]]
stagedQuote: [[StagedQuoteReference.svg StagedQuoteReference]]
customer: [[CustomerReference.svg CustomerReference]]
customerGroup: [[CustomerGroupReference.svg CustomerGroupReference]]
validTo: DateTime
sellerComment: String
buyerComment: String
store: [[StoreKeyReference.svg StoreKeyReference]]
lineItems: [[LineItem.svg List<LineItem>]]
customLineItems: [[CustomLineItem.svg List<CustomLineItem>]]
totalPrice: [[TypedMoney.svg TypedMoney]]
taxedPrice: [[TaxedPrice.svg TaxedPrice]]
shippingAddress: [[Address.svg Address]]
billingAddress: [[Address.svg Address]]
inventoryMode: [[InventoryMode.svg InventoryMode]]
taxMode: [[TaxMode.svg TaxMode]]
taxRoundingMode: [[RoundingMode.svg RoundingMode]]
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
country: String
shippingInfo: [[ShippingInfo.svg ShippingInfo]]
paymentInfo: [[PaymentInfo.svg PaymentInfo]]
shippingRateInput: [[ShippingRateInput.svg ShippingRateInput]]
itemShippingAddresses: [[Address.svg List<Address>]]
directDiscounts: [[DirectDiscount.svg List<DirectDiscount>]]
custom: [[CustomFields.svg CustomFields]]
quoteState: [[QuoteState.svg QuoteState]]
state: [[StateReference.svg StateReference]]
purchaseOrderNumber: String
businessUnit: [[BusinessUnitKeyReference.svg BusinessUnitKeyReference]]
}
TaxCalculationMode --> Cart #green;text:green : "taxCalculationMode"
TaxCalculationMode --> CartDraft #green;text:green : "taxCalculationMode"
TaxCalculationMode --> CartChangeTaxCalculationModeAction #green;text:green : "taxCalculationMode"
TaxCalculationMode --> StagedOrderChangeTaxCalculationModeAction #green;text:green : "taxCalculationMode"
TaxCalculationMode --> Order #green;text:green : "taxCalculationMode"
TaxCalculationMode --> OrderImportDraft #green;text:green : "taxCalculationMode"
TaxCalculationMode --> QuoteRequest #green;text:green : "taxCalculationMode"
TaxCalculationMode --> Quote #green;text:green : "taxCalculationMode"
@enduml
|
78cb2ca6194e67cea730cab50906d3b0ca945a36 | c5cc6e072bae0c85c2898ab1ae1edd095f8534ba | /Reeks2 BestandsBeheer (Proxy)/Reeks2 Proxy.puml | 95e24b2452e268950aa0286a371e28d17cd034a1 | [] | no_license | WillemDendauw/SoftwareontwikkelingII | 718223d6c8055c3679de2e1dee5a399e4f7df672 | 587365b1bcf4a715c1f73f44cdf8d48f3cf4b783 | refs/heads/master | 2022-12-07T21:12:00.131491 | 2020-08-27T15:21:47 | 2020-08-27T15:21:47 | 258,460,142 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 738 | puml | @startuml reeks2
skinparam ClassAttributeIconSize 0
interface IFile{
+Content string{get}
}
note right: ISubject
class RealFile{
}
note top: Subject
class CachingProxyFile{
-cachedFiles : Dictionary<string,IFile>
-Filename : string
}
note bottom: cachingproxy
class AuthenticationProxyFile{
-user: User
-filename: string
}
note top: authenticaytieproxy
class FileAccesException{
}
class User{
+IsAdmin : bool{get}
+UserName: string{get}
}
IFile <|.. AuthenticationProxyFile
IFile <|.. CachingProxyFile
IFile <|.. RealFile
AuthenticationProxyFile ..> FileAccesException : uses
AuthenticationProxyFile ..> User : uses
RealFile --o CachingProxyFile
CachingProxyFile --o AuthenticationProxyFile
@enduml |
e662c6f9667160eca9f4eb1a567dc3b2c04fb945 | cdcc62095774a411bf26dfcdf7607a381d9286f3 | /asciidocs/plantuml/cld.puml | a2849f48bb4bffa489f301793ac00646c490f14a | [] | no_license | quirinecker/construction-site-manager | f4974964e02326634fae7c2a90b858f29b82df70 | 3598e790d4f2f25d431dffa35b8e28495041a92c | refs/heads/main | 2023-08-07T16:54:22.330838 | 2021-09-26T21:38:51 | 2021-09-26T21:38:51 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 926 | puml | @startuml
'https://plantuml.com/class-diagram
interface Resource {
id: Long,
costPerHour: double
type: "Employee" | "Vehicle"
}
class Vehicle implements Resource {
id: Long
model: Model
age: int
notice: String
}
class Employee implements Resource{
id: Long
firstname: String
lastname: String
svn: int
address: Address
}
class Model {
brand: String
name: String
year: int
}
class Address {
street: string
place: string
zip: int
}
class ResourceAssignment {
id: Long
resource: Resource
constructionSite: ConstructionSite,
timeCostInHours: int
}
class ConstructionSite {
id: Long
resources: List<ResourceAssignment>
address: Address
}
ResourceAssignment "*" -- "1" Resource
ResourceAssignment "*" -- "1" ConstructionSite
ConstructionSite "1" -- "*" Address
Employee "1" -- "*" Address
Model "*" -- "1" Vehicle
@enduml
|
a2a16fa5e8a2357f2289b578a2f2a06df29f1815 | 15de8f23523c632ae50d334296e4be6c1cb9a128 | /src/main/plantuml/rock-paper-scissors-class-diagram.plantuml | ef76f29a5997145d6594b962170f6433d23d4c93 | [] | no_license | bhelfert/rock-paper-scissors | ae36c51c27182ab74fb37434974f0fbd7f7d7908 | a3ba78d1b9fc8f42a20cee60b6da2b9d3fb16453 | refs/heads/master | 2022-12-02T18:03:21.453437 | 2020-07-26T13:22:07 | 2020-07-26T13:22:07 | 282,653,864 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,980 | plantuml | @startuml
' This is a PlantUML file that describes a UML Class Diagram textually.
' See http://plantuml.com for more information.
class GameRegistry << (C, limegreen) >> {
registerGame()
}
note bottom: registers:\n* ClassicGame \n* LizardSpockGame
class CommandLineParser << (C, red) >> {
parseCommandLine()
}
CommandLineParser -left-> GameRegistry
CommandLineParser .down.> GameInput : << creates >>
class RockPaperScissors << (C, white) >> {
{static} main()
runGame()
}
RockPaperScissors -left-> CommandLineParser
RockPaperScissors -down-> Game
RockPaperScissors -right-> RunOfPlayConsolePrinter
class RunOfPlayConsolePrinter << (C,dodgerblue) >> {
printRunOfPlay()
}
RunOfPlayConsolePrinter ..> RunOfPlay
abstract class Game << (A,limegreen) >> {
play()
{abstract} createGameRules()
}
Game .up.> GameInput
Game --> GameRules
Game -left-> "*" Enum
Game .right.> RunOfPlay : << creates >>
class GameRules << (C,limegreen) >> {
addRule()
beats()
getBeatsDescription()
}
class GameInput << (C,red) >> {
game
gameItem
}
class ClassicGame << (C,limegreen) >> {
}
Game <|-- ClassicGame
ClassicGame .right.> GameRules : << creates >>
class LizardSpockGame << (C,limegreen) >> {
}
ClassicGame <|-- LizardSpockGame
LizardSpockGame ..> GameRules : << creates >>
abstract class Enum << (E,limegreen) >>
enum ClassicGameItem << (E,limegreen) >> {
rock
paper
scissors
}
Enum <|-- ClassicGameItem
enum LizardSpockGameItem << (E,limegreen) >> {
lizard
spock
}
Enum <|--- LizardSpockGameItem
class RunOfPlay << (C,limegreen) >> {
itemPlayer1
itemPlayer2
gameResultReason
}
RunOfPlay -right-> GameResult : gameResult
enum GameResult << (E,limegreen) >> {
Player1Wins
Player2Wins
Tie
}
legend left
Color code:
*<b>red</b>: input (CLI)
*<b>green</b>: processing (game)
*<b>blue</b>: output (presentation)
*<b>white</b>: controller
endlegend
@enduml |
c4757e6b5a52d40c9acd96954a7245b3de31dddc | e7aab27dc3b56328c92d783d7fa8fce12d8ac544 | /kapitler/media/uml-class-tilgang.puml | 621fb7f2b5062e1f107cc833dec533865d6978e9 | [] | no_license | petterreinholdtsen/noark5-tjenestegrensesnitt-standard | 855019a61c8679a8119549e2824fa32ecc669e66 | 4673ba7134d83a6992bba6f9036c521c7ae1897f | refs/heads/master | 2023-06-11T12:08:52.134764 | 2023-03-05T11:05:21 | 2023-03-05T11:05:21 | 160,586,219 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 327 | puml | @startuml
skinparam nodesep 100
hide circle
class Admin.Tilgang {
+systemID : SystemID [0..1]
+rolle : string
+tilgangskategori : Tilgangskategori
+referanseArkivenhet : SystemID [0..1]
+tilgangsrestriksjon : Tilgangsrestriksjon [0..1]
+les : boolean
+ny : boolean
+endre : boolean
+slett : boolean
}
@enduml
|
dea04fd27e5a42a401bb19e55375b6a4ba64de38 | f297d20805f2546d5d0386e0f3de2b9dc8fd88f1 | /src/main/java/designpattern07_代理模式/代理模式类图.puml | 41e74e6285cd911b42c9625705b0528745f9ca47 | [] | no_license | MagicalFool/design-pattern | 2601f3eb545e22a5783bf157b09051040ef08f27 | 6a5028b990d66ea116f7e81159577321e437637a | refs/heads/master | 2020-05-05T07:45:35.878673 | 2019-04-07T13:04:39 | 2019-04-07T13:04:39 | 179,837,148 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 203 | puml | @startuml
interface Eventable{
void sender();
}
class EventSender{
void sender();
}
class Proxy{
void sender();
}
Eventable <|.. EventSender
Eventable <|.. Proxy
Client ..> Proxy
@enduml |
6acc01a9f1cc6e2adb006306eddcdbcf7823a297 | 06e93d722a18add11c25541a4e525b9f4b9ab83d | /implementation/ast_decls.puml | 6c88f813ae0f16eaafc56286741bfb423d238582 | [] | no_license | eroatta/thesis | a00ee3c69966b9794ca69147881b94909a306851 | bd191d1691dea9ba433772fabf9b9726bc1b7237 | refs/heads/master | 2021-09-18T00:11:01.309241 | 2021-08-22T18:54:47 | 2021-08-22T18:54:47 | 91,565,606 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,404 | puml | @startuml ast_decls
package ast {
interface Spec {
# specNode()
}
class ImportSpec {
+ Doc *CommentGroup
+ Name *Ident
+ Path *BasicLit
+ Comment *CommentGroup
+ EndPos token.Pos
}
ImportSpec --|> Spec
class ValueSpec {
+ Doc *CommentGroup
+ Names []*Ident
+ Type Expr
+ Values []Expr
+ Comment *CommentGroup
}
ValueSpec --|> Spec
class TypeSpec {
+ Doc *CommentGroup
+ Name *Ident
+ Assign token.Pos
+ Type Expr
+ Comment *CommentGroup
}
TypeSpec --|> Spec
interface Decl {
# declNode()
}
class GenDecl {
+ Doc *CommentGroup
+ Lparen token.Pos
+ Rparen token.Pos
}
GenDecl -> Decl
GenDecl --* Spec : Specs
class FieldList {
+ Opening token.Pos
+ List *Field
+ Closing token.Pos
+ NumFields() int
}
class FuncDecl {
+ Doc *CommentGroup
+ Name *Ident
+ Body *BlockStmt
+ Type *FuncType
}
FuncDecl -> Decl
FuncDecl -- FieldList : Recv
class BadDecl {
+ From token.Pos
+ To token.Pos
}
BadDecl --> Decl
}
package token {
enum TokenType as "Token" {
IMPORT
CONST
TYPE
VAR
}
}
GenDecl --- TokenType : Tok
@enduml
|
6099b662d199c89ae754a81f628841b4d2629dda | 544a5b602c038888f8597b5c6fba5293d166f63b | /src/main/java/com/master/chapter018/DecoratorPrinciple.puml | 236f60895794d856164637b91750ff4c647b5d93 | [] | no_license | ColorXJH/Design-Pattern-Learning | 50d63ac6be15fd3d8947dbd89d9272de358bb9fe | 487a017f1688ab764e9ba98360e3a55b8a1858e7 | refs/heads/master | 2023-03-30T06:46:37.633591 | 2021-03-20T13:32:12 | 2021-03-20T13:32:12 | 349,720,860 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,406 | puml | @startuml
'https://plantuml.com/class-diagram
/'装饰者设计模式解决星巴克咖啡订单'/
/'抽象饮料层 --component'/
abstract class Drink{
private String description;
void getDescription();
void cost();
}
/'咖啡缓冲层(因为具体的单品咖啡比较多)'/
abstract class Coffee{
/'将单品咖啡的共同点都抽象到缓冲层'/
}
/'继承'/
Drink <|-- Coffee
/'各种不同种类的单品咖啡'/
class ShortBlack{
void cost();
}
class Decaf{
void cost();
}
class Espresso{
void cost();
}
class LongBlack{
void cost();
}
/'实现'/
Coffee <|.. ShortBlack
Coffee <|.. Decaf
Coffee <|.. Espresso
Coffee <|.. LongBlack
/'以上三个部分组成了被修饰者'/
/'装饰类(包含一个被装饰对象component)'/
class Decorator{
private Drink drink;
void getDescription();
/'费用叠加计算--递归'/
void cost();
}
/'组合'/
Decorator *.. Drink
/'可以不需要继承'/
Drink <|-- Decorator
/'具体装饰类(各种调料)'/
class Chocolate{
void getDescription();
void cost();
}
class Milk{
void getDescription();
void cost();
}
class Soy{
void getDescription();
void cost();
}
/'实现'/
Decorator <|.. Chocolate
Decorator <|.. Milk
Decorator <|.. Soy
/'好处在于:如果想增加一个新的单品咖啡,只需要继承coffee
调料不需要发生任何变化
'/
@enduml |
d250563b30efbc20b918db291b2230cfcb98b56a | 2b2acc58e16343190688ed460b26386980bb2b20 | /Documents/UC1/CD.puml | 4e176699b1e852a654190d189459b9015e2a2ca2 | [] | no_license | 1190452/LAPR3 | 0ca11285a3e85f93b5d687a0e10caef6f62a9577 | e641d35f6524fde900beb3683937fc697af3b325 | refs/heads/master | 2023-05-11T07:45:02.636516 | 2021-01-31T17:06:37 | 2021-01-31T17:06:37 | 372,571,407 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,109 | puml | @startuml
class Address {
-double latitude
-double longitude
-String street
}
class User {
-String nome
-String email
-String NIF
-String password
-int credits
-String street
-double latitude
-double longitude
-String number
-String monthExpiration
-String yearExpiration
-String ccv
newAddress(latitude, longitude, street)
newCreditCard(number, monthExpiration, yearExpiration, ccv)
saveUser()
}
class CreditCard {
-String number
-String monthExpiration
-String yearExpiration
-String ccv
}
class RegistUserController {
newUser(nome, email, NIF, password, credits, street, latitude, longitude, number, monthExpiration, yearExpiration, ccv)
sendEmail(email)
}
class EmailAPI {
sendEmail(email)
}
class UserHandler {
addUser(user)
}
class DataBase {
save(name, email, nif, password, credits, address, creditCard)
}
RegistUserUI ..> RegistUserController
RegistUserController ..> User
UserHandler ..> DataBase
RegistUserController ..> UserHandler
RegistUserController ..> EmailAPI
User "1" -- "1" Address: has
User "1" -- "1" CreditCard: has
@enduml |
38da9bdd3dc5c8ef38529e5958b64604e93e2dc2 | c6e6e12d59a3ec2676acd1382550fb3d4a97f618 | /gfx/UML/search-space.puml | c9379ea83c5e297c67a5b4985efd4d2b9b69c75f | [] | no_license | Berberer/master-thesis | e9f8bd327aba36a488260da4521f8b4956e8aebf | 6379065c375498d757afe8e628498d69065d9829 | refs/heads/master | 2022-12-26T05:51:09.006338 | 2020-10-07T21:55:28 | 2020-10-07T21:55:28 | 233,442,672 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,201 | puml | @startuml SearchSpaceManagement
abstract class GraphNode {
predecessor : GraphNode
successors : GraphNodes[ ]
node_id : String
{abstract} is_leaf_node() : boolean
}
abstract class GraphGenerator {
{abstract} get_root_node() : GraphNode
generate_successors(node : GraphNode) : GraphNode[ ]
{abstract} get_node_successors(node : GraphNode) : GraphNode[ ]
}
class SearchSpace {
get_components_by_name(component_name : String) : SearchSpaceComponent[ ]
get_components_providing_interface(interface_name : String) : SearchSpaceComponent[ ]
}
class SearchSpaceComponent {
name : String
id : String
provided_interfaces : String[ ]
required_interfaces : String[ ]
function_pointer : boolean
params : Map
create_default_parameter_config() : Map
draw_random_parameter_config() : Map
validate_parameter_config(config : Map) : boolean
create_construction_args_from_config(parameter_config : Map, required_interfaces : Map) : (List, Map)
}
class SearchSpaceComponentInstance {
parameter : Map
required_interfaces : Map
construct_pipeline_element() : Object
}
class SearchSpaceRestProblem {
required_interfaces : Map[ ]
component_mapping : Map
{static} from_previous_rest_problem(rest_problem : SearchSpaceRestProblem, satisfied_interface_component : SearchSpaceComponent) : SearchSpaceRestProblem
is_satisfied() : boolean
get_first_unsatisfied_required_interface() : String
}
class SearchSpaceGraphNode {
specified_interface : String
is_leaf_node() : boolean
}
class SearchSpaceGraphGenerator {
initial_component_name : String
get_root_node() : SearchSpaceGraphNode
get_node_successors(node : SearchSpaceGraphNode) : SearchSpaceGraphNode[ ]
}
SearchSpace "1" -- "0..*" SearchSpaceComponent : components >
SearchSpaceComponent "1" -- "1" SearchSpaceComponentInstance : component <
GraphNode ^-- SearchSpaceGraphNode
SearchSpaceGraphNode "1" -- "1" SearchSpaceRestProblem : rest_problem >
GraphGenerator ^-- SearchSpaceGraphGenerator
SearchSpaceGraphGenerator "1" -- "1" SearchSpace : search_space >
SearchSpaceGraphGenerator "1" -- "1" SearchSpaceGraphNode : root_node >
@enduml |
ef8e8d65975c8c4ef73762ac0d792f056ad92925 | 2ac74657de3cb81bab734d18094e945a442a167d | /sechub-doc/src/docs/asciidoc/diagrams/diagram_archive_support_overview.puml | f404dce79c835f846304841c1c15b8b96ba55143 | [
"MIT",
"ANTLR-PD",
"LicenseRef-scancode-generic-exception",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"LicenseRef-scancode-oracle-openjdk-exception-2.0",
"MPL-1.1",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-warranty-disclaimer",
"EPL-2.0",
"GPL-2.0-only",
... | permissive | de-jcup/sechub | 64055bb7ccd5496e32207c140e5812997e97583b | 488d2d23b9ae74043e8747467623d291c7371b38 | refs/heads/develop | 2023-07-22T18:01:47.280074 | 2023-07-18T15:50:27 | 2023-07-18T15:50:27 | 199,480,695 | 0 | 1 | MIT | 2023-03-20T03:00:02 | 2019-07-29T15:37:19 | Java | UTF-8 | PlantUML | false | false | 1,383 | puml | ' SPDX-License-Identifier: MIT
@startuml
hide empty fields
hide empty members
enum ScanType
class SecHubConfigurationModel
class SecHubFileStructureDataProviderBuilder
interface SecHubFileStructureDataProvider {
boolean isRootFolderAccepted();
Set<String> getUnmodifiableSetOfAcceptedReferenceNames();
}
class MutableSecHubFileStructureDataProvider extends SecHubFileStructureDataProvider
interface ArchiveTransformationData{
boolean isAccepted();
boolean isPathChangeWanted();
String getChangedPath();
}
class ArchiveTransformationDataFactory
class ArchiveSupport {
ArchiveExtractionResult extract(ArchiveType type, InputStream,...)
}
class ArchiveExtractionResult
class PDSWorkspaceService
SecHubFileStructureDataProviderBuilder -> SecHubConfigurationModel : needs
SecHubFileStructureDataProviderBuilder -> ScanType : needs
SecHubFileStructureDataProviderBuilder --> SecHubFileStructureDataProvider : creates
ArchiveTransformationDataFactory --> SecHubFileStructureDataProvider : needs
ArchiveTransformationDataFactory --> ArchiveTransformationData : creates
ArchiveSupport --> ArchiveExtractionResult : returns
ArchiveSupport --> ArchiveTransformationDataFactory : uses
ArchiveSupport --> SecHubFileStructureDataProvider : needs
PDSWorkspaceService --> ArchiveSupport : uses
PDSWorkspaceService -> SecHubFileStructureDataProviderBuilder: uses
@enduml |
712e6cb9a647316646fa6c572c28e86ed4c33bc6 | deb30b4dd22ff7f5cb9087561c003f00d0e6d230 | /src/main/java/org/yuhang/designpattern/observer/observer.puml | a5f3324e8e4e613d01351519b963bf29f1aa897b | [] | no_license | yhsiashen/algorithm-exercise | 2e4a38ddde6c529e46b64bdf5844b19b12bf6db1 | c3e905ca5ea73c14a04bec1545d9735121cb6fe0 | refs/heads/master | 2023-08-28T00:51:57.948694 | 2021-11-14T10:37:59 | 2021-11-14T10:37:59 | 149,220,510 | 0 | 1 | null | 2023-08-07T19:27:47 | 2018-09-18T03:00:09 | Java | UTF-8 | PlantUML | false | false | 595 | puml | @startuml
interface Subject
interface Observer
class WeatherDataSubject
class ConcurrentDataStaticsDisplay
class ForeastDataDisplay
Subject <|.. WeatherDataSubject
Observer <|.. ConcurrentDataStaticsDisplay
Observer <|.. ForeastDataDisplay
Observer *-- Subject
interface Subject{
+registerObserver():void
+removeObserver():void
+notifyObservers():void
}
interface Observer{
+update(Object arg):void
}
class WeatherDataSubject{
-temperature
-humidity
-presurre
+setMeasurements():void
}
class ConcurrentDataStaticsDisplay{
-temperature
-humidity
-presurre
}
@enduml |
c90cb432c06523e4d8a853c5ec869097a4760e30 | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/ip-payment@0.11.1.puml | 6ebc3f14bdecc3f227ac0d6a1457b0bcc033529b | [
"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 | 850 | puml | @startuml
class org.accordproject.ippayment.PaymentRequest << (T,yellow) >> {
+ Double netSaleRevenue
+ Double sublicensingRevenue
+ DateTime permissionGrantedBy
}
org.accordproject.ippayment.PaymentRequest --|> org.accordproject.cicero.runtime.Request
class org.accordproject.ippayment.PayOut << (T,yellow) >> {
+ Double totalAmount
+ DateTime dueBy
}
org.accordproject.ippayment.PayOut --|> org.accordproject.cicero.runtime.Response
class org.accordproject.ippayment.IntellectualPropertyPaymentClause << (A,green) >> {
+ String royaltyText
+ Double royaltyRate
+ String sublicensingRoyaltyText
+ Double sublicensingRoyaltyRate
+ Duration paymentPeriod
+ Duration paymentPeriodWithPermission
}
org.accordproject.ippayment.IntellectualPropertyPaymentClause --|> org.accordproject.cicero.contract.AccordClause
@enduml
|
004a7da89c96d5a4fb545ea5211287fb06cfcb8f | c720cb97422d079dd91118f9ff1ea3c218ccd360 | /assets/uml/Filtering-Strategies.plantuml | ec39f04bb747a338b22f9d50fd84f0adb8b7d799 | [
"MIT"
] | permissive | danscho1/08-singleton-factory-strategy | eae9d2588c1cbd2393b8669c926f276a94af877b | 4524f3be32f575367b43703de5ff5c3aff8a5f8e | refs/heads/master | 2021-08-22T07:15:18.003649 | 2017-11-29T15:35:41 | 2017-11-29T15:35:41 | 112,448,665 | 0 | 0 | null | 2017-11-29T08:35:30 | 2017-11-29T08:35:29 | null | UTF-8 | PlantUML | false | false | 494 | plantuml | @startuml FilteringStrategies
package de.fhro.inf.prg3.a08.filtering {
interface MealsFilter {
filter(meals: List<Meal>): List<Meals>
}
class AllMealsStrategy implements MealsFilter {
}
abstract class FilterBase implements MealsFilter {
#include(m: Meal): boolean
}
class VegetarianStrategy extends FilterBase {
}
class NoPorkStrategy extends FilterBase {
}
class NoSoyStrategy extends FilterBase {
}
}
@enduml |
b737e09191fa1866a124d2d424cf9153e8ca67cd | 7eb0a3429f021f1a046bed8e667a6911d789d065 | /IteratorPattern/IteratorPattern.puml | 8327d5bcf1a4435d4531f12c5069f3d664aed844 | [
"MIT"
] | permissive | gama79530/DesignPattern | d99431711fda65cfb7d790b2959ba0a712fa3f86 | 4730c50cdd839072ae50eef975cbed62b5a2a41c | refs/heads/master | 2023-08-03T04:35:54.561642 | 2023-06-08T03:13:08 | 2023-07-31T12:32:13 | 269,562,362 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 247 | puml | @startuml IteratorPattern
hide empty members
class Client{
}
interface Iterable{
- collection
+ createIterator()
}
interface Iterator{
+ next()
+ hasNext()
}
Client -left- Iterable: > use
Client -right- Iterator: > use
@enduml |
c933388ecd43cbf976c844714e630c4f876c2a77 | fb84bca41a00746017b56791cc1900e4cb811be7 | /plantuml/UIs/testSize.puml | 67b947e88143e621d9e7f597124619610a953026 | [] | 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 | 119 | puml | @startuml
class testSize {
Start() : void
}
MonoBehaviour <|-- testSize
testSize --> "Player" EatableObjSO
@enduml
|
cfafd83cd08bf0977e0131237cddc2c182a61553 | f505f3173c77debabd0a54f4124ecd87df0cb583 | /design-patterns/src/main/java/com/nijunyang/designpatterns/proxy/dynamicproxy/dynamicproxy.puml | 77e9bf1c50fb439d82142073c8b32ef1058eba41 | [] | no_license | bluedarkni/study | 4dab9a627e11703e7b19c1ca5e4fd1c7a5e6c447 | 3da7f58e4df50b2ce0aa38eaff09fbc7b0329cca | refs/heads/master | 2023-04-06T20:57:52.596183 | 2023-03-26T12:53:51 | 2023-03-26T12:53:51 | 226,616,133 | 4 | 3 | null | 2022-06-21T04:24:54 | 2019-12-08T04:50:21 | Java | UTF-8 | PlantUML | false | false | 255 | puml | @startuml
interface Teacher{
void teach();
}
Teacher <|.. TeacherLi
class ProxyFactory{
Object target; //聚合目标对象
getProxyInstance();//给目标对象创建一个代理对象
}
ProxyFactory *-- TeacherLi
@enduml |
011a11fbd61bfae622b7a2d173812559b48885d3 | 43e7bb9c86a28ad8acb5a19c5ca0a483f0355b59 | /OkHttp.puml | acf35d16bf4b6e9ab51ba7f0fce3171e0398dc48 | [
"Apache-2.0"
] | permissive | WalterHu/DemonCat | adf9e8daf1e6cb230317db749e76c44b539f9356 | 94f4a1253a3cf4604ea768787e5815c9513c1cbc | refs/heads/master | 2020-03-10T00:58:43.092272 | 2018-08-29T03:02:58 | 2018-08-29T03:02:58 | 129,097,033 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,410 | puml | @startuml
interface Factory {
+newCall(Request):Call
}
class OkHttpClient {
~dispatcher:Dispatcher
+dispatcher():Dispatcher
}
note left of OkHttpClient
"OkHttpClient是创建Call的工厂类"
end note
interface ExecutorService
class ThreadPoolExecutor {
+execute(Runnable):void
}
note right of ThreadPoolExecutor
"Java下的线程池任务管理服务。
在Dispatcher中,用来异步运行AsyncCall。"
end note
class Dispatcher {
-maxRequests:int
-maxRequestsPerHost:int
-executorService:ExecutorService
-readyAsyncCalls:Deque<AsyncCall>
-runningAsyncCalls:Deque<AsyncCall>
-runningSyncCalls:Deque<RealCall>
~executed(RealCall):void
~finished(RealCall):void
~enqueue(AsyncCall):void
~finished(AsyncCall):void
-promoteCalls():void
}
note right of Dispatcher
"RealCall与AsyncCall
同步/异步执行的策略管理者。
主要使用线程池服务来管理异步请求。"
end note
class Request
class Response
interface Call {
+execute():Response
+enqueue(Callback):void
}
note left of Call
"Call代表一个请求,可以被取消。
其表示单个请求/响应对,并且
不能够执行两次。"
end note
interface Interceptor {
+intercept(Chain):Response
}
note right of Interceptor
"请求响应拦截器。
可以在请求发送前
或
结果返回后进行修改。"
end note
class RetryAndFollowUpInterceptor {
-client:OkHttpClient
-streamAllocation:StreamAllocation
+cancel():void
+streamAllocation():StreamAllocation
--createAddress(HttpUrl):Address
}
note right of RetryAndFollowUpInterceptor
"请求失败重试拦截器。
其内创建StreamAllocation。
每个RealCall对象都会创建一个新实例。"
end note
class RealCall {
~client:Response
~retryAndFollowUpInterceptor:RetryAndFollowUpInterceptor
~getResponseWithInterceptorChain():Response
}
abstract class NamedRunnable
class AsyncCall {
~responseCallback:Callback
~AsyncCall(Callback)
#execute():void
}
note left of AsyncCall
"AsyncCall是RealCall的内部类。
表示异步请求。"
end note
interface Callback {
+onFailure(Call, IOException):void
+onResponse(Call, Response):void
}
class RealInterceptorChain {
-interceptors:List<Interceptor>
-streamAllocation:StreamAllocation
-call:Call
-request:Request
+proceed(Request):Response
+proceed(Request,StreamAllocation,HttpCodec,RealConnection):Response
}
note bottom of RealInterceptorChain
"拦截器对象链。
按照顺序管理着所有拦截器对象。
使用责任链模式。
每一个拦截器仅处理该处理的部分,
然后交付给剩下的拦截器依次处理。"
end note
class StreamAllocation {
+address:Address
+connectionPool:ConnectionPool
-connection:RealConnection
-canceled:boolean
-codec:HttpCodec
+newStream(OkHttpClient,Chain,boolean):HttpCodec
-findHealthyConnection(int,int,int,int,boolean,
boolean):RealConnection
-findConnection(int,int,int,int,boolean):RealConnection
}
note left of StreamAllocation
"1.StreamAllocation是
Connections/Streams/Calls
的关系维护者。
2.返回Connection时,
先查找已经存在的,
若没有就从链接池中查找,
若没有就重新创建Connection。
3.通过调用newStream可以
获取一个HttpCodec实现,
若当前是HTTP1则创建Http1Codec;
否则创建Http2Codec对象。"
end note
interface HttpCodec
class Http1Codec {
}
note right of Http1Codec
"HTTP请求/响应数据流处理对象。
1.开启输出流,写入请求头
2.写入请求体数据
3.开启输入流,读取服务器数据
4.作为输入输出流表示一个http请求,
StreamAllocation会找到可以给新流
作复用的RealConnection链接,
http1.x仅支持一对流。http2.x则
支持多对流复用一个RealConnection。"
end note
class RealConnection {
-rawSocket:Socket
-socket:Socket
-handshake:Handshake
-source:BufferedSource
-sink:BufferedSink
-allocationLimit:int
-allocations:List<Reference<StreamAllocation>>
-noNewStreams:boolean
+connect(int,int,int,List<ConnectionSpec>,boolean):void
-buildConnection(int,int,int,ConnectionSpecSelector):void
-connectSocket(int,int):void
-establishProtocol(int,int,ConnectionSpecSelector):void
}
note right of RealConnection
"RealConnection表示一次socket链接。
其内包括rawSocket,表示连接层Socket链接。
还包括socket,表示高于链接层的Socket链接,
即SSL或者TLS。
其内包括握手协议对象,表示当前握手数据。
它是链接的核心部分。在StreamAllocation
中创建后,即添加到ConnectionPool中
,并直接开始链接。其内保存有StreamAllocation
的引用列表,http1版本下仅支持1对1关系。
HTTP2版本则支持一个1对多关系。
不再使用的connection需要释放,并标记
noNewStreams为true。"
end note
class Address {
~sslSocketFactory:SSLSocketFactory
~hostnameVerifier:HostnameVerifier
}
note left of Address
"记录请求目标地址的信息,
比如sslSocketFactory,
HostnameVerifier等。"
end note
class ConnectionPool
note left of ConnectionPool
"链接池,管理所有已经创建的链接。
达到链接复用以减少延迟和损耗。
其内有一个ThreadPoolExecutor,
使用后台线程来回收长时间不使用的链接。"
end note
class ConnectInterceptor {
-client:OkHttpClient
}
note left of ConnectInterceptor
"链接拦截器。
会在其内调用StreamAllocation
完成HttpCodec创建。"
end note
class BufferedSource
note left of BufferedSource
"Socket读取数据流的buffer对象。
使用Okio.source(Socket)创建。
若链接使用TLS,则创建的source基于sslsocket。"
end note
class BufferedSink
note right of BufferedSink
"Socket写出数据流的buffer对象。
使用Okio.sink(Socket)创建。
若链接使用TLS,则创建的sink基于sslsocket。"
end note
class CallServerInterceptor
note right of CallServerInterceptor
"调用服务拦截器,
拦截链中的最后一个拦截器,
通过网络调用服务器。
通过HttpCodec依次次进行写请求头、
请求头(可选)、读响应头、读响应体。"
end note
CallServerInterceptor ..> HttpCodec
CallServerInterceptor ..|> Interceptor
CallServerInterceptor ..> RealInterceptorChain
RealConnection --o BufferedSource
RealConnection --o BufferedSink
Http1Codec ..|> HttpCodec
HttpCodec --o RealInterceptorChain
HttpCodec --o StreamAllocation
RealConnection o--o StreamAllocation
ConnectInterceptor ..> StreamAllocation
ConnectInterceptor ..|> Interceptor
ConnectionPool --* OkHttpClient
Interceptor --o RealInterceptorChain
RealCall --* RealInterceptorChain
RealInterceptorChain *-- StreamAllocation
StreamAllocation *-- Address
RetryAndFollowUpInterceptor o-- StreamAllocation
ThreadPoolExecutor ..|> ExecutorService
Dispatcher --> ThreadPoolExecutor
Interceptor --o OkHttpClient
OkHttpClient --* ConnectInterceptor
OkHttpClient --* RetryAndFollowUpInterceptor
Interceptor <|.. RetryAndFollowUpInterceptor
RealCall *-- RetryAndFollowUpInterceptor
Request --* RealCall
Response <.. RealCall
Callback <.. RealCall
Callback --* AsyncCall
NamedRunnable <|-- AsyncCall
RealCall *-- OkHttpClient
Call <|.. RealCall
Factory <|.. OkHttpClient
OkHttpClient *-- Dispatcher
RealCall --o Dispatcher
AsyncCall --o Dispatcher
@enduml |
5cf1a2895ddccc97ab7653b6d40ac1c8dc6acc20 | 625517108615e50180082e3c6d7d1444f643485e | /test/fixtures/class-classes/in.plantuml | 3c06bcd453f3e86904f02a6d52e4dbeeaae1b346 | [
"TCL",
"BSD-3-Clause",
"HPND",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"LicenseRef-scancode-openssl",
"MIT",
"LicenseRef-scancode-ssleay-windows",
"ISC",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Enteee/plantuml-parser | 180c370b3025bb7566bd86576d327364b3d5a425 | 765ac61d0c29c7c8f39310cfa7c385017997aeb8 | refs/heads/master | 2023-07-26T02:00:39.582527 | 2023-03-27T20:49:09 | 2023-03-27T20:49:09 | 177,091,179 | 132 | 33 | Apache-2.0 | 2023-05-21T07:11:53 | 2019-03-22T07:20:31 | TypeScript | UTF-8 | PlantUML | false | false | 144 | plantuml | @startuml
title Classes - Class Diagram
class Dwelling {
+Int Windows
+void Lock()
}
class Apartment
class House
class Commune
@enduml
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.