blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 227 | content_id stringlengths 40 40 | detected_licenses listlengths 0 28 | license_type stringclasses 2 values | repo_name stringlengths 6 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 61 values | visit_date timestamp[us]date 2015-08-14 10:26:58 2023-09-06 07:53:38 | revision_date timestamp[us]date 2011-01-31 21:28:29 2023-09-05 14:54:58 | committer_date timestamp[us]date 2011-01-31 21:28:29 2023-09-05 14:54:58 | github_id int64 206k 631M ⌀ | star_events_count int64 0 108k | fork_events_count int64 0 34.4k | gha_license_id stringclasses 13 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 79 values | src_encoding stringclasses 12 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 8 1.29M | extension stringclasses 17 values | code stringlengths 8 1.29M | non_uml bool 1 class | uml bool 1 class | has_non_ascii bool 2 classes | has_non_latin bool 1 class | uml_subtype stringclasses 10 values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cbbba2d170b36458796925bd5f3a4235ef4beec7 | f98fa1852c1765b2a10e87475fb1352de77e56b1 | /src/main/scala/$1_where/$1_business_logic/$4_on_arg/model.puml | 812aa4730258ea6edaa8896c8033ec0b07130550 | [] | no_license | suzuki-hoge/ddd-questions | bc14a78b0a0279e09b1418bc5cb098f5c25ae2c5 | 22a48f894e06b6c3affca7233c1b9aabc3da4ab1 | refs/heads/master | 2021-08-06T16:28:05.537406 | 2017-11-06T14:35:15 | 2017-11-06T14:35:15 | 109,396,522 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,372 | puml | @startuml
package domain {
class CampaignTargetCustomer {
- id
}
class CustomerId {
- String
}
enum Plan {
FREE, PREMIUM
}
class StartDate {
- LocalDate
+ Boolean isPassedNYears(Int)
}
class Target {
+ Boolean isFreeAndPassed2Years(Plan, Start)
}
interface CustomerRepository {
List<CampaignTargetCustomer> campaignTarget(Target)
}
interface NoticeRepository {
void campaign(CampaignTargetCustomer)
}
CustomerRepository -left-> CampaignTargetCustomer : found
NoticeRepository -right-> CampaignTargetCustomer
CustomerRepository -right-> Target
CampaignTargetCustomer -down-> CustomerId
Target -down-> Plan : is
Target -down-> StartDate : is
}
package mapper {
class CustomerRepositoryMapper {
List<CampaignTargetCustomer> campaignTarget(Target)
}
class Customer {
- id
- plan
- start
+ CampaignTargetCustomer toCampaignTarget()
}
package table {
class CustomerRepositoryTable {
List<Customer> all()
}
}
CustomerRepositoryMapper -down-> Target
CustomerRepositoryMapper -up-> CustomerRepositoryTable : find
CustomerRepositoryMapper --> Customer : filter by Target
Customer -down-> CampaignTargetCustomer : to
}
object database
CustomerRepositoryMapper -down-|> CustomerRepository
CustomerRepositoryTable -up-> database : select all
@enduml
| false | true | false | false | sequence |
8337f859884984bdb0f3fb2398c5ba5c696a9b70 | 3e8de74dfe19cd437fd7842887394d4921a109d7 | /docs/images/dip-bad.plantuml | c203e827565fb8796b578e28fc8456a62ee34002 | [] | no_license | jmbruel/InnopolisDesignPatterns | 62c5f1df870883cd44245d6459243c83b96d0995 | a9ffbfc16a29ed3d560d5be12e8fb1d2f1bed50e | refs/heads/master | 2021-02-04T20:34:22.378185 | 2020-11-16T17:40:28 | 2020-11-16T17:40:28 | 243,707,157 | 0 | 7 | null | 2020-10-23T08:58:33 | 2020-02-28T07:49:59 | JavaScript | UTF-8 | PlantUML | false | false | 502 | plantuml | @startuml
'-----------------------------------
' UML concepts illustrated
' JMB 2014
'-----------------------------------
class Worker {
public void work();
}
class Manager {
public void setWorker(Worker);
public void manage();
}
note bottom : public void manage(){worker.work();}
Manager -> "worker" Worker
class SuperWorker {
public void work();
}
note bottom : introduction of new class is complex
legend right
<i>Dependency Inversion Principle - Bad example</i>
endlegend
@enduml
| false | true | false | false | class |
3c3a02a3bd935695bd4504d87050924684bf4a01 | 4cf5737cadb807568ddac14c8f1ff342a6e6cb0a | /documentation/serviceApi/order/media/src/notificationWithItems.puml | 724011268f4aaa75b7f47c4cbafb85d6fee6b55f | [
"Apache-2.0"
] | permissive | MEF-GIT/MEF-LSO-Legato-SDK | b2ed422108f4bbb5d3aff27123d3f31305fd808f | 7f723970592cc5020aaaa0d2ffe30de6a73b3d97 | refs/heads/working-draft | 2023-07-06T06:44:01.113378 | 2023-06-23T14:14:48 | 2023-06-23T14:14:48 | 94,903,642 | 5 | 4 | Apache-2.0 | 2022-05-04T10:22:56 | 2017-06-20T15:00:38 | null | UTF-8 | PlantUML | false | false | 2,171 | puml | @startuml
hide footbox
participant BUS
participant SOF
BUS -> SOF : POST {{baseUrl}}/hub with {{callbackUrl}}
SOF --> BUS: 201 confirmation with {{id}}
...
BUS -> SOF : POST {{baseUrl}}/serviceOrder
SOF -> SOF : basic validation
SOF -> SOF : assign ServiceOrder.id
alt succesful inquiry
SOF --> BUS : 201 ServiceOrder with {{id}} in `acknowledged` state \nServiceOrderItems in `acknowledged` state
SOF -> BUS: {{callbackUrl}}/listener/serviceOrderCreateEvent {{id}}
BUS --> SOF : 204 confirmation
...
note over BUS, SOF : First ServiceOrderItem moves to `inProgress`
SOF -> BUS: {{callbackUrl}}/listener/serviceOrderItemStateChangeEvent {{id}}, {{ServiceOrderItem.id}}
BUS --> SOF : 204 confirmation
note over BUS, SOF : ServiceOrder moves to `inProgress`
SOF -> BUS: {{callbackUrl}}/listener/serviceOrderStateChangeEvent {{id}}
BUS --> SOF : 204 confirmation
...
group loop [for each of remaining ServiceOrderItems that move to `inProgress`]
SOF -> BUS: {{callbackUrl}}/listener/serviceOrderItemStateChangeEvent {{id}}, {{ServiceOrderItem.id}}
BUS --> SOF : 204 confirmation
end
...
note over BUS, SOF : Processing without any issues
group loop [for each ServiceOrderItem that moves to `completed`]
SOF -> BUS: {{callbackUrl}}/listener/serviceOrderItemStateChangeEvent {{id}}, {{ServiceOrderItem.id}}
BUS --> SOF : 204 confirmation
end
...
note over BUS, SOF : All ServiceOrderItems in `completed` state
SOF -> BUS: {{callbackUrl}}/listener/serviceOrderStateChangeEvent {{id}}
BUS --> SOF : 204 confirmation
BUS -> SOF : GET {{baseUrl}}/serviceOrder/{{id}}
return 200 ServiceOrder in `completed` state
...
group optional [if ServiceOrder moves to accepted, declined, or expired]
SOF -> BUS: {{callbackUrl}}/listener/serviceOrderStateChangeEvent ({{id}})
BUS --> SOF : 204 confirmation
BUS -> SOF : GET {{baseUrl}}/serviceOrder/{{id}}
return 200 ServiceOrder in current state
end
else validation or internal problem
SOF --> BUS : 4xx or 5xx errorresponse
end
...
BUS -> SOF : DELETE {{baseUrl}}/hub/{{id}}
SOF --> BUS : 204 confirmation
@enduml | false | true | false | false | sequence |
182c9b06d996c7f413ddfa108fd1823835d0ac0a | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/saft@0.7.0.puml | b1c3377151b4edf27426313d38d6bf703f19f4f4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | accordproject/cicero-template-library | 737586850933daac2fbff2ff8b2d60dd50526b80 | 35e6c93ba9d9e78d9384c44a78d85ac216d9e9ea | refs/heads/main | 2023-04-27T01:07:05.932361 | 2022-08-26T13:02:59 | 2022-08-26T13:02:59 | 109,224,687 | 77 | 149 | Apache-2.0 | 2023-04-20T21:43:00 | 2017-11-02T06:11:37 | HTML | UTF-8 | PlantUML | false | false | 1,166 | puml | @startuml
class org.accordproject.saft.Launch << (T,yellow) >> {
+ Double exchangeRate
}
org.accordproject.saft.Launch --|> org.accordproject.cicero.runtime.Request
class org.accordproject.saft.Terminate << (T,yellow) >> {
+ MonetaryAmount remainingFunds
+ MonetaryAmount totalInvested
}
org.accordproject.saft.Terminate --|> org.accordproject.cicero.runtime.Request
class org.accordproject.saft.Payout << (T,yellow) >> {
+ MonetaryAmount tokenAmount
+ String tokenAddress
}
org.accordproject.saft.Payout --|> org.hyperledger.composer.system.Transaction
class org.accordproject.saft.SaftContract << (A,green) >> {
+ String token
+ String company
+ BusinessEntity companyType
+ State state
+ Boolean amendmentProvision
+ MonetaryAmount purchaseAmount
+ CurrencyCode currency
+ MonetaryAmount netProceedLimit
+ DateTime date
+ DateTime deadlineDate
+ Double discountRatePercentage
+ String network
+ String coin
+ String exchanges
+ String companyRepresentative
+ String purchaser
+ String description
}
org.accordproject.saft.SaftContract --|> org.accordproject.cicero.contract.AccordContract
@enduml
| false | true | false | false | class |
3c14fce4a64fba61c9b9a0dcd93f912231ce31f2 | d6374fe9363a41031c51eb622cb0cb5e75b78380 | /legacy/mojaloop-technical-overview/central-settlements/settlement-process/assets/diagrams/sequence/seq-settlement-6.2.5.plantuml | 66e9c65b03c42be20c5bf628f07be6bed4c5a426 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mojaloop/documentation | 18a1e58443956b9c718f5f85590f652f803f4748 | 6ad904da0293bb259bd9f5140bcecd719d8c8024 | refs/heads/master | 2023-07-26T17:13:14.811484 | 2023-06-26T15:18:57 | 2023-06-26T15:18:57 | 170,135,923 | 24 | 98 | NOASSERTION | 2023-09-01T14:57:33 | 2019-02-11T13:45:44 | JavaScript | UTF-8 | PlantUML | false | false | 29,134 | plantuml | /'*****
License
--------------
Copyright © 2017 Bill & Melinda Gates Foundation
The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files 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, the Mojaloop files are 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.
Contributors
--------------
This is the official list of the Mojaloop project contributors for this file.
Names of the original copyright holders (individuals or organizations)
should be listed with a '*' in the first column. People who have
contributed from an organization can be listed under the organization
that actually holds the copyright for their contributions (see the
Gates Foundation organization for an example). Those individuals should have
their names indented and be marked with a '-'. Email address can be added
optionally within square brackets <email>.
* Gates Foundation
- Name Surname <name.surname@gatesfoundation.com>
* ModusBox
- Georgi Georgiev <georgi.georgiev@modusbox.com>
--------------
******'/
@startuml
' declate title
title 6.2.5. Acknowledgement of Settlement Transfer (updateSettlementById)
autonumber
' declare actors
actor "Hub Employee" as OPERATOR
boundary "Settlement Service API" as SSAPI
entity "Settlement DAO" as SETTLE_DAO
database "Central Store" as DB
box "Central HUB" #lightpink
participant OPERATOR
end box
box "Settlement Service" #lightgreen
participant SSAPI
participant SETTLE_DAO
end box
box "Central Services" #lightyellow
participant DB
end box
' start flow
group Acknowledgement of Settlement Transfer
activate OPERATOR
note right of OPERATOR #yellow
{
"participants": [
{
"id": 1
"accounts" : [
{ "id": 1, "state": "PENDING_SETTLEMENT", "reason": <string> },
{ "id": 2, "state": "PS_TRANSFERS_RECORDED", "reason": <string>, "externalReference": <string> },
{ "id": 3, "state": "PS_TRANSFERS_RESERVED", "reason": <string> },
{ "id": 4, "state": "PS_TRANSFERS_COMMITTED", "reason": <string>, "externalReference": <string> },
{ "id": 5, "state": "SETTLED", "reason": <string> }
]
},
{
"id": 2
"accounts" : [
{ "id": 6, "state": "SETTLED", "reason": <string> }
]
}
]
}
end note
OPERATOR -> SSAPI: PUT - /settlement/{id}
activate SSAPI
SSAPI -> SETTLE_DAO: updateSettlementById routine\n<color #FF0000><b>Error code:</b> 2001</color>
activate SETTLE_DAO
group <color #blue>DB TRANSACTION</color>
SETTLE_DAO -> DB: Retrieve settlement information
activate DB
hnote over DB #lightyellow
SELECT s.settlementId, ssc.settlementStateId,
ssc.reason, ssc.createdDate, sm.autoPositionReset
FROM **settlement** s
JOIN **settlementStateChange** ssc
ON ssc.settlementStateChangeId = s.currentStateChangeId
JOIN **settlementModel** sm
ON sm.settlementModelId = s.settlementModelId
WHERE s.settlementId = {id}
FOR UPDATE
end hnote
SETTLE_DAO <-- DB: Return **settlementData**
deactivate DB
SETTLE_DAO -> DB: Retrive settlement accounts information
activate DB
hnote over DB #lightyellow
SELECT pc.participantId, spc.participantCurrencyId,
spcsc.settlementStateId, spcsc.reason,
spcsc.createdDate, spc.netAmount, pc.currencyId,
spc.settlementParticipantCurrencyId AS <color #0000FF>key</color>
FROM **settlementParticipantCurrency** spc
JOIN **settlementParticipantCurrencyStateChange** spcsc
ON spcsc.settlementParticipantCurrencyStateChangeId =
spc.currentStateChangeId
JOIN **participantCurrency** pc
ON pc.participantCurrencyId = spc.participantCurrencyId
WHERE spc.settlementId = {id}
FOR UPDATE
end hnote
SETTLE_DAO <-- DB: Return **settlementAccountsList**
deactivate DB
|||
note right of SETTLE_DAO #lightblue
All objects below are for the purpose of the syncronous request.
If at some point, Node process memory limit is reached, we may decide to:
A. Limit the amount of transfers per window and windows per settlement or
B. Move to asyncronous processing where we don't need these objects
end note
note right of SETTLE_DAO #lightgray
Available raw datasets from DB:
**settlementData** contains information about settlement and its current state/reason
**settlementAccountsList** holds information about all accounts and their current state/reason
Local variables and objects:
**settlementAccounts**: { // (derived from <color 0000FF>settlementAccountsList</color>)
pendingSettlementCount: <integer>, // count of accounts in PENDING_SETTLEMENT state
psTransfersRecordedCount: <integer>, // count of accounts in PS_TRANSFERS_RECORDED state
psTransfersReservedCount: <integer>, // count of accounts in PS_TRANSFERS_RESERVED state
psTransfersCommittedCount: <integer>, // count of accounts in PS_TRANSFERS_COMMITTED state
settledCount: <integer>, // count of accounts in SETTLED state
abortedCount: <integer> // count of accounts in ABORTED state
unknownCount: <integer>,
settledIdList: <array>,
changedIdList: <array>
}
**settlementAccountsInit** copy of previous object to be preserved for comparission at the end
**allAccounts**: { // same as previous but accessed by account id (derived from <color 0000FF>settlementAccountsList</color>)
participantCurrencyId_key: { // number used to access the object in map-like style
id: participantCurrencyId,
state: settlementStateId,
reason: reason,
createdDate: createdDate,
netSettlementAmount: {
amount: netAmount,
currency: currencyId
},
participantId: participantId, // could be used to reconstruct allParticipants
key: <color 0000FF>key</color> // will be used to insert new state for settlementParticipantCurrency
}
}
let **transactionTimestamp** = now()
end note
|||
SETTLE_DAO -> SETTLE_DAO: Declare and initialize variables
note right of SETTLE_DAO #lightgray
let settlementAccounts = {
pendingSettlementCount: 0,
psTransfersRecordedCount: 0,
psTransfersReservedCount: 0,
psTransfersCommittedCount: 0,
settledCount: 0,
abortedCount: 0,
unknownCount: 0
}
' let allParticipants = {} // declare map
let allAccounts = {} // declare map
let pid // participantId
let aid // accountId (participantCurrencyId)
let state
end note
loop settlementAccountsList as account
SETTLE_DAO -> SETTLE_DAO: Populate **allAccounts**
' and **allParticipants**
note right of SETTLE_DAO #lightgray
pid = account.participantId
aid = account.participantCurrencyId
state = account.settlementStateId
allAccounts[aid] = {
id: aid,
state,
reason: account.reason,
createDate: account.createdDate,
netSettlementAmount: {
amount: account.netAmount,
currency: account.currencyId
},
participantId: pid,
key: account.key
}
' allParticipants[pid] = allParticipants[pid] ? allParticipants[pid] : {id: pid, accounts: {}}
' allParticipants[pid].accounts[aid] = allAccounts[aid]
end note
SETTLE_DAO -> SETTLE_DAO: Populate **settlementAccounts**
alt state == 'PENDING_SETTLEMENT'
note right of SETTLE_DAO #lightgray
settlementAccounts.pendingSettlementCount++
end note
else state == 'PS_TRANSFERS_RECORDED'
note right of SETTLE_DAO #lightgray
settlementAccounts.psTransfersRecordedCount++
end note
else state == 'PS_TRANSFERS_RESERVED'
note right of SETTLE_DAO #lightgray
settlementAccounts.psTransfersReservedCount++
end note
else state == 'PS_TRANSFERS_COMMITTED'
note right of SETTLE_DAO #lightgray
settlementAccounts.psTransfersCommittedCount++
end note
else state == 'SETTLED'
note right of SETTLE_DAO #lightgray
settlementAccounts.settledCount++
end note
else state == 'ABORTED'
note right of SETTLE_DAO #lightgray
settlementAccounts.abortedCount++
end note
else default
note right of SETTLE_DAO #lightgray
settlementAccounts.unknownCount++
end note
end
end
SETTLE_DAO -> SETTLE_DAO: Make a copy of settlementAccounts into **settlementAccountsInit**
note right of SETTLE_DAO #lightgray
settlementAccountsInit = Object.assign({}, settlementAccounts)
end note
|||
note right of SETTLE_DAO #lightgray
Available objects after the setup:
**settlementAccounts** is used for tracing settlement state and state transition allowance
**allAccounts** is helper object, same as previous, providing direct access to account by id
Now we are ready to process the **payload**:
**participants** = [] // part of the response object that lists the affected participants and respective accounts
**settlementParticipantCurrencyStateChange** = [] // array to collect inserts to the table
**settlementParticipantCurrencySettledList** = [] // array to collect settled accounts
**processedAccounts** = [] // array to log processed accounts and restrict subsequent processing
end note
loop let participant IN payload.participants
SETTLE_DAO -> SETTLE_DAO: Loop payload for each **participantPayload**
note right of SETTLE_DAO #lightgray
let participantPayload = payload.participants[participant]
participants.push({id: participantPayload.id, accounts: []})
let pi = participants.length - 1
participant = participants[pi]
end note
loop let account IN participantPayload.accounts
SETTLE_DAO -> SETTLE_DAO: Loop payload for each **accountPayload**
note right of SETTLE_DAO #lightgray
let accountPayload = participantPayload.accounts[account]
end note
alt allAccounts[accountPayload.id] == undefined
SETTLE_DAO -> SETTLE_DAO: If the account doesn't match the settlement
note right of SETTLE_DAO #lightgray
participant.accounts.push({
id: accountPayload.id,
errorInformation: {
errorCode: 3000,
errorDescription: 'Account not found'
}
})
end note
else participantPayload.id != allAccounts[accountPayload.id].participantId
SETTLE_DAO -> SETTLE_DAO: If the account doesn't match the participant
note right of SETTLE_DAO #lightgray
participant.accounts.push({
id: accountPayload.id,
errorInformation: {
errorCode: 3000,
errorDescription: 'Participant and account mismatch'
}
})
end note
else processedAccounts.indexOf(accountPayload.id) > -1
SETTLE_DAO -> SETTLE_DAO: If the account has been previosly processed (duplicated in the payload)
note right of SETTLE_DAO #lightgray
participant.accounts.push({
id: accountPayload.id,
state: allAccounts[accountPayload.id].state,
reason: allAccounts[accountPayload.id].reason,
createdDate: allAccounts[accountPayload.id].createdDate,
netSettlementAmount: allAccounts[accountPayload.id].netSettlementAmount
errorInformation: {
errorCode: 3000,
errorDescription: 'Account already processed once'
}
})
end note
else allAccounts[account.id].state == accountPayload.state // allowed
SETTLE_DAO -> SETTLE_DAO: Same-state reason amendment is always allowed
note right of SETTLE_DAO #lightgray
processedAccounts.push(accountPayload.id)
participant.accounts.push({
id: accountPayload.id,
state: accountPayload.state,
reason: accountPayload.reason,
externalReference: accountPayload.externalReference,
createdDate: transactionTimestamp,
netSettlementAmount: allAccounts[accountPayload.id].netSettlementAmount
})
settlementParticipantCurrencyStateChange.push({
settlementParticipantCurrencyId: allAccounts[accountPayload.id].key,
settlementStateId: accountPayload.state,
reason: accountPayload.reason,
externalReference: accountPayload.externalReference
})
allAccounts[accountPayload.id].reason = accountPayload.reason
allAccounts[accountPayload.id].createdDate = currentTimestamp
end note
else settlementData.state == 'PENDING_SETTLEMENT' && accountPayload.state == 'PS_TRANSFERS_RECORDED'
else settlementData.state == 'PS_TRANSFERS_RECORDED' && accountPayload.state == 'PS_TRANSFERS_RESERVED'
else settlementData.state == 'PS_TRANSFERS_RESERVED' && accountPayload.state == 'PS_TRANSFERS_COMMITTED'
else settlementData.state == 'PS_TRANSFERS_COMMITTED' || settlementData.state == 'SETTLING' && accountPayload.state == 'SETTLED'
note right of SETTLE_DAO #lightgray
**Note**: Since we previously checked same-state, here we don't need to match
allAccounts[account.id].state == settlementData.state.
end note
SETTLE_DAO -> SETTLE_DAO: Settlement acknowledgement
note right of SETTLE_DAO #lightgray
processedAccounts.push(accountPayload.id)
participant.accounts.push({
id: accountPayload.id,
state: accountPayload.state,
reason: accountPayload.reason,
externalReference: accountPayload.externalReference,
createdDate: transactionTimestamp,
netSettlementAmount: allAccounts[accountPayload.id].netSettlementAmount
})
settlementParticipantCurrencyStateChange.push({
settlementParticipantCurrencyId: allAccounts[accountPayload.id].key,
settlementStateId: accountPayload.state,
reason: accountPayload.reason,
externalReference: accountPayload.externalReference,
<color #blue>settlementTransferId: Uuid() -- only for PS_TRANSFERS_RECORDED</color>
})
if (accountPayload.state == 'PS_TRANSFERS_RECORDED') {
settlementAccounts.pendingSettlementCount--
settlementAccounts.psTransfersRecordedCount++
} else if (accountPayload.state == 'PS_TRANSFERS_RESERVED') {
settlementAccounts.psTransfersRecordedCount--
settlementAccounts.psTransfersReservedCount++
} else if (accountPayload.state == 'PS_TRANSFERS_COMMITTED') {
settlementAccounts.psTransfersReservedCount--
settlementAccounts.psTransfersCommittedCount++
} else if (accountPayload.state == 'SETTLED') {
settlementParticipantCurrencySettledIdList.push(allAccounts[accountPayload.id].key)
settlementAccounts.psTransfersCommittedCount--
settlementAccounts.settledCount++
settlementAccounts.settledIdList.push(accountPayload.id)
}
settlementAccounts.changedIdList.push(accountPayload.id)
allAccounts[accountPayload.id].state = accountPayload.state
allAccounts[accountPayload.id].reason = accountPayload.reason
allAccounts[accountPayload.id].externalReference = accountPayload.externalReference
allAccounts[accountPayload.id].createdDate = currentTimestamp
end note
else
SETTLE_DAO -> SETTLE_DAO: All other state transitions are not permitted
note right of SETTLE_DAO #lightgray
participant.accounts.push({
id: accountPayload.id,
state: allAccounts[accountPayload.id].state,
reason: allAccounts[accountPayload.id].reason,
createdDate: allAccounts[accountPayload.id].createdDate,
netSettlementAmount: allAccounts[accountPayload.id].netSettlementAmount
errorInformation: {
errorCode: <integer>,
errorDescription: 'State change not allowed'
}
})
end note
end
end
end
group Bulk insert settlementParticipantCurrencyStateChange
SETTLE_DAO -> DB: Insert settlementParticipantCurrencyStateChange
activate DB
hnote over DB #lightyellow
settlementParticipantCurrencyStateChange
end hnote
SETTLE_DAO <-- DB: Return **settlementParticipantCurrencyStateChangeIdList**
deactivate DB
SETTLE_DAO -> SETTLE_DAO: Merge settlementParticipantCurrencyStateChangeIdList\nto **settlementParticipantCurrencyIdList** in order to\nissue the following update in one knex command
SETTLE_DAO -> DB: Update pointers to current state change ids
activate DB
hnote over DB #lightyellow
UPDATE **settlementParticipantCurrency**
SET currentStateChangeId =
{settlementParticipantCurrencyStateChangeIdList},
<color 00F>settlementTransferId =</color>
<color 00F>settlementParticipantCurrencyStateChange.settlementTransferId</color>
<color 00F>-- only for PENDING_SETTLEMENT to PS_TRANSFERS_RECORDED</color>
WHERE settlementParticipantCurrencyId =
{settlementParticipantCurrencyStateChange
.settlementParticipantCurrencyIdList}
end hnote
deactivate DB
end
opt autoPositionReset == true
alt settlementData.state == 'PENDING_SETTLEMENT'
|||
ref over SETTLE_DAO, DB: Settlement Transfer Prepare\n\n**Inputs**: settlementId, transactionTimestamp, enums, trx\n
|||
else settlementData.state == 'PS_TRANSFERS_RECORDED'
|||
ref over SETTLE_DAO, DB: Settlement Transfer Reserve\n\n**Inputs**: settlementId, transactionTimestamp, enums, trx\n
|||
else settlementData.state == 'PS_TRANSFERS_RESERVED'
|||
ref over SETTLE_DAO, DB: Settlement Transfer Commit\n\n**Inputs**: settlementId, transactionTimestamp, enums, trx\n
|||
end
end
group Update aggregations, contents & windows
opt settlementParticipantCurrencySettledIdList.length > 0
SETTLE_DAO -> DB: Change settlementWindowState where applicable
activate DB
deactivate DB
hnote over DB #lightyellow
settlementContentAggregation
transferParticipantStateChange
transferParticipant
settlementWindowContentStateChange
settlementWindowContent
settlementWindowStateChange
settlementWindow
end hnote
end
SETTLE_DAO -> DB: Retrieve all affected content (incl. when settled)
activate DB
hnote over DB #lightyellow
settlementContentAggregation
settlementWindowContent
settlementWindowContentStateChange
ledgerAccountType
settlementWindow
settlementWindowStateChange
end hnote
SETTLE_DAO <-- DB: Return **affectedWindowsReport**
deactivate DB
SETTLE_DAO -> SETTLE_DAO: Use previous result to produce settlementWindowsData (**swd**) array
end
group Prepare and insert settlementStateChange
note right of SETTLE_DAO #lightgray
let settlementStateChanged = true
end note
alt settlementData.state == 'PENDING_SETTLEMENT'\n&& settlementAccounts.pendingSettlementCount == 0
note right of SETTLE_DAO #lightgray
settlementData.state = 'PS_TRANSFERS_RECORDED'
settlementData.reason = 'All settlement accounts are PS_TRANSFERS_RECORDED'
end note
else settlementData.state == 'PS_TRANSFERS_RECORDED'\n&& settlementAccounts.psTransfersRecordedCount == 0
note right of SETTLE_DAO #lightgray
settlementData.state = 'PS_TRANSFERS_RESERVED'
settlementData.reason = 'All settlement accounts are PS_TRANSFERS_RESERVED'
end note
else settlementData.state == 'PS_TRANSFERS_RESERVED'\n&& settlementAccounts.psTransfersReservedCount == 0
note right of SETTLE_DAO #lightgray
settlementData.state = 'PS_TRANSFERS_COMMITTED'
settlementData.reason = 'All settlement accounts are PS_TRANSFERS_COMMITTED'
end note
else settlementData.state == 'PS_TRANSFERS_COMMITTED'\n&& settlementAccounts.psTransfersCommittedCount > 0\n&& settlementAccounts.settledCount > 0
note right of SETTLE_DAO #lightgray
settlementData.state = 'SETTLING'
settlementData.reason = 'Some settlement accounts are SETTLED'
end note
else (settlementData.state == 'PS_TRANSFERS_COMMITTED' || settlementData.state == 'SETTLING')\n&& settlementAccounts.psTransfersCommittedCount == 0
note right of SETTLE_DAO #lightgray
settlementData.state = 'SETTLED'
settlementData.reason = 'All settlement accounts are SETTLED'
end note
else
note right of SETTLE_DAO #lightgray
settlementStateChanged = false
end note
end
opt settlementStateChanged == true
note right of SETTLE_DAO #lightgray
settlementData.createdDate = currentTimestamp
settlementStateChange.push(settlementData)
end note
SETTLE_DAO -> DB: Insert settlementStateChange
activate DB
hnote over DB #lightyellow
settlementStateChange
end hnote
SETTLE_DAO <-- DB: Return **settlementStateChangeId**
deactivate DB
SETTLE_DAO -> DB: Update pointer to current state change id
activate DB
hnote over DB #lightyellow
UPDATE **settlement**.currentStateChangeId
end hnote
deactivate DB
end
end
end
SSAPI <-- SETTLE_DAO: Return transaction result
deactivate SETTLE_DAO
note left of SSAPI #yellow
{
"id": {id},
"state": settlementData.state,
"createdDate": settlementData.createdDate,
"settlementWindows": [
{
"id": swd[m].id,
"state": swd[m].state,
"reason": swd[m].reason,
"createdDate": swd[m].createdDate,
"changedDate": swd[m].changedDate,
"content": [
{
"id": swd[m].content[n].settlementWindowContentId,
"state": swd[m].content[n].settlementWindowStateId,
"ledgerAccountType": swd[m].content[n].ledgerAccountType,
"currencyId": swd[m].content[n].currencyId,
"createdDate": swd[m].content[n].createdDate,
"changedDate": swd[m].content[n].changedDate
}
]
}
],
"participants": [
{
"id": <integer>,
"accounts": [
{
"id": <integer>,
"state": "<string>,
"reason": <string>,
"externalReference": <string>,
"createdDate": <date>,
"netSettlementAmount": {
"amount": <decimal>,
"currency": <enum>
}
},
{
"id": <integer>,
"state": <string>,
"reason": <string>,
"createdDate": <date>,
"netSettlementAmount": {
"amount": <decimal>,
"currency": <enum>
},
"errorInformation": {
"errorCode": <integer>,
"errorDescription": <string>
}
}
]
}
]
}
end note
SSAPI --> OPERATOR: Return response
deactivate SSAPI
deactivate OPERATOR
end
@enduml
| false | true | true | false | usecase |
2a6672d5e3d46025be176d7eeb09aed775d662c2 | 9ab481f8ead62e87e5a498c1b6c701a916507c1c | /modules/core_connector_rest/images/PM4ML_transfer_flow_payer_multistage_happy_path.plantuml | d54bc85951a0fb3a487d6b9036e36367e5e993f4 | [
"Apache-2.0"
] | permissive | pm4ml/documents | d8fee48a60e2981631b67af7b406ca27cdea4041 | dd6cf5110aa6eb53fea82787d48f3733f7f41db2 | refs/heads/master | 2023-08-20T06:56:30.417306 | 2021-10-21T12:24:15 | 2021-10-21T12:24:15 | 367,070,860 | 0 | 1 | Apache-2.0 | 2021-10-04T16:19:27 | 2021-05-13T14:16:09 | CSS | UTF-8 | PlantUML | false | false | 1,835 | plantuml | @startuml
autonumber
skinparam activityFontSize 4
skinparam activityDiamondFontSize 30
skinparam activityArrowFontSize 24
skinparam defaultFontSize 24
skinparam noteFontSize 24
skinparam monochrome true
participant "DFSP Core Backend" as backend
box Payment Manager
participant "Core Connector" as cc
participant "Mojaloop Connector" as sob
end box
participant "Mojaloop Switch" as sw
== send money ==
backend -> cc: POST /sendmoney (sync)
cc -> sob: POST /transfers (sync)
sob -> sw: GET /parties/{type}/{id}
sw -> sob: PUT /parties/{type}/{id}
sob -> cc: Response to POST /transfers \n (contains party info + transferId) \n HTTP 200 result (sync)
cc -> backend: Response to POST /sendmoney \n (contains party info + transferId) \n HTTP 200 result (sync)
backend -> cc: PUT /sendmoney/{transferId} (sync) \n ("acceptParty": true)
cc -> sob: PUT /transfers/{transferId} (sync) \n ("acceptParty": true)
sob -> sw: POST /quotes
sw -> sob: PUT /quotes/{id}
sob -> sob: Check quote rules
sob -> cc: Response to PUT /transfers/{transferId} \n (contains quote) \n HTTP 200 result (sync)
cc -> backend: Response PUT /sendmoney/{transferId} \n (contains quote) \n HTTP 200 result (sync)
backend -> cc: PUT /sendmoney/{transferId} (sync) \n ("acceptQuote": true)
cc -> sob: PUT /transfers/{transferId} (sync) \n ("acceptQuote": true)
sob -> sw: POST /transfers
sw -> sw: Perform (NDC) liquidity check
sw -> sw: Reserve funds
sw -> sw: Perform validation
sw -> sw: Commit funds
sw -> sob: PUT /transfers/{id} \n transferState=COMMITTED
sob -> cc: Response to PUT /transfers/{transferId} \n Transfer successful \n HTTP 200 result (sync)
cc -> backend: Response PUT /sendmoney/{transferId} \n Transfer successful \n HTTP 200 result (sync)
@enduml | false | true | false | false | sequence |
4609de07234a0a3b4c715bb6849422186192e2a9 | d2c96f969cd4a57d2fef25280205e11be26a64b4 | /de.gematik.ti.utils/src/main/java/de/gematik/ti/utils/codec/codec.plantuml | 756225c93f5030f881dbd3b1e308663cf4da6d51 | [
"Apache-2.0"
] | permissive | gematik/ref-Ti-Utils | cfe9a03769e801529bf652528828083f0cc767b1 | be995beba79613c5242be9c5388952c7816782e5 | refs/heads/master | 2022-01-15T08:47:41.366276 | 2022-01-07T07:23:43 | 2022-01-07T07:23:43 | 232,986,325 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 523 | plantuml | @startuml
title __CODEC's Class Diagram__\n
namespace de.gematik.ti.utils.codec {
class de.gematik.ti.utils.codec.Hex {
{static} - HEX_RADIX : int
{static} + decode()
{static} + encodeHexString()
{static} + encodeHexString()
# Hex()
{static} # toDigit()
}
}
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
| false | true | false | false | class |
4515c07fc346c442927874db5152cce830305192 | 1603b98e1a1b5577a2419a210dd690e7aa313ae2 | /state_machine_demo/saga-akkafsm/plantuml/6.saga-sequence-booking-exception-scenario.puml | 749ab9496abb108cfeaf9bc3a37ca6dbdb17868d | [] | no_license | haigangyuan/playground | 73cb0c8edd8b56cf731847040e7265238484418f | 7e36a2e023afe82534378f052f43209d058a0acb | refs/heads/master | 2022-02-13T14:12:02.649045 | 2019-08-05T07:57:57 | 2019-08-05T07:57:57 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,652 | puml | @startuml
autonumber
skinparam sequence {
ParticipantPadding 20
ParticipantFontSize 12
ParticipantBorderColor #454545
ParticipantBackgroundColor White
LifeLineBorderColor #454545
ArrowColor #454545
}
participant USER order 1
participant BOOKING order 2
participant CAR order 3
participant HOTEL order 4
participant RPC order 5
participant Saga1_FSM order 6
participant Tx1_FSM order 7
participant Tx2_FSM order 8
box ALPHA #LightBlue
participant RPC
participant Saga1_FSM
participant Tx1_FSM
participant Tx2_FSM
end box
USER -> BOOKING: request
activate BOOKING
== Saga[1] Transaction Begin ==
BOOKING -> RPC : SagaStartedEvent
activate BOOKING #00CC33
activate RPC
create Saga1_FSM
RPC -> Saga1_FSM: create
note over of Saga1_FSM: IDEL
Saga1_FSM --> RPC
RPC --> BOOKING
deactivate BOOKING
deactivate RPC
BOOKING -> BOOKING
== Tx[1] Transaction ==
BOOKING -> CAR
activate CAR
CAR -> RPC : TxStartedEvent
activate CAR #00CC33
activate RPC
RPC -\\ Saga1_FSM: TxStartedEvent
activate Saga1_FSM
create Tx1_FSM
Saga1_FSM -> Tx1_FSM: create
note over of Tx1_FSM: IDEL
Tx1_FSM --> Saga1_FSM
note over of Saga1_FSM : IDEL + TxStartedEvent = PARTIALLY_ACTIVE
Saga1_FSM --> RPC
deactivate Saga1_FSM
RPC --> CAR
deactivate CAR
deactivate RPC
CAR -> CAR: do something
CAR -> RPC : TxEndedEvent
activate CAR #00CC33
activate RPC
RPC -> Saga1_FSM
activate Saga1_FSM
Saga1_FSM -> Tx1_FSM
activate Tx1_FSM
note over of Tx1_FSM: IDEL + TxEndedEvent = COMMITTED
Tx1_FSM --> Saga1_FSM
deactivate Tx1_FSM
note over of Saga1_FSM : PARTIALLY_ACTIVE + TxEndedEvent = PARTIALLY_COMMITTED
Saga1_FSM --> RPC
deactivate Saga1_FSM
RPC --> CAR
deactivate CAR
deactivate RPC
CAR --> BOOKING
deactivate CAR
BOOKING -> BOOKING
== Tx[N] Transaction ==
BOOKING -> HOTEL
activate HOTEL
HOTEL -> RPC : TxStartedEvent
activate HOTEL #00CC33
activate RPC
RPC -> Saga1_FSM
activate Saga1_FSM
create Tx2_FSM
Saga1_FSM -> Tx2_FSM: create
note over of Tx2_FSM: IDEL
Tx2_FSM --> Saga1_FSM
note over of Saga1_FSM : PARTIALLY_COMMITTED + TxStartedEvent = PARTIALLY_ACTIVE
Saga1_FSM --> RPC
deactivate Saga1_FSM
RPC --> HOTEL
deactivate HOTEL
deactivate RPC
HOTEL -> HOTEL: do something
HOTEL -> RPC : TxAbortedEvent
activate HOTEL #00CC33
activate RPC
RPC -> Saga1_FSM
activate Saga1_FSM
Saga1_FSM -> Tx2_FSM
activate Tx2_FSM
note over of Tx2_FSM: IDEL + TxEndedEvent = COMMITTED
Tx2_FSM --> Saga1_FSM
deactivate Tx2_FSM
note over of Saga1_FSM : PARTIALLY_ACTIVE + TxEndedEvent = PARTIALLY_COMMITTED
Saga1_FSM --> RPC
deactivate Saga1_FSM
RPC --> HOTEL
deactivate RPC
deactivate HOTEL
HOTEL --> BOOKING
deactivate HOTEL
BOOKING x-[#C70039]> BOOKING : throw booking exception
== Saga[1] Transaction End ==
BOOKING -> RPC : SagaAbortedEvent
activate BOOKING #00CC33
activate RPC
RPC -> Saga1_FSM: SagaAbortedEvent
activate Saga1_FSM
RPC --> BOOKING
deactivate BOOKING
deactivate RPC
loop Tx...FSM
alt state is COMMITTED
Saga1_FSM -> Tx1_FSM: SagaAbortedEvent
activate Tx1_FSM
Tx1_FSM -> CAR
activate CAR #00CC33
CAR -> CAR: cancel something
activate CAR
deactivate CAR
note over Tx1_FSM: COMMITTED + TxComponsitedEvent = COMPENSATED
CAR --> Tx1_FSM
destroy Tx1_FSM
deactivate Tx1_FSM
deactivate CAR
Saga1_FSM -> Tx2_FSM: SagaAbortedEvent
activate Tx2_FSM
Tx2_FSM -> HOTEL
activate HOTEL #00CC33
HOTEL -> HOTEL: cancel something
activate HOTEL
deactivate HOTEL
note over Tx2_FSM: COMMITTED + TxComponsitedEvent = COMPENSATED
HOTEL --> Tx2_FSM
destroy Tx2_FSM
deactivate Tx2_FSM
deactivate HOTEL
end
end
Saga1_FSM -> Saga1_FSM
note over Saga1_FSM :PARTIALLY_COMMITTED + SagaAbortedEvent = COMPENSATED
destroy Saga1_FSM
autonumber 42
BOOKING --[#C70039]> USER
@enduml | false | true | false | false | sequence |
760e9e4dcc9f46a40e7466d92022c1034f22ca99 | 29f34bb683f2be08ce9f586621ed632680d5b003 | /doc/Bilag/02 Udvælgelse af Komponenter(SW_og_HW)/01 Info om Valgte Komponenter/W2 - Sonos/sonos_cd.iuml | d3240f7884690946cf06a5e9093cd68344a36bdf | [] | no_license | VintherWolf/miotywaffles | 32c826c2f73ab533b2762777f2c1fb9522664873 | 42e9d6a1b02d54d59d1aad07ac6211736290b6fb | refs/heads/master | 2023-01-19T19:12:57.407624 | 2020-11-26T09:10:31 | 2020-11-26T09:10:31 | 295,735,988 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 144 | iuml | @startuml
Class Sonos {
+const String _event
+const String[] _states
-bool _publishToCloudSuccess
+SonosPlay()
}
@enduml
| false | true | false | false | class |
2a40a144699d400c184967db4a1a5750fd3a2124 | d5a82e56e8c04bda3f2fe67489f7544c33684f27 | /dzienne/gr2/monopoly/move_activity.plantuml | 688af37a288df23f5474ded7e8f8e14a8f858ce6 | [] | no_license | kpodlaski/ProjObj2019 | 099f74373ce51f61c0faae3ddae988dc92352ecb | 96b3e53e3eeb2fbb20618867966b120d51f71097 | refs/heads/master | 2020-09-09T20:05:46.434288 | 2020-01-26T10:22:35 | 2020-01-26T10:22:35 | 221,554,102 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 501 | plantuml | @startuml
(*) --> "Roll Dices"
-->"Move Player"
if "Roll again" then
--> [true] "Roll Dices"
else
--> [false] if "Place is owned" then
--> [true] "Pay the rent"
--> "Next Player"
else
--> [false] if "Do Player buy" then
-->[true] "Buy from the Bank"
-->"update account"
-->"add new Card to Player"
-->"remove Card from Bank"
-->"Next Player"
else
--> [false] "Next Player"
"Next Player" -->(*)
@enduml | false | true | false | false | activity |
b97fec71b48929411216debc57a5259cf5e7a264 | 031dacfb2b2dfc622a6d90f82cb6b4da4b540373 | /diagramas/Diagrama de Estados/DiagramaPais.puml | d7ab51320c3f9e33f2022047e31558ef6401a9b0 | [
"MIT"
] | permissive | aperezleiras/algo3_tp2 | 60ca7bff46cca25f0a07be924c61f586b8e6b82e | c5750c11411247fb9d77a3d422dc7a6dff438fca | refs/heads/master | 2023-07-05T18:30:22.312628 | 2021-08-10T22:23:25 | 2021-08-10T22:23:25 | 382,290,818 | 1 | 0 | MIT | 2021-08-09T03:05:10 | 2021-07-02T09:05:12 | Java | UTF-8 | PlantUML | false | false | 293 | puml | @startuml
[*] --> Pais: es atacado
state Pais{
state Jugador1{
}
state Ejercitos1{
}
state Ejercitos2{
}
state Jugador2{
}
}
Jugador1 --> Jugador2: es conquistado
Jugador1 --> Jugador1: gana batalla
Ejercitos1 --> Ejercitos1: gana batalla
Ejercitos1 --> Ejercitos2: es conquistado
@enduml | false | true | false | false | sequence |
c1a46294a4d03d015201971dc38c587b33fa7cdb | 76b65088904821b6b029fc97ab06a2c70c102166 | /diagrams/UML.puml | abfe1dc304f77d24c7711883a640126b2c95649b | [] | no_license | Alexr03/AdaShip | a50b105bc12cc5f0f1d6bfb7fd745920d357e641 | 966845778a4510a75b1728dc48d4f7b99f3c67a7 | refs/heads/master | 2023-03-25T16:42:43.183639 | 2021-03-24T13:19:59 | 2021-03-24T13:19:59 | 350,113,878 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 7,229 | puml | @startuml
/' Objects '/
class AiPlayer {
+AiPlayer()
+AiPlayer(bool bombMode)
+type() : PlayerType
+init() : void
+shoot() : void {query}
+takeTurn() : void
}
class Board {
+getSizeX() : int {query}
+getSizeY() : int {query}
-sizeX : int
-sizeY : int
+setSizeX(int sizeX) : void
+setSizeY(int sizeY) : void
}
class Constants {
+{static} GetInvalidMine() : Mine
+{static} GetInvalidShip() : Ship
}
class Coord {
+Coord(int row, const std::string& col)
+getRow() : int {query}
-row : int
-col : std::string
+getCol() : std::string& {query}
}
class Game {
+Game()
+getGameGrid() : Grid& {query}
+getActivePlayer() : Player* {query}
+getOpponentPlayer() : Player* {query}
+getPlayer1() : Player* {query}
+getPlayer2() : Player* {query}
-salvoMode : bool
+DisplayAllGrids() : void
+DisplayOpponentGrid() : void
+HitOpponent(int row, std::string col) : void
+NextPlayer() : void
+SetActivePlayer(Player* player) : void
+Start() : void
+{static} printIconDef() : void
+setActivePlayer(Player* activePlayer) : void
+setGameGrid(const Grid& gameGrid) : void
+setPlayer1(Player* player1) : void
+setPlayer2(Player* player2) : void
}
class Grid {
-game : Game*
+getGame() : Game* {query}
+getPlayer() : Player* {query}
-player : Player*
+shipForCoord(int row, const std::string& col) : Ship {query}
+coordHit(int row, const std::string& col) : bool {query}
-rows : int
+shipIdForCoord(int row, const std::string& col) : std::string {query}
+print() : void {query}
+setGame(Game* game) : void
+setPlayer(Player*& player) : void
}
class Logger {
+{static} Debug(std::string msg) : void
+{static} DebugDivider() : void
+{static} Divider() : void
+{static} Game(std::string msg) : void
}
class MapEntity {
+MapEntity()
+MapEntity(std::string id)
-id : std::string
+getId() : std::string& {query}
-coordinates : std::vector<Coord>
+getCoordinates() : std::vector<Coord>& {query}
+setCoordinates(const std::vector<Coord>& coordinates) : void
+setId(const std::string& id) : void
}
class Menu {
+{static} start() : void
}
class Mine {
+Mine(int id)
+getPlayerBoard() : PlayerBoard* {query}
-playerBoard : PlayerBoard*
-exploded : bool
+setPlayerBoard(PlayerBoard* playerBoard) : void
}
class PlayerBoard {
+PlayerBoard(Player* player1)
+isEntityOverlapping(const MapEntity* entity) : bool
+isHitSpot(int row, std::string col) : bool
+getHitSpots() : std::vector<Coord>& {query}
+getMines() : std::vector<Mine>& {query}
+getShips() : std::vector<Ship>& {query}
+hitSpot(int row, std::string col) : void
}
class RealPlayer {
+RealPlayer()
+RealPlayer(bool bombMode)
+type() : PlayerType
+init() : void
-shoot() : void {query}
-takeTurn() : void
}
class Settings {
+{static} getBoard() : Board
+{static} getSettingsFile() : mINI::INIStructure
+{static} getMines() : std::vector<Mine>
+{static} getShips() : std::vector<Ship>
}
class Ship {
+Ship(int id)
+getPlayerBoard() : PlayerBoard* {query}
+isDestroyed() : bool {query}
+isInvalid() : bool
+getLength() : int {query}
-name : std::string
+getName() : std::string& {query}
+setLength(int length) : void
+setName(const std::string& name) : void
+setPlayerBoard(PlayerBoard* playerBoard) : void
}
class iohelper {
+{static} getInputBetweenRange(string question, int lowerRange, int higherRange) : int
+{static} getInput(string question, const string& regex) : std::string
+{static} clearScreen() : void
+{static} setDefaultFontColor() : void
+{static} setFontColor(ConsoleColor code) : void
}
class mathshelper {
+{static} generatePickedNumber(int maxNumber) : int
}
class stringhelper {
+{static} lettersToNumber(std::string s) : int
+{static} numberToLetters(int num) : std::string
}
enum ConsoleColor {
FOREGROUND_BLACK
FOREGROUND_BLUE
FOREGROUND_CYAN
FOREGROUND_GREEN
FOREGROUND_PURPLE
FOREGROUND_RED
FOREGROUND_WHITE
FOREGROUND_YELLOW
}
enum PlayerType {
Computer
Generic
Real
}
class Player {
+Player()
-game : Game*
+getGame() : Game* {query}
+getBoard() : PlayerBoard* {query}
+type() : PlayerType
-bombsMode : bool
+isBombsMode() : bool {query}
+isSalvoMode() : bool {query}
-salvoMode : bool
+init() : void
+setBoard(PlayerBoard* board) : void
+setBombsMode(bool bombsMode) : void
+setGame(Game* game) : void
+setSalvoMode(bool salvoMode) : void
+takeTurn() : void
}
namespace mINI {
class INIFile {
+INIFile(std::string const& filename)
+~INIFile()
+generate(INIMap<INIMap<std::string>> data, bool pretty) : bool {query}
+read(INIMap<INIMap<std::string>> data) : bool {query}
+write(INIMap<INIMap<std::string>> data, bool pretty) : bool {query}
-filename : std::string
}
class INIGenerator {
+INIGenerator(std::string const& filename)
+~INIGenerator()
+operator<<(INIMap<INIMap<std::string>> data) : bool
+prettyPrint : bool
-fileWriteStream : std::ofstream
}
class INIMap <template<typename T>> {
+INIMap()
+INIMap(INIMap const& other)
+get(std::string key) : T {query}
+operator[](std::string key) : T&
+has(std::string key) : bool {query}
+remove(std::string key) : bool
+begin() : const_iterator {query}
+end() : const_iterator {query}
-setEmpty(std::string& key) : std::size_t
+size() : std::size_t {query}
-dataIndexMap : unordered_map<std::string, std::size_t>
-data : vector<T_DataItem>
+clear() : void
+set(std::string key, T obj) : void
+set(typename vector<std::pair<std::string, T>> multiArgs) : void
}
class INIReader {
+INIReader(std::string const& filename, bool keepLineData)
+~INIReader()
-readFile() : T_LineData
+getLines() : T_LineDataPtr
+operator>>(INIMap<INIMap<std::string>> data) : bool
-lineData : shared_ptr<T_LineData>
-fileReadStream : std::ifstream
}
class INIWriter {
+INIWriter(std::string const& filename)
+~INIWriter()
-getLazyOutput(shared_ptr<T_LineData> lineData, INIMap<INIMap<std::string>> data, INIMap<INIMap<std::string>> original) : T_LineData
+operator<<(INIMap<INIMap<std::string>> data) : bool
+prettyPrint : bool
-filename : std::string
}
namespace mINI::INIParser {
enum PDataType {
PDATA_COMMENT
PDATA_KEYVALUE
PDATA_NONE
PDATA_SECTION
PDATA_UNKNOWN
}
}
}
/' Inheritance relationships '/
.Board <|-- .PlayerBoard
.MapEntity <|-- .Mine
.MapEntity <|-- .Ship
.Player <|-- .AiPlayer
.Player <|-- .RealPlayer
/' Aggregation relationships '/
.Grid o-- .Game
.Grid o-- .Player
.MapEntity *-- .Coord
.Mine o-- .PlayerBoard
.Player o-- .Game
/' Dependency relationships '/
.Board <.. .Mine
.Board <.. .Player
.Board <.. .Ship
.ConsoleColor <.. .iohelper
.Coord <.. .MapEntity
.Game <.. .Grid
.Game <.. .Player
.Grid <.. .Game
mINI.INIMap <.. mINI.INIFile
mINI.INIMap <.. mINI.INIFile
mINI.INIMap <.. mINI.INIFile
mINI.INIMap <.. mINI.INIGenerator
mINI.INIMap <.. mINI.INIMap
mINI.INIMap <.. mINI.INIReader
mINI.INIMap <.. mINI.INIWriter
mINI.INIMap <.. mINI.INIWriter
mINI.INIMap <.. mINI.INIWriter
.MapEntity <.. .PlayerBoard
.Player <.. .Game
.Player <.. .Game
.Player <.. .Game
.Player <.. .Game
.Player <.. .Grid
.Player <.. .PlayerBoard
/' Nested objects '/
@enduml
| false | true | false | false | class |
0dbc7db12405d75167a3671ec7da07bee73e9060 | 3388ed31544a0ecd8037aecaa9ca9d46b4eb73ae | /Go-Game/src/Go.puml | 737029cbd12b7f7475a94fb420c5958820806eef | [] | no_license | vurten/Java-Project | e649e5ef316df1b90d8e2926581555b1a3a3f056 | 8a4d59991d548d4e59b948a3bd7f95f942744fad | refs/heads/master | 2023-04-05T03:16:27.178298 | 2021-04-16T02:49:01 | 2021-04-16T02:49:01 | 358,382,932 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,660 | puml | @startuml
enum "Alphabet" {
A
B
C
D
E
F
G
H
J
value
}
class "Board" {
boardSize : int
board : String[][]
playedStones : List<Stone>
generateBoard(List<Player>) : String
}
enum "Color" {
BLACK
WHITE
}
class "Controller"
class "East" {
free : boolean
updateLiberties(Stone, ArrayList<Player>, boolean)
}
interface "Liberties" {
updateLiberties(Stone, ArrayList<Player>, boolean)
}
class "North" {
free : boolean
updateLiberties(Stone, ArrayList<Player>, boolean)
}
class "Player" {
moveHistoryStones : List<Stone>
stoneGroup : List<StoneGroup>
addStone(Stone)
updateGroupsLiberties()
}
class "Position" {
x : int
y : int
}
class "South" {
free : boolean
updateLiberties(Stone, ArrayList<Player>, boolean)
}
class "Stone" {
color : Color
position : Position
liberties : ArrayList<Liberties>
}
class "StoneGroup" {
stoneGroup : List<Stone>
libertyList : List<Liberties>
initGroupLiberties(List<Liberties>)
isFromGroup(Stone) : boolean
updateGroupLiberties()
}
class "Move" {
}
class "West" {
free : boolean
updateLiberties(Stone, ArrayList<Player>, boolean)
}
"Board" --> "2" "Player" : use
"Liberties" <|-up- "East"
"Liberties" <|-down- "North"
"Liberties" <|-down- "South"
"Liberties" <|-up- "West"
"Liberties" "*" <--* "Stone" : use/liberties
"Player" --> "*" "Stone" : moveHistoryStones
"Player" --> "*" "StoneGroup" : stoneGroup
"Stone" o-- "Color" : color
"StoneGroup" "1" -left-* "1..*" "Stone" : stoneGroup
"Stone" *-- "Position" : position
"Alphabet" -left-> Controller
"Board" <-right- "Controller"
"Controller" --> "2" Player
"Controller" -left-> Move
@enduml | false | true | false | false | sequence |
71838f30fa9933fadb0195c1b2d893fc0eeeb42e | 0aeddc470dac2fbdc1544d641d7b927a8a64cbda | /thingml-gen/UML/BLE_PAIR/BLE_PAIR/docs/BLE_PAIR_class.plantuml | ffe5bed43bbe66589b7a2214f4682bc16d54655c | [
"Apache-2.0"
] | permissive | ffleurey/ThingML-BLEGateway | d2b77481ad7ce3d8bdc62fa66160cda9124b47ab | e486bf2ff3a58f28ada62726bb21a283b43e26cb | refs/heads/master | 2021-09-04T06:12:54.986012 | 2018-01-16T16:11:14 | 2018-01-16T16:11:14 | 108,272,066 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 19,540 | plantuml | @startuml
caption Things used in configuration BLE_PAIR
class BLEInitialiserImpl <<(T,#F94918)PSM>> {
..Properties..
-DeviceAddress : BTAddress
..Port Initialiser..
>>Start
>>Stop
<<Started
<<Stopped
<<Failure
<<DeviceInitialised
}
class ModuleMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-Start()
-Stop()
-Started()
-Stopped()
-Failure()
}
class BLEInitialiserMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-DeviceInitialised(Address : BTAddress)
}
class HCISocket <<(F,#BC74ED)Fragment>> {
..Port Socket..
>>Opened
>>Closed
<<Open
<<Close
..Port HCICommands..
<<Reset
<<SetEventMask
<<SetEventMaskAll
<<SetLocalName
<<Disconnect
<<SetLEEventMask
<<SetLEEventMaskAll
<<SetLEAdvertisementParameters
<<SetLEAdvertiseEnable
<<SetLEAdvertisingData
<<SetLEScanResponseData
<<SetLEScanParameters
<<SetLEScanEnable
<<LECreateConnection
<<LECreateConnectionCancel
<<LERand
<<LEEncrypt
<<LEStartEncryption
..Port HCIEvents..
>>ResetCompleted
>>SetEventMaskCompleted
>>SetLocalNameCompleted
>>DisconnectStatus
>>DisconnectionCompleted
>>SetLEEventMaskCompleted
>>SetLEAdvertisementParametersCompleted
>>SetLEAdvertiseEnableCompleted
>>SetLEAdvertisingDataCompleted
>>SetLEScanResponseDataCompleted
>>SetLEScanParametersCompleted
>>SetLEScanEnableCompleted
>>LEAdvertisementReport
>>LECreateConnectionStatus
>>LECreateConnectionCancelCompleted
>>LEConnectionComplete
>>LEEnhancedConnectionComplete
>>LERandCompleted
>>LEEncryptCompleted
>>EncryptionChanged
>>LEStartEncryptionStatus
}
class HCISocketMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-Open()
-Close()
-Opened(Address : BTAddress)
-Closed()
}
class HCIControllerMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-Reset()
-ResetCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-SetEventMask(Mask : HCIEventMask)
-SetEventMaskAll()
-SetEventMaskCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-SetLocalName(Name : BTLocalName)
-SetLocalNameCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-Disconnect(ConnectionHandle : UIntReason : BTDisconnectReason)
-DisconnectStatus(NumberAllowedCommandPackets : ByteStatus : Byte)
-DisconnectionCompleted(Status : ByteConnectionHandle : UIntReason : BTDisconnectReason)
-EncryptionChanged(Status : ByteConnectionHandle : UIntEnabled : Byte)
-SetLEEventMask(Mask : HCIEventMask)
-SetLEEventMaskAll()
-SetLEEventMaskCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-SetLEAdvertisementParameters(MinInterval : UIntMaxInterval : UIntType : BLEAdvertisingTypeOwnAddressType : BLEAddressTypePeerAddressType : BLEAddressTypePeerAddress : BTAddressChannel : BLEAdvertisingChannelFilterPolicy : BLEAdvertisingFilterPolicy)
-SetLEAdvertisementParametersCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-SetLEAdvertiseEnable(Enable : Byte)
-SetLEAdvertiseEnableCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-SetLEAdvertisingData(Length : ByteData : BLEAdvertiseData)
-SetLEAdvertisingDataCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-SetLEScanResponseData(Length : ByteData : BLEAdvertiseData)
-SetLEScanResponseDataCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-LEAdvertisementReport(Type : BLEAdvertisementReportTypeAddressType : BLEAddressTypeAddress : BTAddressLength : ByteData : BLEAdvertiseData)
-SetLEScanParameters(Type : BLEScanTypeInterval : UIntWindow : UIntOwnAddressType : BLEAddressTypeFilterPolicy : BLEScanFilterPolicy)
-SetLEScanParametersCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-SetLEScanEnable(Enable : ByteFilterDuplicates : Byte)
-SetLEScanEnableCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-LECreateConnection(Interval : UIntWindow : UIntFilterPolicy : BLEInitiatorFilterPolicyPeerAddressType : BLEAddressTypePeerAddress : BTAddressOwnAddressType : BLEAddressTypeConnIntervalMin : UIntConnIntervalMax : UIntConnLatency : UIntSupervisionTimeout : UIntCELengthMin : UIntCELengthMax : UInt)
-LECreateConnectionStatus(NumberAllowedCommandPackets : ByteStatus : Byte)
-LECreateConnectionCancel()
-LECreateConnectionCancelCompleted(NumberAllowedCommandPackets : ByteStatus : Byte)
-LEConnectionComplete(Status : ByteConnectionHandle : UIntRole : BLELinkRolePeerAddressType : BLEAddressTypePeerAddress : BTAddressConnInterval : UIntConnLatency : UIntSupervisionTimeout : UIntMasterClockAccuracy : Byte)
-LEEnhancedConnectionComplete(Status : ByteConnectionHandle : UIntRole : BLELinkRolePeerAddressType : BLEAddressTypePeerAddress : BTAddressLocalResolvablePrivateAddress : BTAddressPeerResolvablePrivateAddress : BTAddressConnInterval : UIntConnLatency : UIntSupervisionTimeout : UIntMasterClockAccuracy : Byte)
-LERand()
-LERandCompleted(NumberAllowedCommandPackets : ByteStatus : ByteRandom : BLERandomPart)
-LEEncrypt(Key : BLERandomNumberPlaintext : BLERandomNumber)
-LEEncryptCompleted(NumberAllowedCommandPackets : ByteStatus : ByteEncrypted : BLERandomNumber)
-LEStartEncryption(ConnectionHandle : UIntRandom : BLERandomPartEDIV : UIntLTK : BLERandomNumber)
-LEStartEncryptionStatus(NumberAllowedCommandPackets : ByteStatus : Byte)
}
class SMP <<(F,#BC74ED)Fragment>> {
..Port SMP..
>>SMPPairingRequest
>>SMPPairingResponse
>>SMPPairingConfirm
>>SMPPairingRandom
>>SMPPairingFailed
>>SMPPairingPublicKey
>>SMPPairingDHKeyCheck
>>SMPKeypressNotification
>>SMPEncryptionInformation
>>SMPMasterIdentification
>>SMPIdentityInformation
>>SMPIdentityAddressInformation
>>SMPSigningInformation
>>SMPSecurityRequest
<<SMPPairingRequest
<<SMPPairingResponse
<<SMPPairingConfirm
<<SMPPairingRandom
<<SMPPairingFailed
<<SMPPairingPublicKey
<<SMPPairingDHKeyCheck
<<SMPKeypressNotification
<<SMPEncryptionInformation
<<SMPMasterIdentification
<<SMPIdentityInformation
<<SMPIdentityAddressInformation
<<SMPSigningInformation
<<SMPSecurityRequest
}
class SMPMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-SMPPairingRequest(Handle : UIntIOCapability : SMPIOCapabilitiesOOBDataPresent : BooleanBonding : BooleanMITM : BooleanSecureConnection : BooleanKeypress : BooleanMaximumEncryptionKeySize : ByteInitiatorKeyDistribution : SMPKeyDistributionResponderKeyDistribution : SMPKeyDistribution)
-SMPPairingResponse(Handle : UIntIOCapability : SMPIOCapabilitiesOOBDataPresent : BooleanBonding : BooleanMITM : BooleanSecureConnection : BooleanKeypress : BooleanMaximumEncryptionKeySize : ByteInitiatorKeyDistribution : SMPKeyDistributionResponderKeyDistribution : SMPKeyDistribution)
-SMPPairingConfirm(Handle : UIntConfirmValue : BLERandomNumber)
-SMPPairingRandom(Handle : UIntRandomValue : BLERandomNumber)
-SMPPairingFailed(Handle : UIntReason : SMPPairingFailReason)
-SMPPairingPublicKey(Handle : UIntKeyX : SMPPublicKeyKeyY : SMPPublicKey)
-SMPPairingDHKeyCheck(Handle : UIntDHKeyCheck : BLERandomNumber)
-SMPKeypressNotification(Handle : UIntType : SMPKeypressNotification)
-SMPEncryptionInformation(Handle : UIntLongTermKey : BLERandomNumber)
-SMPMasterIdentification(Handle : UIntEDIV : UIntRand : BLERandomPart)
-SMPIdentityInformation(Handle : UIntIdentityResolvingKey : BLERandomNumber)
-SMPIdentityAddressInformation(Handle : UIntAddressType : BLEAddressTypeAddress : BTAddress)
-SMPSigningInformation(Handle : UIntSignatureKey : BLERandomNumber)
-SMPSecurityRequest(Handle : UIntBonding : BooleanMITM : BooleanSecureConnection : BooleanKeypress : Boolean)
}
class ATT <<(F,#BC74ED)Fragment>> {
..Port ATT..
>>ATTFindInformationRequest
>>ATTFindInformationResponse
>>ATTFindInformationError
>>ATTReadByTypeRequest
>>ATTReadByTypeResponse
>>ATTReadByTypeError
>>ATTReadRequest
>>ATTReadResponse
>>ATTReadError
>>ATTReadByGroupTypeRequest
>>ATTReadByGroupTypeResponse
>>ATTReadByGroupTypeError
>>ATTWriteRequest
>>ATTWriteResponse
>>ATTWriteError
>>ATTWriteCommand
>>ATTHandleValueNotification
>>ATTHandleValueIndication
>>ATTHandleValueConfirmation
<<ATTFindInformationRequest
<<ATTFindInformationResponse
<<ATTFindInformationError
<<ATTReadByTypeRequest
<<ATTReadByTypeResponse
<<ATTReadByTypeError
<<ATTReadRequest
<<ATTReadResponse
<<ATTReadError
<<ATTReadByGroupTypeRequest
<<ATTReadByGroupTypeResponse
<<ATTReadByGroupTypeError
<<ATTWriteRequest
<<ATTWriteResponse
<<ATTWriteError
<<ATTWriteCommand
<<ATTHandleValueNotification
<<ATTHandleValueIndication
<<ATTHandleValueConfirmation
}
class ATTMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-ATTFindInformationRequest(ConnectionHandle : UIntStartingHandle : UIntEndingHandle : UInt)
-ATTFindInformationResponse(ConnectionHandle : UIntFormat : ByteInformationData : GATTData)
-ATTFindInformationError(ConnectionHandle : UIntAttributeHandle : UIntError : ATTErrorCode)
-ATTReadByTypeRequest(ConnectionHandle : UIntStartingHandle : UIntEndingHandle : UIntAttributeType : UUID)
-ATTReadByTypeResponse(ConnectionHandle : UIntLength : ByteAttributeDataList : GATTData)
-ATTReadByTypeError(ConnectionHandle : UIntAttributeHandle : UIntError : ATTErrorCode)
-ATTReadRequest(ConnectionHandle : UIntAttributeHandle : UInt)
-ATTReadResponse(ConnectionHandle : UIntAttributeValue : GATTData)
-ATTReadError(ConnectionHandle : UIntAttributeHandle : UIntError : ATTErrorCode)
-ATTReadByGroupTypeRequest(ConnectionHandle : UIntStartingHandle : UIntEndingHandle : UIntAttributeGroupType : UUID)
-ATTReadByGroupTypeResponse(ConnectionHandle : UIntLength : ByteAttributeDataList : GATTData)
-ATTReadByGroupTypeError(ConnectionHandle : UIntAttributeHandle : UIntError : ATTErrorCode)
-ATTWriteRequest(ConnectionHandle : UIntAttributeHandle : UIntAttributeValue : GATTData)
-ATTWriteResponse(ConnectionHandle : UInt)
-ATTWriteError(ConnectionHandle : UIntAttributeHandle : UIntError : ATTErrorCode)
-ATTWriteCommand(ConnectionHandle : UIntAttributeHandle : UIntAttributeValue : GATTData)
-ATTHandleValueNotification(ConnectionHandle : UIntAttributeHandle : UIntAttributeValue : GATTData)
-ATTHandleValueIndication(ConnectionHandle : UIntAttributeHandle : UIntAttributeValue : GATTData)
-ATTHandleValueConfirmation(ConnectionHandle : UInt)
}
class UUIDFunctions <<(F,#BC74ED)Fragment>> {
..Functions..
-ReadUUID(Length : UIntData : DataPointer) : UUID
-MakeUUID(Text : String) : UUID
-PrintUUID(ID : UUID) : void
}
class BLEEncryptionImpl <<(T,#F94918)PSM>> {
..Properties..
-GeneratedRandomNumber : BLERandomNumber
-Rand : BLERandomNumber
-IAT : BLEAddressType
-IA : BTAddress
-RAT : BLEAddressType
-RA : BTAddress
-Srand : BLERandomNumber
-Mrand : BLERandomNumber
..Port Encrypter..
>>Start
>>GenerateRandomNumber
>>GenerateConfirm
>>CheckConfirm
>>GenerateSTK
<<Started
<<Failure
<<GenerateRandomNumberCompleted
<<GenerateConfirmCompleted
<<CheckConfirmCompleted
<<GenerateSTKCompleted
..Functions..
-GenerateP1() : BLERandomNumber
-GenerateP2() : BLERandomNumber
}
class BLEEncryptionMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-GenerateRandomNumber()
-GenerateRandomNumberCompleted(Random : BLERandomNumber)
-GenerateConfirm(Rand : BLERandomNumberIAT : BLEAddressTypeIA : BTAddressRAT : BLEAddressTypeRA : BTAddress)
-GenerateConfirmCompleted(Confirm : BLERandomNumber)
-CheckConfirm(Received : BLERandomNumberCalculated : BLERandomNumber)
-CheckConfirmCompleted(Correct : Boolean)
-GenerateSTK(Srand : BLERandomNumberMrand : BLERandomNumber)
-GenerateSTKCompleted(STK : BLERandomNumber)
}
class Main <<(T,#F94918)PSM>> {
..Properties..
-ConnectedAddressType : BLEAddressType
-ConnectedAddress : BTAddress
-ConnectedHandle : UInt
-DeviceAddressType : BLEAddressType = BLEAddressType:PUBLIC
-DeviceAddress : BTAddress
-Mrand : BLERandomNumber
-Srand : BLERandomNumber
-Mconfirm : BLERandomNumber
-Sconfirm : BLERandomNumber
-PeerLTK : BLERandomNumber
-PeerEDIV : UInt
-PeerRandom : BLERandomPart
-PeerIRK : BLERandomNumber
-PeerIdentityAddressType : BLEAddressType
-PeerIdentityAddress : BTAddress
-OwnLTK : BLERandomNumber
-OwnEDIV : UInt
-OwnRandom : BLERandomPart
-OwnIRK : BLERandomNumber
-OwnIdentityAddressType : BLEAddressType
-OwnIdentityAddress : BTAddress
-HavePeerLTK : Boolean = false
-HavePeerIdentification : Boolean = false
-HavePeerIdentity : Boolean = false
-HavePeerIdentityAddress : Boolean = false
-HasPairedSuccessfully : Boolean = false
..Port Signals..
>>Interrupt
<<Quit
..Functions..
-printBytes() : void
}
class BLEInitialiser <<(F,#BC74ED)Fragment>> {
..Port Initialiser..
>>Started
>>Stopped
>>Failure
>>DeviceInitialised
<<Start
<<Stop
}
class BLEConnecter <<(F,#BC74ED)Fragment>> {
..Port Connecter..
>>Connected
>>Stopped
>>Failure
>>Encrypted
<<Connect
<<ConnectTo
<<ConnectToU
<<Stop
<<Encrypt
}
class BLEConnecterMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-Connect()
-ConnectTo(AddressType : BLEAddressTypeAddress : BTAddressLongTermKey : BLERandomNumberEncryptedDiversifier : UIntRandomNumber : BLERandomPart)
-ConnectToU(AddressType : BLEAddressTypeAddress : BTAddress)
-Connected(Handle : UIntAddressType : BLEAddressTypeAddress : BTAddress)
-Encrypt()
-Encrypted()
}
class ExitHandlerMsgs <<(F,#BC74ED)Fragment>> {
..Messages..
-Interrupt()
-Quit(code : ExitCode)
}
class BLEEncryption <<(F,#BC74ED)Fragment>> {
..Port Encrypter..
>>Started
>>Failure
>>GenerateRandomNumberCompleted
>>GenerateConfirmCompleted
>>CheckConfirmCompleted
>>GenerateSTKCompleted
<<Start
<<GenerateRandomNumber
<<GenerateConfirm
<<CheckConfirm
<<GenerateSTK
}
class ExitHandler <<(T,#F94918)PSM>> {
..Port Signals..
>>Quit
<<Interrupt
..Functions..
-catch_sigint() : void
}
note left of ExitHandler : <b>@c_header</b> <color:royalBlue>"#include <stdlib.h>"</color>\n<b>@c_header</b> <color:royalBlue>"#include <signal.h>"</color>\n<b>@c_global</b> <color:royalBlue>"struct ExitHandler_Instance *_handler_instance;"</color>\n
class HCISocketProxyImpl <<(T,#F94918)PSM>> {
..Properties..
-DevHandle : Int = -1
..Functions..
-OpenSocket() : void
-CloseSocket() : void
-SocketIsOpen() : Byte
-GetBTAddress() : BTAddress
-SendCommand(Group : UIntCommand : UIntLength : ByteData : DataPointer) : void
-SendACLData(Handle : UIntCID : UIntLength : UIntData : DataPointer) : void
-StartSocketReader() : void
}
note left of HCISocketProxyImpl : <b>@c_header</b> <color:royalBlue>"#include <errno.h>"</color>\n<b>@c_header</b> <color:royalBlue>"#include <stdio.h>"</color>\n<b>@c_header</b> <color:royalBlue>"#include <sys/ioctl.h>"</color>\n<b>@c_header</b> <color:royalBlue>"#include <bluetooth/bluetooth.h>"</color>\n<b>@c_header</b> <color:royalBlue>"#include <bluetooth/hci.h>"</color>\n<b>@c_header</b> <color:royalBlue>"#include <bluetooth/hci_lib.h>"</color>\n
class HCISocketProxy <<(F,#BC74ED)Fragment>> {
..Properties..
-Device : String
..Port Socket..
>>Open
>>Close
<<Opened
<<Closed
..Port Commands..
>>Reset
>>SetEventMask
>>SetEventMaskAll
>>SetLocalName
>>Disconnect
>>SetLEEventMask
>>SetLEEventMaskAll
>>SetLEAdvertisementParameters
>>SetLEAdvertiseEnable
>>SetLEAdvertisingData
>>SetLEScanResponseData
>>SetLEScanParameters
>>SetLEScanEnable
>>LECreateConnection
>>LECreateConnectionCancel
>>LERand
>>LEEncrypt
>>LEStartEncryption
..Port Events..
<<ResetCompleted
<<SetEventMaskCompleted
<<SetLocalNameCompleted
<<DisconnectStatus
<<DisconnectionCompleted
<<SetLEEventMaskCompleted
<<SetLEAdvertisementParametersCompleted
<<SetLEAdvertiseEnableCompleted
<<SetLEAdvertisingDataCompleted
<<SetLEScanResponseDataCompleted
<<SetLEScanParametersCompleted
<<SetLEScanEnableCompleted
<<LEAdvertisementReport
<<LECreateConnectionStatus
<<LECreateConnectionCancelCompleted
<<LEConnectionComplete
<<LEEnhancedConnectionComplete
<<LERandCompleted
<<LEEncryptCompleted
<<EncryptionChanged
<<LEStartEncryptionStatus
..Functions..
-OpenSocket() : void
-CloseSocket() : void
-SocketIsOpen() : Byte
-GetBTAddress() : BTAddress
-SendCommand(Group : UIntCommand : UIntLength : ByteData : DataPointer) : void
-SendACLData(Handle : UIntCID : UIntLength : UIntData : DataPointer) : void
-DecodeEvent(Event : ByteLength : ByteData : DataPointer) : void
-OnCommandCompletedEvent(NumberAllowedCommandPackets : ByteGroup : UIntCommand : UIntData : DataPointer) : void
-OnCommandStatusEvent(NumberAllowedCommandPackets : ByteGroup : UIntCommand : UIntStatus : Byte) : void
-OnLEMetaEvent(SubEventCode : ByteLength : ByteData : DataPointer) : void
-printBuffer(Data : DataPointerLength : UInt) : void
-HandleACLData(Handle : UIntPacketBoundary : ACLPacketBoundaryFlagBroadcast : ACLBroadcastFlagLength : UIntData : DataPointer) : void
-OnL2CAPData(Handle : UIntLength : UIntData : DataPointer) : void
-OnSMPData(Handle : UIntLength : UIntData : DataPointer) : void
-OnATTData(Handle : UIntLength : UIntData : DataPointer) : void
}
class SMPProxy <<(F,#BC74ED)Fragment>> {
..Port SMP..
>>SMPPairingRequest
>>SMPPairingResponse
>>SMPPairingConfirm
>>SMPPairingRandom
>>SMPPairingFailed
>>SMPPairingPublicKey
>>SMPPairingDHKeyCheck
>>SMPKeypressNotification
>>SMPEncryptionInformation
>>SMPMasterIdentification
>>SMPIdentityInformation
>>SMPIdentityAddressInformation
>>SMPSigningInformation
>>SMPSecurityRequest
<<SMPPairingRequest
<<SMPPairingResponse
<<SMPPairingConfirm
<<SMPPairingRandom
<<SMPPairingFailed
<<SMPPairingPublicKey
<<SMPPairingDHKeyCheck
<<SMPKeypressNotification
<<SMPEncryptionInformation
<<SMPMasterIdentification
<<SMPIdentityInformation
<<SMPIdentityAddressInformation
<<SMPSigningInformation
<<SMPSecurityRequest
}
class ATTProxy <<(F,#BC74ED)Fragment>> {
..Port ATT..
>>ATTFindInformationRequest
>>ATTFindInformationResponse
>>ATTFindInformationError
>>ATTReadByTypeRequest
>>ATTReadByTypeResponse
>>ATTReadByTypeError
>>ATTReadRequest
>>ATTReadResponse
>>ATTReadError
>>ATTReadByGroupTypeRequest
>>ATTReadByGroupTypeResponse
>>ATTReadByGroupTypeError
>>ATTWriteRequest
>>ATTWriteResponse
>>ATTWriteError
>>ATTWriteCommand
>>ATTHandleValueNotification
>>ATTHandleValueIndication
>>ATTHandleValueConfirmation
<<ATTFindInformationRequest
<<ATTFindInformationResponse
<<ATTFindInformationError
<<ATTReadByTypeRequest
<<ATTReadByTypeResponse
<<ATTReadByTypeError
<<ATTReadRequest
<<ATTReadResponse
<<ATTReadError
<<ATTReadByGroupTypeRequest
<<ATTReadByGroupTypeResponse
<<ATTReadByGroupTypeError
<<ATTWriteRequest
<<ATTWriteResponse
<<ATTWriteError
<<ATTWriteCommand
<<ATTHandleValueNotification
<<ATTHandleValueIndication
<<ATTHandleValueConfirmation
}
class BLEConnecterImpl <<(T,#F94918)PSM>> {
..Properties..
-ConnectAddress : String
-ConnectAddressBT : BTAddress
-ConnectAddressType : BLEAddressType
-LongTermKey : BLERandomNumber
-EncryptedDiversifier : UInt
-RandomNumber : BLERandomPart
-ConnectedHandle : Int
-ConnectedAddressType : BLEAddressType
-ConnectedAddress : BTAddress
..Port Connecter..
>>Connect
>>ConnectTo
>>ConnectToU
>>Stop
>>Encrypt
<<Connected
<<Stopped
<<Failure
<<Encrypted
}
ModuleMsgs <|-- BLEInitialiserImpl
BLEInitialiserMsgs <|-- BLEInitialiserImpl
HCISocket <|-- BLEInitialiserImpl
HCISocketMsgs <|-- HCISocket
HCIControllerMsgs <|-- HCISocket
SMP <|-- HCISocket
SMPMsgs <|-- SMP
ATT <|-- HCISocket
ATTMsgs <|-- ATT
UUIDFunctions <|-- ATT
ModuleMsgs <|-- BLEEncryptionImpl
BLEEncryptionMsgs <|-- BLEEncryptionImpl
HCISocket <|-- BLEEncryptionImpl
BLEInitialiser <|-- Main
ModuleMsgs <|-- BLEInitialiser
BLEInitialiserMsgs <|-- BLEInitialiser
BLEConnecter <|-- Main
ModuleMsgs <|-- BLEConnecter
BLEConnecterMsgs <|-- BLEConnecter
ExitHandlerMsgs <|-- Main
BLEEncryption <|-- Main
ModuleMsgs <|-- BLEEncryption
BLEEncryptionMsgs <|-- BLEEncryption
HCISocket <|-- Main
ExitHandlerMsgs <|-- ExitHandler
HCISocketProxy <|-- HCISocketProxyImpl
HCISocketMsgs <|-- HCISocketProxy
HCIControllerMsgs <|-- HCISocketProxy
SMPProxy <|-- HCISocketProxy
SMPMsgs <|-- SMPProxy
ATTProxy <|-- HCISocketProxy
ATTMsgs <|-- ATTProxy
UUIDFunctions <|-- ATTProxy
ModuleMsgs <|-- BLEConnecterImpl
BLEConnecterMsgs <|-- BLEConnecterImpl
HCISocket <|-- BLEConnecterImpl
@enduml | false | true | false | false | class |
f6d20e6eeb61f40f7ce00fbf1507fc3b35d901b1 | fd9b86b98f44b1bc425000d38e26f2aeebc8b3af | /stratum/docs/plantuml/bcm_class.puml | c7516f9a0ade032746bf66d5d1930008898289b5 | [
"Apache-2.0"
] | permissive | stratum/stratum | ebb4b6cc9af5769d4f167567f80bace2aa573c90 | 263affc8822f04ff53f34936af8d05a28665f15a | refs/heads/main | 2023-07-26T13:59:19.985354 | 2023-07-11T21:51:39 | 2023-07-11T21:51:39 | 207,760,856 | 349 | 129 | Apache-2.0 | 2023-07-11T21:51:41 | 2019-09-11T08:22:02 | C++ | UTF-8 | PlantUML | false | false | 4,484 | puml | @startuml
SwitchInterface <|-- BcmSwitch
BcmSwitch --> OnlpPhal: phal_interface
BcmSwitch --> BcmChassisManager: bcm_chassis_manager
BcmChassisManager --> OnlpPhal: phal_interface
PhalInterface <|-- OnlpPhal
OnlpPhal --> AttributeDatabase: database
OnlpPhal --> OnlpInterface: onlp_interface
OnlpInterface <|-- OnlpWrapper
class SwitchInterface {
Status PushChasisConfig(ChassisConfig&)
Status VerifyChassisConfig(ChassisConfig&)
Status PushForwardingPipelineConfig(node_id, ForwardingPipelineConfig&)
Status SaveForwardingPipelineConfig(node_id, ForwardingPipelineConfig&)
Status CommitForaardingPipelineConfig(node_id)
Status Shutdown()
Status Freeze()
Status Unfreeze()
Status WriteForwardingEntries(WriteRequest&, Status)
Status ReadForwardingEntries(ReadRequest &, Status)
Status RegisterPacketReceiverWriter(node_id, WriterInterface<PacketIn>)
Status UnregisterPacketReceiverWriter(node_id)
Status TransmitPacket(node_id, PacketOut&)
Status RegisterEventNotifyWriter(WriterInterface<GnmiEventPtr>)
Status UnregisterEventNotifyWriter()
Status RetrieveValue(node_id, DataRequest&, WriterInterface<DataResponse>, vector<Status>)
Status SetValue(node_id, SetRequest&, vector<Status>*)
StatusOr<vector<string>> VerifyState()
}
class BcmSwitch {
phal_interface: PhalInterface *
bcm_chassis_manager: BcmChassisManager
Status PushChasisConfig(ChassisConfig&)
Status VerifyChassisConfig(ChassisConfig&)
Status PushForwardingPipelineConfig(node_id, ForwardingPipelineConfig&)
Status SaveForwardingPipelineConfig(node_id, ForwardingPipelineConfig&)
Status CommitForaardingPipelineConfig(node_id)
Status Shutdown()
Status Freeze()
Status Unfreeze()
Status WriteForwardingEntries(WriteRequest&, Status)
Status ReadForwardingEntries(ReadRequest &, Status)
Status RegisterPacketReceiverWriter(node_id, WriterInterface<PacketIn>)
Status UnregisterPacketReceiverWriter(node_id)
Status TransmitPacket(node_id, PacketOut&)
Status RegisterEventNotifyWriter(WriterInterface<GnmiEventPtr>)
Status UnregisterEventNotifyWriter()
Status RetrieveValue(node_id, DataRequest&, WriterInterface<DataResponse>, vector<Status>)
Status SetValue(node_id, SetRequest&, vector<Status>*)
StatusOr<vector<string>> VerifyState()
BcmSwitch CreatInstance(PhalInterface *, BcmChassisManager*, map<int, BcmNode*>&)
}
class BcmChassisManager {
phal_interface: PhalInterface *
}
class PhalInterface {
Phal()
Status PushChassisConfig(ChassisConfig& config)
Status VerifyChassisConfig(ChassisConfig& config)
Status Shutdown()
StatusOr<int> RegisterTransceiverEventWriter(writer, priority)
Status UnregisterTranscieverEventWriter(id)
Status GetFrontPanelPortInfo(slot, port, fp_port_info)
Status SetPortLedState(slot, port, channel, color, stats)
}
class OnlpPhal {
database : AttributeDatabase
onlp_interface: OnlpInterface
Phal()
Phal CreateSingleton()
Status PushChassisConfig(ChassisConfig& config)
Status VerifyChassisConfig(ChassisConfig& config)
Status Shutdown()
StatusOr<int> RegisterTransceiverEventWriter(writer, priority)
Status UnregisterTranscieverEventWriter(id)
Status GetFrontPanelPortInfo(slot, port, fp_port_info)
Status SetPortLedState(slot, port, channel, color, stats)
}
class OnlpInterface {
StatusOr<SfpInfo> GetSfpInfo(OnlpOid)
StatusOr<FanInfo> GetFanInfo(OnlpOid)
StatusOr<PsuInfo> GetPsuInfo(OnlpOid)
StatusOr<OidInfo> GetOidInfo(OnlpOid)
StatusOr<<vector <OnlpOid>>> GetOidList(pnlp_oid_type_flag_t)
StatusOr<bool> GetSfpPresent(OnlpOid)
StatusOr<OnlpPresentBitmap> GetSfpPresenceBitmap()
StatusOr<OnlpPortNumber> GetSfpMaxPortNumber()
}
class OnlpWrapper {
OnlpWrapper()
StatusOr<unique_ptr<OnlpWrapper>> Make()
StatusOr<SfpInfo> GetSfpInfo(OnlpOid)
StatusOr<FanInfo> GetFanInfo(OnlpOid)
StatusOr<PsuInfo> GetPsuInfo(OnlpOid)
StatusOr<OidInfo> GetOidInfo(OnlpOid)
StatusOr<<vector <OnlpOid>>> GetOidList(pnlp_oid_type_flag_t)
StatusOr<bool> GetSfpPresent(OnlpOid)
StatusOr<OnlpPresentBitmap> GetSfpPresenceBitmap()
StatusOr<OnlpPortNumber> GetSfpMaxPortNumber()
}
class AttributeDatabase {
configurator_: SwitchConfigurator
AttributeDatabase()
AttributeDatabase MakePhalDB()
Status Set(AttributeValueMap values)
Status MakeQuery(query_paths)
Status SetupPolling()
void TearDownPolling()
void RunPollingThread(attribute_database_ptr)
Time GetNextPollingTime()
Status PollQueries()
Status FlushQueries()
}
@enduml
| false | true | false | false | sequence |
12c3cd540c0500bcf61001d0ac65dfdbc1517db4 | ad8871cd450dfd32f2eba002aa20723ebb4ba133 | /design/original_g_drive/Design/P2p Backup Consensus/p2pconsensus-class.puml | bb4bd53f1ac140922f707f90d20769054b74294f | [] | no_license | LogosNetwork/SDF | 8ec0455b56f17c0fd0b5132d4c3f2f4c5fd1616c | 4dc77526a02c2ea0aba89a5d58315bf7dfbe9f4b | refs/heads/master | 2020-03-19T21:24:06.901182 | 2019-09-17T17:15:14 | 2019-09-17T17:15:14 | 136,939,166 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,960 | puml | @startuml
abstract class ConsensusMsgProducer {
{abstract} + AddToConsensusQueue(data, ver, mt, ct, pld_sz, delid=0xff)
}
abstract class ConsensusP2pBridge {
ConsensusP2pOutput _consensus_p2p
deadlock_timer _timer
bool _enable_p2p
Enable(enable)
Broadcast(data, size)
SendP2p(data, size, mt)
{abstract} + OnTimeout()
}
class ConsensusP2pOutput
ConsensusP2pBridge o-- ConsensusP2pOutput
class ConsensusManager {
}
note top of ConsensusManager : Producer,\nreceives via P2p
ConsensusP2pBridge <|-- ConsensusManager
ConsensusMsgProducer <|-- ConsensusManager
class ConsensusNetIO
note bottom of ConsensusNetIO : Producer,\nreceives via TCP/IP
ConsensusMsgProducer <|--ConsensusNetIO
ConsensusNetIO o-- BackupDelegate
class BackupDelegate {
}
note left of BackupDelegate : Message sink/Producer\n\
and async consumer
ConsensusP2pBridge <|-- DelegateBridge
ConsensusManager "1" o-- "31" BackupDelegate
class MessagePrequel
class Message {
MessageType message_type
shared_ptr<MessageBase> message
}
MessageBase <|-- MessagePrequel
Message o-- MessageBase
class ConsensusMsgSink {
std::queue _msg_queue
mutex _queue_mutex
bool consuming
std::map<del_id,(p2pcnt,dircnt)> _msg_cnt;
Push(data, ver, mt, ct, pld_sz, is_p2p)
Pop()
Post(message, mt)
}
note left of ConsensusMsgSink :\
Pushes to the queue and\n\
if not consuming posts\n\
Post(message).\n\
Pops the queue and\n\
if not empty posts\n\
Post(message).
abstract class ConsensusMsgConsumer {
{abstract} + message Parse(data, ver, mt, ct, pld_sz)
{abstract} + OnMessage(message, mt)
}
class DelegateBridge {
}
'ConsensusMsgConsumer <|-- DelegateBridge
ConsensusMsgSink <|-- DelegateBridge
ConsensusMsgSink "1" o-- "*" Message
ConsensusMsgConsumer <|-- ConsensusMsgSink
class BackupDelegate
'BackupDelegate <|-- ConsensusMsgConsumer
'BackupDelegate <|-- ConsensusMsgSink
DelegateBridge <|-- BackupDelegate
@enduml
| false | true | false | false | activity |
2ac31d3a45b88ad89d1309c7f2b97dc5b4772b1e | 9bd3363456776acaf2740dbb98d9a580ce0a33a5 | /ng-template.puml | 3e57c933e0f838079856df30e83d86f783462116 | [] | no_license | pgpbpadilla/reading-notes-angular | 14060f06ebf59cb8268d3b3e202def8f15a6f1bb | e740c63b4fa15e06cc26db3753e53bdd137ac9a9 | refs/heads/master | 2023-06-09T13:57:22.284069 | 2021-06-29T10:16:30 | 2021-06-29T10:16:30 | 316,340,119 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,436 | puml | @startuml
'https://plantuml.com/component-diagram
title Structural directives: syntax sugar
[ng-template] <-- [ngIf] <<@Directive>>: extend
[ng-template] <-- [ngFor] <<@Directive>>: extend
newpage
title ng-template & ng-container
component "ng-template" as NgTemplate {
[name] <<Attribute>> as TName
}
note bottom of NgTemplate
!! Creates an extra
DIV element
end note
note bottom of NgTemplate
Example
<ng-template #templateName" ...>
end note
component "ng-container" as NgContainer {
component "ngTemplateOutlet" as TemplateOutlet {
[Template Name] --> TName
[Context] as C
note right of C
Provided by the Component
Example:
export class AppComponent {
ctx = { ... context ... };
}
end note
}
}
note bottom of NgContainer
Example:
<ng-container
*ngTemplateOutlet="templateName; context: ctx">
end note
note top of NgContainer
Does not create
extra HTML elements
end note
newpage
left to right direction
title @ViewChild: Dynamically injecting templates
component "AppComponent" {
package HTML {
[defaultTab] <<ng-template>> as Template
}
package TypeScript {
[defaultTab] <<TemplateRef>> as Reference
[ViewChild] <<@Decorator>> as VC
Template <.. VC: load template
VC ..> Reference: inject template
}
}
@enduml | false | true | false | false | class |
628a8ece8b94e7b45e6aea9beef13cbc1abb15b8 | 28285a8f944c0fde1209e943890e795f1f7961d7 | /src/main/java/structure/flyweight/FlyWeight.puml | 12e8bc4c021ef21ab889d47934c76b7267442ad5 | [] | no_license | shaoneng111/design-pattern | 94496017f52eb86cf249a92090176df89e188ab1 | 298cbd0b5218c99adbd2fdd49c16ab6087246cfd | refs/heads/master | 2021-06-28T16:31:29.374241 | 2020-09-29T11:09:33 | 2020-09-29T11:09:33 | 156,365,576 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 701 | puml | @startuml
class FlyweightFactory {
{field} -mpFlyweight : map<String, Flyweight*>
{method} +getFlyweight(string) : void
}
class Flyweight {
{method} +operation() : void
}
class ConcreteFlyweight {
{field} -intrinsicState : int
{method} +operation() : void
}
class UnSharedConcreteFlyweight {
{field} -allState : int
{method} +operation() : void
}
ConcreteFlyweight -up-|> Flyweight
UnSharedConcreteFlyweight -up-|> Flyweight
FlyweightFactory o-right-> Flyweight : -flyweights
note as n1
if (mpFlyweight.find(key) != EOF()) {
return exist one;
} else {
p = new Flyweight();
mpFlyweight.insert(p);
return p;
}
end note
FlyweightFactory .. n1
@enduml | false | true | false | false | sequence |
1c28befa593f8045f27d463203d52613c21bf40c | ae02e1a2fac4311672f0046df2cc35fabe158113 | /src/main/java/UML's/Buttons.puml | 99790ce02688a07778fabe4ec0514f71c5be6dee | [] | no_license | camilaDiToro/PAINT-TP-FINAL-POO | 44438eeb17f0ac0f6df675d0511db8f48bb50f56 | c745c6a36dd554a41be62f4abf96bca574d8534a | refs/heads/master | 2023-06-09T20:17:43.666149 | 2021-07-06T00:51:18 | 2021-07-06T00:51:18 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,750 | puml | @startuml
'https://plantuml.com/sequence-diagram
package javafx.scene.control{
class ToggleButton
class ToggleGroup
}
package Buttons {
interface ButtonsOption {
+void mousePressed(Point eventPoint)
+void mouseReleased(Point eventPoint)
+void mouseClicked(Point eventPoint)
+void mouseMoved(Point eventPoint)
+void mouseDragged(Point eventPoint)
+void mouseClickAndDrag(Point pressedPoint, Point releasePoint)
}
abstract class ToggleOptionButton extends ToggleButton implements ButtonsOption{
}
class FigureButtons<F extends MovableDrawing> extends ToggleOptionButton{
- RendererCreator<F> rendererCreator
- List<Render<? extends MovableDrawing>> renderList
- Point startPoint
+ FigureButtons(String buttonName, List<Render<? extends MovableDrawing>> renderList,
RendererCreator<F> rendererCreator )
+ Render<F> createRenderer(Point startPoint, Point endPoint)
+ void mousePressed(Point eventPoint)
+ void mouseReleased(Point eventPoint)
}
class SelectButton extends ToggleOptionButton {
- List<Render<? extends MovableDrawing>> selectedList
- List<Render<? extends MovableDrawing>> renderList
- Rectangle imaginaryRect
- Point lastPosition
+ SelectButton(String buttonName, List<Render<? extends MovableDrawing>> selectedList,
List<Render<? extends MovableDrawing>> renderList)
+ void mousePressed(Point eventPoint)
+ void mouseClicked(Point eventPoint)
+ void mouseDragged(Point eventPoint)
+ void mouseClickAndDrag(Point pressedPoint, Point releasePoint)
}
class ToggleOptionGroup extends ToggleGroup{
+ ToggleOptionButton getSelectedOption()
}
@enduml | false | true | false | false | class |
2dafd63dfda7988cf0a7878824c64fa7bea06643 | 3d312f7a6b4211011474707109a71c6bd9885e2b | /uml/ToDoTask.puml | 08ce16cb782b784bbf6abb58c60aca00e853a327 | [] | no_license | rodriguezA3/Rodriguez-cop3330-assignment4part2 | 1133f7d278c118afe19cab9fd1ece4506d568559 | 284036ada238fa05f6cedb5d8aac35efb3924828 | refs/heads/master | 2023-08-30T18:28:06.277502 | 2021-11-16T04:01:21 | 2021-11-16T04:01:21 | 428,492,554 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 355 | puml | @startuml
class ToDoTask{
+private String name;
+private LocalDate date;
+private String description;
+String getName();
+setName(String name);
+LocalDate getDate();
+setDate(LocalDate date);
+String getDescription();
+setDescription(String description);
+ToDoTask(String name, LocalDate date, String description);
}
@enduml | false | true | false | false | class |
38a125226b4c56249f3fb9bf809d937f0755003e | b19e1cd9af26a9f3cb65823e1a7885ce278337fe | /documentation/productApi/catalog/media/src/category_stateMachine.puml | 8e00e498e8ce980405a73728658ccd28fb656cb3 | [
"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 | 329 | puml | @startuml
skinparam state {
BackgroundColor White
BorderColor Black
ArrowColor DarkRed
shadowing true
}
hide empty description
''' diagram'''
[*] -d-> available : Seller publishes the category to be used for querying
available -d-> obsolete : Seller ends the life cycle of the Category
obsolete --> [*]
@enduml | false | true | false | false | sequence |
620f000d95604e0b94d22181bb545df1571dfbb3 | 8dcb14094c15ddfea16283f10d6816167dc69039 | /diagrams/SendMessage.puml | 22450d738221d6a8297f7e3f79c6802b9ce6141e | [
"MIT"
] | permissive | DingNet-Simulator/DingNet | 3cd586f428e9ba13b55fa4a02cd00a671371e30d | 73d8be0d4b0324ed554c0c25558e74cd77a4c3f4 | refs/heads/master | 2022-09-24T17:50:18.905343 | 2022-02-17T15:16:43 | 2022-02-17T15:16:43 | 194,922,600 | 3 | 1 | MIT | 2022-06-20T22:43:43 | 2019-07-02T19:24:40 | Java | UTF-8 | PlantUML | false | false | 194 | puml | @startuml
NetworkEntity -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml | false | true | false | false | sequence |
0c05d847b8b91199205dbcfea415c99fcc974a8a | 8fd0134c67d11d6ac49142e1e0b62be1aef01cb2 | /docs/uml/pipeline/diagrammiSequenza/sequenzaTM.puml | c49547aed2dea69b9f1b33dc1681fa23d6598b59 | [] | no_license | BreakingBugSwe/ajarvis | 2810e3b045799c623e5e91a6c8f7dcf4ad1a37ef | 3363547c7661baa9ffac580ed38764a8b95c59be | refs/heads/master | 2020-03-20T05:53:15.580567 | 2018-06-15T10:03:09 | 2018-06-15T10:03:09 | 137,229,832 | 3 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,987 | puml | @startuml
[-> aTextminingStep: textmine(RecordingElement):RecordingElement
activate aTextminingStep
aTextminingStep -> aRecordingModel:getTranscription():String
activate aRecordingModel
deactivate aRecordingModel
/'aTextminingStep -> aTextminingStep:requestNaturalLanguageAnalysis()
activate aTextminingStep'/
aTextminingStep -> NaturalLanguage: analyzeSyntax(request)
activate NaturalLanguage
deactivate NaturalLanguage
/'activate NaturalLanguage
NaturalLanguage --> aTextminingStep: result
deactivate NaturalLanguage'/
aTextminingStep -> aTextminingStep: lemmatize()
/'activate aTextminingStep
aTextminingStep -->aTextminingStep:result
deactivate aTextminingStep'/
aTextminingStep -> aTextminingStep:partOfSpeechTagging()
/'activate aTextminingStep
aTextminingStep-->aTextminingStep:result
deactivate aTextminingStep
aTextminingStep -->aTextminingStep:result
deactivate aTextminingStep'/
aTextminingStep -> aTextMiner: textMining()
activate aTextMiner
aTextMiner-> aTextMiner: typeAnalysis()
activate aTextMiner
aTextMiner--> aTextMiner: topics
deactivate aTextMiner
aTextMiner-> aTextMiner: getDocument()
activate aTextMiner
aTextMiner--> aTextMiner: document
deactivate aTextMiner
aTextMiner-> LDA: lda(document,topics)
activate LDA
LDA --> aTextMiner: result
deactivate LDA
aTextMiner-> aTextMiner: scoreAssignment(result)
aTextMiner --> aTextminingStep
deactivate aTextMiner
aTextminingStep -> aTextminingStep: getPhraseType()
activate aTextminingStep
aTextminingStep --> aTextminingStep: phraseType
deactivate aTextminingStep
aTextminingStep -> aTextminingStep: getPhraseScore()
activate aTextminingStep
aTextminingStep --> aTextminingStep: phraseScore
deactivate aTextminingStep
aTextminingStep --> anotherRecordingElement: new RecordingElement(aRecordingModel,result)
aTextminingStep -> GCStore: store(RecordingElement)
activate GCStore
deactivate aTextminingStep
@enduml
| false | true | false | false | sequence |
1df8cd3a6f69d36a8cdaa06d56f3ca7075a89109 | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.ide.vscode@1.2.1/Editor/ProjectGeneration/FileIO.puml | 3cc043ee2df2bf319c7d7919d43f73e50cd0e0df | [] | 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 | 457 | puml | @startuml
interface IFileIO {
Exists(fileName:string) : bool
ReadAllText(fileName:string) : string
WriteAllText(fileName:string, content:string) : void
CreateDirectory(pathName:string) : void
}
class FileIOProvider {
+ Exists(fileName:string) : bool
+ ReadAllText(fileName:string) : string
+ WriteAllText(fileName:string, content:string) : void
+ CreateDirectory(pathName:string) : void
}
IFileIO <|-- FileIOProvider
@enduml
| false | true | false | false | class |
39f255f6d727b4fa7cb8913d531ec0bad740e6f6 | 8cf018eb6de40017601592f1f125ea67d5de7086 | /docs/Solution/Service-Stack/Connected-Car-Cloud/Ingestion-Engine/UserInteraction.puml | 825421fc740525f00537dbe02f3a78af6484d88d | [] | no_license | CAADE/ADC | bec251477e457a9ee4eca673fdab04b65c4290f5 | a81ba7532e7092ab564bcb30f8ec36bab3b71d0b | refs/heads/master | 2021-06-23T22:20:00.239150 | 2019-04-03T05:15:20 | 2019-04-03T05:15:20 | 104,887,854 | 5 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 101 | puml | @startuml
actor User
User -> "Service-Stack/Connected-Car-Cloud/Ingestion-Engine": UseCase
@enduml
| false | true | false | false | sequence |
7b41bf7ccb1311c97262e182d6d5cf4e402d7770 | 64dd82efd4027d3d72f1532cc325e673f89bdc7b | /docs/transfer/api_calls_simple_pisp_transfer.puml | 557bce410264d04bd58dc55c709a05f1a1e83258 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | yeradis/pisp | af89a7e72de234a3dbb8be989ea388b3d1f41f1d | 00421b180570e944f3035a51459b50c0293d6410 | refs/heads/master | 2023-03-04T14:54:40.435085 | 2021-02-15T12:45:38 | 2021-02-15T12:45:38 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,832 | puml | @startuml
title PISPTransferSimpleAPI
box "PISP"
participant "PISP Server" as D1
end box
box "Mojaloop"
participant "auth-service" as AUTHS
participant Switch as S
participant "ALS" as A
end box
box "DFSP A"
participant "DFSP A\n(Payer)" as D2
participant "3p-sa-in" as D2_3psa_in
participant "3p-sa-out" as D2_3psa_out
participant "sdk-sa-in" as D2_sdksa_in
participant "sdk-sa-out" as D2_sdksa_out
end box
box "DFSP B"
participant "DFSP B\n(Payee)" as D3
end box
note over S
This document aims to demonstrate the high level API Calls between the PISP, Mojaloop Hub and DFSPs.
end note
== Discovery (Lookup) ==
note over D1
PISPTransactionModel Lookup phase
end note
D1 -> S: ""GET /parties/MSISDN/+4412345678""
... Get participants/parties flow not shown here ...
S -> D3: ""GET /parties/MSISDN/+4412345678""
D3 -> S: ""PUT /parties/MSISDN/+4412345678""
S -> D1: ""PUT /parties/MSISDN/+4412345678""
... PISP confirms payee party with their user ...
== Agreement Phase ==
note over D1
PISPTransactionModel Initiate phase
end note
D1 -> S: ""POST /thirdpartyRequests/transactions""
S -> D2_3psa_in: ""POST /thirdpartyRequests/transactions""
D2_3psa_in -> D2_3psa_in: Lookup this ""consentId"", ""sourceAccountId"" \nand ""pispId"". Verify that they exist, and consent \nis granted with a valid credential
D2_3psa_in -> D2_sdksa_out: sync POST /requestToPayTransfer
D2_sdksa_out -> D2_sdksa_out: OutboundRequestToPayTransferModel starts workflow with PISP Authorization
D2_sdksa_out -> S: ""POST /quotes""
S -> D3: ""POST /quotes""
D3 -> S: ""PUT /quotes/456""
S -> D2_sdksa_out: ""PUT /quotes/456""
note left of D2
DFSPA has the quote, they can now ask
the PISP for authorization
end note
D2_sdksa_out -> S: ""POST /authorizations""
S -> D1: ""POST /authorizations""
note right of D1
PISP checks the quote with the user,
and uses FIDO to sign the the QuoteResponse object
end note
note over D1
PISPTransactionModel Approve phase
end note
D1 -> S: ""PUT /authorizations/123""
S -> D2_sdksa_in: ""PUT /authorizations/123""
D2_sdksa_in ->D2_sdksa_in: Lookup the ""thirdpartyRequests/transaction""\nrequest, get the ""consentId"" and ""sourceAccountId""
D2_sdksa_in -> D2_sdksa_in: Confirm pispId from ""PUT /authorizations/123""\n matches the ""thirdpartyRequests/transaction""
D2_sdksa_in -> D2_3psa_out: sync call POST /verify-authorization
note over D2
Switch has the signed condition
For 3rd party FIDO, it now needs to make sure everything checks out
end note
D2_3psa_out -> S: ""POST /thirdpartyRequests/transactions""\n"" /123/authorizations""
S -> AUTHS: ""POST /thirdpartyRequests/transactions""\n"" /123/authorizations""
AUTHS -> AUTHS: Lookup this consent based on consentId
AUTHS -> AUTHS: Ensure the sourceAccountId matches what is in Consent
AUTHS -> AUTHS: Check that the signed bytes match the \npublickey we have stored for the consent
AUTHS -> S: ""PUT /thirdpartyRequests/transactions""\n"" /123/authorizations""
S -> D2_3psa_out: ""PUT /thirdpartyRequests/transactions""\n"" /123/authorizations""
D2_3psa_out -> D2_sdksa_in: sync response POST /verify-authorization
note over D2
DFSPA now knows that the user signed this transaction
and can go ahead and initiate the transfer
end note
== Transfer Phase ==
D2 -> S: POST /transfers
S -> D3: POST /transfers
D3 -> S: PUT /transfers/321
S -> D2_sdksa_in: PUT /transfers/321
D2_sdksa_in -> D2_sdksa_out: notify via redis-cache
D2_sdksa_out -> D2_sdksa_out: OutboundRequestToPayTransferModel workflow ends
D2_sdksa_out -> D2_3psa_in: sync response POST /requestToPayTransfer
note over D2_3psa_in
DFSPA 3psa_in now knows that transfer initiated by PISP has ended and notify PISP about the outcome
end note
D2_3psa_in -> D1: PATCH /thirdpartyRequests/transactions/123
@enduml
| false | true | false | false | sequence |
d0c8efdcd1ce68fa1107a0051c0273e4da67160c | 7c96a247c9488efd661d7551e54bc6fc7a909488 | /src/main/java/com/rezahdrm/creational/prototype/prototypeUML.puml | 0126b2f98839882abd8935c73880f4a8f5bf240f | [] | no_license | reza-hdrm/DesignPatterns | a998d0a0f19660316a094ae1624f3b75b7bba332 | 05ccb8498b45e5511f35f2bd1c72da5f8b9da083 | refs/heads/master | 2023-04-10T23:45:27.006631 | 2021-04-12T14:20:18 | 2021-04-12T14:20:18 | 320,042,304 | 5 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 463 | puml | @startuml
class User{
- id : Long
- firstName : String
- lastName : String
- phoneNumber : String
- email : String
- username : String
- password : String
- nationalCode : String
- birthDay : Date
- createdAt : Date
- updatedAt : Date
- deletedAt : Date
+ clone() : User
+ setterAttributes ()
+ getterAttributes ()
}
class UserTest {
+ prototypeDesignPatternTest() : void
}
interface Cloneable
User ..|> Cloneable
UserTest ..> User
@enduml | false | true | false | false | class |
3dd303fb7e21a620daad20b6af5f85e95b33a086 | c4f7d455bd5f34d0875b667304c2767143ef9ac3 | /doc/plantuml/HCARDC/healthcard.plantuml | df1588169793115f145fab5fdaff73d4c8412783 | [
"Apache-2.0"
] | permissive | gematik/ref-HealthCardControl | 6b7482826e2e35242bfe6a3367dd2888244178d0 | 26a0e1be00206ca74785b4c7c008f17d863d854f | refs/heads/master | 2022-01-22T11:48:22.199071 | 2020-02-20T13:12:39 | 2020-02-20T13:12:39 | 214,092,133 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 403 | plantuml | @startuml
package de.gematik.ti.healthcard.control {
package de.gematik.ti.healthcard.control.events.healthcard {
abstract class AbstractHealthCardEvent {
# AbstractHealthCardEvent()
+ getHealthCard()
}
}
}
AbstractHealthCardEvent -up-|> AbstractCardReaderEvent
AbstractHealthCardEvent o-- T : healthCard
@enduml
| false | true | false | false | class |
4ab4b0b34d9cfcd6a4abab7cf094bf399d0b8cd6 | 29b1a2ee49b970c82650a2bca8b909a50a2f9457 | /out/production/Knapsack/1.puml | 6489fee1439eb6101197f259b123d2b17abf7689 | [] | no_license | jsanv026/KnapsackProblem | 68314d684438c30ecfb2ff6c88941d7885252cde | d8a04321f022410575ee02cfc8d307f5f002fee7 | refs/heads/master | 2023-02-25T11:58:48.885322 | 2021-01-24T21:17:32 | 2021-01-24T21:17:32 | 329,707,244 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,177 | puml | @startuml
'https://plantuml.com/class-diagram
class Item {
- String name
- int weight, value
+ Item(String name, int value, int weight)
+ String getName()
+ int getValue()
+ int getWeight()
}
class Knapsack {
- Item[] items;
- int capacity,size;
- int[] values, weights;
+ Knapsack(Item[] items, int capacity)
+ int getCapacity()
+ Item[] getItems()
+ int size()
+ int[] getValues()
+ int[] getWeights()
+ String toString()
- void setupArr()
}
class KTable {
- int[][] table
+ KTable(int x, int y)
+ int get(int x, int y)
+ void set(int x, int y, int value)
}
class KnapsackProblem {
- int capacity, numItems, solSize
- int[] selected
- Knapsack knapsack
- String fileName
- KTable table
+ KnapsackProblem(Knapsack k, String fileName)
+ int dynamicSolve()
+ int bruteForce()
+ void writeTo()
+ void main(String[] args)
- int bruteForce(int capacity, int[] weights, int[] values, int numItems)
- int getSolIndices()
}
Item "0..*" -- " " Knapsack
Knapsack "0..1" -- " " KnapsackProblem
KTable "0..1" -- " " KnapsackProblem
@enduml | false | true | false | false | class |
f34e69a919d05c59cbe42ddb1d41a6edfa3b5282 | 7450f435598e6c9e5544c13757869912e683a9d1 | /src/treatmentPredictionMVC/treatmentPredictionMVC.plantuml | 10eafc76afab8cfbbb74ea164229e463d95ffd41 | [
"Apache-2.0"
] | permissive | vbabenk/RheumatologicTreatmentSystem | 4a7d900c9b31777415058850c326e63ae4eae63d | 52721aa364550a19c0b14cb5701b3be641e93baf | refs/heads/master | 2021-06-20T03:48:20.112086 | 2021-06-06T00:12:15 | 2021-06-06T00:12:15 | 218,511,416 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,983 | plantuml | @startuml
title __TREATMENTPREDICTIONMVC's Class Diagram__\n
package diploma {
package diploma.treatmentPredictionMVC {
class TreatmentPredictionActivity {
+ calculateTreatment()
+ createPdfFile()
- addTableHeader()
- addRows()
}
}
}
package diploma {
package diploma.treatmentPredictionMVC {
class TreatmentPredictionController {
- idField : TextField
- surnameField : TextField
- firstnameField : TextField
- middlenameField : TextField
- uraField : TextField
- sexField : TextField
- backBtn : Button
- saveBtn : Button
- firstGridPane : GridPane
- secondGridPane : GridPane
- thirdGridPane : GridPane
- resultGridPane : GridPane
- x1Field : TextField
- x2Field : TextField
- x3Field : TextField
- x4Field : TextField
- x5Field : TextField
- x6Field : TextField
- x7Field : TextField
- x8Field : TextField
- x9Field : TextField
- x10Field : TextField
- x11Field : TextField
- x12Field : TextField
- x13Field : TextField
- x14Field : TextField
- x15Field : TextField
- k1Field : TextField
- k2Field : TextField
- treatmentLabel : Label
- resultLabel : Label
+ initData()
- setFields()
+ initialize()
+ backToMenu()
+ calculateTreatment()
+ saveResult()
- getResult()
}
}
}
TreatmentPredictionController o-- Patient : patient
TreatmentPredictionController o-- TreatmentPredictionActivity : tpActivity
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
| false | true | false | false | class |
321235675eb2f86521d5bcc648119d68b33ef33f | 898b00c4894290787d1b9cf6c65174fecefdcaf8 | /jobblett/classdiagramJson.puml | 2ca60046d64226071198bd29b8f7252ee4f6abde | [] | no_license | Sanketb2312/JobbLett | 302327cf973ef0881e5338ad87e6c3d614cd24a4 | 8f4a864177e187d73e55200c9cd233b69037730a | refs/heads/master | 2023-02-19T04:30:04.075281 | 2021-01-21T18:10:08 | 2021-01-21T18:10:08 | 331,711,010 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,459 | puml | @startuml
namespace jobblett.json {
class JobShiftSerializer {
+serialize(): void
}
class GroupListSerializer {
+serialize(GroupList, JsonGenerator, SerializerProvider): void
}
class MainSerializer {
+serialize(Main, JsonGenerator, SerializerProvider): void
}
class GroupListDeserializer {
+deserialize(JsonNode, Main): GroupList
+deserialize(JsonParser, DeserializationContext): GroupList
}
class JSONSerialize {
+JSONSerialize(Object, String)
+exportJSON(): void
{static} +main(String[]): void
}
class GroupSerializer {
+serialize(Group, JsonGenerator, SerializerProvider): void
}
class JobShiftListSerializer {
+serialize(JobShiftList, JsonGenerator, SerializerProvider): void
}
class MainDeserializer {
+deserialize(JsonNode): Main
+deserialize(JsonParser, DeserializationContext): Main
}
class JSONDeserialize {
+- -importJSON- -(): Main
}
class UserListDeserializer {
+deserialize(JsonNode): UserList
+deserialize(JsonParser, DeserializationContext): UserList
}
class JobShiftDeserializer {
+deserialize(JsonNode): JobShift
+deserialize(JsonParser, DeserializationContext): JobShift
}
class UserDeserializer {
+deserialize(JsonNode): User
+deserialize(JsonParser, DeserializationContext): User
}
class UserSerializer {
+serialize(User, JsonGenerator, SerializerProvider): void
}
class UserListSerializer {
+serialize(UserList, JsonGenerator, SerializerProvider): void
}
class CoreModule
class GroupDeserializer {
+deserialize(JsonNode): Group
+deserialize(JsonParser, DeserializationContext): Group
}
class JobShiftListDeserializer {
+deserialize(JsonNode): JobShiftList
+deserialize(JsonParser, DeserializationContext): JobShiftList
}
MainSerializer -[hidden]down-|>GroupListSerializer
GroupListSerializer -[hidden]down-|>JobShiftListSerializer
JobShiftListSerializer -[hidden]down-|>UserListSerializer
UserListSerializer -[hidden]down-|>JobShiftSerializer
JobShiftSerializer -[hidden]down-|>GroupSerializer
GroupSerializer -[hidden]down-|>UserSerializer
MainDeserializer -[hidden]down-|>GroupListDeserializer
GroupListDeserializer -[hidden]down-|>JobShiftListDeserializer
JobShiftListDeserializer -[hidden]down-|>UserListDeserializer
UserListDeserializer -[hidden]down-|>JobShiftDeserializer
JobShiftDeserializer -[hidden]down-|>GroupDeserializer
GroupDeserializer -[hidden]down-|>UserDeserializer
CoreModule -[hidden]down-|> JSONSerialize
JSONSerialize -[hidden]down-|> JSONDeserialize
com.fasterxml.jackson.databind.module.SimpleModule -[hidden]right-> MainDeserializer
com.fasterxml.jackson.databind.ser.std.StdSerializer <|-right- JobShiftSerializer
com.fasterxml.jackson.databind.ser.std.StdSerializer <|-right- GroupListSerializer
com.fasterxml.jackson.databind.ser.std.StdSerializer <|-right- MainSerializer
com.fasterxml.jackson.databind.deser.std.StdDeserializer <|-left- GroupListDeserializer
com.fasterxml.jackson.databind.ser.std.StdSerializer <|-right- GroupSerializer
com.fasterxml.jackson.databind.ser.std.StdSerializer <|-right- JobShiftListSerializer
com.fasterxml.jackson.databind.deser.std.StdDeserializer <|-left- MainDeserializer
com.fasterxml.jackson.databind.deser.std.StdDeserializer <|-left- UserListDeserializer
com.fasterxml.jackson.databind.JsonDeserializer <|-- JobShiftDeserializer
com.fasterxml.jackson.databind.JsonDeserializer <|-- UserDeserializer
com.fasterxml.jackson.databind.ser.std.StdSerializer <|-right- UserSerializer
com.fasterxml.jackson.databind.ser.std.StdSerializer <|-right- UserListSerializer
com.fasterxml.jackson.databind.module.SimpleModule <|-left- CoreModule
com.fasterxml.jackson.databind.deser.std.StdDeserializer <|-left- GroupDeserializer
com.fasterxml.jackson.databind.deser.std.StdDeserializer <|-left- JobShiftListDeserializer
}
namespace com.fasterxml.jackson.databind.ser.std {
abstract class StdSerializer<T> {
#_handledType: Class<T>
{abstract} +serialize(T, JsonGenerator, SerializerProvider): void
}
}
namespace com.fasterxml.jackson.databind.deser.std {
abstract class StdDeserializer<T> {
{static} #F_MASK_INT_COERCIONS: int
{static} #F_MASK_ACCEPT_ARRAYS: int
#_valueClass: Class<?>
#_valueType: JavaType
}
}
namespace com.fasterxml.jackson.databind {
abstract class JsonDeserializer<T> {
{abstract} +deserialize(JsonParser, DeserializationContext): T
}
}
namespace com.fasterxml.jackson.databind.module {
class SimpleModule {
#_name: String
#_version: Version
#_serializers: SimpleSerializers
#_deserializers: SimpleDeserializers
#_keySerializers: SimpleSerializers
#_keyDeserializers: SimpleKeyDeserializers
#_abstractTypes: SimpleAbstractTypeResolver
#_valueInstantiators: SimpleValueInstantiators
#_deserializerModifier: BeanDeserializerModifier
#_serializerModifier: BeanSerializerModifier
#_mixins: HashMap<Class<?>, Class<?>>
#_subtypes: LinkedHashSet<NamedType>
#_namingStrategy: PropertyNamingStrategy
}
}
@enduml | false | true | false | false | class |
12b25221a758b63cd53fd90ce945d576c6f4f560 | 4c9b022706780c646e4fce886ae7c907d8644cc5 | /doc/pic/src/proof-verification-request.puml | 00cc55ef21f3af74203f41d36b0ba66a8414fa65 | [
"Apache-2.0"
] | permissive | nrempel/demo-agent | 85dbf6e19d0daca0b5b42f01d8186342a1e92401 | 9e2ab2b37096a7868b1ea514d8b6bc2b978fd323 | refs/heads/master | 2021-08-07T06:44:05.156834 | 2017-11-07T19:23:12 | 2017-11-07T19:23:12 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,773 | puml | @startuml
/'
Copyright 2017 Government of Canada - Public Services and Procurement Canada - buyandsell.gc.ca
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'/
skinparam ParticipantPadding 20
skinparam BoxPadding 20
title Proof/Verification Request Sequence
box "Indy" #LightBlue
participant "Ledger" as ledger
endbox
actor "Prover/Holder\n(The Org Book)\nAgent" as obag
actor "Verifier\n(SRI)\nAgent" as sag
actor "Actuator" as ator
ator -> obag: GET <get-did>
obag --> ator: DID
=== PROOF REQUEST SEQUENCE ==
note over ledger, ator
All agent service wrapper APIs are up
Schema, claim definitions are on ledger
Actuator has claim of interest by filters
endnote
ator -> sag: POST <proof-request> or <proof-request-by-claim-uuid>, proxy by Prover/Holder DID
sag -> ledger: get endpoint for Prover/Holder DID
ledger --> sag: Prover/Holder endpoint
sag --> obag: POST <proof-request>
obag -> obag: get claim
obag -> obag: create proof
obag --> sag: proof
sag --> ator: proof
=== VERIFICATION REQUEST SEQUENCE ==
ator -> sag: POST <verification-request>
sag -> ledger: get schema
ledger --> sag: schema
sag -> ledger: get claim definition
ledger --> sag: claim definition
sag -> sag: verify proof
sag -> ator: True or False
@enduml
| false | true | false | false | usecase |
7d3ea7d7a1499ad1fd959c8109fe63a3169eb17f | 0f2ccd0a689a3633eead0d7b8f118c1a4ca81aea | /Structural/Flyweight/doc/flyweight.plantuml | eb0b1125efc0f8623a61aa20fe16476e8a764246 | [
"Apache-2.0"
] | permissive | symnoureddine/design-patterns | d6eca7edeb131e7f506900b517050c4f975482aa | b8f088e877d4739527b41aeb6e0c80ac9d29b398 | refs/heads/master | 2020-09-10T18:30:44.513673 | 2019-11-02T22:33:20 | 2019-11-02T22:33:20 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 835 | plantuml | @startuml
interface PackageInterface << Flyweight >> {
+getName(): string
+getTotalWeight(count: int): int
}
class SmallPackage <<Concrete flyweight>> {
-name: string
-volume: int
+getName()
+getTotalWeight(count)
}
class BigPackage <<Concrete flyweight>> {
-name: string
-volume: int
+getName()
+getTotalWeight(count)
}
class CustomPackage <<Unshared concrete flyweight>> {
-name: string
-volume: int
+getName()
+getTotalWeight(count)
}
class PackageFactory <<Flyweight factory>> {
-packages: PackageInterface[]
+get(type, name = null, volume = null)
}
SmallPackage .up.|> PackageInterface
BigPackage .up.|> PackageInterface
CustomPackage .up.|> PackageInterface
PackageFactory -right-o PackageInterface
right footer © Vlad Riabchenko <contact@vria.eu>
@enduml
| false | true | true | false | class |
4b8903793a0abd9e7c95dbb4640090ff22818580 | c4183684b28097cc28cfe8fc196880961f2e5589 | /design/components.puml | 779afcf98b6f5a2d8a8b7d0b0a7d44e27efb13ed | [] | no_license | unrealhoang/lspc | b31f8c7c970b298caf9ece83e4504f230ee89947 | 20f16af4214bf17e9660f2361e99ddd052fa0599 | refs/heads/master | 2022-06-21T09:59:33.789731 | 2022-06-07T02:15:42 | 2022-06-07T02:15:42 | 196,495,739 | 25 | 6 | null | 2022-06-17T01:29:21 | 2019-07-12T02:36:34 | Rust | UTF-8 | PlantUML | false | false | 308 | puml | @startuml
Editor ->> Lspc: Notify
Lspc -> LangServerHandler: Notify/Request
LangServerHandler ->> RpcClient: Notify/Request
...
RpcClient ->> Lspc: Notify/Response
Lspc -> LangServerHandler: Notify/Response
LangServerHandler ->> Lspc: Update editor
Lspc -> Editor: Update
Editor --> Lspc: Response
@enduml
| false | true | false | false | sequence |
9f8123bef2678429b2750e999837314fa6bdca49 | 827ca8806922283527fe1b6bc67d062e492e4f67 | /docs/diagrams/profiles/locate_profile.puml | 8f133b6fdbfb0b2c734a9abfa63d24415c958520 | [
"Apache-2.0"
] | permissive | srebrinb/datasafe | f760566bf8a42fe6c394c994b1f52db2f6803b4b | 185e85f4ea25bfc7e203cfc594fe6a5f27c3dfb8 | refs/heads/master | 2020-06-13T16:39:19.220438 | 2019-06-28T10:23:05 | 2019-06-28T10:23:05 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,053 | puml | @startuml
skinparam ranksep 10
skinparam linetype ortho
actor User as u
rectangle Directory {
frame "DFSConfig\nBootstrap" as DFSConfig {
component "<&link-intact>UserPublicProfile location" as UPub_loc
component "<&link-intact>UserPrivateProfile location" as UPriv_loc
}
database "<b>Profile DB</b>\nRDBMS\nS3\nfilesystem" as profiles_storage {
rectangle UPub [
UserPublicProfile
--
<&link-intact>publicKeys location
<&link-intact>inbox location
]
rectangle UPriv [
UserPrivateProfile
--
<&link-intact>keystore location
<&link-intact>privateStorage location
<&link-intact>inboxWithFullAccess location
]
}
rectangle Credentials [
<b>BucketAccessService</b>
---
Enhance request\nwith credentials\nPerform routing
]
DFSConfig -[hidden]down- profiles_storage
UPub -[hidden]down- Credentials
UPriv -[hidden]down- Credentials
}
database "<b>Private files</b>\non remote storage\nS3\nfilesystem" as private_files_storage {
}
rectangle "Write file into private space" as Request {
rectangle initial [
WRITE <&file>\n<b>some/file.txt</b>
]
rectangle resolve_profile [
Where is users' profile?
]
rectangle profile [
READ <&file>\n<b>file:///host/folder/profile/my_private_profile</b>
]
rectangle retrieve_profile [
Read users' profile
]
rectangle get_private [
Extract private files path from profile
]
rectangle PrivateFiles [
<&file> <b>s3://user-bucket/somewhere/files/private/</b>
]
rectangle ResolveEncrypt [
Resolve encrypted path\nwithin private space
]
rectangle WriteTo [
WRITE <&file>\n<b>s3://bucket/files/private/encrypted(some)/encrypted(file.txt)</b>
]
initial -[hidden]down- resolve_profile
resolve_profile -[hidden]down- retrieve_profile
retrieve_profile -[hidden]down- profile
profile -[hidden]down- get_private
get_private -[hidden]down- PrivateFiles
retrieve_profile -[hidden]down- PrivateFiles
PrivateFiles -[hidden]down- ResolveEncrypt
PrivateFiles -[hidden]down- WriteTo
}
u --> initial : Write <&file> into my private\nspace with path <b>/some/file.txt</b>
initial --> resolve_profile : find\nusers\nprofile
resolve_profile --> UPriv_loc
UPriv_loc ..> retrieve_profile
profile ==> Credentials : Read\nprofile\nfrom
Credentials ==> UPriv : \n\nREAD <&file>\n<b>file:///username:password@host/folder/profile/my_private_profile</b>\n\n
retrieve_profile --> profile
profile --> get_private
UPriv ..> get_private
get_private --> PrivateFiles
PrivateFiles --> ResolveEncrypt : private\nfiles\nroot
initial --> ResolveEncrypt : relative\nfile\nlocation
ResolveEncrypt --> WriteTo : absolute\nresource\nlocation
WriteTo ==> Credentials
Credentials ==> private_files_storage : \n\nWRITE <&file>\n<b>s3://user:password@bucket/files/private/encrypted(some)/encrypted(file.txt)\n\n
@enduml | false | true | false | false | sequence |
65e1df951cf4f722481c8306544a9809c4da650a | 7f116aac53588a0ef1588e5dbc122023bf45f02a | /src/main/java/Iterateur/Name/classe.plantuml | 7d9204563920d64a78e62456c1b42a05f397dd65 | [] | no_license | RubenLaden/S20202-LOG121 | 63bd9508d3404f63743601e97427fd9299a8f0ab | b55c38088c773ea78f87436459117d0604e435d1 | refs/heads/master | 2022-11-23T15:14:23.455364 | 2020-07-24T08:01:12 | 2020-07-24T08:01:12 | 282,133,896 | 0 | 0 | null | 2020-07-24T05:46:36 | 2020-07-24T05:46:36 | null | UTF-8 | PlantUML | false | false | 520 | plantuml | @startuml
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 | false | true | false | false | sequence |
0174d6337beeaddec39094d931e8b0a9f5c87ab4 | 8c59fbc94a2ba7fa9a12c10991fe334cda0df128 | /metrics/web/docs/diagrams/create_metrics_widget_activity_diagram.puml | 87711901e35e82b414863d253261dff0d9a4338c | [
"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,012 | puml | @startuml create_metrics_widget_activity_diagram
(*) -> CoolWidget
--> if Need to use base widgets? then
--> [Yes] if Do they exist? then
--> [Yes] Use the existing base widget
--> ===STEP1===
else
--> [No] Try to create a new base widget to use
--> ===STEP1===
endif
else
--> [No] ===STEP1===
endif
--> if Any child metrics widgets? then
--> [Yes] Create Composite view model
--> ===STEP2===
else
--> [No] Create Plain view model
--> ===STEP2===
endif
--> Implement your widget
--> if Is a common widget? then
--> [Yes] Place it under the **common/presentation** folder
--> Place the created view model under \n **common/presentation/view_models**
--> ===STEP3===
else
--> [No] Place it under the **module_name/presentation/widgets** folder
--> Place the created view model under \n **module_name/presentation/view_models**
--> ===STEP3===
endif
--> Apply a theme data
--> if Any constant strings? then
--> [Yes] Extract strings to the **//ModuleName//Strings** class
--> (*)
else
--> [No] (*)
endif
@enduml
| false | true | false | false | activity |
34eebc0dc77f19884c8cbc8ec91deea5844ec884 | 26d5ceb51aea843490d9d104d84f4800c70cfbc2 | /TrainSystem/UML/Sequence Diagrams/TrainModel/SetAuthority.puml | 6b934cc843128b0e54bead58fae4c94ae666e55b | [
"MIT"
] | permissive | kevingilboy/COE1186 | 7491c4019ccc3df8ff3adc9a5fa4c7b7aeb67dab | b5e3c3135cf80d4dae8dd4412999ae92784dd3a9 | refs/heads/master | 2021-01-21T12:01:04.821758 | 2017-12-13T07:54:33 | 2017-12-13T07:54:33 | 102,041,226 | 0 | 2 | MIT | 2018-02-09T16:36:04 | 2017-08-31T20:17:26 | Java | UTF-8 | PlantUML | false | false | 1,146 | puml | @startuml
title Set Train CTC Authority - Train Model
skinparam sequence {
BackgroundColor transparent
ParticipantBackgroundColor #e6ffcc
ParticipantBorderColor #049595
PackageBorderCOlor #049595
BoxBorderColor #049595
ArrowColor #006666
LifeLineBorderColor #c09cd9
}
participant Ctc
participant TrackController
participant TrackModel
box "Train Model"
participant TrainModel
end box
participant Mbo
activate Ctc
Ctc -> Ctc : Determine authority
Ctc -> TrackController : transmitCtcAuthority(Train,authority)
deactivate Ctc
activate TrackController
TrackController -> TrackModel : transmitCtcAuthority(Train,authority)
deactivate TrackController
activate TrackModel
TrackModel -> TrainModel : transmitCtcAuthority(Train,authority)
deactivate TrackModel
activate TrainModel
TrainModel -> TrainController : setCtcAuthority(Train,authority)
activate TrainController
activate Mbo
Mbo -> Mbo : Determine authority
Mbo -> TrainController : setMboAuthority(Train, authority)
deactivate Mbo
TrainController --> TrainController : setAuthority(ctcAuthority,mboAuthority)
deactivate TrainController
deactivate TrainModel
@enduml
| false | true | false | false | sequence |
57cbd2ac8d481bc6a178d00139c3dedd6c62795c | 68664e1c3bace54dae358d5ed4ea1be5cfaa0f7f | /MergedApp/app/src/main/java/com/zafB/PhoToDo/exam soft eng seq.puml | 13eb57baab7315e57240dd526330f27eb654dfdc | [] | no_license | khizar345/MergedApp-khizar | a7fdf696b9de2085846f60915331800b01be52bc | 5d7b23cfb326e523c025f3a03090f01c41e22d32 | refs/heads/master | 2022-08-30T06:15:20.990446 | 2022-08-09T11:03:36 | 2022-08-09T11:03:36 | 56,225,976 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 367 | puml | @startuml
title __View menu__ usecase
actor Customer as cust
participant app as "Restaurant \napp"
database Database
activate cust
cust -> app : Clicks on menu
activate app
app -> Database : Sends menu request
activate Database
app <-- Database : Responds with current menu
deactivate Database
cust <-- app : Displays the menu to the customer
deactivate app
@enduml | false | true | false | false | sequence |
8dac06d3ee0f896ea3104761579575310593e0a0 | 2c0edfcd9e6ddf16a88762a018589cbebe6fa8e8 | /CleanSheets/src/main/java/csheets/worklog/n1140780/sprint3/ipc_03.2_extension_image2.puml | 44b9a79c245b196e8625d6ea292a10c2edeb36f8 | [] | no_license | ABCurado/University-Projects | 7fb32b588f2c7fbe384ca947d25928b8d702d667 | 6c9475f5ef5604955bc21bb4f8b1d113a344d7ab | refs/heads/master | 2021-01-12T05:25:21.614584 | 2017-01-03T15:29:00 | 2017-01-03T15:29:00 | 77,926,226 | 1 | 3 | null | null | null | null | UTF-8 | PlantUML | false | false | 539 | puml | @startuml doc-files/ipc_3.1_extension_image2.png
participant UIController as UIC
participant ExtensionManager as ExtM
participant "extension : WorkbookSearchExtension" as EExample
participant "uiExtension : UIExtensionWorkbookSearch" as UIExt
UIC -> ExtM : extensions=getExtensions();
loop for Extension ext : extensions
UIC -> EExample : uiExtension=getUIExtension(this);
activate EExample
create UIExt
EExample -> UIExt : new
deactivate EExample
UIC -> UIC : uiExtensions.add(uiExtension);
end
@enduml | false | true | false | false | sequence |
89c354b1452008d54ea184bedbc2423ea8d6a734 | 09f4e6a1dff07d0d90c208d35646ed6ff7ed517a | /dev.local.plantuml | 131a2a5a29b50a31d614ef546fdbcbe7dbd44ec1 | [
"MIT"
] | permissive | neothor/steam-openid-connect-provider | b15be2abdbc791adaab25d9436d68cbf2b22be3c | 62ab2f26678d43bed7a287d18823f3f0db013efd | refs/heads/master | 2021-10-23T23:10:00.198819 | 2021-10-17T09:38:09 | 2021-10-17T09:38:09 | 230,158,199 | 1 | 1 | MIT | 2021-10-17T09:33:19 | 2019-12-25T22:02:05 | C# | UTF-8 | PlantUML | false | false | 535 | plantuml | @startuml
node Host {
component Browser
node Docker {
component Proxy
component Keycloak
component SteamIdp
component Postgresql
Proxy --> Keycloak: keycloak (http)
Proxy --> SteamIdp: steamidp (http)
Keycloak --> Postgresql: postgres
Proxy <-- Keycloak: dev.local (https)
}
component SteamIdpDev as "SteamIdp"
}
cloud Internet {
component Steam
}
Browser --> Proxy: dev.local (https)
Proxy ..> SteamIdpDev: host.docker.internal (http)
@enduml | false | true | false | false | sequence |
2bdc7b869ff3759d6eed9173b635863f8667cfc4 | bb46ea9cb4da8de2b842abb50f886ff393021d95 | /docs/1_normal.plantuml | 685cdd2d94b680da676ad2f35ac409c919c8d410 | [
"Apache-2.0"
] | permissive | API-market/machinomy | 6a853490fd9600742fa522000cd2ab5ff6c37882 | a7f08e8002912f530972f74f64fc174ec640fdc3 | refs/heads/dev | 2021-04-28T18:31:16.941650 | 2018-03-20T23:57:16 | 2018-03-20T23:57:16 | 121,874,145 | 0 | 0 | Apache-2.0 | 2018-03-23T18:21:18 | 2018-02-17T17:04:34 | TypeScript | UTF-8 | PlantUML | false | false | 1,182 | plantuml | @startuml
Sender -> Contract : Create Channel*
Contract -->> Sender : Did Create Channel
Contract -->> Receiver : Did Create Channel
loop
Sender ->> Receiver : Offchain Payment
end
opt
Sender -> Contract : Deposit*
Contract -->> Sender: Did Deposit
Contract -->> Receiver: Did Deposit
end
alt close initiated by receiver
Receiver ->> Contract : Claim
Contract --> Receiver : *
opt funds left unclaimed
Contract --> Sender : *
end
Contract -->> Receiver : Did Claim
Contract -->> Sender : Did Claim
else close initiated by sender
Sender ->> Contract: Settle Channel
Contract -->> Receiver : Did Initiate Settle
Contract -->> Sender : Did Initiate Settle
alt receiver comes && in time
Receiver ->> Contract : Claim
Contract --> Receiver : *
opt funds left unclaimed
Contract --> Sender : *
end
else no claim && over time
Sender ->> Contract: Close Channel
Contract --> Receiver : *
opt funds left unclaimed
Contract --> Sender : *
end
end
end
Contract -->> Receiver : Did Settle
Contract -->> Sender : Did Settle
@enduml
| false | true | false | false | sequence |
e0f428d4e65035c943c3636f15f9a34cd85636ac | 0bdd883f09ae3030c384eaa600517d7665b3de3f | /Digester_seq.puml | 3864351d9cf244c6bd5fb9ed13d9733c212607ae | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"CDDL-1.0",
"CPL-1.0",
"Zlib",
"EPL-1.0",
"bzip2-1.0.6",
"LZMA-exception"
] | permissive | gdyjlqh/tomcat8.5.x | af5a6cbbbb3d7986686decc187dc16455c51d935 | 9dbc14f3e66477188973c744d19c5cccb4502b39 | refs/heads/master | 2022-02-12T18:57:40.000214 | 2019-06-10T17:28:49 | 2019-06-10T17:28:49 | 190,021,858 | 0 | 0 | Apache-2.0 | 2022-01-21T23:34:15 | 2019-06-03T14:28:47 | Java | UTF-8 | PlantUML | false | false | 1,372 | puml | @startuml
hide footbox
title <font color="red">tomcat8.5.x -- Digester
participant Digester as A
autonumber 1 "0:"
[-> A : new
activate A
A -> A : setValidating()
note right
This must be before <b>parse()</b> is called the fisrt time.
end note
A -> A : setRulesValidation()
A -> A : addRules
A -> A : push()
note right
if (stack.size() == 0) {
root = object;
}
stack.push(object);
end note
A -> A : parse()
activate A
A -> A : configure()
A -> A : getXMLReader()
activate A
A -> A : getParser()
activate A
A -> A : getFactory()
activate A
A -> SAXParserFactory : newInstance()
activate SAXParserFactory
note over SAXParserFactory : SAXParserFactoryImpl
SAXParserFactory -> SAXParser : getSAXParser()
activate SAXParser
note over SAXParser : new SAXParserImpl()
SAXParser -> XMLReader : new JAXPSAXParser()
activate XMLReader
note over XMLReader : JAXPSAXParser
SAXParser <- XMLReader : xmlReader
SAXParserFactory -> SAXParser : getXMLReader()
SAXParserFactory <- SAXParser : xmlReader
A <- SAXParserFactory : reader:XMLReader
deactivate A
''''''''''end A : getFactory()
deactivate A
''''''''''end A : getParser()
A -> XMLReader : setDTDHandler()
A -> XMLReader : setContentHandler()
A -> XMLReader : setErrorHandler()
deactivate A
''''''''''end A : getXMLReader()
A -> XMLReader : parse()
deactivate A
''''''''''end A : parse()
||200||
@enduml | false | true | false | false | sequence |
9af046c54135b2e6d8e30c966481adac5ea2294a | 83bec850817e3deb2a33a5ab2527784a976338b3 | /log210-contenu/assets/dss-attaquer-pays.puml | 9f6fa527b94627b5558dcedd86166ef703e8c9c6 | [] | no_license | yvanross/github-action-learning-larman-mdd | df8fb1907a84046ce0ed3b62ea555fd3b12655ad | e0195b3344ecdfaa934e788e839e8758453bc4ca | refs/heads/main | 2023-08-30T10:22:28.071260 | 2021-11-11T15:29:27 | 2021-11-11T15:29:27 | 304,116,705 | 0 | 0 | null | 2020-10-15T01:32:37 | 2020-10-14T19:34:03 | JavaScript | UTF-8 | PlantUML | false | false | 509 | puml | @startuml
skinparam sequenceMessageAlign center
skinparam style strictuml
title DSS pour <i>Attaquer un pays</i>
actor ":Joueur" as c
participant ":Système" as s
c->s : démarrerAttaque(paysAttaquant : String,\npaysDéfenseur : String)
loop pas terminé
c->s : annoncerAttaque(nbRégimentsAttaquant : int)
c->s : annoncerDéfense(nbRégimentsDéfendant : int)
c<<--s : résultats des deux lancers, régiments perdus \nde l'attaquant et du défenseur le cas échéant
end loop
c->s : terminerAttaque()
@enduml | false | true | true | false | usecase |
980e56f6d76001d9346c32a7d1c98acbe752dddf | cbae2c225bd245204a40e41a25415c41604e6219 | /rasd/sequence_diagram/sequence_diagram_signup.plantuml | dc2094e49ca0894c6dd16bdfe6552fe53f126534 | [] | no_license | fcremo/AlfonsoCarsenzuolaCremonese-ingsw2 | c15da77f1c33c9cdd0dd1dbe0c79bfe7bfea3903 | 931288cf6f6e98e177432e5445c6361a0c3443c4 | refs/heads/master | 2021-03-30T17:25:41.027189 | 2017-11-26T20:43:18 | 2017-11-26T20:43:18 | 105,372,279 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,294 | plantuml | @startuml
actor Guest
participant System
actor User
activate Guest #FFBBBB
Guest -> System: Registration
activate System #FFBBBB
System -> System: LoadRegistrationPage
System --> Guest: ShowRegistrationPage
deactivate System #FFBBBB
Guest -> System: InsertInformation
activate System #FFBBBB
System -> System: VerifyInformation
deactivate System #FFBBBB
alt correct information
System --> Guest: NotifyCorrectInformation
System -> Guest: SendEmailWithCode
Guest -> System: InsertVerificationCode
System -> System: VerifyCode
alt correct verification code
System --> Guest: NotifyCorrectCode
System -> Guest: AcceptingEULA
alt confirmed
Guest -> System: Confirm
activate System #FFBBBB
System -> System: <<CreateUser>>
System -> Guest: SendConfirmationEmail
activate User #FFBBBB
System --> User: ShowLoginPage
deactivate User #FFBBBB
deactivate System #FFBBBB
else not confirmed
Guest -> System: Cancel
activate System #FFBBBB
System --> Guest: ErrorMessage
deactivate System #FFBBBB
end
else incorrect verification code
System --> Guest: NotifyIncorrectCode
end
else incorrect information
System --> Guest: NotifyIncorrectInfo
end
@enduml
| false | true | false | false | sequence |
67e8f9f62e28ccaa6634f7a51acb36b0646d81e0 | c8e5514bd3ea44e6613f469e88bc0562ba16ae62 | /src/site/sphinx/formatting/puml/colors/Lime.puml | aa653a983ac66718e97e76f6f4a3604863721d76 | [] | no_license | weedySeaDragon/plantuml-documentation | 1dc30b9afcedaf1afe153cd9bbaa2c3246a769ba | 3c23cd2cd7fc1b4a85423ef9861711907fab2296 | refs/heads/develop | 2022-12-09T05:57:04.055959 | 2022-05-12T16:05:20 | 2022-05-12T16:05:20 | 165,910,589 | 55 | 6 | null | 2022-11-22T10:34:29 | 2019-01-15T19:28:35 | SCSS | UTF-8 | PlantUML | false | false | 301 | puml | @startuml
skinparam ClassBackgroundColor #Lime
skinparam ClassFontColor #Lime
skinparam ClassBorderColor #Lime
skinparam ClassStereotypeFontSize 0
skinparam CircledCharacterFontSize 0
skinparam CircledCharacterRadius 0
skinparam ClassBorderThickness 0
skinparam Shadowing false
class Dummy
@enduml | false | true | false | false | class |
bb164baf1fd04541c88df43feea519f1b73a6fef | 2c7b3d0a9f435618ac6d5e165333d97f0dffb1ce | /src/main/java/com/mrathena/design/pattern/creational/patterns/singleton/pattern/implement/singleton.pattern.puml | 84150abe4b292f4298441dc31ade72e7eaf2b264 | [] | no_license | mrathena/design.pattern | 0a068b32e670c8856638557be23d93a9bd679ca8 | a65520b5a130cab5b163e9d99665ce5bdcb017d9 | refs/heads/master | 2021-06-03T01:13:15.722914 | 2020-07-02T08:02:08 | 2020-07-02T08:02:08 | 223,210,637 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 130 | puml | @startuml
class Singleton {
- static Singleton instance
- Singleton () {}
+ static Singleton getInstance()
}
@enduml | false | true | false | false | class |
3a9e8d6e9096ab1f7fd1ff96e6f10da77150eecc | 4cd2054a4beded3b16a5292948960a974d5fe810 | /exercise42/Diagram.puml | aac499987400274015728d952cfdcba0c3a78009 | [] | no_license | BronRed/Reed-a04 | 3ef8a042c3585abeb39f2d0734dc4a8f34baf4ff | a787348edd65ba01431876e244dd48045701bb08 | refs/heads/main | 2023-08-17T21:59:58.486607 | 2021-10-17T23:53:25 | 2021-10-17T23:53:25 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 112 | puml | @startuml
class Solution42{
+main()
}
class Employees{
+printEmployeeData()
}
Solution42 --o Employees
@enduml | false | true | false | false | class |
12e402a7ee4cfaa48e5cbe38c74798a27abb1e1e | c5f6be1c13ab1d0c99b597130443273e13bc06e7 | /screenshot/uml/arraydeque_structure.puml | 12e21a5bcc8e190615933e610cb01504f184b4be | [] | no_license | chenzhe/BlogSource | e82a0648b6addebbe0ab6f4da3ae8c1f03e42852 | 284bd5e1131b98923076c88f356831623e315d94 | refs/heads/master | 2021-02-06T10:16:36.754496 | 2018-06-07T08:09:10 | 2018-06-07T08:09:10 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 255 | puml | @startuml
abstract AbstractCollection
interface Deque
class ArrayDeque{
}
AbstractCollection <|- ArrayDeque
Deque <|.. ArrayDeque
interface Collection
Collection <|.. AbstractCollection
interface Queue
Queue <|- Deque
Collection <|- Queue
@enduml | false | true | false | false | class |
f7cdba124a130f5ec58933afc88428a10208a4ad | 585df86cbdcbe7068f3938b6355c60e4c98c5786 | /Presentation/img/architecture.puml | c43f9c5097d6bc2d16c1f06731aa9459ff955450 | [] | no_license | FoxAviation/TUM_ISDS | 26c281bc2c038b257ea12879afaae0ad316dfd58 | 4dc88f358811974b135c2a2f7d73831bfa0b3476 | refs/heads/master | 2020-03-09T12:47:23.014800 | 2018-07-19T20:21:40 | 2018-07-19T20:21:40 | 128,794,316 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 454 | puml | @startuml
actor "Operator" as ops
component "Translation agent" as ta
frame "Managed device" as md1 {
component "Deployment Agent" as da1
}
frame "Managed device" as md2 {
component "Deployment Agent" as da2
}
frame "Managed device" as md3 {
component "Deployment Agent" as da3
}
database "Repository" as repo {
file "Configurations" as cfg
}
ops -right-> cfg
cfg --> ta
ta --> md1: profile
ta --> md2: profile
ta --> md3: profile
@enduml | false | true | false | false | sequence |
8c2c9aa8cbd277239dff7f77e2486df6c57ebebf | 4e7ddf6972237ce7273276b056ed0d0c4429bc4b | /doc/diag_clases.puml | badc98e5890a6ab6046ba848bafb1844179ca5fa | [] | no_license | aleferrero98/TP2-Paradigma-2021 | 1b077563cc196f573b7fcee7e3720d30a2b22422 | ced277f6fcb5eaf9c185f33313e8e00bd2bc53fa | refs/heads/master | 2023-06-04T02:44:18.973848 | 2021-06-17T16:44:00 | 2021-06-17T16:44:00 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,917 | puml | Diagrama de clases del TP2 - CryptoServer
@startuml CryptoServer
'hide circle
skinparam ClassAttributeIconSize 0
class ClienteHTTP {
- {static} TaskScheduler scheduler
- ZnClient cliente_http_btc
- ZnClient cliente_http_eth
- Integer periodo
- OrderedCollection valoresBTC
- OrderedCollection valoresETH
- GestorDeEventos eventManager
+ initialize()
+ doGetRequest(ZnClient aClientHTTP) : Dictionary
+ comenzarScheduler()
+ detenerScheduler()
+ setFunctionScheduler()
+ {static} scheduler() : TaskScheduler
+ {static} scheduler(TaskScheduler obj)
'+ cliente_http_btc() : ZnClient
'+ cliente_http_btc(ZnClient obj)
'+ cliente_http_eth() : ZnClient
'+ cliente_http_eth(ZnClient obj)
'+ eventManager() : GestorDeEventos
'+ eventManager(GestorDeEventos obj)
'+ periodo() : Integer
'+ periodo(Integer obj)
'+ valoresBTC() : OrderedCollection
'+ valoresBTC(OrderedCollection obj)
'+ valoresETH() : OrderedCollection
'+ valoresETH(OrderedCollection obj)
}
class Application {
- ServidorHTTP server
- ClienteHTTP cliente_http
+ initialize()
+ main()
'+ server() : ServidorHTTP
'+ server(ServidorHTTP anObject)
}
class GestorDeEventos {
- OrderedCollection listeners
+ initialize()
'+ listeners() : OrderedCollection
'+ listeners(OrderedCollection anObject)
+ notify(Dictionary aData)
+ subscribe(Object aListener)
+ unsubscribe(Object aListener)
}
interface Indicador {
+ calcularMetrica(Dictionary valoresMercado) : String
}
class IndicadorRSI {
+ calcularMetrica(Dictionary valoresMercado) : String
}
class IndicadorMomentum {
+ calcularMetrica(Dictionary valoresMercado) : String
}
class ServidorHTTP {
- Array ipAddr
- Integer nroPuerto
- WebSocketServer webSocket
- String html
+ initialize()
+ startServidor()
+ stopServidor()
'+ ipAddr() : Array
'+ ipAddr(Array obj)
'+ nroPuerto() : Integer
'+ nroPuerto(Integer obj)
'+ webSocket() : WebSocketServer
'+ webSocket(WebSocketServer obj)
'+ html() : String
'+ html(String obj)
}
class WebSocketServer {
- data
- indicadorCVBTC
- indicadorCVETH
- datasimple
+ initialize()
'+ data() : JSON data
'+ data(JSON anObject)
'+ datasimple() : Dictionary
'+ datasimple(Dictionary anObject)
+ indicadorCVBTC() : Indicador
+ indicadorCVETH() : Indicador
+ selectMomentumBTC()
+ selectMomentumETH()
+ selectRSIBTC()
+ selectRSIETH()
+ update(Dictionary aData)
+ value(ZnWebSocket webSocket)
}
WebSocketServer o.> Indicador
Indicador <|.. IndicadorRSI
Indicador <|.. IndicadorMomentum
Application ..> ClienteHTTP
Application ..> ServidorHTTP
ServidorHTTP ..> WebSocketServer
ClienteHTTP o.> GestorDeEventos
GestorDeEventos o--> WebSocketServer
@enduml | false | true | false | false | class |
2dcfab3bc39da2d17b7ce11c5153d5bc9e1d217c | bb209a68f1d9336a28270a7afbdcb899c91918df | /p02_strategy/strategy.puml | 1aa36a5d0f4249d12d3fe90cb547f21f959e9fe5 | [] | no_license | CrazyBilipala/Design-Patterns-2019 | 25376e46641cff4a200b6d594e10b866b182d7b2 | 17512c6e0e1286e218f139c2ca3fceeeba92e38e | refs/heads/master | 2020-07-14T14:42:01.329685 | 2019-08-30T08:24:26 | 2019-08-30T08:24:26 | 205,336,482 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 325 | puml | @startuml
abstract class Strategy {
+ tricks(): void
}
class StrategyA extends Strategy{
+ tricks(): void
}
class StrategyB extends Strategy{
+ tricks(): void
}
class StrategyC extends Strategy{
+ tricks(): void
}
class StrategyContext {
- strategy: Strategy
}
StrategyContext <--o Strategy
@enduml | false | true | false | false | class |
450b992ca589d3e5a422871b77b9fdee02d3ded9 | d13b63d45415c09e7d89ebe1466b27d8aca4bee4 | /Cotxots.urm.puml | 6f28c739b405a038b0ac4c0fae63c7e74524f828 | [] | no_license | Ulisesuarez/Cotxots | ac38bc0dc2aa3671350d5a801818497f136640cf | 93db2ee029b18f78946521656fcc6ddb602fecb5 | refs/heads/master | 2021-05-02T17:48:07.021958 | 2018-03-04T11:38:41 | 2018-03-04T11:38:41 | 120,652,010 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,567 | puml | @startuml
package org.mvpigs.Cotxots.conductores {
class Conductor {
- matricula : String
- modelo : String
- nombre : String
- ocupado : boolean
- valoracionMedia : double
- valoraciones : ArrayList<Byte>
+ Conductor(nombre : String)
+ getMatricula() : String
+ getModelo() : String
+ getNombre() : String
+ getValoracionMedia() : double
+ getValoraciones() : ArrayList<Byte>
+ isOcupado() : boolean
+ setMatricula(matricula : String)
+ setModelo(modelo : String)
+ setOcupado(ocupado : boolean)
+ setValoracion(valoracion : byte)
+ setValoracionMedia()
+ setValoraciones(valoraciones : ArrayList<Byte>)
}
class PoolConductores {
- poolConductores : ArrayList<Conductor>
+ PoolConductores(poolConductores : ArrayList<Conductor>)
+ asignarCondtuctor() : Conductor
+ getPoolConductores() : ArrayList<Conductor>
}
}
package org.mvpigs.Cotxots.tarifa {
class Tarifa {
- costeMilla : double {static}
- costeMinimo : int {static}
- costeMinuto : double {static}
- porcentajeComision : double {static}
+ Tarifa()
+ getCosteDistancia(distancia : double) : double {static}
+ getCosteMinutos(minutos : int) : double {static}
+ getCosteTotal(carrera : Carrera) : double {static}
+ getCosteTotalEsperado(carrera : Carrera) : double {static}
}
}
package org.mvpigs.Cotxots.carrera {
class Carrera {
- conductor : Conductor
- costeTotal : double
- destino : String
- distancia : double
- origen : String
- propina : double
- tarjetaCredito : String
- tiempoCarrera : int
- tiempoEsperado : int
+ Carrera(tarjetaCredito : String)
+ asignarConductor(conductores : PoolConductores)
+ getConductor() : Conductor
+ getCosteEsperado() : double
+ getCosteTotal() : double
+ getDestino() : String
+ getDistancia() : double
+ getOrigen() : String
+ getPropina() : double
+ getTarjetaCredito() : String
+ getTiempoCarrera() : int
+ getTiempoEsperado() : int
+ liberarConductor()
+ realizarPago(pago : double)
+ recibirPropina(propina : double)
+ setDestino(destino : String)
+ setDistancia(distancia : double)
+ setOrigen(origen : String)
+ setTiempoCarrera(tiempoCarrera : int)
+ setTiempoEsperado(tiempoEsperadoMinutos : int)
}
}
package org.mvpigs.Cotxots.main {
class Main {
+ Main()
+ main(args : String[]) {static}
}
}
PoolConductores --> "-poolConductores" Conductor
Carrera --> "-conductor" Conductor
@enduml | false | true | false | false | class |
02fa6b0096feba2e3115d23fe5bb0540324c2019 | 7e361e102357c45a4e58c934012448affd1e1556 | /DesignPattern/src/top/liumuge/uml/composition/composition.puml | 099d993fb5eece48c43ba667123bacca7f1db5aa | [] | no_license | lcopilot/DesignPattern-learn | c01bb0a1c6aa41a6340b5e27fbfe65da9addb001 | c21cfeeefbbe98fb14d0c4ff1b2361c7c94c8c1e | refs/heads/master | 2022-11-25T12:38:29.726146 | 2020-08-04T13:47:39 | 2020-08-04T13:47:39 | 284,993,638 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 172 | puml | @startuml
Moniter --* Computer
Mouse --* Computer
class Computer{
- mouse:Mouse=new Mouse();
- moniter:Moniter=new Moniter();
}
class Moniter{
}
class Mouse{
}
@enduml | false | true | false | false | class |
1d09824b00e01dc793e75c844cf0d9b4a8c809cb | 8647fb9e7ecc6e34c5d51dc45622215c0e839c58 | /MTD Arch Docs/MTD-DES/MTD-ind-deductions-to-DES.puml | 0104d2a577273685b84e6fd3b0c3840487007fbd | [
"Apache-2.0"
] | permissive | uk-gov-mirror/hmrc.api-architecture | 68206547d85e8d172634e51b40f936514897e870 | bf51f6dccfb84ac02a3614a06caa8993f8345609 | refs/heads/master | 2023-04-16T07:30:16.174231 | 2021-04-19T17:09:11 | 2021-04-19T17:09:11 | 356,719,835 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 473 | puml | @startuml
skinparam componentStyle rectangle
left to right direction
skinparam component {
BackgroundColor #fafcff
BorderColor black
}
package "other-deductions-api" #d6e6ff {
[ Retrieve deductions - test only ]
[ Create and Amend deductions - test only ]
[ Delete deductions - test only ]
}
[ Retrieve deductions - test only ]-->[DES API#1639]
[ Create and Amend deductions - test only ]-->[DES API#1638]
[ Delete deductions - test only ]-->[DES API#1640]
@enduml | false | true | false | false | uml-unknown |
397a38bf5aebf79739b7372e4cfefe51cd9a5ca5 | 84dbfc8df17a0a3f9d6382d781ba13dd616b93dd | /rapport/UML_6/total/VegetalProxy.puml | f0230a6a1a8eb2f52f0e1884b41d1ec3fbf714b4 | [
"MIT"
] | permissive | C-Rio/Simulation_monde | ca20856ca68b3f96555304736bc1f2b58cd4ae02 | 99e118c3782eea332f064abe7600fbb1b5c6006d | refs/heads/master | 2022-10-28T23:39:17.566527 | 2022-10-09T17:22:35 | 2022-10-09T17:22:35 | 253,203,756 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 264 | puml | @startuml
Class VegetalProxy {
+ double : get_x()
+ void : set_x(double)
+ double : get_y()
+ void : set_y(double)
+ void : dessiner()
+ void : dessiner_simple()
+ void : grandir(double)
+ void : update()
+ bool : controle()
}
@enduml
| false | true | false | false | class |
0f002cc7c5221b915da0d596f745d3a5ce5ca8a3 | 0dbb6a14039e9192748fea378ac60287855852c4 | /java-study-notes/src/main/java/com/hzy/designpattern/factory/traditionnal/traditionnal.puml | 2569149b02cde390c4036ad994acdede5e2aca88 | [] | no_license | ThingkingInCoffee/java-study-notes | d2aaab8b8b73204bf6c7a94682cae9b618673660 | 2eae855010d2f7008e44ca266c9734ed68c13435 | refs/heads/master | 2022-07-04T07:53:45.982407 | 2022-06-13T08:45:16 | 2022-06-13T08:45:16 | 223,761,492 | 0 | 0 | null | 2020-10-13T19:21:45 | 2019-11-24T14:57:03 | Java | UTF-8 | PlantUML | false | false | 181 | puml | @startuml
abstract class Pizza
OrderPizza ..> Pizza
OrderPizza ..> PizzaPig
OrderPizza ..> PizzaCheese
PizzaPig <|-- Pizza
PizzaCheese <|-- Pizza
class OrderPizza {
}
@enduml | false | true | false | false | class |
e40214c1245f650f8f3072eac1b9eb7572d04546 | 9f8694feea36c3ef703a0b09f2cd086e763d20f5 | /docs/architecture/diagrams/2a-searchBank.puml | ced6ed9227dc3dcb00453f1eb52a31a27462a97f | [
"Apache-2.0"
] | permissive | DG0lden/mkdocs-demo | 8643ae35adf93b0494876a54935b3ae794b2263f | 767883cbf2f9691df40ee23f76f46415f79ae5a4 | refs/heads/master | 2020-09-29T22:05:15.628241 | 2019-12-13T12:06:38 | 2019-12-13T12:06:38 | 227,132,705 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,590 | puml | @startuml
autonumber 100 "<b><color blue>[Search-000]</color></b>"
actor psu
box "PsuUserAgent" #LightGray
participant "FinTechUI" as FinTechUI
participant "LuceneSearch" as LuceneSearch
'participant "ConsentAuthorisationUI" as ConsentAuthorisationUI
'participant "OnlineBankingUI" as OnlineBankingUI
end box
box "FinTechDC" #DarkSeaGreen
participant "FinTechApi" as FinTechApi
end box
box "TppDC" #LightGray
'participant "TppBankingApi" as TppBankingApi
participant "TppBankSearchApi" as TppBankSearchApi
'participant "ConsentAuthorisationApi" as ConsentAuthorisationApi
'participant "RedirectSessionStoreApi" as RedirectSessionStoreApi
'participant "BankingProtocolSelector" as BankingProtocolSelector
'participant "BankingProtocol" as BankingProtocol
end box
box "AspspDC" #LightSkyBlue
'participant "AspspBankingApi" as AspspBankingApi
'participant "OnlineBankingApi" as OnlineBankingApi
end box
== PSU searches a bank by keyword : call[header](body)<params> return code[header](body) ==
psu -> FinTechUI ++ : loadFinTechSeachScreen()
FinTechUI -> FinTechApi ++ : GET:bankSearchIndex[]()<discriminator>
FinTechApi -> TppBankSearchApi ++ : GET:bankSearchIndex[]()<discriminator>
return 200_OK[](BankSearchIndex)
return 200_OK[](BankSearchIndex)
return displaySearchScreen()
psu -> FinTechUI ++ : enterKeyword(keyword)
loop while(furtherKeyWords)
FinTechUI -> LuceneSearch ++ : search(keyword)
LuceneSearch -> LuceneSearch : search(keyWord,BankSearchIndex)
return List<BankDescriptor>
return display(List<BankDescriptor>)
end
@enduml
| false | true | false | false | usecase |
d53eb97231d6074ddd53500bb89fbd5e01b72f42 | c64b9e9225673fe3b818dd44052934641de8031e | /docs/requirements/diagrams/use_case_model.puml | 2a16e43b80e63807dee330eaac62a25f33332c89 | [] | no_license | EdLaser/I3_Antragsverwaltungstool | ff50c1db63c5757d3f7c08d738347163c9b1b785 | d19a6c6965c13695999e0b746cced89dab827889 | refs/heads/main | 2023-06-19T02:23:12.410355 | 2021-07-09T11:47:33 | 2021-07-09T11:47:33 | 316,288,477 | 10 | 2 | null | 2021-07-02T19:25:04 | 2020-11-26T16:48:21 | HTML | UTF-8 | PlantUML | false | false | 790 | puml | @startuml "Use-Case-Model"
left to right direction
actor Antragssteller <<Person>>
actor Präsidium <<Person>>
rectangle Antragsverwaltungstool {
(Wahlantrag stellen) <<UC01>> as wahl
(Antrag auf Ressourcen stellen) <<UC02>> as ressourcen
(Offene Anträge Ansehen) <<UC03>> as ansehen
(Änderungsantrag vom Antragsteller) <<UC04>> as änderung
(Offene Anträge ansehen) <<UC05>> as ansehen_p
(Antrag bearbeiten) <<UC06>> as bearbeiten
(Antrag ablehnen) <<UC07>> as ablehnen
(Antrag vertagen) <<UC08>> as vertagen
}
left to right direction
Antragssteller --> wahl
Antragssteller --> ressourcen
Antragssteller --> ansehen
Antragssteller --> änderung
Präsidium --> ansehen_p
Präsidium --> bearbeiten
Präsidium --> ablehnen
Präsidium --> vertagen
@enduml | false | true | true | false | usecase |
6ff9009c8fefe1a24b1852a597a7a3fb8f4e9a34 | ba951c69c0d8273a8588b7ba7970b3e7eb581474 | /src/main/java/bmp/bitmap/bitmap.plantuml | dff875b11753dc3576edb4af4c411ea91c7332fa | [] | no_license | jenekL/CourseWorkMSKIT | f75bc5855304e5c29c30d41ea88bf70c4112c96b | e392a4aaef482dd966caef9d74d6f298e57a6cb7 | refs/heads/master | 2020-06-03T14:20:01.903967 | 2019-06-12T17:28:37 | 2019-06-12T17:28:37 | 191,601,726 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 984 | plantuml | @startuml
package by.spalex.bmp.bitmap {
class Bitmap {
{static} - HEADER_SIZE : int
- bytes : byte[]
- bitmask : Color
- palette : Color[]
- paletteOffset : int
+ Bitmap()
- setBitmapHeader()
- filPalette()
+ getPaletteOffset()
+ getBytes()
+ getHeader()
+ getBitmapHeader()
+ getBitmask()
- getRowSize()
+ getPixelArraySize()
+ getEncodeCapacity()
}
package by.spalex.bmp.bitmap.header{
class Header{
}
interface BitmapHeader{
}
class BitmapCoreHeader{
}
class BitmapInfoHeader{
}
enum Bpp{
}
enum Compression{
}
}
}
Bitmap o-- Header : header
Bitmap o-- BitmapHeader : bitmapHeader
Bitmap o-- Bpp : bpp
Bitmap o-- Compression : compression
BitmapCoreHeader -up-|> BitmapHeader
BitmapInfoHeader -up-|> BitmapHeader
@enduml
| false | true | false | false | class |
2e2ef004142f86a0857bc48ae42375e49b01141b | ffb766380eb82397e361780a1eb2b77b09cbf483 | /designs/software/usecase.puml | 53ed04374759480347de17bb40fd8251a73ec957 | [] | no_license | Safecast/bGeigieCast | b2ac008a949068ab56de09cc12b9c9b42e355250 | 804ea47a46076edceed29c24147177cbbb8b3895 | refs/heads/development | 2023-08-17T17:20:04.755298 | 2022-02-28T14:59:27 | 2022-02-28T14:59:27 | 170,440,965 | 9 | 1 | null | 2020-10-07T09:52:02 | 2019-02-13T04:36:04 | C++ | UTF-8 | PlantUML | false | false | 1,119 | puml | @startuml
:bGeigieUser: as user
:API service: as API<<secondairy>>
:Safecast drive: as BLU<<secondairy>>
:bGeigieController: as BGN<<internal>>
rectangle <<subsystem>>\nesp32Controller{
(Set config)
(Set esp mode)
(Reset configurations)
(Set\n mobile mode)
(Set\n fixed mode)
(Publish to API)
(Publish\n over bluetooth)
(Report data)
''' For ordering '''
(Set esp mode) -[hidden]> (Reset configurations)
(Reset configurations) -[hidden]> (Set config)
''''''
(Publish to API) -u.> (Report data) : <<extend>>
(Report data) -d.> (Publish\n over bluetooth) : <<include>>
(Set\n mobile mode) -u-|> (Set esp mode)
(Set\n fixed mode) -u-|> (Set esp mode)
(Publish to API) -d- API
(Publish\n over bluetooth) -d- BLU
user -- (Set esp mode)
user -- (Set config)
user -- (Reset configurations)
BGN -- (Report data)
}
note top of (Set config)
Set wifi settings etc.
- Using web interface
endnote
note top of (Set esp mode)
Mobile mode (Just bluetooth)
Stationary mode (Publish to API)
- Using push button
endnote
@enduml
| false | true | false | false | uml-unknown |
a4980d8be15f786a863fdaa08c93b24dc4adfa70 | 02a364d6cc772a9bf2e72d02dbecca74ac14d335 | /eCommerce-Core-2/DPLRef.eCommerce/plantuml/DPLRef.eCommerce.Client.Admin/TotalsCommand.puml | 0d06066ed7a6bc9e83af1278addbad204df1f7bb | [
"BSD-3-Clause"
] | permissive | noelmartens/TransitionAcademy | 4e02379d234aa4859a497ee2846420f4c55b9e12 | 3b95a5c737ab7b1497b77d455cf64caa73f69e1f | refs/heads/master | 2023-06-14T05:25:35.514249 | 2021-07-02T19:40:29 | 2021-07-02T19:40:29 | 362,512,351 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 167 | puml | @startuml
class TotalsCommand {
+ TotalsCommand(ambientContext:AmbientContext)
+ <<override>> Name : string <<get>>
}
BaseUICommand <|-- TotalsCommand
@enduml
| false | true | false | false | class |
03009439eacd8959ede42a38ac07382804fa1ddf | bf49d55ccb1e5a55ad63de65366e8874f2258d94 | /Digital_House-Certified_Tech_Developer/Backend_I/Proxy_pattern/Spotify/out/production/Spotify/Servicio_Musica_OnDemand.puml | a7a8b54e2ea65073de88b0e4719deeb2a4c1a8d5 | [] | no_license | hfelipeserna/hfelipeserna.github.io | 339f18c116db2738c3e093b748f7c9d746ad1eb5 | 9b643803f672bf4b34add22644919198e50da06d | refs/heads/main | 2023-09-03T19:09:33.411053 | 2021-10-26T14:23:59 | 2021-10-26T14:23:59 | 359,453,237 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,427 | puml | @startuml
'https://plantuml.com/class-diagram
'___________STYLES___________
title UML - Servicio de música on demand (Spotify)
skinparam classAttributeIconSize 0
skinparam backgroundColor White
skinparam RoundCorner 10
skinparam Shadowing true
skinparam class {
ArrowColor Black
BackgroundColor White
HeaderBackgroundColor Gray
BorderColor Black
FontColor White
FontSize 14
AttributeFontSize 12
}
skinparam object{
ArrowColor Black
BackgroundColor White
BorderColor Black
FontColor Black
FontSize 14
AttributeFontSize 12
}
skinparam note {
BackgroundColor LightYellow
BorderColor Black
}
'___________UML___________
package model {
enum TipoUsuario {
FREE
PREMIUM
}
class Usuario {
- id: String
- tipoDeUsuario: TipoUsuario
+ Usuario(String id, TipoUsuario tipoDeUsuario)
+ getTipoDeUsuario(): TipoUsuario
}
}
package service {
interface IServicioDeDescarga {
+ descargarCanción(String cancion, TipoUsuario tipoDeUsuario)
}
class ServicioDeDescaga {
+ descargarCanción(String cancion, TipoUsuario tipoDeUsuario)
}
class ProxyServicioDeDescarga {
+ descargarCanción(String cancion, TipoUsuario tipoDeUsuario
- validarUsuario(TipoUsuario tipoDeUsuario): boolean
}
}
Usuario -> TipoUsuario
IServicioDeDescarga <|.. ServicioDeDescaga
IServicioDeDescarga <|.. ProxyServicioDeDescarga
ProxyServicioDeDescarga .> ServicioDeDescaga
service ..> model
@enduml | false | true | true | false | class |
9cebf27e8a0c60ee67653a249a67a50ea6ea259d | c815f9c82c1400f76243750cd0ec609d217b9943 | /dependency-injection/etc/dependency-injection.urm.puml | bf4d105998fa8e73e5952b3ba3a6e7c7b592c728 | [
"MIT"
] | permissive | mikulucky/java-design-patterns | 6ab10e9e5c95b6caffebf045d37d04a1571bc0cd | cbbf3bf08842723964719ed7d8ab92864ec5a58d | refs/heads/master | 2021-01-17T23:34:49.962450 | 2016-09-28T19:54:28 | 2016-09-28T19:54:28 | 48,302,802 | 1 | 1 | null | 2016-01-02T23:58:44 | 2015-12-20T01:00:47 | Java | UTF-8 | PlantUML | false | false | 1,028 | puml | @startuml
package com.iluwatar.dependency.injection {
class AdvancedWizard {
- tobacco : Tobacco
+ AdvancedWizard(tobacco : Tobacco)
+ smoke()
}
interface Wizard {
+ smoke() {abstract}
}
class RivendellTobacco {
+ RivendellTobacco()
}
class SimpleWizard {
- tobacco : OldTobyTobacco
+ SimpleWizard()
+ smoke()
}
class OldTobyTobacco {
+ OldTobyTobacco()
}
class SecondBreakfastTobacco {
+ SecondBreakfastTobacco()
}
class App {
+ App()
+ main(args : String[]) {static}
}
abstract class Tobacco {
+ Tobacco()
+ smoke(wizard : Wizard)
}
class GuiceWizard {
- tobacco : Tobacco
+ GuiceWizard(tobacco : Tobacco)
+ smoke()
}
}
SimpleWizard --> "-tobacco" OldTobyTobacco
AdvancedWizard --> "-tobacco" Tobacco
GuiceWizard --> "-tobacco" Tobacco
AdvancedWizard ..|> Wizard
RivendellTobacco --|> Tobacco
SimpleWizard ..|> Wizard
OldTobyTobacco --|> Tobacco
SecondBreakfastTobacco --|> Tobacco
GuiceWizard ..|> Wizard
@enduml | false | true | false | false | class |
8ae8169b152ac405ef425ede8cdc6b32ab007c4d | 2fa7fe79c7d165eceae5ec2bf1ae7779d5c04753 | /src/t1116/Account.puml | 8d1ab6dc8a5654d69e00b98d73c6444da9e5a8c4 | [] | no_license | zlatanlong/Java-in-class | d55f16193b7e1307d44c3e3a475866ab84fe210f | dab2c4b485ac41b63a884607a5292551a682993c | refs/heads/master | 2023-05-02T23:58:33.763598 | 2021-05-09T11:19:12 | 2021-05-09T11:19:12 | 297,196,350 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 286 | puml | @startuml
class Account {
- int id
# double balance
- double annualInterestRate
- final Date dateCreated
..Constructor..
+ Account()
+ Account(int id, double balance)
..Getter & Setter..
..method..
+ boolean withDraw(double d)
+ boolean deposit(double d)
}
@enduml | false | true | false | false | class |
a87f88b36bf197a00667e8fad29a4b37f3950367 | 8e1c5868d1fa22160f0d1ff6da1a20c402b40993 | /2017-10-scala/model/withdraw/confirm/layer.puml | 234e5cb0a2da249040270bb73b55b808e6739f66 | [] | no_license | suzuki-hoge/ddd-trial | 475f0f263ed104a7c7086352d7fe6501bb79f36f | 0844928fdef5d5bb22ead42fe66d0f5ff9d2df34 | refs/heads/master | 2021-01-18T20:52:46.381133 | 2020-03-27T08:56:37 | 2020-03-27T08:56:37 | 86,997,759 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,432 | puml | @startuml
namespace api {
namespace withdraw {
namespace confirmation {
namespace form {
class WithdrawalConfirmApplicationForm {
+ {static} Either<String, WithdrawalConfirmApplication> bind(String)
}
}
class WithdrawalConfirmApplicationApi {
+ Either<String, WithdrawUser> apply(String)
}
}
namespace application {
namespace form {
class WithdrawApplicationForm {
+ {static} Either<String, WithdrawApplication> bind(String)
}
}
class WithdrawApplicationApi {
+ Either<String, Unit> apply(String)
}
}
api.withdraw.confirmation.WithdrawalConfirmApplicationApi -up-> api.withdraw.confirmation.form.WithdrawalConfirmApplicationForm
api.withdraw.application.WithdrawApplicationApi -up-> api.withdraw.application.form.WithdrawApplicationForm
}
}
namespace service {
class WithdrawalConfirmApplicationService {
+ Either<RejectReason, WithdrawUser> apply(WithdrawalConfirmApplication)
}
class WithdrawApplicationService {
+ WithdrawUser apply(WithdrawApplication)
}
}
api.withdraw.confirmation.WithdrawalConfirmApplicationApi -down-> service.WithdrawalConfirmApplicationService
api.withdraw.application.WithdrawApplicationApi -down-> service.WithdrawalConfirmApplicationService
api.withdraw.application.WithdrawApplicationApi -down-> service.WithdrawApplicationService
@enduml | false | true | false | false | class |
f4e69a1244185aee1549f6453019ffda367a9be4 | ad3cc5450c8e0d30e3ddbc36db6fbb053e8965fb | /projects/oodp/html/umlversion/sg/edu/ntu/scse/cz2002/package.puml | 5536df4339fa0210e71fbe193939fcd05db93897 | [] | no_license | itachi1706/How-to-use-Git-NTUSCSE1819-Site | d6fcba79d906e9916c3961b11a6e1318d8a0f602 | dbce2f56b42e15be96bd40fd63e75389d397ca34 | refs/heads/master | 2021-07-12T15:24:44.197085 | 2020-08-01T12:31:23 | 2020-08-01T12:31:23 | 172,893,030 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 861 | puml | @startuml
namespace sg.edu.ntu.scse.cz2002 {
class MainApp [[../sg/edu/ntu/scse/cz2002/MainApp.html]] {
{static} +APP_NAME: String
{static} +tables: ArrayList<Table>
{static} +menuItems: ArrayList<MenuItem>
{static} +invoices: ArrayList<Invoice>
{static} +reservations: ArrayList<Reservation>
{static} +promotions: ArrayList<PromotionItem>
{static} +staffs: ArrayList<Staff>
{static} +restaurantSession: char
{static} +DEBUG: boolean
{static} -init(): void
{static} +saveAll(): boolean
{static} +main(args:String[]): void
{static} -printWelcomeAscii(): void
{static} -checkTodayReservations(): int
}
}
center footer UMLDoclet 1.1.3, PlantUML 1.2018.12
@enduml
| false | true | false | false | class |
4c7374f33daf426a79d51a35d412a9ddee9ba66e | 6a312ac1272ec81caf54b6640dd8788a739afaef | /Documentation/v130.puml | 34cf8dbde7051cb2892a11f557528a8fa1bd2321 | [] | no_license | RicardoGuzmanVelasco/MIW.ADOO | ff65fe4fb530521575a06f80d8d85c6f315cebae | 37d35899498c26ab7faaf34f3932e20ae8dfbc41 | refs/heads/main | 2023-04-28T14:26:36.647336 | 2021-05-22T18:29:58 | 2021-05-22T18:29:58 | 369,761,623 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,468 | puml | @startuml
class Board
{
+{static} Color : char[,] [0..*] = {'x', 'o'}
-tokens : char[,] [0..*]
+Board()
+IsTicTacToe() : bool
-IsTicTacToe(token : char) : bool
+IsComplete() : bool
-IsTileEmpty(coord : Coord) : bool
-IsTileFull(coord : Coord) : bool
+ToString() : string
}
Board ..> IO
class IO <<static>>
{
+ReadString(title : string) : string {static}
+ReadInt(title : string) : int {static}
+Write(title : string) {static}
+WriteLn() {static}
+WriteError(format : string) {static}
}
class Coord
{
+Row : int {get}
+Col : int {get}
+Read(title: string)
+Equals(other: Coord)
}
Coord <.. Board
Coord <.. Player
class LimitedIntDialog
{
-title : string
-min : int
-max : int
+LimitedIntDialog(title: string, max: int)
+LimitedIntDialog(title: string, min: int, max :int)
+Read() : int
}
LimitedIntDialog <.. Coord
LimitedIntDialog ..> IO
class Player
{
~color : char
+Player(i: int)
+Put(board : Board)
+Put(board : Board, fromCoord : Coord)
+Move(board : Board)
+Win()
}
Player ..> IO
class Turn
{
~value : int = 0
+Turn()
+Current() << "Take" >>
+Next() << "NotTake">>
+Change()
}
class TicTacToe
{
-turn : Turn
-board : Board
-players : Player[] [0..*]
+TicTacToe()
+Play()
}
TicTacToe --> Board
TicTacToe --> Player
TicTacToe --> Turn
@enduml | false | true | false | false | class |
3b99c4c20182a58701ef3cab2508781ab90b5fb4 | bcb7fd9ec9e69e52780b27da867b8055dfdc043c | /src/lattice/Couple.iuml | ae2e111357109a91f0f2788b583747558f93d0c5 | [
"CECILL-B"
] | permissive | vanthonguyen/lattice-sequence | 2e962d089b0053ba90332932fe3881dfe8ec71ac | 72ebfe551ef013da521b81121e3f98164b2a00bf | refs/heads/master | 2020-04-15T07:22:32.920465 | 2015-02-01T17:33:59 | 2015-02-01T17:33:59 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 479 | iuml | package lattice {
class Couple {
-Object left
-Object right
.. Constructors ..
+Couple(Object l, Object r)
.. Accessors ..
+Object getLeft()
+Object getRight()
.. Mutators ..
+void setLeft(Object left)
+void setRight(Object right)
.. Transformers ..
+String toString()
.. Predicates ..
+boolean equals(Couple c)
+int hashCode()
}
}
| false | true | false | false | class |
692fd0b496cfaa22271a0470fb44c28755d8fe61 | 9e3be9820d584f9ca700836e77264c5ec5df38a2 | /Design/Classes.plantuml | 422d3758d0aeb315154bf8d771ed4675d192cfe8 | [] | no_license | taffanie/Whitehat-Kanban | b890b52f366c07490ac4f172b2696e9b5fd5b5bd | 88da0a530d2310ba6964158e699e52831831394b | refs/heads/master | 2023-01-05T17:47:20.156762 | 2020-11-04T10:20:13 | 2020-11-04T10:20:13 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 414 | plantuml | @startuml
top to bottom direction
left to right direction
object Board {
title String
collaborators Array<User>
tasks Array<Task>
}
object User {
id Integer
name String
avatar String
}
cloud {
object UserAccess {
user key
board key
}
}
object Task {
name String
user User
state Integer
}
Board --{ UserAccess
User --{ UserAccess
Board --{ Task
@enduml | false | true | false | false | state |
cbb8b1b3f11cf770f16b5376f30f7b7302db6f5c | 6d52d8dbfa9e58a82ce873b9b9412af98b151874 | /docs/diagrams/BinaryTreeIsLeafSequence.puml | 7e39097260b71a97148fb622ce2417d131f33584 | [] | no_license | PraveenElango/tp | 59072e694da65abf1fb5b88a783f0a957af9ed66 | 58778e0f0e7c6648d758a6f41abcd47391d2ccd1 | refs/heads/master | 2023-01-06T16:21:12.970855 | 2020-10-26T17:28:42 | 2020-10-26T17:28:42 | 299,291,890 | 0 | 0 | null | 2020-10-11T03:05:42 | 2020-09-28T11:49:57 | Java | UTF-8 | PlantUML | false | false | 256 | puml | @startuml
box Logic
participant ":BooleanTemplate" as BooleanTemplate
end box
box Model
participant ":BinaryTree" as BinaryTree
end box
autoactivate on
BooleanTemplate -> BinaryTree : isLeaf(1)
alt non-null node AND null children
return true
end
@enduml | false | true | false | false | sequence |
8ba562760a59a7a31e22fa6513c06fcdd7dbf315 | 7e2871c5edbab944c09ac6e3cea8005c757228e1 | /uml/Sequence/seqFailure.plantuml | aef091b7284428b3e76cac2493b54a10a7271a88 | [
"Apache-2.0"
] | permissive | yashlala/junknet | a2f87b39788d0c2618d94f95d3fdc40cea2fed61 | 2d1a4246c1b9634c19eae7a599dd1ae0d5dec228 | refs/heads/master | 2023-03-18T13:34:57.031817 | 2021-03-08T07:56:28 | 2021-03-08T07:56:28 | 345,901,835 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,227 | plantuml | @startuml
/'
This sequence diagram was created to show the course of action when there is an error
that the Daemon encounters when performing the job.
'/
actor User
User -> Controller: specified makefile, target, and options
Controller -> Parser **: ParseMakefile(makefile)
activate Parser
Parser -> Controller : Jobs
deactivate Parser
Controller -> Client : (target, Jobs)
activate Client
Client -> JobOrderer **: JobOrderer(Jobs)
Client -> JobOrderer : isDone()
activate JobOrderer
JobOrderer -> Client : False
deactivate JobOrderer
Client -> JobOrderer : popNextJob()
activate JobOrderer
JobOrderer -> Client : nextJob
deactivate JobOrderer
Client -> Daemon : doWork(subtarget,requiredFiles)
activate Daemon
Client -> JobOrderer : isDone()
activate JobOrderer
JobOrderer -> Client : False
deactivate JobOrderer
Client -> JobOrderer : popNextJob()
activate JobOrderer
JobOrderer -> Client : nextJob
deactivate JobOrderer
Client -> Daemon2 : doWork(subtarget,requiredFiles)
activate Daemon2
Daemon -> Client : error
deactivate Daemon
Client -> JobOrderer : reportFailedJob(Job)
Client -> Daemon2: cancelJob()
deactivate Daemon2
Client -> Controller : error
deactivate Client
Controller -> User: error
@enduml
| false | true | false | false | usecase |
dcf7907960a83a352bd2a20351ccbe9cd729ab95 | 6f1a60f54605e825086e1c01909f1b8aceced9ca | /logo/basic.puml | 84a94a1fdd947c060605ea64e0e368e0b3a27fc4 | [
"MIT"
] | permissive | asiemer/madux | 4c2940d72824b82fcc55ba5b4cf64d11efcdc666 | 6539fac890df5fc2d9c8256dfe36bbd6f9ff0b9d | refs/heads/master | 2021-01-21T06:02:26.038068 | 2017-01-07T15:09:18 | 2017-01-07T15:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 160 | puml | @startuml
[*] --> OUTSIDE
OUTSIDE --> HOUSE
HOUSE --> OUTSIDE
HOUSE --> ROOM
ROOM --> HOUSE
HOUSE: houseNumber
ROOM: houseNumber
ROOM: roomNumber
@enduml
| false | true | false | false | state |
e46e35afb4091b6f5435fc5bb7eb1e442bffa9ab | 7e6fa61a8595cd38195713b5c7698f5de6f7c7b3 | /base/014/diagrama.puml | 50767b4d8e83bf6de6afc14208fc84712201eb89 | [] | no_license | qxcodepoo/arcade | 3ff1852792a47584f00c1ab9fd5011ebb2c4b830 | 3722a8c976a51829b2b6f4913360c23bf114433a | refs/heads/master | 2023-08-31T04:07:06.255292 | 2023-08-25T03:16:42 | 2023-08-25T03:16:42 | 217,410,955 | 36 | 42 | null | 2020-09-24T13:22:18 | 2019-10-24T23:12:40 | C++ | UTF-8 | PlantUML | false | false | 1,540 | puml | '--
@startuml
skinparam defaultFontName Hasklig
skinparam dpi 150
'==
class Fone {
- id : str
- number : str
__
' inicializa as variaveis
+ Fone(id : str, number : str)
' verifica se o número é um número de telefone válido
' crie uma str "validos" com todos os caracteres válidos
' para cada caractere c do número:
' se c não estiver em validos:
' retorne false
' retorne true
+ isValid() : bool
__
+ getId() : str
+ getNumber() : str
__
' Gera uma string para impressão
' ex: oi:1234
+ toString() : str
}
class Contact {
- favorited : bool
- fones : List<Fone>
- name : str
__
' inicialize o fone com o nome, favorited como false e a lista de fones vazia
+ Contact(name : str)
__
' se fone for válido:
' insira no fim da lista de fones
' se não:
' informe o erro
+ addFone(id: str, number : str): void
' se o índice existir:
' remove o fone pelo indice
+ rmFone(index : int): void
__
' favorita ou desfavorita o contato
+ toogleFavorited(): void
' retorna se o contato está favoritado
+ isFavorited() : bool
__
+ getFones() : List<Fone>
+ getName() : str
+ setName(name : str): void
__
' use um contador para mostrar o índice do telefone
' use o toString do fone para adicioná-lo à saída
' se o contato estiver favoritado, adicione um @ antes do nome
' o resultado dever ficar assim:
' ex: - david [oi:123, tim:9081, claro:5431]
+ toString() : str
}
'--
Contact "1" *-- "0..*" Fone
@enduml
| false | true | true | false | class |
77be3c04326ef32b5ed05b85e7ec343a84089ce9 | f46393ebb1bf7bd94b233b83e57bb8f1a3264726 | /documentation/diagrams/Resource_ProblemUngroup.puml | 8bf6924e0096a7d65325bf19bea2cdd516fc997c | [] | no_license | tmforum-rand/TMF656_Service_Problem | 5b972066ae12e478eb87496b715666bd92890416 | ee194be76d13975557ad4c615f0a731469874165 | refs/heads/master | 2020-11-25T10:01:38.942377 | 2020-01-13T21:52:47 | 2020-01-13T21:52:47 | 228,609,406 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 935 | puml | @startuml
hide circle
hide methods
hide stereotype
show <<Enumeration>> stereotype
skinparam class {
BackgroundColor<<Enumeration>> #E6F5F7
BackgroundColor<<Ref>> #FFFFE0
BackgroundColor<<Pivot>> #FFFFFFF
BackgroundColor #FCF2E3
}
class ProblemUngroup <<Pivot>> {
id : String
href : String
@baseType : String
@schemaLocation : Uri
@type : String
}
class ServiceProblemRef <<Ref>> {
id : String
href : String
correlationId : String
@baseType : String
@schemaLocation : Uri
@type : String
@referredType : String
}
'processing edges for ProblemUngroup
ProblemUngroup *--> "0..*" ServiceProblemRef : childProblem
ProblemUngroup *--> "0..1" ServiceProblemRef : parentProblem
' rule: General below rule - either none already or unable to place left / right of currently placed
'completed processing of edges for ProblemUngroup
'processing edges for ServiceProblemRef
@enduml | false | true | false | false | sequence |
353adec2a057b04f10d6237b4a02ccf1858db7f4 | 112e511928937b8ec60004ca94f1dd996bd9fd1a | /Documents/Shos.Chatter.Server/Areas/HelpPage/Models/HelpPageApiModel.puml | 1076b8c79d3719019096d7098bb97fd00c2ecbdf | [
"MIT"
] | permissive | Fujiwo/Shos.Chatter.NetFramework | 2c143b390b1588e38e5967a8b8f1c51bf5487362 | 3c7061398e790c2fc856585fdbf60a18705f11e0 | refs/heads/master | 2023-03-23T09:31:02.071913 | 2021-03-11T05:27:48 | 2021-03-11T05:27:48 | 323,569,895 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 835 | puml | @startuml
class HelpPageApiModel {
+ HelpPageApiModel()
+ RequestDocumentation : string <<get>> <<set>>
}
class "Collection`1"<T> {
}
class "IList`1"<T> {
}
class "IDictionary`2"<T1,T2> {
}
HelpPageApiModel --> "ApiDescription" ApiDescription
HelpPageApiModel --> "UriParameters<ParameterDescription>" "Collection`1"
HelpPageApiModel --> "RequestModelDescription" ModelDescription
HelpPageApiModel --> "RequestBodyParameters<ParameterDescription>" "IList`1"
HelpPageApiModel --> "ResourceDescription" ModelDescription
HelpPageApiModel --> "ResourceProperties<ParameterDescription>" "IList`1"
HelpPageApiModel --> "SampleRequests<MediaTypeHeaderValue,object>" "IDictionary`2"
HelpPageApiModel --> "SampleResponses<MediaTypeHeaderValue,object>" "IDictionary`2"
HelpPageApiModel --> "ErrorMessages<string>" "Collection`1"
@enduml
| false | true | false | false | class |
ac27d214b415fba0106bdda71982e871c9de2693 | 124b894a3ef93319757b58a1fd24ff43d69e7186 | /docs/uml/get blobber.puml | b7a4b9feded8bbf1895a9c6eb0f0ca5c63c111b7 | [
"MIT"
] | permissive | 0chain/gosdk | 614cc6079609f0a02aefc37f9ef5d3e2164317ff | acf2724b91db051ea886b20f991cf4a34a48665c | refs/heads/staging | 2023-08-31T22:49:21.221247 | 2023-08-16T15:16:35 | 2023-08-16T15:16:35 | 191,593,548 | 30 | 36 | MIT | 2023-09-14T19:54:49 | 2019-06-12T15:04:03 | Go | UTF-8 | PlantUML | false | false | 369 | puml | @startuml
participant "<size:20><&terminal></size> ./zbox bl-info" as cli
collections gosdk
cli -> gosdk: GetBlobber(blobberID)
gosdk -> gosdk: check initialized sdk
gosdk -> gosdk: make SC rest api call
gosdk -> gosdk: check response result
gosdk -> gosdk: create new blobber
gosdk -> gosdk: return response result for blobber
gosdk --> cli: return blobber
@enduml
| false | true | false | false | sequence |
c8d8e1f301549a2a6e883fe7ea7bc7af862a9472 | d99806bb17e4a22325f775539981c6b7799b9d16 | /docs/blue/1150372/sp2/design4.puml | 6e14eacc9a781ecc206db74ed382f48ea8c6b01f | [] | no_license | Fuel4us/GWTFinalProject | 3d0e1194f142cfcbdfc3d24f37a7537ff3a30dfb | b6c2f6add1687ca7800a9ec243edbe067ca6090c | refs/heads/master | 2020-03-21T19:47:13.534718 | 2018-06-28T05:33:43 | 2018-06-28T05:33:43 | 138,969,901 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 922 | puml | @startuml design4
skinparam monochrome true
skinparam shadowing false
hide footbox
actor User
boundary AgendaView
control AgendaPresenter
control AgendaServices
control DeleteAgendaController
control AgendaService
entity AgendaRepository
database Database
box "Client"
participant AgendaView
participant AgendaPresenter
end box
box "Server"
participant AgendaServices
participant DeleteAgendaController
participant AgendaService
participant AgendaRepository
end box
box "Database"
participant Database
end box
User -> AgendaPresenter : onReveal() / navigate to page
AgendaPresenter ->> AgendaServices : deleteAgenda()
AgendaServices -> DeleteAgendaController : deleteAgenda()
DeleteAgendaController -> AgendaService : deleteAgenda()
AgendaService -> AgendaRepository : deleteAgenda()
AgendaRepository -> Database : fetch
AgendaServices ->> AgendaPresenter : return
AgendaPresenter -> AgendaView : return
@enduml | false | true | false | false | sequence |
d647b8be09bb6f734eda5bf45bb9307da46a026b | ac1282fc286a7131a3e7eaec977ad7696dab9b15 | /Storage/flow_user_e2_e1.puml | 21a52f3b7211b04e817b74d74f4afb73ebf5457d | [
"Apache-2.0"
] | permissive | hesusruiz/docs | c63b652d7aa75dc342d1cb062f4cc0862a7356e4 | b56339cd2cb54b1aebe3e58e8c0965e2e6ab6fe2 | refs/heads/master | 2020-07-15T21:50:41.986880 | 2019-10-07T10:58:53 | 2019-10-07T10:58:53 | 205,655,794 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 453 | puml | @startuml
autonumber
skinparam sequenceArrowThickness 2
skinparam roundcorner 10
skinparam ParticipantPadding 50
title Flow with consent from user
actor User
participant "Source\nEntity" as e1
collections "Target\nEntities" as e2
User -> e2 : Consent to access my data
e2 -> e1 : Get data (with user consent)
rnote over e1
Check consent of User
for each entity
accessing the data
endrnote
activate e1
e1 --> e2 : Return data
deactivate e1
@enduml | false | true | false | false | usecase |
236003da42a333a6dee656bf619fafbd76b43f9b | 967db7f88bdf0e5cb8feca9571b9e85175f7bcc8 | /docs/UseCases/UseCases.puml | 803f38714967c9e9e674c9b9f64e31846fef02ee | [] | no_license | CAADE/edgeville | fd0053d749c259029ef4c7791210663ace87be21 | 6a3dc4791c9adf4915dc38aed3a04d1f1ef4ad65 | refs/heads/master | 2020-03-28T06:11:31.554585 | 2019-05-02T17:37:03 | 2019-05-02T17:37:03 | 147,819,682 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 577 | puml | @startuml
left to right direction
:Application Developer: as Dev
:Dev Ops: as DevOps
:Network Manager: as network
:Operations Manager: as ops
:Security Engineer: as security
:Edge End Point: as EEP
:IOT Gateway: as IOTG
:Service Provider: as SP
rectangle "Edgeville" #lightBlue {
(Manage Applications) as MA
(Manage Cloud) as MC
(Manage Infrastructure) as MI
(Manage Security) as MS
}
Dev --> MA
DevOps --> MA
network --> MI
network --> MS
ops --> MI
ops --> MC
security --> MS
MI --> SP
MC --> SP
MI --> IOTG
MI --> EEP
MS --> IOTG
MA --> IOTG
@enduml
| false | true | false | false | uml-unknown |
a85b52c4bbb80d29113071ad133b7f14319cd651 | fafaf973381b21bea8eb334545ded62282cba3a2 | /builder/Builder.plantuml | 949b46cd2fde12ef5cd002fa25b028ddf6463d2b | [] | no_license | recepkaraca/DesignPatternsCourse | d9edc61009b4313a08b0383473b0d97f8fb0a2dd | 69f507ebec842c6b50e9a2a093496f62760170fe | refs/heads/master | 2022-09-11T10:19:54.206890 | 2020-06-02T22:51:09 | 2020-06-02T22:51:09 | 245,816,321 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 760 | plantuml | @startuml scenario_uml
skinparam classAttributeIconSize 0
left to right direction
class Shop{
+void Construct()
}
abstract class PhoneBuilder{
#Phone phone
+Phone Phone()
+void BuildProcessor()
+void BuildScreen()
+void BuildRam()
+void BuildMemory()
}
class AppleBuilder{
+AppleBuilder()
}
class SamsungBuilder{
+SamsungBuilder()
}
class XiaomiBuilder{
+XiaomiBuilder()
}
class Phone{
-string _brand
-Dictionary<string, string> _parts
+Phone()
+string this[]()
+void Show()
}
Shop "builder" o---> PhoneBuilder
AppleBuilder --|> PhoneBuilder
SamsungBuilder --|> PhoneBuilder
XiaomiBuilder --|> PhoneBuilder
AppleBuilder ...> Phone
SamsungBuilder ...> Phone
XiaomiBuilder ...> Phone
@enduml | false | true | false | false | class |
e401cbb023797e587fc38984d18650ed40285a75 | 4e2586435708420f782c03c1303da7219890941e | /docs/diagrams/Notus.puml | c0d11b819345beba635d687f0eda5f8479e0accc | [] | no_license | AY2021S1-CS2113-T13-1/tp | 720454016061d5dbc23067e4505e2eac87e04449 | 4345646e211cdaeed2dfdf2e691e334c2d8e32ad | refs/heads/master | 2023-01-19T13:31:58.992002 | 2020-11-10T12:57:57 | 2020-11-10T12:57:57 | 297,301,678 | 0 | 7 | null | 2020-11-10T12:57:58 | 2020-09-21T10:12:20 | Java | UTF-8 | PlantUML | false | false | 1,167 | puml | @startuml
hide footbox
participant ":NotUS" as NotUS
participant ":StorageManager" as StorageManager
participant ":InterfaceManager" as InterfaceManager
participant ":ParserManager" as ParserManager
participant ":Parser" as Parser
participant ":Command" as Command
participant ":Formatter" as Formatter
NotUS -> StorageManager: Load saved file
NotUS <-- StorageManager: Load result
loop !Exit Command
NotUS -> InterfaceManager: getUserCommandInput()
NotUS <-- InterfaceManager: userInput
NotUS -> ParserManager: parseCommand()
create Parser
ParserManager -> Parser: <<create>>
activate Parser
ParserManager <-- Parser
deactivate Parser
ParserManager -> Parser: parse()
activate Parser
create Command
Parser -> Command: <<create>>
activate Command
NotUS <-- Command:
deactivate Command
deactivate Parser
NotUS -> Command: setData()
activate Command
NotUS <-- Command
deactivate Command
NotUS -> Command: execute()
activate Command
Command -> Formatter: formatString()
Command <-- Formatter: string
NotUS <-- Command: string
deactivate Command
NotUS -> InterfaceManager: prints()
NotUS <-- InterfaceManager
destroy Parser
destroy Command
end
@enduml
| false | true | false | false | sequence |
f64e3bc25aab35ec62768282ba9465f396ae8cd6 | a557a47e76e939252b71da737ef933e9513dda83 | /wot-architecture/publication/pr/images/message-flows/A_1_3a_observePropertyLongPoll.puml | 1b855f7ff6a1571d9464d594877540ea723c142d | [
"Apache-2.0"
] | permissive | wot-ccly/wot-ccly.github.io | 3d38333b5131bacaafcef7d9feccf2d8589e8ffc | dfa974f3a14179759dbcb27c44e73ea0117d32a7 | refs/heads/master | 2022-12-24T07:20:34.529217 | 2020-01-19T01:44:10 | 2020-01-19T01:44:10 | 234,498,309 | 0 | 0 | Apache-2.0 | 2022-10-06T02:06:14 | 2020-01-17T07:49:06 | HTML | UTF-8 | PlantUML | false | false | 979 | puml | @startuml
hide footbox
box "WoT Client"
participant "Application" as AP
participant "Consumed Thing" as SA
end box
box "WoT Server"
participant "Exposed Thing" as WS
participant "Application" as DC
end box
== subscribe ==
AP -> SA: invoke\n"observeproperty"\noperation
activate SA
SA -> AP: returns Subscription
SA -> WS: sends HTTP GET Request\nto href of form\n with op=observeProperty and\n subprotocol=longpoll
activate WS
WS -> DC: wait until\nstate changes
activate DC
== notify ==
DC -> WS: change detected
deactivate DC
WS -> SA: send HTTP GET Response\n (body: schema data)
deactivate WS
SA -> AP: Subscription callback\n with schema data
SA -> WS: send HTTP GET Request\n to the same href
activate WS
WS -> DC: wait until\nstate changes
activate DC
== unsubscribe ==
AP -> SA: invoke\n"unobserveproperty"\noperation
SA -> AP: returns void
SA --> WS: cancel pending HTTP GET Request
deactivate SA
destroy WS
WS --> DC: stop waiting
destroy DC
@enduml
| false | true | false | false | sequence |
1c58e331a5e742db549ae79b75c30e9b6d6c48f0 | bf3e610c8668e525aedcca58ddbe9da7c19e427e | /docs/design/test-lab/component-v.puml | 7b4259b255bdb4652a156fbe12450c8dbbbeeaa5 | [
"Apache-2.0"
] | permissive | telstra/open-kilda | 874b5204f8c2070860a2e7fc6f8be368a5d18726 | 686d31220f1033595d7f1d4374544af5ba9c42fe | refs/heads/develop | 2023-08-15T21:24:21.294425 | 2023-08-14T08:51:52 | 2023-08-14T08:51:52 | 104,974,693 | 82 | 70 | Apache-2.0 | 2023-09-14T19:11:22 | 2017-09-27T05:13:18 | Java | UTF-8 | PlantUML | false | false | 534 | puml | @startuml
title Virtual Lab
interface "REST" as lab_api_rest
interface "REST" as v_lock_keeper_rest
interface "REST" as v_traffgen_rest
node << Docker >> {
lab_api_rest - [Lab Api]
}
node << Docker >> {
component "Lock Keeper\n SW impl" as lc
interface "OVS-port" as ovs_port
v_lock_keeper_rest - lc
lc -> OpenFlow
[Lab Api] -> v_lock_keeper_rest
[Lab Api] -> v_traffgen_rest
[Traffgen] -> ovs_port
[Traffgen] - v_traffgen_rest
ovs_port -up- [OVS]
OpenFlow -down- [OVS]
}
@enduml
| false | true | false | false | class |
0ff37d065665af083a8375aaf413cc58d1e6cc2e | 2a542ae20df9385a329d8fe385b2f44f2eb8135c | /integration/fabric/atsa/fsc/diagrams/approver/agree.puml | e673942a308954b508da398e3f2fcb8168415365 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | v13s/fabric-smart-client | 5a2cb06e8935265613dd9083d5c88c69357c34f5 | c37da69b9133df560d4e25b7c0ce19a8cdec1bb7 | refs/heads/main | 2023-06-12T17:42:50.094746 | 2021-07-05T11:33:33 | 2021-07-05T11:33:33 | 383,103,545 | 0 | 0 | Apache-2.0 | 2021-07-05T10:34:58 | 2021-07-05T10:34:57 | null | UTF-8 | PlantUML | false | false | 678 | puml | @startuml
'- force wrapping of longer text
'skinparam wrapWidth 400
!pragma teoz true
hide footbox
participant "Issuer" as Issuer
participant "Bob" as Bob
participant "Approver" as Approver
participant "Fabric Network" as Orderer
Issuer -> Issuer: Prepare Transaction Tx
Issuer -> Bob: Collect Signature on Tx
Bob -> Bob: Check Tx
note right of Bob: Wait for Finality of Tx
Bob -> Issuer: Send back signature on Tx
Issuer -> Approver: Collect Signature on Tx
Approver -> Approver: Check Tx
note right of Approver: Wait for Finality of Tx
Approver -> Issuer: Send back signature on Tx
Issuer -> Orderer: Send Tx to Ordering
note right of Issuer: Wait for Finality of Tx
@enduml | false | true | false | false | sequence |
17b354d69a8aba4bc00991c470e28ae6ab44b34e | 939ec2212f87c1894d792e169fce964bec902583 | /docs/Solution/Cloud-Stack/Deployment.puml | 3aeea09ff3f992b4b10cb7b2c67208740f959c96 | [] | no_license | CAADE/fleet | 37e18246e0a10122a711efccdab3c134232d120e | a62d2a82a2100583d84e41ea21efda9512fc4ac7 | refs/heads/master | 2020-03-22T00:31:19.695430 | 2018-07-13T03:27:19 | 2018-07-13T03:27:19 | 139,250,021 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 214 | puml | @startuml
package "Cloud Stack" #aaffff {
folder bin #ffffff {
file resource
file policy
file trigger
file events
}
node sailsjs
database DB1
sailsjs .. DB1
bin .. sailsjs
}
@enduml
| false | true | false | false | sequence |
b2a0385ef2fa405877369c3884b1eb71be8d39e2 | 61f6a3452ee4ded9ebdfdb5028545d672d8f40af | /AutoCompletionSystem/src/InterogatorCuvant.puml | c1a646600ee81db2fb996e2d298121546e6245ae | [] | no_license | scatalin/licenta | ce5387edc0d685c79b18c10623b3cb51fff164b9 | 9349d677b9ade4da41b32c95429ce80ee7049e72 | refs/heads/master | 2021-01-10T19:28:09.475799 | 2015-09-13T19:02:05 | 2015-09-13T19:02:05 | 22,123,620 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 177 | puml | @startuml
WordQuery --> SearchTree
class SearchTree {
getSuggestions(String prefix) : List<String>
}
class WordQuery {
getSuggestions(String prefix) : List<String>
}
@enduml | false | true | false | false | class |
9c8e35c049d5cf6aab84ffe5843188196032dc00 | eb8fe7c1984d939ce62298e8e5c821a9264970eb | /diagrammes UML/exemple USE CASES.puml | 83bf103cde98664be5b2f2f87f75f77cfebcfe71 | [
"Apache-2.0"
] | permissive | FabLabMons/access-control | 240a6e3e5db692a2ac2b5de03df56340b2498e00 | d29aae70f893eb61d88773256614f3277867ac01 | refs/heads/master | 2021-04-09T11:34:05.514323 | 2018-06-07T06:18:59 | 2018-06-07T06:18:59 | 125,486,392 | 0 | 2 | Apache-2.0 | 2018-03-23T15:27:40 | 2018-03-16T08:26:17 | null | UTF-8 | PlantUML | false | false | 671 | puml | @startuml
left to right direction
:Membre FabLab: as Membre
:Permanent FabLab: as Permanent
:FabLab Manager: as Manager
:Secrétaire FabLab: as Secrétaire
rectangle "Système contrôle d'accès" {
(Compléter fiche de présence) as (FichePrésence)
(Encoder fiches formations) as (FichesFormation)
(Encoder factures) as (Facture)
(Vérifier paiements) as (Paiement)
(Réserver une machine) as (Réservation)
(Valider une réservation) as (ValiderRéservation)
}
Membre --> (FichePrésence)
Membre --> (Réservation)
Permanent --> (FichesFormation)
(Facture) <-- Secrétaire
(Paiement) <-- Secrétaire
Manager --> (ValiderRéservation)
@enduml
| false | true | true | false | uml-unknown |
499e78707e290edb397f3907222ccf68b491dcff | 5a7e90c78082baf0160490802050be4a35ac4307 | /copy_exam/umls/plantuml/Definitions.puml | bfbe9250b4f97f30ee8525b51764495a19804901 | [] | 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 | 1,241 | puml | @startuml Definitions
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)
+ int getOffset()
}
class FunctionDefinition{
- List<VarDefinition> definitionList
- List<Statement> statementList
+ R accept(Visitor<R,T> v, T param)
+ List<VarDefinition> getDefinitionList()
+ List<Statement> getStatementList()
}
interface Statement
interface Expression{
void setLvalue(boolean lvalue)
boolean isLvalue()
Type getType()
void setType(Type theType)
}
interface ASTNode{
int getLine
int getColumn
R accept(Visitor<R,T> v, T param)
}
interface Definition{
Type getType()
String getName()
void setScope()
int getScope()
}
note top of Definition: This interface is implemented an Abstract class \n and then this abstrac class is extended by each class.
Definition <|.. VarDefinition
Definition <|.. FunctionDefinition
Statement <|.. VarDefinition
ASTNode <-- Definition
ASTNode <-- Statement
ASTNode <-- Expression
VarDefinition o--"1" Expression
FunctionDefinition o--"n" VarDefinition
FunctionDefinition o--"0*" Statement
@enduml | false | true | false | false | class |
35babf1ac32ca6db1cc4eaef7fea29d2718b2901 | 4a45879f3faebefebb27fad5b61b398bf87217f9 | /dubbo-rpc/dubbo-rpc-api/src/main/java/com/alibaba/dubbo/rpc/uml/ProxyFactory.puml | dfcf4ec00c5b96687b217749e89f72c75d750130 | [
"Apache-2.0"
] | permissive | zhaojigang/dubbo-notes | eda9f2ad21af5665f80382cca0af515d5c038b52 | 51816c8349a073c7801268898a5895f2124ce6ba | refs/heads/2.6.x | 2022-09-23T02:31:48.859625 | 2019-08-15T06:46:39 | 2019-08-15T06:46:46 | 194,365,385 | 3 | 2 | Apache-2.0 | 2022-09-15T03:37:28 | 2019-06-29T04:48:15 | Java | UTF-8 | PlantUML | false | false | 1,297 | puml | @startuml
interface ProxyFactory {
+ <T> T getProxy(Invoker<T> invoker)
+ <T> Invoker<T> getInvoker(T proxy, Class<T> type, URL url)
}
class StubProxyFactoryWrapper implements ProxyFactory {
- ProxyFactory proxyFactory
- Protocol protocol
+ <T> T getProxy(Invoker<T> invoker)
+ <T> Invoker<T> getInvoker(T proxy, Class<T> type, URL url)
}
abstract class AbstractProxyFactory implements ProxyFactory {
+ <T> T getProxy(Invoker<T> invoker)
+ abstract <T> T getProxy(Invoker<T> invoker, Class<?>[] types)
}
class JavassistProxyFactory extends AbstractProxyFactory {
+ <T> T getProxy(Invoker<T> invoker, Class<?>[] interfaces)
+ <T> Invoker<T> getInvoker(T proxy, Class<T> type, URL url)
}
class JdkProxyFactory extends AbstractProxyFactory {
+ <T> T getProxy(Invoker<T> invoker, Class<?>[] interfaces)
+ <T> Invoker<T> getInvoker(T proxy, Class<T> type, URL url)
}
class InvokerInvocationHandler implements InvocationHandler {
}
interface Node {
}
interface Invoker<T> extends Node {
}
abstract class AbstractProxyInvoker<T> implements Invoker {
}
JavassistProxyFactory *-- InvokerInvocationHandler
JdkProxyFactory *-- InvokerInvocationHandler
JavassistProxyFactory *-- AbstractProxyInvoker
JdkProxyFactory *-- AbstractProxyInvoker
@enduml | false | true | false | false | class |
8899c6c015637cf6e68378dcbf051c391f2a88d9 | 4c17c38b76e5885079b98e2589d1056824e15ae3 | /uml/state_graph.puml | 5295a30e8222b970687c82aacce7d2f491212906 | [] | no_license | ugurartun/statemachine | c8de497d9155407fcbbf6197bbe51c2f09e5875e | cdacf0c49879b31fbd0eac4f13b4b0c8dfdfe3f0 | refs/heads/master | 2020-06-23T02:36:11.428153 | 2019-07-26T14:39:32 | 2019-07-26T14:39:32 | 198,479,746 | 1 | 0 | null | 2019-07-23T17:39:00 | 2019-07-23T17:38:59 | null | UTF-8 | PlantUML | false | false | 298 | puml | @startuml
[*] --> BACKLOG
BACKLOG --> INPROGRESS : start feature
INPROGRESS --> TESTING : finish feature
TESTING -->DONE : QA checked UC
TESTING --> INPROGRESS : QA reject
DONE --> [*]
BACKLOG --> TESTING : super star
BACKLOG --> BACKLOG : deploy
INPROGRESS --> INPROGRESS : deploy
@enduml | false | true | false | false | sequence |
a5ca24c5d1f8d5fd349566bfa58f3ffaca1a3fbb | efa90de2613f61ed242596f0828d5f474c900136 | /UML/plan-uml/原型模式.puml | 9323c12d9cdd9e46be3c311fba77c6f14a5a979b | [] | no_license | justorez/design-patterns-java | d364515c136c9f80f8ec963c8edac4f1b89beaf8 | c1d6830b12e1579037a4e707877de7839db8595e | refs/heads/master | 2021-10-27T05:08:29.215802 | 2019-04-16T02:57:14 | 2019-04-16T02:57:14 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 425 | puml | @startuml
title Prototype
class Client {
+ operation(): void
}
class Prototype {
+ clone(): Prototype
}
note as n
ConcreteProtype obj1 = new ConcreteProtype();
ConcreteProtype obj2 = obj1.clone();
end note
class ConcreteProtype1 {
+ clone(): Prototype
}
class ConcreteProtype2 {
+ clone(): Prototype
}
Client -> Prototype
Client .. n
Prototype <|-- ConcreteProtype1
Prototype <|-- ConcreteProtype2
@enduml | false | true | false | false | class |
f721d3181a37f5e5cf355518dba02aff1071673a | 9b2951de7dbeabf354ae2fd3b51c397bb1233fa6 | /src/test/resources/design.puml | 75f25b9b1cc80e74dae44e76689c5c59ddd167cd | [
"MIT"
] | permissive | jenkinsci/analysis-model | 9319db0555750ab63afc9caf31b1c81dbd56531c | a137c723b65b9eb93ceeb993ca35bf9b13363683 | refs/heads/master | 2023-08-21T04:36:46.947590 | 2023-08-01T15:46:35 | 2023-08-01T15:46:35 | 24,608,251 | 86 | 242 | MIT | 2023-09-14T17:14:49 | 2014-09-29T18:48:31 | Java | UTF-8 | PlantUML | false | false | 457 | puml | @startuml
skinparam componentStyle uml2
skinparam component {
BorderColor #a0a0a0
BackgroundColor #f8f8f8
}
[Parsers] <<..analysis.parser..>>
[Assertions] <<..assertj>>
[Model] <<..analysis>>
[Registry] <<..registry>>
[Utilities] <<..util>>
[Parsers] --> [Model]
[Registry] --> [Parsers]
[Registry] --> [Model]
[Registry] --> [Utilities]
[Parsers] --> [Utilities]
[Parsers] --> [Assertions]
[Model] --> [Utilities]
[Assertions] --> [Model]
@enduml
| false | true | false | false | class |
027c4c730bbbfc7d05159b13b110b27accdbb793 | 9e99544602e1e5713e01550ccfad6dc614042d5f | /Actividades/A5.1.Osbert/diagrama-clases.puml | aba90516b6e677bd64254ba5d99e43fa59fd0ea7 | [] | no_license | eugenioLeal/A01022983_AyMSS2018 | 536aed45eadbe8cc83fc36432f97f3ea98e4cd08 | de60b92eb23aabdec6c876c3fa413fc670bc29c6 | refs/heads/master | 2021-05-12T14:37:09.102838 | 2018-05-15T18:47:47 | 2018-05-15T18:47:47 | 116,961,380 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 862 | puml | @startuml
class Usuario {
-nombre_usuario: string
-contrasena: string
-obraDeseada: Obra
+realizarOferta(): bool
+introducirDescripcion(Obra obradeseada)
}
class Compra {
-aceptada_rechazada: bool
+obtenDescripcion():
+buscarSubastas() : Subasta
+sumarPorcentaje() : void
+cambiarEstado() : void
}
class Galeria {
-obras : Obra
}
class Obra {
-artista : string
-precio : float
-ano : int
+obtenDescripcion() : string
+introduceDescripcion() : void
}
class ListaSubastas {
-lista : Subasta
}
class Subasta {
-obra : Obra
-costo : float
-ano : int
-listaDeSubastas : Subasta
+obtenInformacion(string x, int year) : Subasta
+obtenAno() : int
+obtenCosto() : float
}
Compra --> ListaSubastas
Galeria o-- Obra
ListaSubastas o-- Subasta
Subasta *-- Obra
@enduml | false | true | false | false | class |
4a085163ea35e6cec83c06d4eca3560b74fd47e4 | ed88907bc06c824a3592e7b1dd78d2fc797a7842 | /doc/assets/package_questions.puml | 3cd9b63eed4247359dd1000ac0db4322599e8daf | [
"BSD-2-Clause"
] | permissive | miyunari/AE_Quiz_Projekt24 | cecbc52069909e87e962f8f291f173c0ffe9d154 | 89b697cd92d2382166de06ad9ee908a8c00935c1 | refs/heads/master | 2023-05-24T08:48:16.943366 | 2021-06-07T22:21:53 | 2021-06-07T22:21:53 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,950 | puml | @startuml
namespace questions {
class Question << (S,Aquamarine) >> {
- String id
- String question
- int difficulty
- ArrayList<String> answers
- int solution
- Category category
+ int getID() int
+ String getQuestion() String
+ int getDifficulty() int
+ ArrayList<String> getAnswers()
+ int getSolution()
+ Category getCategory()
}
class QuestionDB << (S,Aquamarine) >> {
- sql.Conn connection
- ArrayList<Question> questions
+ QuestionDB()
+ void connect(String address)
+ Question getByID(int id)
+ ArrayList<Question> getByDifficulty(int d)
+ ArrayList<Question> getByCategory(Category c)
+ ArrayList<Question> getAll()
+ void create(Question q)
+ void update(Question q)
+ void delete(int id)
}
class QuestionParser << (S,Aquamarine) >> {
- questions Question[]
+ QuestionParser()
+ void load(InputStreamReader sr)
+ void write(OutputStreamWriter w)
+ Question getByID(int id)
+ ArrayList<Question> getByDifficulty(int d)
+ ArrayList<Question> getByCategory(Category c)
+ ArrayList<Question> getAll()
+ void create(Question q)
+ void update(Question q)
+ void delete(int id)
}
interface QuestionStore {
+ ArrayList<Question> getAll()
+ Question getByID(int id)
+ ArrayList<Questoin> getByDifficulty(int d)
+ ArrayList<Question> getByCategory(Category c)
+ void create(Question q)
+ void update(Question q)
+ void delete(int id)
}
class questions.Category << (T, #FF7700) >> {
}
}
"questions.QuestionStore" <|-- "questions.QuestionDB"
"questions.QuestionStore" <|-- "questions.QuestionParser"
"__builtin__.string" #.. "questions.Category"
@enduml
| false | true | false | false | class |
8662ffc61b4d9525b946bd4e6919b7301e190667 | 95863b112bf46ae8623653d2f3b4e69ff24b30c3 | /diagram/usecase/task.puml | dc0087a20aed820bd76a156b3074d878ed2d1dc1 | [] | no_license | gateroot/taskforce | 75ba3e8b5faebfe81487dc94fce4a101b3260fbb | 9db5a0220e11819d5a11f02f24e141eca7f786ec | refs/heads/master | 2020-05-17T03:21:28.418944 | 2019-04-29T05:23:41 | 2019-04-29T05:26:57 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 259 | puml | @startuml
left to right direction
package task {
(new task)
(start task)
(stop task)
(complete task)
(close task)
}
actor User as U
U --> (new task)
U --> (start task)
U --> (stop task)
U --> (complete task)
U --> (close task)
@enduml
| false | true | false | false | usecase |
f0d79adf869196ead3809f5a2f7d0a8b846a41eb | 01fc1d7eaec538fbd45cc677d3fe63643580e57f | /docs/umls/ui.puml | 429f619536546d92d290da36573703370e32222a | [] | no_license | Jiale-Sun/tp | b4d7598b947f27a4fff940e59ea04e9f2fafcfdd | 3e42908e7651096760a0ac59b9883557a1bbd981 | refs/heads/master | 2023-09-04T00:36:47.775422 | 2021-11-12T00:19:54 | 2021-11-12T00:19:54 | 411,294,329 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,363 | puml | @startuml
'https://plantuml.com/class-diagram
hide circle
skinparam classAttributeIconSize 0
skinparam groupInheritance 1
skinparam maxLength 128
package "ui" <<Frame>> #DDDDDD {
abstract class Ui {
+ printIndex(index: int, println: boolean)
# stringPadder(input: String, type: PaddingType) : StringBuilder
}
class UiModule extends Ui{
UiModule : + printModule(mod: Module, index: int, boolean printMC)
}
UiMapping ---|> Ui
class UiMapping {
+ printMapping(mm: ModuleMapping, index: int, printMC: boolean)
}
UiUniversity --|> Ui
class UiUniversity{
+ printUniversity(uni: University, printMC: boolean)
}
UiInvalid --|> Ui
class UiInvalid {
+ printFindModNull()
+ printFindUniNull()
+ printParseException(errorMessage: String)
+ printFormat(format: String)
}
class UiGeneral extends Ui{
+ welcome()
+ printExit()
}
UiStorage ---> Ui
class UiStorage {
+ printInvalidModuleMessage()
+ printInvalidMappingMessage()
+ printInvalidUniversityMessage()
+ printWarningMessage()
}
}
PaddingType <-- Ui
PaddingType <-- UiModule
PaddingType <-- UiMapping
PaddingType <-- UiUniversity
enum PaddingType <<enumeration>> {
INDEX,
MODULECODE,
MODULENAME,
UNIVERSITYNAME
}
@enduml | false | true | false | false | class |
aa7be0e7b49e21a5911a864f91098050848818f3 | d20c5c47f69154bab730978ab6926273aa912143 | /doc/sequencediagrams/fr15.puml | 693080b771efc743c2ded4b137bbb18205df3cb9 | [] | no_license | PolyPong/PolyPong | 6343389dfc34c90e017e730e50432b9f190bd0e8 | c51a4ad491351f85d1065dab697dc52dacae7e88 | refs/heads/master | 2023-04-07T02:36:34.103293 | 2021-04-17T05:46:43 | 2021-04-17T05:46:43 | 336,416,757 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 440 | puml | @startuml
actor user
'expand paddle
participant Player as P
participant Game as G
participant Paddle as pad
activate user
user -> P: applyPowerup(OthersInvisiblePaddle)
activate P
P -> G: makeOtherPaddlesInvisible(player)
activate G
loop num players - 1 times
G -> pad: makePaddleInvisible()
activate pad
pad --> G: success
deactivate pad
end
G --> P: success
deactivate G
P --> user: success
deactivate P
deactivate user
@enduml
| false | true | false | false | usecase |
5b578ff4cfb9c1d90278535d909162b95f7298ca | d80509713597f413f218f2421c4e00b08acb96cb | /Architecture/diagrams/src/api_request.puml | a8133c0b5b9bc95c9bad258c5f741a6694b39627 | [] | no_license | mihai-dev-ro/StudentEnrollmentApp | 6b748f14f341cf250f7f290a01e23100c67a8e1b | d8d61faa1670d7b43895e2df6dca310e82e3469e | refs/heads/master | 2020-11-27T13:26:03.963132 | 2020-01-07T09:43:31 | 2020-01-07T09:43:31 | 229,459,844 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 878 | puml | @startuml
title Handling API request with authentication
actor MobileApp #Blue
box "Router" #LightBlue
participant Router
participant ActionBuilder
participant BodyParser
end box
box "Model" #LightGrey
participant Student
participant StudentMetaModel
end box
box "Service Layer" #LightCyan
participant "Student \nCreateUpdate \nService" as StudentCreateUpdateService
participant "Student \nSubmission \nService" as StudentSubmitService
end box
box "Database Access Layer" #LightYellow
participant StudentRepo
end box
autonumber
MobileApp -> Router: POST /students
Router -> ActionBuilder: Call RegisterStudent
ActionBuilder -> BodyParser: Parse Request Body
BodyParser -> Student: Instantiate Student model
ActionBuilder -> StudentCreateUpdateService: Saves into Db
StudentCreateUpdateService -> StudentRepo: Call insert into Db
@enduml | false | true | false | false | sequence |
a83e822a606e2c9ff3e5c6d9e45dcca173541be6 | 09873cd7cc124e471c44114b1b456bbaed32c9a6 | /dsl/ds/billing/coreOperations.puml | f8286032aab64bb06bbc8dfdc668e3bf2354fa7b | [] | no_license | leoluz/umlrepo | bfea6bef79a8175dd1be8e7322c47bdf87aa1eee | a59019c96477f1fb4444e5ee1afc4937987efce3 | refs/heads/master | 2021-01-17T18:00:35.620182 | 2016-10-18T03:55:40 | 2016-10-18T03:55:40 | 70,859,678 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,277 | puml | @startuml
enum ItemType {
+ITEM,
+TAX,
+PENALTY,
+DISCOUNT
}
enum PaymentServiceType {
+CREDIT_CARD,
+ACH,
+REDIRECT
}
enum RequestType {
+INTERACTIVE,
..billingprocessjob..
+BATCH
}
enum StatusType {
+SUCCESS,
+FAILURE,
+NOT_SUPPORTED
}
class Request {
-String id;
-String tenantId;
-String paymentServiceName;
-RequestType type;
-Contact contact;
..only for preauth..
-Cart cart;
..may only contain the gateway key..
-PaymentInstrument paymentInstrument;
..denormalized values..
-BigDecimal amount;
-BigDecimal taxAmount;
-BigDecimal balance;
-String currency;
..mandatory for refund..
-TransactionReference refundedTransaction;
..mandatory for capture..
-TransactionReference authorizationTransaction;
..only used for redirect..
-String returnUrl;
-String cancelUrl;
..used for payment..
-Invoice invoice;
..specific information..
-MetadataHolder metadata;
--
+boolean isRefund();
}
class Response {
-String paymentServiceName;
-String paymentMethod;
-StatusType status;
..for correlation/refund/capture..
-String transactionId;
..for storage in payment instrument..
-String gatewayKey;
..for storage in payment_authorization..
-String approvalCode;
-String responseMessage;
..for redirect flow..
-String redirectUrl;
-Contact contact;
..specific information..
-MetadataHolder metadata;
}
class Cart {
-String reference;
-List<Order> orders;
}
class Contact {
-String id;
-String salutation;
-String firstName;
-String lastName;
-String email;
-String phoneNumber;
-String faxNumber;
-Address address;
-String companyId;
-String companyName;
}
class Address {
-String street1;
-String street2;
-String city;
-String zipCode;
-String stateOrProvince;
-String countryCode;
-String phoneNumber;
}
class Invoice {
-String id;
-BigDecimal totalAmount;
-BigDecimal taxAmount;
-String currency;
-Date dueDate;
-Date creationDate;
-Collection<InvoiceLine> invoiceLines;
-Collection<Order> purchaseOrders;
-MetadataHolder metadata;
}
class InvoiceLine {
-String id;
-BigDecimal totalAmount;
-BigDecimal quantity;
-BigDecimal unitPrice;
-BigDecimal proratedUnitPrice;
-BigDecimal percentage;
-String description;
-Date periodStart;
-Date periodEnd;
-Item item;
-MetadataHolder metadata;
}
class Item {
-String id;
-ItemType type;
-MetadataHolder metadata;
}
class Order {
-String id;
-BigDecimal amount;
-BigDecimal taxAmount;
-String currency;
-String description;
-List<OrderItem> orderItems;
-MetadataHolder metadata;
}
class OrderItem {
-String id;
-BigDecimal totalAmount;
-BigDecimal quantity;
-BigDecimal unitPrice;
-String description;
-Item item;
-MetadataHolder metadata;
}
class TransactionReference {
..original transaction to refund/capture..
-String transactionId;
-BigDecimal amount;
-MetadataHolder metadataHolder;
}
interface PaymentInstrument {
+PaymentInstrumentType getType();
+String getGatewayKey();
+boolean hasGatewayKey();
}
interface PaymentService {
.. identification of the service ..
String getName();
PaymentServiceType getType();
.. configuration and specific configuration object..
void configure(Configuration configuration);
Class<> getPayloadClass();
..store and remove for api based like ach or credit card..
Response storePaymentInstrument(Request request);
Response removePaymentInstrument(Request request);
..redirect flow system for tokenization..
Response initRedirectPayment(Request request);
Response finalizeRedirectPayment(Request request);
..common operations for all payment gateways..
Response preAuthorize(Request request);
Response confirmPreAuthorization(Request request);
Response pay(Request request);
Response refund(Request request);
}
ItemType <-- Item
Item <-- OrderItem
Item <-- InvoiceLine
Order *-- OrderItem : contains
Cart *-- Order : contains
Cart <-- Request
Invoice *-- InvoiceLine : contains
Invoice <-- Request
TransactionReference <-- Request
Address <-- Contact
Contact <-- Request
StatusType <-- Response
RequestType <-- Request
Request <-- PaymentService
Response <-- PaymentService
PaymentServiceType <-- PaymentService
PaymentInstrumentType <-- PaymentInstrument
PaymentInstrument <-- Request
note right of PaymentServiceType: may be replaced\nby some feature flags
@enduml
| false | true | false | false | class |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.