blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 5 227 | content_id stringlengths 40 40 | detected_licenses listlengths 0 28 | license_type stringclasses 2 values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 36 values | visit_date timestamp[us]date 2015-08-14 10:26:58 2023-09-06 06:45:32 | revision_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | committer_date timestamp[us]date 2011-07-11 04:02:09 2023-09-04 16:40:12 | github_id int64 206k 631M ⌀ | star_events_count int64 0 6.51k | fork_events_count int64 0 1.54k | gha_license_id stringclasses 11 values | gha_event_created_at timestamp[us]date 2012-08-01 17:54:24 2023-09-14 21:57:05 ⌀ | gha_created_at timestamp[us]date 2009-05-21 02:09:00 2023-04-21 10:18:22 ⌀ | gha_language stringclasses 55 values | src_encoding stringclasses 12 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 1 class | length_bytes int64 16 1.74M | extension stringclasses 12 values | code stringlengths 16 1.74M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a5c1a6e83f52a0fff6a504eec70933a06a88a6b9 | 227c32f7a5991c0ce2de069dd1f0448c1e6949fb | /PlantUML/PointCloudMap/PointCloudMap_Framework.puml | b8f69288e79c4adeb48e4612d88a467300ac0652 | [] | no_license | ShisatoYano/SLAMDesignUML | 2b3af745ecf8ff1b88845e248a72c589fe9aa1ba | bb8678908952205d1fdc2ea5e49c9ca752e123b9 | refs/heads/master | 2022-11-25T17:49:03.514885 | 2020-08-02T00:27:38 | 2020-08-02T00:27:38 | 261,206,484 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 941 | puml | @startuml
skinparam classAttributeIconSize 0
class PointCloudMap{
+ {static} const int MAX_POINT_NUM = 1000000
+ int nthre
+ std::vector<Pose2D> poses
+ Pose2D lasePose
+ Scan2D lastScan
+ std::vector<LPoint2D> globalMap
+ std::vector<LPoint2D> localMap
+ PointCloudMap() : nthre(1) {globalMap.reserve(MAX_POINT_NUM)}
+ ~PointCloudMap()
+ void setNthre(int n){nthre = n}
+ void setLastPose(const Pose2D &p){lastPose = p}
+ Pose2D getLastPose() {return(lastPose)}
+ void setLastScan(const Scan2 &s){lastScan = s}
+ virtual void addPose(const Pose2D &p) = 0
+ virtual void addPoints(const std::vector<LPoint2D> &lps)
+ virtual void makeGlobalMap() = 0
+ virtual void makeLocalMap() = 0
+ virtual void remakeMaps(const std::vector<Pose2D> &newPoses) = 0
}
PointCloudMap <|-- PointCloudMapLP
PointCloudMap <|-- PointCloudMapGT
PointCloudMap <|-- PointCloudMapBS
@enduml |
2c2743ad0dabb3a8dbc2b9abf2bf0fe5ca8913e4 | f7cbd1bbf9534a5bf2529f4a704adcec6b3aafa2 | /diagrams/Meal.puml | 946ac876608bc95309f6879843b2e1a459aa2165 | [] | no_license | AY2122S1-CS2113T-F14-3/tp | cbe08bd0acafd839c68eb062c73f1425f5ed7b36 | 4dfe1a9649049d037aba9fe67908a82564f983ab | refs/heads/master | 2023-08-27T11:53:12.522530 | 2021-11-12T11:57:49 | 2021-11-12T11:57:49 | 412,351,373 | 0 | 6 | null | 2021-11-12T11:57:50 | 2021-10-01T06:15:19 | Java | UTF-8 | PlantUML | false | false | 611 | puml | @startuml
hide circle
skinparam classAttributeIconSize 0
'https://plantuml.com/class-diagram
class Meal
abstract class Tracker {
}
class Meal {
protected ArrayList<String> meals;
#mealNumber: int
#calories: int
#description: String
#date: String
#time: String
#totalCalories: int
- {static} logger: Logger
+generateWeightParameters(inputArguments: String): void
+addMeal(inputArguments: String): void
+deleteMeal(inputArguments: String): void
+listMeals(inputArguments: String): void
+getCalories(date: String): int
}
Meal --|> "<<extends>>" Tracker
@enduml |
6fd8a164f5c149b123a6d22724a8eac090a1089c | c41ffccbf1897b399a8238cd3116538eab50156f | /BJUT-Tour-Guide/src/main/java/cn/liboyan/bjuttourguide/ds/DataStructure.puml | 8c931e21cd323fe24a602753673db7056e17523e | [
"Apache-2.0"
] | permissive | lbytony/BJUT-Tour-Guide | 7c84433e6943bf82d8064b951bc97867834426c3 | 9a5f02c8273633f3a7fbe5ca1ea63803ad170a24 | refs/heads/master | 2020-07-18T22:10:30.321961 | 2020-02-14T16:23:31 | 2020-02-14T16:23:31 | 206,322,153 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,795 | puml | @startuml
skinparam BackGroundColor #FFFFFF
skinparam class {
BorderColor #cbd5d6
FontSize 20
}
class Vertex {
- int id;
- String name;
- int pointType;
- int pointPosition;
+ Vertex(int _id, String _name, int _pointType, int _pointPosition)
+ int getId()
+ String getName()
+ int getPointType()
+ int getPointPosition()
}
class Edge {
+ int from, to, weight;
+ Edge()
+ Edge(int _from, int _to, int _weight)
}
class ArrayList<T> {
- T[] data
- int size, length, curPos;
+ ArrayList()
+ ArrayList(int n)
+ int getLength()
+ int getSize()
- void expandSize()
+ void insert(T info, int pos)
+ void add(T info)
+ void del(int pos)
- void setPos(int pos)
+ int getPos()
+ T getData(int pos)
+ void setData(int pos)
+ void print()
}
class Graph {
+ int numVertex, numEdge;
+ int[] visited, inDegree;
+ Graph(int _numVertex, int _numEdge)
}
Graph <|-- GraphMatrix : extends
GraphMatrix <-down- Vertex : dependent
GraphMatrix <-up- Edge : dependent
GraphMatrix <-up- ArrayList : dependent
class GraphMatrix {
+ int[][] matrix
+ GraphMatrix(int _numVertex, int _numEdge)
+ GraphMatrix(int _numVertex, int _numEdge, ArrayList<Vertex> _vertices, ArrayList<Edge> _edges)
+ void setEdge(int from, int to, int weight)
+ void delEdge(int from, int to)
+ Edge firstEdge(int from)
+ Edge nextEdge(Edge sourceEdge)
+ void visited(int target)
+ boolean isEdge(Edge e)
+ int[][] Floyd()
+ void showMatrix()
}
class Location{
- double latitude;
- double longtitude;
- int id;
+ Location(double longtitude, double latitude, int id);
+ double getLatitude();
+ double getLongtitude();
+ int getId();
}
@enduml |
7ffd8d8b2fd85099e2f2f32072372c607051b50e | 03726524c5f152378f7ed47fc6a4a50fdd320f84 | /src/by/spalex/bmp/coder/coder.plantuml | f7708df96304f0850488059efde6eb5e10d31c9f | [] | no_license | thatalex/bmpcoder | c8718b320908af3201489287fb6b639c992e40eb | fa609eeadc65a4c8d1ff153db0054119070e53f0 | refs/heads/master | 2020-03-23T13:23:23.935289 | 2018-07-20T14:06:54 | 2018-07-20T14:06:54 | 141,615,339 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 774 | plantuml | @startuml
package by.spalex.bmp.coder {
class Decoder {
+ Decoder()
+ decode()
- decodeTrueColor()
- getTrueColorByte()
- decodeColorPallete()
- decodeRGB888()
- decodeRGB555()
- getRGB555Byte()
- decodeRGB444()
- getRGB444Byte()
}
}
package by.spalex.bmp.coder {
class Encoder {
+ Encoder()
+ encode()
- encodeTrueColor()
- encodeColorPalette()
- encodeRGB888()
- encodeRGB555()
- encodeRGB444()
}
}
class Bitmap{
- bytes : byte[]
- bitmask : Color
- palette : Color[]
- paletteOffset : int
}
Decoder o-- Bitmap : bitmap
Encoder o-- Bitmap : bitmap
@enduml
|
c0ed516ba8c498372e28e42e4e2f580b5a176e09 | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-class-dokumentflyt.puml | f0d2ae3a89cbc4149c83d41d7d30a00ce03fdba5 | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 647 | puml | @startuml
skinparam nodesep 100
hide circle
class Sakarkiv.Dokumentflyt {
+systemID : SystemID [0..1] [1..1]
+flytTil : string [0..1] [1..1]
+referanseFlytTil : SystemID [0..1] [1..1]
+flytFra : string [0..1] [1..1]
+referanseFlytFra : SystemID [0..1] [1..1]
+flytMottattDato : datetime
+flytSendtDato : datetime [0..1] [1..1]
+flytStatus : FlytStatus [0..1] [1..1]
+flytMerknad : string [0..1]
}
class Sakarkiv.Arkivnotat <Registrering> {
}
Sakarkiv.Arkivnotat *-- "dokumentflyt 0..*" Sakarkiv.Dokumentflyt
class Sakarkiv.Journalpost <Registrering> {
}
Sakarkiv.Journalpost *-- "dokumentflyt 0..*" Sakarkiv.Dokumentflyt
@enduml
|
0eb822c0c219fec4989e6ddfdb09a45484d8ba67 | e48aa6eb3063f355a4d92a6faa1570453d8f3215 | /design/multi-aggregate.puml | 601373e9127c11aa4d0566fdd3bdcace2222c3b2 | [] | no_license | yaoyaocjj/exam-plantform | 7e10d79fa7383d38a4dccd47f5b64c9f1f8b7cd3 | 899bff475e5125bb74a2ef27021b65657298919f | refs/heads/master | 2022-11-09T08:13:49.363564 | 2020-07-04T12:56:41 | 2020-07-04T12:56:41 | 276,091,946 | 1 | 0 | null | 2020-06-30T12:27:28 | 2020-06-30T12:27:27 | null | UTF-8 | PlantUML | false | false | 1,070 | puml | @startuml
package paper <<Aggregate>> {
class Paper <<Aggregate Root>> {
paperId: PaperId
createTime: DateTime
teacherId: String
{static} assemble()
reassemble()
}
class "Quiz" as q1 <<Value Object>> {
quizId: QuizId
score: int
}
Paper "1" *-- "*" q1
}
package "examination" <<Aggregate>> {
class Examination <<Aggregate Root>> {
examinationId: ExaminationId
createTime: DateTime
dueTime: DateTime
duration: Time
{static} create(): Examination
}
class "Paper" as p2 <<Value Object>>{
paperId: String
}
interface "Quiz" as q2 <<Value Object>>{
String desc
int score
}
class BlankQuiz {
String referenceAnswer
}
class EssayQuiz {
Matrix matrix
}
Examination "1" *-- "1" p2
p2 "1" *-- "*" q2
q2 <|-right- BlankQuiz
q2 <|-left- EssayQuiz
}
@enduml
|
1531cf4ddf9bf617228a2e2e791dadc0b6e3a982 | 986179c1e881d113cb7ce9d397da17a50c885fd6 | /src/design/proxy/proxtDesign.puml | e2b160f2b073874d2586abf9f5dedc28ae0935b4 | [] | no_license | wuyajun001/helloworld | 7ff1c8dc207bc90e9b15a88651281fc339301d56 | 2f6e11caca0bf8f37eb7e22f09973f96304cce1f | refs/heads/master | 2020-07-22T03:45:02.475822 | 2019-09-16T09:11:07 | 2019-09-16T09:11:07 | 207,064,381 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 597 | puml | @startuml
title 代理模式
interface EntertainmentCircle{
+void song();
+void dancing();
}
class Broker{
-EntertainmentCircle entertainmentCircle;
+broker() {default LiuYiFei}
+broker(EntertainmentCircle entertainmentCircle) {}
+void song(){}
+void dancing(){}
}
EntertainmentCircle <|..Broker
class SaDingDing{
+void song(){}
+void dancing(){}
}
SaDingDing ..|> EntertainmentCircle
class LiuYiFei {
+void song(){}
+void dancing(){}
}
LiuYiFei ..|> EntertainmentCircle
class WuYaJun{
+ void main(String[] args) {}
}
WuYaJun ..> Broker
@enduml |
ae04c34e4d5b9d21dbc1cffa0ca19b37850ed46c | b6d7dcc349e9d95108fa6d0e54a171ae43213daf | /docs/analyse.uml.puml | de9a8daa4091e339bbc9c30966d0337655ec02c2 | [] | no_license | wstmarc/cinemajpa2table | c9e9051b4acd2dc8d8556fb571d15e3c476c1b65 | 7be4ec18ea83970c9f4310f4c156b25f496f1c70 | refs/heads/master | 2020-04-12T02:39:34.297980 | 2019-01-02T14:54:39 | 2019-01-02T14:54:39 | 162,249,308 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 269 | puml | @startuml
class Play {
id
name
}
class Film{
id
name
rank
imagepath
}
class Person {
id
name
}
Play "*" -- "1" Person
Play "*" -- "1" Film
Film " * \n directedFilms" - "1 \n director" Person: " "
hide circle
@enduml |
ffd7d09045a0aeb21ee6f6019647b17747185da5 | cde433048c4291d3352565b650088aef7b1566d0 | /src/main/java/nl/han/dea/marijn/database/models/models.plantuml | bd9e86958a215aaeff5c463ef598b4e024173772 | [] | no_license | marijndegen/deaberoepsproduct | 5f0fa0ec728683410476fe4713860c716e1b5d53 | 6e50e270168072f7fdcb551a0ca229f5a23135ff | refs/heads/master | 2022-10-28T18:32:44.607645 | 2018-04-05T09:43:17 | 2018-04-05T09:43:17 | 125,343,381 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 878 | plantuml | @startuml
title __MODELS's Class Diagram__\n
package nl.han.dea.marijn.database.models {
class ActiveSubscription {
{static} + makeNewStandardActiveSubscription()
{static} + getActiveSubscriptions()
}
}
package nl.han.dea.marijn.database.models {
class SharedSubscription {
}
}
package nl.han.dea.marijn.database.models {
class Subscription {
{static} + searchSubscription()
}
}
package nl.han.dea.marijn.database.models {
class User {
+ calculateTotalAmount()
}
}
ActiveSubscription -up-|> Model
SharedSubscription -up-|> Model
Subscription -up-|> Model
User -up-|> Model
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
9c35f46d2728cd5fd92d7a0c0a73176c9505e153 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/TransactionState.puml | 1f14e7eb4f1320590fb7516dd37d52bd3f0d4b74 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 2,086 | puml | @startuml
hide methods
enum TransactionState {
INITIAL
PENDING
SUCCESS
FAILURE
}
interface PaymentTransactionStateChangedMessage [[PaymentTransactionStateChangedMessage.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
sequenceNumber: Long
resource: [[Reference.svg Reference]]
resourceVersion: Long
type: String
resourceUserProvidedIdentifiers: [[UserProvidedIdentifiers.svg UserProvidedIdentifiers]]
transactionId: String
state: [[TransactionState.svg TransactionState]]
}
interface PaymentTransactionStateChangedMessagePayload [[PaymentTransactionStateChangedMessagePayload.svg]] {
type: String
transactionId: String
state: [[TransactionState.svg TransactionState]]
}
interface Transaction [[Transaction.svg]] {
id: String
timestamp: DateTime
type: [[TransactionType.svg TransactionType]]
amount: [[CentPrecisionMoney.svg CentPrecisionMoney]]
interactionId: String
state: [[TransactionState.svg TransactionState]]
custom: [[CustomFields.svg CustomFields]]
}
interface TransactionDraft [[TransactionDraft.svg]] {
timestamp: DateTime
type: [[TransactionType.svg TransactionType]]
amount: [[Money.svg Money]]
interactionId: String
state: [[TransactionState.svg TransactionState]]
custom: [[CustomFieldsDraft.svg CustomFieldsDraft]]
}
interface PaymentChangeTransactionStateAction [[PaymentChangeTransactionStateAction.svg]] {
action: String
transactionId: String
state: [[TransactionState.svg TransactionState]]
}
TransactionState --> PaymentTransactionStateChangedMessage #green;text:green : "state"
TransactionState --> PaymentTransactionStateChangedMessagePayload #green;text:green : "state"
TransactionState --> Transaction #green;text:green : "state"
TransactionState --> TransactionDraft #green;text:green : "state"
TransactionState --> PaymentChangeTransactionStateAction #green;text:green : "state"
@enduml
|
e6ae519295dd588e84db850dd5e1db4d2e3dc8d6 | fbe1dfa9dc016367ee5c1bf32c4689bdfb9d868e | /legal/legal.plantuml | f73db1f68cb57b6f2d98dd5b93d38c837f6562bc | [
"Apache-2.0"
] | permissive | marcllort/Car_Rental_Monorepo | 844638554f226f04b2b00c35c4077d98b947f7c2 | 9f3fad50034cd85e149d457e323561d517220d31 | refs/heads/master | 2023-06-30T15:18:00.352756 | 2021-07-26T17:46:46 | 2021-07-26T17:46:46 | 323,322,306 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,444 | plantuml | @startuml
namespace Rest {
class PdfRestAPI << (S,Aquamarine) >> {
+ customerReport(@Autowired invoiceGenerator: InvoiceGenerator, @Autowired routeGenerator: RouteGenerator, @RequestBody request: LegalRequest): ResponseEntity<InputStreamResource>
}
}
namespace Generator {
class InvoiceGenerator << (S,Aquamarine) >> {
~ FILE_PATH : String
+ generateInvoicePDF(Service) InputStream
}
class RouteGenerator << (S,Aquamarine) >> {
~ FILE_PATH : String
+ generateRoutePDF(Service) InputStream
}
}
namespace Model {
class LegalRequest << (S,Aquamarine) >> {
+ Flow string
+ UserId string
+ Company string
+ Price string
+ Service Service
+ Client ClientUser
}
class Service << (S,Aquamarine) >> {
+ ServiceId int
+ Origin string
+ Destination string
+ ClientId int
+ DriverId int
+ Description string
+ ServiceDatetime String
+ CalendarEvent string
+ PayedDatetime String
+ BasePrice float32
+ ExtraPrice float32
+ ConfirmedDatetime String
+ Passengers int
+ SpecialNeeds string
}
}
"Rest.PdfRestAPI""uses" o-- "Generator.RouteGenerator"
"Rest.PdfRestAPI""uses" o-- "Generator.InvoiceGenerator"
"Generator.InvoiceGenerator""uses" o-- "Model"
"Generator.RouteGenerator""uses" o-- "Model"
@enduml
|
5c0593043f4ed91fc73fd6c8cb78342640e79985 | 13565a0b6077f78b773576035cbd2752871240bc | /Babenko/BabenkoDydykDiplomaProject/BabenkoDydykDiplomaProject.plantuml | f981284b7b3c8b3e4d2d42dc53b7bc8375026473 | [
"Apache-2.0"
] | permissive | vbabenk/GeneticRace | 92ff1da794f7a83fba01e3dbeca91c1b36b7fcbd | 37f1731fc003755b1c1d03caaa09b0ace55bedd6 | refs/heads/master | 2021-08-02T19:02:15.575865 | 2021-07-30T15:26:45 | 2021-07-30T15:26:45 | 218,497,240 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,054 | plantuml | @startuml
title __BABENKODYDYKDIPLOMAPROJECT's Class Diagram__\n
package GeneticRace.condition {
class ConditionController {
}
}
package GeneticRace.condition {
class ConditionModel {
}
}
package GeneticRace.fsLook {
class FSLookController {
}
}
package GeneticRace.fsLook {
class FSLookModel {
}
}
package GeneticRace.firstStage {
class FirstStageController {
}
}
package GeneticRace.firstStage {
class FirstStageModel {
}
}
package GeneticRace.login {
class LoginController {
}
}
package GeneticRace.login {
class LoginModel {
}
}
package GeneticRace.mainMenu {
class MainMenuController {
}
}
package GeneticRace.classes {
class Patient {
}
}
package GeneticRace.patientChooser {
class PatientChooserController {
}
}
package GeneticRace.repositories {
class PatientRepository {
}
}
package GeneticRace.profile {
class ProfileController {
}
}
package GeneticRace.profile {
class ProfileModel {
}
}
package GeneticRace.execution {
class Program {
}
}
package GeneticRace.ssLook {
class SSLookController {
}
}
package GeneticRace.ssLook {
class SSLookModel {
}
}
package GeneticRace.secondStage {
class SecondStageController {
}
}
package GeneticRace.secondStage {
class SecondStageModel {
}
}
ConditionController o-- ConditionModel : conditionModel
FirstStageController o-- FirstStageModel : fsModel
LoginController o-- LoginModel : loginModel
MainMenuController o-- PatientChooserController : controller
ProfileController o-- ProfileModel : profileModel
Program -up-|> Application
SecondStageController o-- SecondStageModel : ssModel
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
|
a73744e31fc1516595a69e9ccfa6c7317dc6fd73 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderSearchNumberRangeValue.puml | 597ea17a0b213d5d1ed411f59b15e2b7ffd8fd4f | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 579 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface OrderSearchNumberRangeValue [[OrderSearchNumberRangeValue.svg]] extends OrderSearchQueryExpressionValue {
field: String
boost: Integer
customType: String
gte: Double
lte: Double
}
interface OrderSearchQueryExpressionValue [[OrderSearchQueryExpressionValue.svg]] {
field: String
boost: Integer
customType: String
}
@enduml
|
f717992260c9a5b4cc806cee619e99afbd125591 | 03e955d210d9acbaab1c525f9581a6315defc190 | /factory-pattern/src/main/resources/abstract_factory.puml | 9c40b9913cf540b72c5633a52ca3f6ae69fe4ea3 | [] | no_license | chzhyu/head-first-design-patterns | b841cf63881d3abd119136a6c4f986ebc89ffc5c | 667f3b26e3ac2a7e89af683b62956f3d09645619 | refs/heads/master | 2020-03-08T04:51:30.046337 | 2018-05-14T10:13:51 | 2018-05-14T10:13:51 | 127,932,816 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 800 | puml | @startuml
interface PizzaIngredientFactory{
creteDough();
creteSauce();
creteCheese();
creteVeggies();
cretePepperoni();
creteClam();
}
note left
Provide an abstract
interface for creating a
family of product
end note
note right of PizzaIngredientFactory
PizzaIngredientFactory is implemented as
an Abstract Factory because we need to create
families of produces (the ingredients). Each
subclass implements the ingredients using its own
regional suppliers.
end note
PizzaIngredientFactory <|.. ChicagoPizzaIngredientFactory
note as N1
Each ingredient represents a product that
is produced by a Factory Method in the Abstract
Factory (eg: Dough,Clams)
end note
class ChicagoPizzaIngredientFactory{
creteDough();
creteSauce();
creteCheese();
creteVeggies();
cretePepperoni();
creteClam();
}
@enduml
|
c460acdca73dfce2d31d205eab1874ed84d4aa62 | e26fbf3b3fe4ae372d6597bb01350e6c512751d0 | /src/com/smile/responsibilityChain/responsibilityChain.puml | 7113f774dfc086375d034835e8240082a33b979c | [] | no_license | sjsmi1e/DesignPattern | 8914255f764b920fb56e48bb31d740ec07da2779 | 3b7c1842af40ec9c535a2c5f5df1741b3a636024 | refs/heads/master | 2020-07-19T13:28:59.573773 | 2019-09-15T08:56:34 | 2019-09-15T08:56:34 | 206,457,211 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 603 | puml | @startuml
class Request{
-String name;
-float price;
}
note top of Request : 请求类
abstract class Handler{
-Handler handler;
+void processRequest(Request request);
}
Handler o-- Handler
Handler --> Request
class ConcreteHandlerA{
+void processRequest(Request request);
}
class ConcreteHandlerB{
+void processRequest(Request request);
}
Handler <|-- ConcreteHandlerA
Handler <|-- ConcreteHandlerB
note "具体处理者,处理自己负责的请求,可以访问他的后继" as N1
ConcreteHandlerB .. N1
ConcreteHandlerA .. N1
Client --> Request
Client --> Handler
@enduml |
d69f7960a0f47681812e5b315280bc60f3625ba8 | ccc4a578b9cf4323653f87212acca9b3d12f1c23 | /WasteWatcherApp/WasteWatcherApp/UML/Waste/EditableWasteCollection.puml | fba3b9c2efd4958a2c15c3b28ed9900c6ba2dc38 | [] | no_license | MarioGeier00/WasterWatcherApp | 383531013b68fb52927ef4abf529e83bd6beff4b | 88190459884fa0252ebfe63fdf3e1ce852eeb75f | refs/heads/dev | 2023-06-04T09:37:22.112757 | 2021-07-01T11:57:02 | 2021-07-01T11:57:02 | 355,274,133 | 0 | 0 | null | 2021-05-19T12:48:26 | 2021-04-06T17:24:11 | C# | UTF-8 | PlantUML | false | false | 399 | puml | @startuml
class EditableWasteCollection {
+ EditableWasteCollection(wasteList:List<WasteAmount>)
+ SetWasteAmount(wasteType:WasteType, wasteAmount:int) : EditableWasteCollection
+ RemoveWasteAmount(wasteType:WasteType) : EditableWasteCollection
+ ClearAllWaste() : EditableWasteCollection
}
class "List`1"<T> {
}
EditableWasteCollection --> "WasteList<WasteAmount>" "List`1"
@enduml
|
2dc6f3ab6b95e05ace5013020f6f2b3e15ba1bdb | b120fd65ff39c926b71e8cd50aad1ba2697a1ca6 | /Chapter15-ObserverPattern-1-default/src/com/parkgaram/observer/basicObserver.puml | fef1f83fe483f405c314f98fa76a292d54c09e83 | [] | no_license | frog97/java-design-pattern | e8106eaceb213ab3f5c83f273d997fdf56783e09 | 2a03c7071b650aaf82c7becb2f16ceed650a95df | refs/heads/master | 2023-03-30T17:51:21.154591 | 2021-04-11T11:32:51 | 2021-04-11T11:32:51 | 351,084,280 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 299 | puml | @startuml
'https://plantuml.com/class-diagram
interface Observer {
+ update(Target) : Object
}
class Target
{
+ setObserver(Observer):void
+ notify() : Object
}
class ConcreteObserver
{
+update(Target): Object
}
Observer <-- Target : update
Observer <|-- ConcreteObserver
@enduml |
48c1a4607ea17c268028c9b4bb3a95c59ec8e30c | c0daa38416d0df67da681d5a3b457cc63b4a78bf | /src/main/java/uk/ac/ebi/pride/utilities/iongen/ion/ion.plantuml | 782892775fa627f09a8caf263023336b92c9fa6c | [
"Apache-2.0"
] | permissive | PRIDE-Utilities/pride-utilities | 5dca0a5154c13a27d6dfa6e18dbc4a6a1c908962 | a6a375d69c1f3085cd1774a1fbd27e2b5c77a9cf | refs/heads/master | 2022-09-05T01:09:01.400987 | 2022-09-02T13:24:19 | 2022-09-02T13:24:19 | 23,535,931 | 1 | 3 | null | 2022-09-02T13:24:20 | 2014-09-01T08:35:19 | Java | UTF-8 | PlantUML | false | false | 2,772 | plantuml | @startuml
title __ION's Class Diagram__\n
package uk.ac.ebi.pride.utilities.iongen {
package uk.ac.ebi.pride.utilities.iongen.ion {
class FragmentIonType {
{static} + A_ION : FragmentIonType
{static} + B_ION : FragmentIonType
{static} + C_ION : FragmentIonType
{static} + D_ION : FragmentIonType
{static} + X_ION : FragmentIonType
{static} + Y_ION : FragmentIonType
{static} + Z_ION : FragmentIonType
{static} + V_ION : FragmentIonType
{static} + W_ION : FragmentIonType
{static} + AMBIGUOUS_ION : FragmentIonType
{static} + IMMONIUM_ION : FragmentIonType
{static} + IN_SOURCE_ION : FragmentIonType
{static} + CO_ELUTING_ION : FragmentIonType
{static} + NON_IDENTIFIED_ION : FragmentIonType
{static} + PRECURSOR_ION : FragmentIonType
- name : String
- label : String
- FragmentIonType()
+ getName()
+ getLabel()
+ equals()
+ hashCode()
+ clone()
+ toString()
}
}
}
package uk.ac.ebi.pride.utilities.iongen {
package uk.ac.ebi.pride.utilities.iongen.ion {
class FragmentIonTypeColor {
{static} + A_ION_COLOR : Color
{static} + B_ION_COLOR : Color
{static} + C_ION_COLOR : Color
{static} + D_ION_COLOR : Color
{static} + X_ION_COLOR : Color
{static} + Y_ION_COLOR : Color
{static} + Z_ION_COLOR : Color
{static} + V_ION_COLOR : Color
{static} + W_ION_COLOR : Color
{static} + AMBIGUOUS_ION_COLOR : Color
{static} + IMMONIUM_ION_COLOR : Color
{static} + IN_SOURCE_ION_COLOR : Color
{static} + CO_ELUTING_ION_COLOR : Color
{static} + NON_IDENTIFIED_ION_COLOR : Color
{static} + PRECURSOR_ION_COLOR : Color
{static} + getColor()
}
}
}
package uk.ac.ebi.pride.utilities.iongen {
package uk.ac.ebi.pride.utilities.iongen.ion {
class FragmentIonUtilities {
{static} + getFragmentIonType()
{static} + isBackboneFragmentIonType()
{static} + isNTerminalFragmentation()
{static} + isCTerminalFragmentation()
{static} + isCTerminalSideChainFragmentation()
{static} + isNTerminalSideChainFragmentation()
{static} + isImmoniumFragmentation()
{static} + getFragmentIonNeutralLoss()
}
}
}
FragmentIonType -up-|> Cloneable
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
|
b3b2d4c74699bb50e0cfae8465a7d994ce67c65b | f7eea5cc0be09100690dd741a15eb2c97b9f3519 | /Alarm/src/main/java/Model/Model.plantuml | f16e5ca063167a43325a5a946c3b823a4d7bf01e | [] | no_license | filipeguimaraes/GR_TP2 | 39d5bcc01a209746e9ef2c9bad09b335de6b8f7f | 1d73f04fd25d3312ffd0c62c6e835638e53d6097 | refs/heads/main | 2023-06-28T23:57:31.099477 | 2021-07-25T10:18:23 | 2021-07-25T10:18:23 | 314,855,252 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,672 | plantuml | @startuml
title __MODEL's Class Diagram__\n
namespace odel {
class Model.Alarm {
- alarmFile : File
- br : BufferedReader
- command : String
- cpuThreshold : Double
- doCommand : boolean
- doEmail : boolean
- email : String
{static} - instance : Alarm
- memThreshold : Double
- path : String
- running : boolean
- textArea : TextArea
+ Alarm()
+ appendToAlarmFile()
{static} + getInstance()
+ printText()
+ read()
+ sendByCommand()
+ setCommand()
+ setCpuThreshold()
+ setDoCommand()
+ setDoEmail()
+ setEmail()
+ setMemThreshold()
+ verifyProcesses()
- init()
- open()
- verifyCPU()
- verifyMEM()
}
}
namespace odel {
class Model.Email {
- recipient : String
- sender : String
- session : Session
+ Email()
+ send()
- init()
}
}
namespace odel {
class Model.Process {
- cpu : Double
- mem : Double
+ Process()
+ getCpu()
+ getMem()
}
}
namespace odel {
class Model.Tradutor {
{static} + linhaProcess()
{static} - getCPU()
{static} - getRAM()
}
}
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
|
6fb28c14f42ee0b073b73296cd3efa357f387f22 | cd46a7f084e1a7ddea394b0e0dfffc35fb7edcd5 | /out/production/_Proiect/Input/Input.plantuml | 03481acad94c5f0fddc2e70b98622c9fa310bb3d | [] | no_license | IulianMurariu-Tanasache/ProiectPAOO_FirstDungeon | 0338c66822bfa8ee1139da18c79ca0e291e1d66c | a2a23eaadc01fd6f70f57b9dbf85ae21f3a6e73d | refs/heads/master | 2023-05-07T20:43:23.334249 | 2021-04-24T09:04:47 | 2021-04-24T09:04:47 | 361,116,355 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 598 | plantuml | @startuml
title __INPUT's Class Diagram__\n
namespace Input {
enum KeyEnum {
A
CTRL
D
L
S
SHIFT
SPACE
W
}
}
namespace Input {
class Input.KeyInput {
- keys : boolean[]
+ KeyInput()
+ getKey()
+ keyPressed()
+ keyReleased()
}
}
Input.KeyInput -up-|> java.awt.event.KeyAdapter
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
|
b83f64d4002529de0cfc720c45a2936521653013 | 2b866c2b9b077d6c4ad7fec64e0ba5944d4b7a1c | /resources/LoverQuestUML.puml | 043e913c3ee31be3d9c366c8bb51d330b9429235 | [] | no_license | SDEprojects/SDE18-LDR-LoversQuest | 5b3d5bc2229aaab4b8744d2abf36d3b74c476318 | d7a1f1e2e615302e06fa2049fd65ce6d431a0d79 | refs/heads/master | 2022-12-27T01:22:00.756175 | 2020-09-22T22:18:06 | 2020-09-22T22:18:06 | 299,363,365 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,769 | puml | @startuml
package com.loversQuest{
class GameWorld{
+Location ++
+Item ++
+createMap()
+equipPLayer()
+isGameOver()
}
package gameWorldPieces{
Item <--"is_A" Container
enum CarinalDirection
Item *--"has_a" NonPlayerCharacters
Officer <--"is_A" NonPlayerCharacters
Lover <--"is_A" NonPlayerCharacters
RuckSack *--"has_a" Player
NonPlayerCharacters <|-- "use" Player
class PlayerController{}
class Item {
-String name
-String useResponse
+String use()
+String toString()
}
class Container{
-Arraylist<Item> contents
+getItem(String name)
}
class NonPlayerCharacters{
-String name
-String description
-Location location
-Item keyItem
-Item prize
+String interact(Player player)
}
class Officer{
-int numOfItemsNeeded;
-String keyItemName;
-private Location sendPlayerDestination;
+String reRoute(Player player)
+String interact(Player player)
}
class Lover{
-int numOfItemsNeeded
-String keyItemName
+setKeyItemName(String KeyItemName)
+setNumOfItemsNeeded(int numOfItemsNeeded)
}
class Player{
-String name
-Location currentLocation
-boolean hasChallengeCoin
-boolean hasKiss
+RuckSack ruckSack
+go(String directionInput)
+validateLocation(Location destination)
+addItem(Item item)
+pickUpItem(String itemName)
+inspect() @return <Item>
+displayItems()
+getAllItems() @return ruckSack.items
}
class RuckSack{
#Arraylist<Item> items
+addItem(Item item)
+getItem(String itemName)
+getAllItems() @return <Item>
+displayRuckSackContents() @return String
}
enum CarinalDirection {
NORTH
SOUTH
EAST
WEST
}
}
package GUI{
class GameFrame
class GameResponsePanel
class InputPanel
class InventoryPanel
class JFrameInput
class JPanelFactory
class MapFactory
class MapFrame
class MapPanel
}
package IO{
class GraphicClass
class Input
class InputParser
class Output
}
}
@enduml |
efadfc8c3e35ecf6bba7510f3a7c7d76fb2afdff | 844665d08d1be5dacc41d8495725d881c68dba71 | /Conferencias/Conferencia 4_ Patrones de Diseño de Comportamiento/PrincipleAndPatternDesign/out/production/PrincipleAndPatternDesign/cu/datys/principles/dip/authentication/bad/class-diagram.puml | 538462c366e7e56c322685de6aae2ac52112bf3a | [
"MIT"
] | permissive | alexescalonafernandez/curso-patrones-diseno | ec1cf0a993707d78c294208e04604a3a0ffd164e | f586e27791e1281087df6cc137da87f407179e65 | refs/heads/master | 2021-01-25T13:35:26.659206 | 2018-03-02T20:18:06 | 2018-03-02T20:18:06 | 123,588,331 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 503 | puml | @startuml
skinparam backgroundcolor transparent
skinparam classFontSize 18
skinparam noteFontSize 18
skinparam arrowFontSize 18
skinparam classAttributeFontSize 18
skinparam titleFontColor #c9302c
Title DIP: Uso incorrecto
class User{
- int id
+ int getId()
+ void setId(int id)
}
class SimpleAuthentication{
+ boolean authenticate(User user)
}
SimpleAuthentication --> User: use
class LoginManager{
+ void login(User user)
}
LoginManager --> SimpleAuthentication: use
@enduml |
75059162c883fd515ae4367c4760843ca5582fa1 | 5182c071d0316eff5aad407dff1872e3ef8f0c10 | /readmeFiles/Request.iuml | 68e705ec82de5a035aa1e30516f6fa30730ccc5e | [
"Apache-2.0"
] | permissive | fh-erfurt/1234Altwagen | 99bdd696c68b32fb20577ab5b6b411d65853eaae | 3a90aa709cbfb481a74cdaa94ea16c7579c9c7a0 | refs/heads/master | 2020-08-29T12:27:59.230959 | 2020-08-03T17:08:57 | 2020-08-03T17:08:57 | 218,030,883 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 244 | iuml | @startuml
class Request {
-car: Car
-employee: Employee
-customer: Customer
-float: price
-type: RequestType
-status: RequestStatus
+Request(RequestType, Car, Customer, float)
{method} getter und setter
}
@enduml |
4c8d610e61093aa1a8fb0f2023dfbd7c77147403 | 622c008212ad81846b9e5fbf6ac5ea98d4a442c9 | /src/memento/game/game.puml | 3708543fb14523539d6aa797f52279b5a5d393c6 | [] | no_license | YangLiuQing-star/design-pattern | a6561cf5113128be355ec118807c2c0c6206bad7 | 2823c77e317a1de922142590166f784966f0b152 | refs/heads/master | 2022-12-27T21:23:56.249453 | 2020-10-13T13:49:25 | 2020-10-13T13:49:25 | 303,718,595 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 277 | puml | @startuml
class Memento{
attack:int
def:int
}
class CareTaker{
memento:Memento
}
Memento --o CareTaker
class GameRole{
createMemento():Memento
getStatueFromMemento():void
}
GameRole ..> Memento
class Client
Client ..> GameRole
Client ..> Memento
@enduml |
156e3a3a72b3f7f57b3623d50d0050bac6387c55 | 17fe0f5df5b8d1ad7ab001775c37cf6c9ca3084e | /decorator/uml.puml | e0d1028da78559bc77bc01a1aa7e411f6621be43 | [] | no_license | lazy3311/design_patterns | a91c86a17aeb8bda3564c2f4db2cd8f5774b63ea | f8da613ecf14d9f47fac67d1efafbafe6156f0b1 | refs/heads/master | 2022-12-09T20:32:13.457813 | 2020-09-11T09:25:31 | 2020-09-11T09:25:31 | 286,716,509 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 681 | puml | @startuml decorator_pattern
!define DARKORANGE
!includeurl https://raw.githubusercontent.com/Drakemor/RedDress-PlantUML/master/style.puml
abstract class Component <<IPizza>> {
+ {abstract} get_cost();
}
class ConcreteComponent <<ThinCrustPizza>>{
+ get_cost();
}
abstract class Decorator <<IToppingDecorator>>{
- Component concreate_component;
+ Decorator(Component)
+ {abstract} get_cost();
}
class ConcreteDecorator {
+ get_cost();
}
note "These are ToppingMozarella, ToppingSauce" as N1
N1 .right. ConcreteDecorator
Component <|-- ConcreteComponent
Component <|-- Decorator
Decorator <|-- ConcreteDecorator
Component <-- ConcreteDecorator
@enduml |
7a6390e4f680bc764eec67f3319c67231bca9a21 | 4c5d25e670d887c43e6cab8a1b8658ec62c17f36 | /src/main/java/model/model.plantuml | 7c297af98dfd951d7c34193bec0e1b5c2ac85baa | [] | no_license | RichardKovacik/bankDAO | e8fba1f74da6110ca6bb82e2fb74789fb7eabc02 | 65caf7429d76efaede5b36120f3074a478da5586 | refs/heads/main | 2023-06-27T20:40:56.671572 | 2021-07-20T15:00:38 | 2021-07-20T15:00:38 | 385,254,693 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 958 | plantuml | @startuml
title __MODEL's Class Diagram__\n
namespace model {
class model.KlientModel {
{static} + nazvyStlpcov : String[]
- zoznamKlientov : List<Klient>
+ KlientModel()
+ getColumnClass()
+ getColumnCount()
+ getColumnName()
+ getRowCount()
+ getValueAt()
}
}
namespace model {
class model.UcetModel {
{static} + nazvyStlpcov : String[]
- zoznamUctov : List<Ucet>
+ UcetModel()
+ getColumnClass()
+ getColumnCount()
+ getColumnName()
+ getRowCount()
+ getValueAt()
}
}
model.KlientModel -up-|> javax.swing.table.AbstractTableModel
model.UcetModel -up-|> javax.swing.table.AbstractTableModel
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
|
a6b01ae0c1e08d2243d92feb7834dfeeb42fe97e | d39ac8b9030501b41ffdfcdc881325ea2f697a76 | /model/StemmedWord.puml | ce9ad1356d2e5bfb4f9130222577a8179fa6dfbb | [
"MIT"
] | permissive | huntertran/seco-storms-maker | 15cedbe9c4b9fdfcd41c81b32e8b41973fdcf7ed | 3caac1eb79463933622c22da967ed16d1a4c8ba3 | refs/heads/master | 2023-09-01T05:24:46.230645 | 2021-07-06T01:47:11 | 2021-07-06T01:47:11 | 208,285,191 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 179 | puml | @startuml stemmed_word
class StemmedWord
class UnStemmed {
word: String
count: Integer
}
StemmedWord "1"--|>"many" UnStemmed
hide empty members
@enduml |
b3580c25c37e79165dae70cfdbfec34ee78acea4 | 2e07419decb2d8297ccb034bb7364ac914e98ad0 | /ems-doc/uml/entities.puml | c425272f97d45a5d8263957c7bfd0150310365cf | [] | no_license | Loomloo/ems | 65f7a2f1dbc1dfbc2b289c5ca540a911c2ecd5fa | 7d358073ff9fc7c5965dd90042b2bbc40568f8fd | refs/heads/master | 2021-01-11T09:28:54.296149 | 2017-03-13T22:21:49 | 2017-03-13T22:21:49 | 81,207,149 | 1 | 0 | null | 2017-02-07T12:46:24 | 2017-02-07T12:46:24 | null | UTF-8 | PlantUML | false | false | 4,222 | puml | @startuml
'===Classes
class Appeal {
+id : long
+source : AppealSource
+phoneNumber : String NULL
+result : AppealResult
+technical : boolean
+calls : List<Call>
+createdWhen : Timestamp
+createdBy : Employee
}
enum AppealSource {
DEFAULT
PASSING
FROM_CREW
FROM_POLICE
FROM_FIRE
FROM_MED
ERROR
}
enum AppealResult {
CALL_STARTED
NOT_CALL
REDIRECTED
TRACKING
}
class Call {
+id : long
+createdWhen : Timestamp
+finishedWhen : Timestamp
+appeals : List<Appeal>
+address : Address
' +building : Building
' +apartment : Apartment
' +place : Place
+patient : Patient
+cause : Cause
+state : CallState
+description : String
+notes : List<CallNote>
}
class CallState {
+id : long
+call : Call
+status : CallStatus
+prevState : CallState
+createdBy : Employee
+createdWhen : Timestamp
}
enum CallStatus {
NOT_ASSINGED
ASSIGNED
MOVING
FINDING
TREATMENT
TRANSPORTATION
RETURN
FINISHED
ARCHIVED
}
class CallNote {
+id : long
+call : Call
+type : CallNoteType
+text : String
}
enum CallNoteType {
GENERAL
// TODO add more
}
enum Cause {
+name : String
+priority : int
-Cause (name : String, priority : int)
}
interface Address {
+id : long
+location : Location
+notes : List<AddressNote>
}
class Building {
+regionId: long
+areaId: long
+townId: long
+districtId: long NULL
+streetId: long
+number: int
}
class Apartment {
TODO
}
class Place {
+mainName : PlaceName
}
class PlaceName {
+id : long
+place : Place
+name : String
}
class AddressNote {
+id : long
+note : String
+active : boolean
}
class MedAction {
+call : Call
+type : MedActionType
+item : MedItem NULL
+count : int NULL
+createdWhen : Timestamp
+createdBy : Employee
}
class Crew {
+members : List<Employee>
+car : Car
+state : CrewState
+currentCall : Call
+assignedCalls : List<Call>
+areaStatus : AreaStatus
}
class CrewState {
+id : long
+crew : Crew
+status : CrewStatus
+areaStatus : CrewAreaStatus
+prevState : CrewState
+createdBy : Employee
+createdWhen : Timestamp
}
enum CrewStatus {
ACTIVE
INACTIVE
INACTIVE_DINNER
DISABLED
DISABLED_FUEL
DISABLED_BROKEN
}
enum CrewAreaStatus {
ON_STATION
IN_AREA
OUT_AREA
}
class Car {
+id : long
+model : String
+number : String
+govNumber : String
}
class Shift {
+id : long
+createdWhen : Timestamp
+createdBy : Employee
+closedWhen : Timestamp
+closedBy : Employee
+position : Position
+employee : Employee
}
class Employee {
+id : long
+lastName : String
+firstName : String
+fatherName : String
+birthdate : Date
+positions : List<Position>
}
enum Position {
DRIVER
DISPATCHER
DOCTOR
ASSISTANT
STATION_DOCTOR
CHIEF_DOCTOR
}
'class Driver {
'}
'class Doctor {
'}
'class Dispatcher {
'}
class Patient {
+id : long
+lastName : String
+firstName : String
+fatherName : String
+birthdate : Date
}
'===End of Classes
'===Relations
Appeal "0..*" o-- "1" AppealSource
Appeal "0..*" -- "1" AppealResult
Call "0..*" -- "1..*" Appeal
Call "0..*" -- "0..*" Crew : assignedCalls
Call "1" -- "0..*" Crew : currentCall
Call -- Address
Call "1" *-- "1..*" CallState
Call "1" *-- "0..*" CallNote
Call "0..*" o-- "1" Cause
Call "1" -- "0..*" MedAction
CallState "0..1" <-- "0..1" CallState
CallState "0..*" -- "1" CallStatus
CallNote "0..*" o-- "1" CallNoteType
Address <|-down- Building
Address <|-down- Apartment
Address <|-down- Place
Place "1" -- "0..*" PlaceName
Address "1" *-- "0..*" AddressNote
Apartment "0..*" -up-> "1" Building
Crew "1" -- "1..*" CrewState
CrewState "0..1" -- "0..1" CrewState
CrewState "0..*" -- "1" CrewStatus
CrewState "0..*" -- "1" CrewAreaStatus
Crew -- Car
'Employee -down- Driver
'Employee -down- Doctor
'Employee -down- Dispatcher
Employee -down- Shift
Employee "0..*" -- "0..*" Position
Shift "0..*" -down- "1" Position
'===End of Relations
@enduml |
d3a7f7f3e4c39bd97e7d32330a192eb1969dd38d | 7349c504a9ea28225c208fd80a7f6556a78779a1 | /ContosoPets/uml/src/ContosoPets_ClassDiagram.puml | 0a2b72448c7bf80474f9eb3e9ef8c7b0d49eebe4 | [] | no_license | Apollo013/EntityFrameworkCore | fea8709d35c51c1f5cfbf781442907a2d0dddba2 | 0754c3b8c19b18899a544bb3a4f4f4c78fb74466 | refs/heads/master | 2022-11-25T15:09:55.638385 | 2020-07-19T21:24:57 | 2020-07-19T21:24:57 | 280,861,331 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 288 | puml | @startuml ContosoPets
class BaseEntity << abstract >> {
+Id : int
}
class Customer {
+FirstName : string [required]
+LastName : string [required]
+Address : string [?]
+Phone : string [?]
}
class Product {
{field} +Name : string (req)
{field} +Price : decimal (18,2)
}
@enduml |
228ab2bf37f18029b3c667fec5c6feca91d7e531 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/GraphQLMatchingPriceNotFoundError.puml | 859c161ffe9208c323379fb051b2bda6a571f552 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 648 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface GraphQLMatchingPriceNotFoundError [[GraphQLMatchingPriceNotFoundError.svg]] extends GraphQLErrorObject {
code: String
productId: String
variantId: Integer
currency: String
country: String
customerGroup: [[CustomerGroupReference.svg CustomerGroupReference]]
channel: [[ChannelReference.svg ChannelReference]]
}
interface GraphQLErrorObject [[GraphQLErrorObject.svg]] {
code: String
}
@enduml
|
55a678f40cf049dc3cdfb59a5be4688e30526ddc | 829bec442ac3931f43190cbf67fb53580c73742c | /Documentation/heirarchy.puml | 8f88803999a801fcace94ec81a08a62402b457ce | [
"MIT"
] | permissive | aaron-jencks/ion_application | 3fdff19060240d193a6664b6b527102d528d5d2d | c868be88347ee2a9173d5724e48516f8d9f8e88f | refs/heads/master | 2023-01-30T01:05:38.587605 | 2019-08-07T03:35:47 | 2019-08-07T03:35:47 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,328 | puml | @startuml
package multiprocessing <<Node>>{
class Process
class Queue
}
package threading <<Node>>{
class Thread
}
package state_machine <<Node>>{
class StateMachine{
#dict states
{static} +StateMachine()
#execute_state(string s)
}
class QSM{
#string idle
#string initial
#string error
#string exit
#deque q
{static} +QSM(string idle, string initial, string error, string stop)
#None add_state(string s)
#None add_states(list s)
#string get_next(bool execute)
}
StateMachine <|-- QSM
}
package modules <<Node>>{
class Module{
+bool is_stopping
#Exception raised_error
#None module_init()
#None module_event_check()
#None module_err()
#None module_exit()
#None module_STOP()
}
Process <|-- Module
QSM <|-- Module
class TModule{
+bool is_stopping
#Exception raised_error
#None module_init()
#None module_event_check()
#None module_err()
#None module_exit()
#None module_STOP()
}
Thread <|-- TModule
QSM <|-- TModule
}
package communication <<Node>>{
class Message{
+string command
+Object data
}
class IonLink{
+Queue rx
-Queue tx
{static} +None IonLink(Queue tx, Queue rx)
#None send_message(Message msg)
#Message wait_for_message()
}
Queue *.. IonLink
Message *.. IonLink
class IonModule{
}
Module <|-- IonModule
IonLink <|-- IonModule
class IonTModule{
}
TModule <|-- IonTModule
IonLink <|-- IonTModule
class IonProcessor{
{static} +Queue global_q
+None register_module(IonLink mod)
}
Module <|-- IonProcessor
IonLink *.. IonProcessor
}
package application <<Node>>{
class Application{
+IonModule[] modules
#IonProcessor comm_processor
-IonModule[] initialized_mods
+start()
#modules_initialize()
#modules_setup()
#modules_start()
#modules_cleanup()
}
QSM <|-- Application
IonLink *.. Application
Module *.. Application
TModule *.. Application
IonProcessor *.. Application
}
@enduml |
3b0cdf5d478aed902f5a7a89b25bed531338eb60 | c8d8dd39e053490727f807b9f74b84b46225f0d0 | /Server/src/exceptions/exceptions.plantuml | 6cc4b8fe71ae0333f5fc87a8a44fdd7aa08f17a6 | [] | no_license | 89oinotna/retiP | 91a108bd330e08ba418cc6132179687ee79f5348 | 1a8d7d9c3d9dc13ef3c247c457100cd3063a2a97 | refs/heads/master | 2023-01-23T13:45:32.829579 | 2020-12-03T20:06:00 | 2020-12-03T20:06:00 | 230,627,762 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,812 | plantuml | @startuml
title __EXCEPTIONS's Class Diagram__\n
namespace exceptions {
class exceptions.ChallengeException {
+ ChallengeException()
+ ChallengeException()
}
}
namespace exceptions {
abstract class exceptions.CustomException {
+ CustomException()
+ CustomException()
}
}
namespace exceptions {
class exceptions.FriendshipException {
+ FriendshipException()
}
}
namespace exceptions {
class exceptions.UserAlreadyExists {
+ UserAlreadyExists()
}
}
namespace exceptions {
class exceptions.UserAlreadyInGame {
+ UserAlreadyInGame()
}
}
namespace exceptions {
class exceptions.UserAlreadyLogged {
+ UserAlreadyLogged()
}
}
namespace exceptions {
class exceptions.UserNotExists {
+ UserNotExists()
}
}
namespace exceptions {
class exceptions.UserNotOnline {
+ UserNotOnline()
}
}
namespace exceptions {
class exceptions.WrongCredException {
+ WrongCredException()
}
}
exceptions.ChallengeException -up-|> exceptions.CustomException
exceptions.FriendshipException -up-|> exceptions.CustomException
exceptions.UserAlreadyExists -up-|> exceptions.CustomException
exceptions.UserAlreadyInGame -up-|> exceptions.CustomException
exceptions.UserAlreadyLogged -up-|> exceptions.CustomException
exceptions.UserNotExists -up-|> exceptions.CustomException
exceptions.UserNotOnline -up-|> exceptions.CustomException
exceptions.WrongCredException -up-|> exceptions.CustomException
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
|
9bb1e236f562029505a1270980a3c97adf70fe7b | d1b958a947d162d451a7989bb7212dcfb8d80f5f | /Circle.puml | 504785f1c16b4e0bd7bc9764a37c4c0e1b1fc8a2 | [] | no_license | scorpio611/Circle | 88312a391f27dfe8a2d2357770c2c2d92204e0f8 | 26a6686f45ce8b7ca20b5352a4800dc55ffa81c4 | refs/heads/master | 2020-04-14T13:32:03.568700 | 2019-01-02T17:46:56 | 2019-01-02T17:46:56 | 163,871,517 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 524 | puml | @startuml
Circle <|- Cylinder
class Circle {
-String color
-double radius
+Circle()
+Circle(double radius)
+Circle(double radius, String color)
+getRadius():double
+setRadius(double radius):void
+getColor():String
+setColor(String color):void
+getArea():double
+**toString():String**
}
class Cylinder{
-double height
+Rectangle()
+Rectangle(double height)
+Rectangle(double height, double radius, String color)
+getHeight():double
+setHeight(double height):void
+getVolumetric():double
+**toString():String**
}
@enduml |
3d37fb5dd16849fc32aaa400ef5f7012b0f5e1fe | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-codelist-flytstatus.puml | 60b3502e57c4bf4d4a59c48622e06be193b4d837 | [] | no_license | arkivverket/noark5-tjenestegrensesnitt-standard | 299f371a341e59402d49bfc11ee9e2672dad657e | 03025f8b9f1496f4a2f5b155e212a44768390274 | refs/heads/master | 2023-06-10T02:19:28.432679 | 2023-06-09T08:40:40 | 2023-06-09T08:40:40 | 136,293,843 | 7 | 11 | null | 2023-08-22T10:40:36 | 2018-06-06T07:58:53 | Python | UTF-8 | PlantUML | false | false | 189 | puml | @startuml
skinparam nodesep 100
hide circle
class Kodelister.FlytStatus <<codelist>> {
+Godkjent = G
+Ikke godkjent = I
+Sendt tilbake til saksbehandler med kommentarer = S
}
@enduml
|
8b3e0de0095153febc17908c031c40f986e71616 | c17d67715206a3ab16c4e852d34f1df3ed3b9211 | /GuitarShop/out/production/GuitarShop/GuitarShop.puml | 2a66c38b39b50b21226535f9606dc1636b0b90f0 | [] | no_license | jackcarroll5/Object-Oriented-Analysis-And-Design | a5137718260b0f3ba03d20e326022dd2136056eb | 5dff7bee0663954097522f3e26e02c69b545dc60 | refs/heads/master | 2020-03-28T10:49:18.412649 | 2019-03-19T14:42:49 | 2019-03-19T14:42:49 | 148,148,567 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,303 | puml | @startuml
skinparam classAttributeIconSize 0
class Guitar{
+ Guitar(serialNumber : String, price : double, spec : GuitarSpec)
- serialNumber : String
- price : double
- spec : GuitarSpec
+ getSerialNumber() : String
+ getPrice() : double
- setPrice(newPrice : double) : void
+ getGuitarSpec() : GuitarSpec
}
class Inventory{
+ Inventory()
- guitars : LinkedList
+ addGuitar(serialNumber : String, price : double,spec : GuitarSpec) : void
+ getGuitar(serialNumber : String) : Guitar
+ searchSimple(searchGuitar : GuitarSpec) : List <Guitar>
}
class GuitarSpec{
+ GuitarSpec(builder : Builder, model : String,
type : Type, noString : NumString, backWood : Wood, topWood : Wood)
- builder : Builder
- model : String
- type : Type
- noString : NumString
- backWood : Wood
- topWood: Wood
+ getBuilder() : Builder
+ getModel() : String
+ getType() : Type
+ getNumStrings() : NumString
+ getBackwood() : Wood
+ getTopwood() : Wood
+ matches(spec : GuitarSpec) : boolean
}
Inventory o-- Guitar : contains
Guitar --> GuitarSpec : has a
enum Wood{
ALDER
CEDAR
MAHOGANY
}
enum Builder{
FENDER
GIBSON
MARTIN
COLLINGS
}
enum Type{
ACOUSTIC
ELECTRIC
}
enum NumString{
SIXSTRING
TWELVESTRING
}
@enduml |
e84245f22515b6756100125bf390c4097c222c20 | 64c8dacb32731ce02a24ccd7f4f71da2dabc86e3 | /Module08_Heritage/POOI_Heritage_CompteBancaireSansAbstraction/plantuml/POOI_Heritage_CompteBancaireSansAbstraction/Transactions/TransactionRetrait.puml | eb3a407ae16acd4e803fd24c2b80ade4f4ddeeaf | [
"CC0-1.0"
] | permissive | Mouadh-1994770/420-W20-SF | 0233d6e99d48dea14068db093686507c878892fb | a066b8b1fdcc4cb07f7c274b6aa3c479aee6d505 | refs/heads/master | 2022-12-21T19:44:13.247779 | 2020-06-02T03:21:28 | 2020-06-02T03:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 127 | puml | @startuml
class TransactionRetrait {
+ TransactionRetrait(p_montant:decimal)
}
Transaction <|-- TransactionRetrait
@enduml
|
a7b8a6ca14eed9efdade222185715de43d802ef7 | 47abc859d6be4f2e075579e8a9f6faaca572c2d5 | /doc/layout_of_app.puml | ecb16857885f157648ad29f6f8f24f7b3134b0e1 | [
"MIT"
] | permissive | ktv12/RESTED | 8d3d492b6437b85d4daee5d96700c01a90652efe | 3ed79495074e719354d77b7284220f03ef927b3b | refs/heads/master | 2020-07-26T07:52:23.318759 | 2016-10-12T20:21:58 | 2016-10-12T20:22:30 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,431 | puml | @startuml
class "app.js" as App {
.. Description ..
Where the app is bootstrapped
}
class RootCtl {
.. Description ..
Holds <b>$rootScope</b> and fetches
initial data from DB.
..
Can generally be considered the
top level of the app.
}
class Collections {
.. Description ..
Holds the list where the
collections are displayed.
}
class Request {
.. Description ..
Holds the view logic for sending
new requests to a server.
}
class OptionsCtl {
..Description..
The controller for the options
modal (popup box).
}
class Modal {
..Description..
The directive that controls
the currently visible Modal
(popup box), if any.
}
note "There are also several services with\nglobally accessible utility functions" as Services
App --> RootCtl
OptionsCtl --> Modal
RootCtl --> Collections
RootCtl --> Request
RootCtl.OptionsCtl
RootCtl-->Modal
RootCtl.Services
class DB {
..Description..
Holds the database API
Each collection placed
in IndexedDB gets these
methods:
--Methods--
get()
add(item)
set(item)
delete(item)
}
class Collection {
..Description..
Holds CRUD methods
on collections
}
class "... And more!" as More
Services .. DB
Services .. Collection
Services .. More
class "constants.js" as Constants {
..Description..
Holds any and all constants
that is used by the app globally.
}
@enduml
|
8539a1f5bc8ea5472f96e54b746a223b2915a0de | 188eed20c216f3a9cce01f598a4b0a54c1bde405 | /class_diagram.puml | ad4e76b99b072410373a9fba5751b6409fdfc05e | [] | no_license | houfio/sudoku | 234c335649e7f9d52dc64e8d9b4a7b31c3de5a06 | 04bf278c379d10e8464c781297c53743563b67c6 | refs/heads/main | 2023-05-19T17:54:30.703163 | 2021-06-13T18:44:13 | 2021-06-13T18:44:13 | 369,759,796 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,877 | puml | @startuml
package service {
interface PuzzleReader {
+readPuzzles(): List<PuzzleCandidate>
}
class DefaultPuzzleReader extends PuzzleReader
note left of PuzzleReader: Dependency Injection
}
package controller {
abstract class Controller {
#sudoku: Sudoku
{abstract} +createView(): View
}
class OverviewController extends Controller
class PuzzleController extends Controller
OverviewController --> PuzzleReader
}
package widget {
abstract class Widget {
Component
..
{abstract} +draw(Graphics2D)
{abstract} +update()
+iterator(): Iterator<Widget>
}
class WidgetIterator {
Iterator
..
+hasNext(): Boolean
+next(): Puzzle
}
class WidgetGroup extends Widget {
Composite
..
#children: Widget[]
+findChild(): Widget
}
class ButtonWidget extends Widget {
Leaf
..
}
class ListWidget extends Widget {
Leaf
..
}
class TileWidget extends Widget {
Leaf
..
}
class FrameWidgetGroup extends WidgetGroup {
Composite
..
}
WidgetGroup *-- Widget
Widget .l.> WidgetIterator
note top of WidgetGroup: Composite
note right of Widget: Iterator
}
package view {
abstract class View extends WidgetGroup {
Composite
..
}
class OverviewView extends View {
Composite
..
}
class PuzzleView extends View {
Composite
..
}
View --> Controller
}
package model {
class Game {
+execute(Command)
+rollback()
}
class GameData << (D, pink) >> {
Receiver
..
}
package tile {
abstract class Tile {
+accept(TileVisitor)
}
class Position << (D, pink) >> {
+x: Int
+y: Int
}
class PositionedTile << (D, pink) >>
class DefaultTile extends Tile {
Element
..
}
class StaticTile extends Tile {
Element
..
}
PositionedTile --> Tile
PositionedTile --> Position
note top of Tile: Template
}
package visitor {
interface TileVisitor {
Visitor
..
+visit(DefaultTile)
+visit(StaticTile)
}
class ResetTileVisitor extends TileVisitor {
Concrete Visitor
..
}
note right of TileVisitor: Visitor
}
package solver {
interface Solver {
Strategy
..
+trySolve(Puzzle): Boolean
+getErrors(Puzzle): List<Position>
}
class DefaultSolver extends Solver {
Concrete Strategy
..
}
class SamuraiSolver extends Solver {
Concrete Strategy
..
}
note left of Solver: Strategy
}
package puzzle {
class Puzzle {
+setTile(Position, Tile)
+getTile(Position): Tile?
+getTiles(): List<PositionedTile>
+visitTiles(TileVisitor)
}
class PuzzleCandidate << (D, pink) >> {
+name: String
+type: String
+content: String
}
interface PuzzleFactory {
Abstract Factory
..
{static} +get(String): PuzzleFactory
+createPuzzle(PuzzleCandidate): Puzzle
}
class DefaultPuzzleFactory extends PuzzleFactory {
Concrete Factory
..
}
class JigsawPuzzleFactory extends PuzzleFactory {
Concrete Factory
..
}
class SamuraiPuzzleFactory extends PuzzleFactory {
Concrete Factory
..
}
Puzzle *-- Tile
Puzzle --> Solver
Puzzle .u.> ResetTileVisitor
PuzzleCandidate -d[hidden]-> PuzzleFactory
note left of PuzzleFactory: Abstract Factory
}
package command {
interface Command {
Command
..
+execute(GameData): Boolean
+rollback()
}
class CommandExecutor {
Invoker
..
+execute(Command)
+rollback()
+empty(): Boolean
}
class EnterCommand extends Command {
Command
..
}
class StartCommand extends Command {
Command
..
}
class SwitchCommand extends Command {
Command
..
}
Command *-- CommandExecutor
StartCommand ..> PuzzleFactory
note right of Command: Command
}
package state {
interface State {
State
..
+enter(GameData, Position, Char?): Char?
}
class PlayState extends State {
Concrete State
..
}
class NoteState extends State {
Concrete State
..
}
note right of State: State
}
Game --> GameData
Game --> CommandExecutor
GameData --> Puzzle
GameData -u-> State
}
package util {
class Fonts << (O, orange) >> {
Singleton
..
+Small: Font
+Normal: Font
+Big: Font
}
class Images << (O, orange) >> {
Singleton
..
+read(String): Image
}
}
note left of util: Singleton
class Sudoku {
-controller: Controller
+push(Class<Controller>)
}
Sudoku --> Game
Sudoku <-> Controller
Sudoku --> Widget
note top of Sudoku: MVC & Factory Method
@enduml
|
865585d60d99cd98f606fc4fb5a07e68f1a6396f | defed9daa354309bd44b7647548c9f21a153de3c | /builder/builder.puml | 92975968b0b8d69ae485b9f23baf2d3eff9cb5ca | [] | no_license | vaRinia/design-patterns-apprentice | 448ddd888fd49ec76f6141522fd9c58b459b724b | 9682ff589d99bc046d1dd368417696688a609306 | refs/heads/master | 2021-04-19T00:58:22.747278 | 2017-06-09T18:18:10 | 2017-06-09T18:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 278 | puml | @startuml
class Product {
final properties..
}
class ProductBuilder {
properties..
ProductBuilder buildPart1()
ProductBuilder buildPart2()
ProductBuilder ...()
ProductBuilder buildPartN()
Product getResult()
}
ProductBuilder .left.> Product
@enduml |
b49b409a0024065afc2e45795f8a9a184b16c736 | 7e911954f1390d6f88927f4a4dc7e6662c370425 | /src/sample/ClassDiagram.puml | 941296fef6cd5fddc298fbc19f494b1fc4f2715f | [] | no_license | Fantast024/Graphics-editor | 7fb6d566f894983b7b0c8ea530fb28f86cab1d92 | 5372b40fdd681baf4b0a071212ce18d22630340f | refs/heads/main | 2023-06-17T19:33:21.709737 | 2021-06-27T16:20:12 | 2021-06-27T16:20:12 | 375,971,561 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 707 | puml | @startuml
title __Graphics redactor's Class Diagram__\n
namespace sample {
namespace model {
}
}
namespace sample {
class model.Model {
}
}
namespace sample {
class model.Point {
}
}
namespace sample {
class sample.Controller {
}
}
namespace sample {
class sample.Main {
}
}
sample.Controller o-- model.Point
sample.Controller o-- model.Model
sample.Main -up-|> javafx.application.Application
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml |
4cd7ea7de258ff71b6134e7d21df30d3ecfa7dcd | 9383288a6b61bc27145e29886d3aa278a7c65d23 | /app/app.plantuml | cc06d763a8c4f8c1dbbcde754d86b5c5dca04719 | [] | no_license | CiaShangLin/SilverhairCalendar | 05b554044def17d50d178e658c3680a79b85e92e | 71297c8d6d028324c3e54e935aa9e61d7831263f | refs/heads/master | 2020-05-19T14:07:28.570104 | 2019-06-03T07:23:39 | 2019-06-03T07:23:39 | 185,053,152 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,511 | plantuml | @startuml
title __APP's Class Diagram__\n
package com.shang.livedata {
class BuildConfig {
}
}
package com.shang.livedata {
package com.shang.livedata.Calender {
class ColorfulMonthView {
}
}
}
package com.shang.livedata {
package com.shang.livedata.Calender {
class ColorfulWeekView {
}
}
}
package com.shang.livedata {
package com.shang.livedata.Room {
class EventDao_Impl {
}
}
}
package com.shang.livedata {
package com.shang.livedata.Calender {
class MyWeekBar {
}
}
}
package com.shang.livedata {
package com.shang.livedata.Room {
class RoomDatabase_Impl {
}
}
}
package com.shang.livedata {
package com.shang.livedata.Calender {
class SimpleMonthView {
}
}
}
package com.shang.livedata {
package com.shang.livedata.Calender {
class SimpleWeekView {
}
}
}
ColorfulMonthView -up-|> MonthView
ColorfulWeekView -up-|> WeekView
EventDao_Impl -up-|> EventDao
EventDao_Impl o-- DateConverter : __dateConverter
MyWeekBar -up-|> WeekBar
RoomDatabase_Impl -up-|> RoomDatabase
RoomDatabase_Impl o-- EventDao : _eventDao
SimpleMonthView -up-|> MonthView
SimpleWeekView -up-|> WeekView
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
|
39ea9b22e972fda372aba39aa54bc596d338b786 | 40d2d1ea69278efa8c40813a22359d097e358765 | /docs/assets/puml/bridge.puml | 63c886dcc4b06af40da1f03646600ad6cde55337 | [
"Apache-2.0"
] | permissive | diguage/deep-in-design-patterns | 13da7f045b6bef0237fd65524c50187eaf9b4b29 | fa7a1eb1efadb35ce45161eac5f27b27d4452b51 | refs/heads/master | 2022-08-27T10:18:16.532561 | 2022-07-31T10:08:04 | 2022-07-31T10:08:04 | 158,669,757 | 2 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 707 | puml | @startuml
title "**桥接模式**"
abstract class Abstraction {
+ {abstract} operation() :Object
}
note top: 抽象
class RefinedAbstraction {
+ operation() :Object
}
note bottom: 被提炼的抽象
abstract class Implementor {
+ {abstract} operationImpl() :Object
}
note top: 实现
class ConcreteImplementorA {
+ operationImpl() :Object
}
class ConcreteImplementorB {
+ operationImpl() :Object
}
note "具体实现" as cin
ConcreteImplementorA .. cin
ConcreteImplementorB .. cin
Abstraction <|-- RefinedAbstraction
Implementor <|-- ConcreteImplementorA
Implementor <|-- ConcreteImplementorB
Abstraction o-right-> Implementor
footer D瓜哥 · https://www.diguage.com · 出品
@enduml
|
bc4bd84c45d104cc254e6d225ab41940dadbcbf9 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/TaxCategoryUpdate.puml | b2e9eb61413c5594667ade2daa58c7dd7eb24d7c | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 375 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface TaxCategoryUpdate [[TaxCategoryUpdate.svg]] {
version: Long
actions: [[TaxCategoryUpdateAction.svg List<TaxCategoryUpdateAction>]]
}
@enduml
|
56316b2aca3948930ed8dbf762a92f47058c7ce5 | 3e2da778ff8bd76fa3ae2eb2e61f043226682288 | /src/repository/repository.plantuml | 8d7f7e7a10ff55717394373f9d13b4ba485e69fc | [
"CC-BY-4.0"
] | permissive | Dieunelson-Dorcelus/todo-cli | d165438d566dd7eccf9e463e9a2c6d84e04754be | a5cc8983aeca5962f42cb936a3d59f3241e96f20 | refs/heads/main | 2023-02-25T16:05:39.132504 | 2021-02-02T09:44:19 | 2021-02-02T09:44:19 | 317,835,869 | 0 | 1 | null | 2021-01-10T04:41:34 | 2020-12-02T11:08:42 | Java | UTF-8 | PlantUML | false | false | 2,393 | plantuml | @startuml
title __REPOSITORY's Class Diagram__\n
namespace repository {
class repository.Comment {
- content : String
- created : Date
+ Comment()
+ Comment()
+ getContent()
+ getCreated()
}
}
namespace repository {
class repository.DataSource {
+ getInstance()
+ save()
}
}
namespace repository {
interface repository.Repository {
{abstract} + create()
{abstract} + delete()
{abstract} + read()
{abstract} + readAll()
{abstract} + update()
}
}
namespace repository {
abstract class repository.Task {
- comments : ArrayList<Comment>
- creaded : Date
- description : String
- title : String
+ Task()
+ Task()
+ Task()
{abstract} + create()
{abstract} + delete()
+ getCreaded()
+ getDescription()
+ getTitle()
{abstract} + read()
{abstract} + readAll()
{abstract} + update()
# getComments()
}
}
namespace repository {
abstract class repository.TaskList {
- created : Date
- name : String
- tasks : HashMap<String, Task>
+ TaskList()
+ TaskList()
+ TaskList()
{abstract} + create()
{abstract} + delete()
+ getCreated()
+ getName()
{abstract} + read()
{abstract} + readAll()
{abstract} + update()
# getTasks()
}
}
namespace repository {
class repository.TaskListTXT {
+ TaskListTXT()
+ TaskListTXT()
+ TaskListTXT()
+ create()
+ delete()
+ read()
+ readAll()
+ update()
}
}
namespace repository {
class repository.TaskTXT {
+ TaskTXT()
+ TaskTXT()
+ TaskTXT()
+ create()
+ delete()
+ read()
+ readAll()
+ update()
}
}
repository.Task .up.|> repository.Repository
repository.TaskList .up.|> repository.Repository
repository.TaskListTXT -up-|> repository.TaskList
repository.TaskTXT -up-|> repository.Task
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
|
e1a1a3dc4e1af824f3b8aa416f7241b37c1244a6 | 06a9614504d3423c33c8e907f5bf909a7c98e519 | /LibShapes/UML/Class/class.puml | b8b2db12b06e41bf2479ef307c0935c9494e3eab | [
"BSD-2-Clause"
] | permissive | kerwinxu/barcodeManager | 8cabe295a26578bb73297fba65599a25c8109de1 | d7988c0485e587bea4d648b2350de09ca6eeade1 | refs/heads/master | 2023-08-17T03:33:45.494711 | 2022-11-06T12:25:11 | 2022-11-06T12:25:11 | 46,023,096 | 4 | 1 | BSD-2-Clause | 2022-12-08T14:32:39 | 2015-11-12T02:08:27 | C# | UTF-8 | PlantUML | false | false | 5,777 | puml | @startuml class
class ShapeEle{
.. 属性 ..
+int Id
+float X
+float Y
+float Width
+float Height
+float Angle
+ string VarName
+ string VarValue
- float XAdd
- float YAdd
- float WidthAdd
- float HeightAdd
.. 公开方法 ..
+ Draw(Graphics g)
+ GraphicsPath getGraphicsPath(Matrix matrix)
+ GraphicsPath getGraphicsPathNoOffsetRoute()
+ RectangleF GetBounds()
+ bool isContains(PointF mousePointF)
+ bool isBeContains(RectangleF ract)
+ move()
+ resize()
}
class PointTransform{
.. 属性 ..
float OffsetX
float OffsetY
float Zoom
.. 公开方法 ..
+ PointF TransfromToVirtualPoint(PointF)
+ Matrix GetMatrix()
}
note left of PointTransform
这个是虚拟世界的坐标
跟屏幕上的坐标转换的
end note
class PaperSize{
float PaperWidth
float PaperHeight
float Top
flaot Left
float Right
float Bottom
int Cols
int Rows
float HorizontalIntervalDistance
float VerticalIntervalDistance
ShapeEle Shape
}
PaperSize o-- ShapeEle
note right of PaperSize::Top
模板距离纸张顶部的距离
end note
note right of PaperSize::Left
模板距离纸张左边的距离
end note
note right of PaperSize::Cols
列数
end note
note right of PaperSize::Rows
行数
end note
note right of PaperSize::HorizontalIntervalDistance
模板之间的水平间隔
end note
note right of PaperSize::VerticalIntervalDistance
模板之间的垂直间隔
end note
class Shapes{
.. 属性 ..
+ List<ShapeEle> lstShapes
+ PointTransform PointTransform
+ PaperSize PaperSize
+ Dictionary<string,string> keyvalue
.. 方法 ..
+ShapeEle getSelectShape()
+List<ShapeEle> getSelectShapes()
+Draw(Graphics g, Matrix matrix, bool isShowPaperBack=true)
+int getNextId()
+getShape(int Id)
+ forward(ShapeEle shape)
+ forwardToFront(ShapeEle shape)
+ backward(ShapeEle shape)
+ backwardToEnd(ShapeEle shape)
+ void addGroup(List<ShapeEle> shapes)
- initGraphics(Graphics g)
}
Shapes o-- ShapeEle
Shapes o-- PointTransform
Shapes o-- PaperSize
note right of Shapes::getSelectShape
鼠标点击下取得一个选择的图形,
end note
note right of Shapes::getSelectShapes
鼠标画矩形框下选择的图形。
end note
note right of Shapes::DrawWithPaperBack
绘图,连带纸张的背景。
end note
note right of Shapes::Draw
绘图,不带纸张
end note
note right of Shapes::getNextId
取得下一个可用的id
end note
class ShapeGroup{
-- 属性 --
List<ShapeEle>group
-- 方法 --
+Draw(Graphics g)
+bool isContains(PointF mousePointF)
+bool isBeContains(RactangleF ract)
+move()
+resize()
}
ShapeEle <|-- ShapeGroup
class ShapeLine{
-- 方法 --
+ getGraphicsPath getGraphicsPathNoOffsetRoute()
}
ShapeEle <|-- ShapeLine
class ShapeRectangle{
-- 方法 --
+ getGraphicsPath getGraphicsPathNoOffsetRoute()
}
ShapeEle <|-- ShapeRectangle
class ShapeSelected{
}
ShapeRectangle <|-- ShapeSelected
class ShapeText{
+ string PreText
+ string SuffixText
+ string MidText
}
class UserControlCanvas{
-- 属性 --
+ Shapes Shapes
+ bool isDrawDridding
+ int GriddingInterval
+ bool isAlignGridding
+ ICommandRecorder commandRecorder
+ Dictionary<string,string> Vals
+ ShapeEle SelectShapes
+ State state
+ isShift
-- 方法
- keyDown()
- keyUp()
- MouseDown()
- MouseUp()
- print()
+ Undo()
+ Redo()
}
UserControlCanvas o-- Shapes
UserControlCanvas o-- ShapeGroup
UserControlCanvas o-- ICommandRecorder
UserControlCanvas o-- State
note right of UserControlCanvas::isDrawDridding
显示网格
end note
note right of UserControlCanvas::GriddingInterval
网格间隔
end note
note right of UserControlCanvas::isAlignGridding
对齐网格
end note
note right of UserControlCanvas::print
这里会用到双缓冲BufferedGraphics,
首先建立双缓冲,然后提高精度
首先绘制所有的图形
然后绘制虚拟选择框
然后绘制刻度表
最后刷新双缓冲
end note
interface IInvoke{
ExecuteCommand(Command command)
}
interface ICommandRecorder{
addCommand(Command command)
Undo()
Redo()
}
class CommandRecorder{
-- 属性 --
- List<Command>commands
-- 方法 --
addCommand(Command command)
Undo()
Redo()
}
ICommandRecorder <|-- CommandRecorder
abstract class Command {
+ string ID
+Undo()
+Redo()
}
class MoveCommand{
+float oldX
+float oldY
+float newX
+flaot newY
}
Command <|-- MoveCommand
class ResizeCommand{
float oldX
float oldY
float oldWidth
float oldHeight
float newX
flaot newY
float newWidth
float newHeight
}
Command <|-- ResizeCommand
class PropertyChangedCommand{
ShapeEle oldShape
ShapeEle newShape
}
Command <|-- PropertyChangedCommand
abstract class CommandEx{
Shapes Shapes
}
Command <|-- CommandEx
class AddCommand{
float X
float Y
}
CommandEx <|-- AddCommand
class DeleteCommand{
}
CommandEx <|-- DeleteCommand
class ResizeStrategy{
}
abstract class State{
-- 属性 --
- UserControlCanvas canvas
- PointF startPoint
-- 构造函数 --
State(UserControlCanvas canvas, PointF startPoint)
-- 方法 --
+ keyDown()
+ keyup()
+ LeftMouseDown()
+ LeftMouseMove()
+ LeftMouseUp()
+ rightMouse()
}
class StateStandby{
}
State <|-- StateStandby
class StateCreate{
}
State <|-- StateCreate
class StateSelected{
}
State <|-- StateSelected
class StateRectSelected{
}
State <|-- StateRectSelected
@enduml |
b5c36101353b2a4fc0f2d49efdc9973db30b4586 | e406142d8e5e3eb24702e802e801f3b1206c0bf2 | /doc/classlist.puml | df1d1145161c8b08de341aa5ac431ff0f2f6d5fe | [] | no_license | pparke/pitfall-challenge | 9f5015e258e7aa4e0e380f00b5043b6924fe4ebf | 1f0a07f33bc65a0a15203b754e64f90b3ad63be1 | refs/heads/master | 2021-01-17T08:15:32.278311 | 2016-08-08T11:25:11 | 2016-08-08T11:25:11 | 64,152,427 | 2 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,327 | puml | @startuml
class BarrelController {
- mainCamera : Camera
+ rolling : bool
- rigidbody2d : Rigidbody2D
+ speed : float
+ offscreenLeft : float
- animator : Animator
bool IsOffLeftSide()
}
class BarrelSpawner {
+ barrel : GameObject
+ pattern : List<float>
- _cursor : int
- mainCamera : Camera
- next : float
void SpawnBarrel()
void MoveOffScreen()
+ void SetPattern()
}
class CheckpointController {
- gameManager : GameManager
}
class ClimbState {
- player : PlayerController
- prevGravity: float
}
class CrocodileMouthController {
- animator : Animator
- behaviours : CrocodileBehaviour[]
+ open : bool
+ openDuration : float
+ closedDuration : float
+ void OpenMouth()
+ void CloseMouth()
}
class Cutoff {
+ cutoffMat : Material
+ void SetCutoff()
}
class DamageState {
- player : PlayerController
- enterTime : float
- exitDelay : float
}
class DeadState {
- player : PlayerController
- playerDead : PlayerDeadBehaviour
}
class ExitController {
- segment : SegmentData
- colliding : false
}
class FollowCamera {
+ buffer : float
+ panSpeed : float
+ minY : float
+ maxY : float
bool pastBuffer()
}
class GameManager {
+ gameDuration : int
- timeRemaining : int
- player : PlayerController
+ checkpoint : GameObject
+ playerStart : GameObject
+ buttonDelay : float
- lastPress : float
- durationInSeconds : int
void Tick()
+ void ResetPlayer()
+ void Reset()
+ void SetCheckpoint
+ void ExitGame()
+ void MainMenu()
+ void StartGame()
+ void ToggleExitPanel()
}
class GroundState {
- player : PlayerController
}
class IPlayerState {
void fixedUpdate()
void update()
void onTriggerEnter()
void onTriggerStay()
void enter()
void exit()
}
class JumpState {
- player : PlayerController
- exitDelay : float
- lastJump : float
- boostUsed : bool
}
class LimboState {
- player : PlayerController
- prevGravity : float
}
class MenuManager {
+ void StartGameButton()
+ void ExitGameButton()
void StartGame()
void ExitGame()
}
class PickupController {
+ particle : GameObject
}
class PitController {
- animator : Animator
- behaviours : PitBehaviour[]
+ quicksand : bool
+ open : bool
+ openDuration : float
+ closedDuration : float
+ void OpenPit()
+ void ClosePit()
}
class PlayerController {
- currentState : IPlayerState
- states : Dictionary<string, IPlayerState>
- playerSprite : GameObject
+ gameManager : gameManager
+ rigidbody2d : Rigidbody2D
+ animator : Animator
+ hingejoint2d : HingeJoint2D
+ collidedWith : Collider2D
+ speed : float
+ jumpForce : float
+ jumpBoost : float
+ horizontalForce : float
+ horizontalCorrection : float
+ jumpPressed : bool
+ jumpPressedDuration : float
+ horizontalAxis : float
+ verticalAxis : float
+ groundCheck : Collider2D
+ groundMask : LayerMask
+ facingRight : bool
+ score : int
+ lives : int
+ void ChangeState()
+ void CheckGrounded()
+ void FaceForward()
+ void Flip()
+ void Kill()
+ void TakeDamage()
+ void AddPoints()
+ void Reset()
+ void Reposition()
+ void Revive()
}
class SceneFadeInOut {
+ {static} fadeSpeed : float
+ {static} fade : bool
+ {static} fader : Image
delegate void TransitionHandler()
- {static} transition : TransitionHandler
+ delegate void CompleteHandler()
+ {static} onComplete CompleteHandler
{static} void FadeToClear()
{static} void FadeToBlack()
+ {static} void StartScene()
+ {static} void EndScene()
- {static} void Init()
}
class SegmentData {
+ barrelPattern : List<float>
+ newSpawn : float
- active : bool
- barrelSpawn : BarrelSpawner
void Enter()
void Exit()
+ void Toggle()
+ void AddSpawn()
}
class SegmentDataEditor {
}
class SwingState {
- player : PlayerController
- prevGravity : float
- hingejoint2d : HingeJoint2D
}
class UIManager {
- {static} scoreText : Text
- {static} timeText : Text
- {static} livesImage : Image
- {static} quitMenu : Canvas
- {static} menuActive : bool
+ {static} lifeWidth : float
+ {static} void SetScore()
+ {static} void SetTime()
+ {static} void SetLives()
+ {static} void ToggleExitPanel()
}
class VineController {
+ amplitude : float
+ period : float
+ phaserShift : float
- elapsedTime : float
+ y : float
}
@enduml
|
a6e53e5dd4e39c09383472bf1b687d38c663fbb5 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CartChangeLineItemQuantityAction.puml | 925b0cac1cd5735d5b220ff93f87c748a46f1238 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 621 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface CartChangeLineItemQuantityAction [[CartChangeLineItemQuantityAction.svg]] extends CartUpdateAction {
action: String
lineItemId: String
lineItemKey: String
quantity: Long
externalPrice: [[Money.svg Money]]
externalTotalPrice: [[ExternalLineItemTotalPrice.svg ExternalLineItemTotalPrice]]
}
interface CartUpdateAction [[CartUpdateAction.svg]] {
action: String
}
@enduml
|
a9733acf4b7f2186fb877c73dcaa5a509b02f745 | 172e4895181dca01903565564bfe13679dadc38f | /plantuml/application.repository.plantuml | dee25f1b6ae6166b65626fe76b2e950515a99fee | [] | no_license | Brunomcarvalho89/RentCar | f39e552622801e122d90e4f63afadaa483afef92 | 2299d2fc8ea8dbda13be436507d97f781de0b56f | refs/heads/main | 2023-03-23T08:13:41.351309 | 2021-03-05T00:43:15 | 2021-03-05T00:43:15 | 344,620,069 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,179 | plantuml | @startuml
package "application.repository" {
class CarClassificationRepository {
-std::vector<std::shared_ptr<CarClassification>> repository
-std::shared_ptr<CarClassification> classificationNC
+CarClassificationRepository()
+~CarClassificationRepository()
+virtual std::shared_ptr<CarClassification> getByID(int id)
}
AbstractCarClassificationRepository <|-- CarClassificationRepository
class CarRepository {
-std::vector<std::shared_ptr<Car>> repository
+CarRepository()
+~CarRepository()
+virtual std::shared_ptr<Car> getByID(int id)
}
AbstractCarRepository <|-- CarRepository
class ClientRepository {
-std::vector<std::shared_ptr<Client>> repository
+ClientRepository()
+~ClientRepository()
+virtual std::shared_ptr<Client> getByID(int id)
}
AbstractClientRepository <|-- ClientRepository
class VehicleMaintenanceRepository {
-std::vector<std::shared_ptr<VehicleMaintenance>> repository
+VehicleMaintenanceRepository()
+~VehicleMaintenanceRepository()
+virtual std::shared_ptr<VehicleMaintenance> getByID(int id)
}
AbstractVehicleMaintenanceRepository <|-- VehicleMaintenanceRepository
}
@enduml |
f351c0241611ac02674c2ddfa9ad9be05cd253d3 | dca8938b76ae33950996b85fda8027ede62174b4 | /Raytracerv1.0/Raytracerv0.7.plantuml | fd4187b5d1aa619d98effed0029f60a4c9e909cc | [] | no_license | Benchamon/RayTracer | e2ecc50d3d78042b80c518ad041a411dcea87e07 | 4ecfbca46c8f7e8f5df2a33f58404b0920b8ed2d | refs/heads/main | 2023-09-02T19:27:52.176211 | 2021-11-03T18:36:07 | 2021-11-03T18:36:07 | 423,940,210 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,532 | plantuml | @startuml
title __RAYTRACERV0.7's Class Diagram__\n
namespace up.edu.isgc.raytracer {
interface up.edu.isgc.raytracer.IIntersectable {
}
}
namespace up.edu.isgc.raytracer {
class up.edu.isgc.raytracer.Intersection {
}
}
namespace up.edu.isgc.raytracer {
class up.edu.isgc.raytracer.Ray {
}
}
namespace up.edu.isgc.raytracer {
class up.edu.isgc.raytracer.Raytracer {
}
}
namespace up.edu.isgc.raytracer {
class up.edu.isgc.raytracer.Scene {
}
}
namespace up.edu.isgc.raytracer {
class up.edu.isgc.raytracer.Vector3D {
}
}
namespace up.edu.isgc.raytracer {
namespace lights {
class up.edu.isgc.raytracer.lights.DirectionalLight {
}
}
}
namespace up.edu.isgc.raytracer {
namespace lights {
abstract class up.edu.isgc.raytracer.lights.Light {
}
}
}
namespace up.edu.isgc.raytracer {
namespace lights {
class up.edu.isgc.raytracer.lights.PointLight {
}
}
}
namespace up.edu.isgc.raytracer {
namespace objects {
class up.edu.isgc.raytracer.objects.Camera {
}
}
}
namespace up.edu.isgc.raytracer {
namespace objects {
abstract class up.edu.isgc.raytracer.objects.Object3D {
}
}
}
namespace up.edu.isgc.raytracer {
namespace objects {
class up.edu.isgc.raytracer.objects.Polygon {
}
}
}
namespace up.edu.isgc.raytracer {
namespace objects {
class up.edu.isgc.raytracer.objects.Sphere {
}
}
}
namespace up.edu.isgc.raytracer {
namespace objects {
class up.edu.isgc.raytracer.objects.Triangle {
}
}
}
namespace up.edu.isgc.raytracer {
namespace tools {
class up.edu.isgc.raytracer.tools.Barycentric {
}
}
}
namespace up.edu.isgc.raytracer {
namespace tools {
abstract class up.edu.isgc.raytracer.tools.OBJReader {
}
}
}
up.edu.isgc.raytracer.Intersection o-- up.edu.isgc.raytracer.Vector3D : normal
up.edu.isgc.raytracer.Intersection o-- up.edu.isgc.raytracer.objects.Object3D : object
up.edu.isgc.raytracer.Intersection o-- up.edu.isgc.raytracer.Vector3D : position
up.edu.isgc.raytracer.Ray o-- up.edu.isgc.raytracer.Vector3D : direction
up.edu.isgc.raytracer.Ray o-- up.edu.isgc.raytracer.Vector3D : origin
up.edu.isgc.raytracer.Scene o-- up.edu.isgc.raytracer.objects.Camera : camera
up.edu.isgc.raytracer.lights.DirectionalLight -up-|> up.edu.isgc.raytracer.lights.Light
up.edu.isgc.raytracer.lights.DirectionalLight o-- up.edu.isgc.raytracer.Vector3D : direction
up.edu.isgc.raytracer.lights.Light -up-|> up.edu.isgc.raytracer.objects.Object3D
up.edu.isgc.raytracer.lights.PointLight -up-|> up.edu.isgc.raytracer.lights.Light
up.edu.isgc.raytracer.objects.Camera -up-|> up.edu.isgc.raytracer.objects.Object3D
up.edu.isgc.raytracer.objects.Object3D .up.|> up.edu.isgc.raytracer.IIntersectable
up.edu.isgc.raytracer.objects.Object3D o-- up.edu.isgc.raytracer.Vector3D : position
up.edu.isgc.raytracer.objects.Polygon -up-|> up.edu.isgc.raytracer.objects.Object3D
up.edu.isgc.raytracer.objects.Sphere -up-|> up.edu.isgc.raytracer.objects.Object3D
up.edu.isgc.raytracer.objects.Triangle .up.|> up.edu.isgc.raytracer.IIntersectable
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
|
000ce54fadf1d78843abbc5f7eed493f545c0827 | b038203821d22f0ae9db9697aaf5b41b9f77a40d | /src-gen/serviceSystem_BC_SITA_ResourceIntegration.puml | d7899a9e619eeeee8afaa5bf1dd29d8599754a85 | [] | no_license | NormanBaechtold/ServiceSystem | 5b9ad5f8bf1860154b70f79f0f33d6fe17cac35a | ba125d9cb21cec6a894cef3936cce7dcbc21b5c9 | refs/heads/master | 2023-08-20T23:35:47.215567 | 2021-10-06T09:08:54 | 2021-10-06T09:08:54 | 394,977,218 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 419 | puml | @startuml
skinparam componentStyle uml2
package "'ResourceIntegration' Aggregate" <<Rectangle>> {
class PassengerData <<(E,DarkSeaGreen) Entity>> {
String personalData
String healthData
}
class DataProvision <<(A,#fffab8) Aggregate Root>> {
String sitaAirportNetwork
PassengerData passengerData
ImmigrationAuthority transmittPassengerData()
}
}
DataProvision --> PassengerData : passengerData
@enduml
|
071a7eb91c3738dd941bca85bb01d9c1b420902d | c3287e91ce0ebce396cd3966de3d2f7d90131c20 | /Plantuml/DAL/DBConnection/IDbCommand.puml | ad31f5071a44dd83fd0a5083ce0b055195c006a5 | [] | no_license | kretmatt/SWE2-Tourplanner | 497ec2e888112bd3d67a0f2b97e7c1e8e0348371 | f064500ae5b913b00671f358a586011affcdaf00 | refs/heads/main | 2023-05-12T11:48:29.605417 | 2021-06-06T21:53:11 | 2021-06-06T21:53:11 | 341,115,114 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 196 | puml | @startuml
interface IDbCommand {
ExecuteNonQuery() : int
ExecuteReader() : IDataReader
}
IDbCommand --> "Parameters" DbParameterCollection
IDbCommand --> "Connection" DbConnection
@enduml
|
3e6030652dfb07b717c680e08b53eb6aabb9639a | f576ded7c7322e8bb02ac9334761cafcf0106385 | /TemplateMethod/Use/out/UnrealEngineLesson.puml | e2e2d4e65e6b4075a467003b107a24084b090838 | [] | no_license | Zukky55/design_pattern | 233c7befca30d98af43804450c41f9fea36e4b0e | 512464b01c23029db879b48a3e5533ec910724e8 | refs/heads/master | 2023-01-10T17:34:28.021070 | 2020-11-17T06:13:51 | 2020-11-17T06:13:51 | 304,786,374 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 199 | puml | @startuml
class UnrealEngineLesson {
+ <<override>> Lecture() : void
+ <<override>> Test() : void
+ <<override>> ResultsAnnounce() : void
}
TemplateLesson <|-- UnrealEngineLesson
@enduml
|
8e560b0484fca59644331b24818d6717b54af401 | 4d44ebf6db6016183d13dc34d8ce5e9465f6d3c6 | /class.puml | 2a8453bae01b2da5834567e4a9857096d03edc20 | [
"MIT"
] | permissive | kyusque/percival | d9468035766044b27dd8a0e84868fbf9736ea3bd | 31f204f7988c6acff6a489a2ffc698d19a259e09 | refs/heads/develop | 2021-07-20T06:57:58.783252 | 2019-05-17T17:36:17 | 2019-05-20T09:19:51 | 187,256,699 | 0 | 0 | MIT | 2020-01-07T03:05:34 | 2019-05-17T17:30:27 | Jupyter Notebook | UTF-8 | PlantUML | false | false | 2,484 | puml | @startuml
class User
package "Parcival" {
package "Preparation Context" {
class Conformer <<entity>>{
mol_with_structure: rdchem.RWMol
to_sdf(): str
}
class Conformers <<first class collection>>{
conformer_list: List[Conformer]
to_sdf(): str
}
class Molecule <<entity>>{
mol: rdchem.RWMol
title: str
generate_conformers(self, num_confs:int, prune_rms_thresh:int): Conformers
}
class MoleculeFactory <<factory>> {
create_molecule_from_smiles(smiles: Smiles, title: str): Molecule
}
package "Value Object " {
class Smiles <<value object>>{
Value: str
}
}
package "Service" {
class InputGenerator <<service>>{
{static} generate_gjf_directory(smiles: Smiles, directory_name:str): None
{static} generate_gjf(conformer: Conformer): str
}
}
Conformers "1" o-- "*" Conformer
MoleculeFactory --> Molecule
Molecule -> Conformers
MoleculeFactory --> Smiles
User --> MoleculeFactory
User --> InputGenerator
User --> Smiles
}
package "Analysis Context" {
package "Table Aggregate"{
class Table <<aggregate root>>{
entries: EntryRepository
}
}
class EntryRepository <<repository, factory>>{
entries: List[Entry]
}
package "Entry Aggregate"{
class Entry <<aggregate root>>{
conformers: Conformers
directory_path: str
}
class "Conformer " <<entity>>{
mol_with_structure: rdchem.RWMol
electronic_structure: ElectronicStructure
}
class "Conformers " <<first class collection>>{
conformer_list: List[Conformer]
}
}
package "Value Object" {
class MolecularOrbital <<value object>>{
energy: Energy
occupied: bool
}
class MolecularOrbitals <<first class collection>>{
molecular_orbitals: List[MolecularOrbital]
}
class ElectronicStructure <<value object>>{
program: str
basis: str
method: str
energy: Energy
molecular_orbitals: MolecularOrbitals
}
class Energy <<value object>>{
hartree_energy: float
}
Table "1" -> "*" EntryRepository
EntryRepository "1" o-- "*" Entry
Entry -> "Conformers "
"Conformers " "1" o-- "*" "Conformer "
"Conformer " -> ElectronicStructure
ElectronicStructure --> MolecularOrbitals
ElectronicStructure --> Energy
MolecularOrbitals --> MolecularOrbital
MolecularOrbital --> Energy
}
}
User --> Table
User --> EntryRepository
@enduml |
8537785cba4c75817e8cd152e220b642a09dcc77 | 6b465859db51d4d194f452155f46c75d04e5d859 | /src/com/company/haaphoop/thinkingInJava/chapter17/Collection.puml | 54cd53672f9ff0f1d9d4b258d53fab8ca761b119 | [] | no_license | haaphoop/idea-workspace | 2753b614ed9f29c427d8eac85b7be8c6e85ad78a | b2c43b71a3c2f859e393cfa3f8e525e06a7a7341 | refs/heads/master | 2021-05-23T06:02:24.780784 | 2018-09-03T15:24:37 | 2018-09-03T15:24:37 | 94,769,353 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,421 | puml | @startuml
interface Iterator
interface Collection
interface List
abstract class AbstractList
abstract class AbstractCollection
interface ListIterator
class Vector{
}
class Stack{
}
class ArrayList{
}
abstract class AbstractSequentialList
class LinkedList{
}
Collection <|-- List
Iterator <|-- ListIterator
ListIterator <|-- List
Collection <|-- AbstractCollection
List <|-- AbstractList
AbstractCollection <|-- AbstractList
AbstractList <|-- Vector
Vector <|-- Stack
AbstractList <|-- ArrayList
AbstractList <|-- AbstractSequentialList
AbstractSequentialList <|-- LinkedList
interface Set
interface SortedSet
abstract AbstractSet
class TreeSet{
}
class HashSet{
}
class LinkedHashSet{
}
Collection <|-- Set
Set <|-- SortedSet
Set <|-- AbstractSet
AbstractCollection <|-- AbstractSet
SortedSet <|-- TreeSet
AbstractSet <|-- TreeSet
AbstractSet <|-- HashSet
HashSet <|-- LinkedHashSet
interface Queue
Collection <|-- Queue
interface Map
abstract AbstractMap
interface SortedMap
class HashMap{
}
class LinkedHashMap{
}
class WeakHashMap{
}
class HashTable{
}
class IdentityHashMap{
}
class TreeMap{
}
Map <|-- AbstractMap
Map <|-- SortedMap
AbstractMap <|-- HashMap
HashMap <|-- LinkedHashMap
AbstractMap <|-- WeakHashMap
AbstractMap <|-- HashTable
AbstractMap <|-- IdentityHashMap
AbstractMap <|-- TreeMap
SortedMap <|-- TreeMap
interface Comparable
interface Comparator
class Collections{
}
class Arrays{
}
@enduml |
ca3f98a6d505f913f945de16ac561fbb2bd15f35 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/StagedOrderChangeTaxCalculationModeAction.puml | 4d28a56f47f12edc1c20b39dfbd7e9ecf39cbf5a | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 539 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface StagedOrderChangeTaxCalculationModeAction [[StagedOrderChangeTaxCalculationModeAction.svg]] extends StagedOrderUpdateAction {
action: String
taxCalculationMode: [[TaxCalculationMode.svg TaxCalculationMode]]
}
interface StagedOrderUpdateAction [[StagedOrderUpdateAction.svg]] {
action: String
}
@enduml
|
5c0d6e53d9852e61e92e9161a08fea08a55e226a | 5b76d7d8d512ee27cf18c4add5d1020bf5795b8b | /docs/Application01UML.puml | bacdc691d2a8b735b449546d81bdc42064eb08d0 | [] | no_license | MarcPalacio/palacio-app1-design | 2f2b2961a21e02913d24f23ac92396e57984a6c4 | 3a6c9c91e4410892b626b4dd8b756ad08a23f98f | refs/heads/master | 2023-08-25T01:27:08.076844 | 2021-10-24T23:40:15 | 2021-10-24T23:40:15 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,959 | puml | @startuml
class Application{
'Methods
+main(String)
+start(Stage)
}
class Item{
'Attributes
-event: String
-description: String
-dueDate: String
-isComplete: boolean
'Methods
'Constructor of item
+Item(String event, String description, String dueDate, boolean isComplete)
'Setters
+setEvent(String event)
+setDescription(String description)
+setDueDate(String dueDate)
+setIsComplete(boolean isComplete)
'Getters
+getEvent(): String event
+getDescription(): String description
+getDueDate(): String dueDate
+getComplete(): boolean isComplete
}
class List{
'Attributes
-ArrayList<Item> listItems: ArrayList<Item>
'Methods
+createsListItems(String inputFileName)
+addsItem(Item add)
+createOutput(): String output
}
class ListListMenu{
'Attributes
-addListButton: Button
-deleteListButton: Button
-editListButton: Button
-inputListName: TextField
-listTable: TableColumn<?, ?>
-loadListButton: Button
-saveListButton: Button
-toDoListTable: TableView<?>
'Methods
+onAddListPressed(ActionEvent event)
+onDeleteListPressed(ActionEvent event)
+onEditListPressed(ActionEvent event)
+onLoadListPressed(ActionEvent event)
+onSavedListPressed(ActionEvent event)
}
class ToDoList{
'Attributes
-InputDate: DatePicker
-addItemButton: Button
-deleteItemButton: Button
-descriptionColumn: TableColumn<?, ?>
-dueDateColumn: TableColumn<?, ?>
-editItemButton: Button
-eventColumn: TableColumn<?, ?>
-inputDescription: TextField
-inputEvent: TextField
-listGroup: ToggleGroup
-rbComplete: RadioButton
-rbIncomplete: RadioButton
-rbShowAll: RadioButton
-rbShowComplete: RadioButton
-rbShowIncomplete: RadioButton
-saveAndCloseButton: Button
-statusColumn: TableColumn<?, ?>
-statusGroup: ToggleGroup
-toDoListTable: TableView<?>
'Methods
+onAddItemPressed(ActionEvent event)
+onDeleteItemPressed(ActionEvent event)
+onEditItemPressed(ActionEvent event)
+onSaveAndClosePressed(ActionEvent event)
+listGroupAction(ActionEvent action)
}
class UpdateMenu{
'Attributes
-inputDescription: TextField
-inputDueDate: DatePicker
-inputEvent: TextField
-rbCompleted: RadioButton
-rbIncomplete: RadioButton
-statusGroup: ToggleGroup
-updateItemButton: Button
'Methods
+onUpdateButtonPressed(ActionEvent event)
}
class MyFileReader{
'Attributes
-ArrayList<Item> inputList: ArrayList<Item>
'Methods
+scanInputFile(String inputFileName): ArrayList<Item> output
}
class MyFileWriter{
'Methods
+writeToFile(String write, String fileOutputName)
}
Application -- ListListMenu
Application -- ToDoList
Application -- UpdateMenu
ListListMenu -- List
ToDoList -- List
UpdateMenu -- List
List -- MyFileReader
List -- MyFileWriter
List -- Item
@enduml |
43cd3ba3a5a73a1671286c0b5ae00f0a80301a16 | 7fbdb3db8e966a7f78cad2d9e6798dfd8aedea01 | /src/com/cjj/designpattern/structural/flyweight/FlyweightClassGraph.puml | 8a9070b39180b9ed2d8dcb0c9e1e5ff3ae7de3b2 | [] | no_license | vuquangtin/DesignPattern-1 | 3d1fc64e8412bf5ba3a10a38dde121c68ffc8b9a | 47182c1c6e3f7e4126d33bdca53e055d9f0b3b5d | refs/heads/master | 2021-10-09T20:10:01.009239 | 2019-01-03T01:33:51 | 2019-01-03T01:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 328 | puml | @startuml
class BigChar{
-charname
-fontdata
print()
}
class BigCharFactory{
-pool
-singleton
-BigCharFactory()
getInstance()
getBigChar()
}
class BigString{
-bigchars
print()
}
class Main{
}
Main ->BigString:Uses >
BigString ->BigCharFactory:Uses >
BigString o->BigChar:Uses >
BigCharFactory o->BigChar:Creates >
@enduml |
82a0f634bbe29d6c0c8380006f2982a3e8eb62be | 9738913f772d31eaa10b06e9771ea813a1d99b5f | /src/main/java/com/miss/artificial_city/application/application.plantuml | 334ae916a337d4aab67229e720ea4bcec92762af | [] | no_license | Ferdudas97/artificial_city | 0b04f65d72b4ce997303116b15184e0004997f21 | 9945be63ca08137c4fd2c18b649fd152fbea25d5 | refs/heads/master | 2020-04-07T21:49:43.164094 | 2019-01-22T08:42:06 | 2019-01-22T08:42:06 | 158,742,335 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 889 | plantuml | @startuml
title __APPLICATION's Class Diagram__\n
package com.miss.artificial_city {
package com.miss.artificial_city.application {
interface CreatorService {
{abstract} + openSimulationBoard()
{abstract} + saveSimulationBoard()
{abstract} + getAllBoardNames()
}
}
}
package com.miss.artificial_city {
package com.miss.artificial_city.application {
class CreatorServiceImpl {
+ CreatorServiceImpl()
+ openSimulationBoard()
+ saveSimulationBoard()
+ getAllBoardNames()
}
}
}
CreatorServiceImpl -up-|> CreatorService
CreatorServiceImpl o-- BoardDao : boardDao
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
|
b0919a6d727c9886523d6bcce8898bd13b850b77 | 1cf4490d48f50687a8f036033c37d76fec39cd2b | /src/main/java/global/skymind/training/advanced/gui/javafx/ex3/ex3.plantuml | a5a5cfe96e12e273a214df6cc0ce080e1439c658 | [
"Apache-2.0"
] | permissive | muame-amr/java-traininglabs | 987e8b01afbaccb9d196f87c4a8a6b9a46a4cc83 | a93268f60e6a8491b1d156fae183a108ff0d9243 | refs/heads/main | 2023-08-06T10:04:57.996593 | 2021-09-28T11:21:00 | 2021-09-28T11:21:00 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 681 | plantuml | @startuml
title __EX3's Class Diagram__\n
namespace global.skymind {
namespace training.advanced.gui.javafx.ex3 {
class global.skymind.training.advanced.gui.javafx.ex3.MyFXTextBox {
+ handle()
{static} + main()
+ start()
}
}
}
global.skymind.training.advanced.gui.javafx.ex3.MyFXTextBox .up.|> javafx.event.EventHandler
global.skymind.training.advanced.gui.javafx.ex3.MyFXTextBox -up-|> javafx.application.Application
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
ada8a1fd91add522b53906cef0399d8ea7abfa3d | a751888fd29a1b92bb32ef7d272d3e72f664ed30 | /src/design/metric-parser-class-diagram.puml | 3e91d35af969352b1152e8c9f1bd527bfa03d8e7 | [
"Apache-2.0",
"MIT",
"EPL-1.0"
] | permissive | petrushy/Orekit | b532c7db85c992d85b5ac3d858d18d656e2b8c46 | 1f8ff45caf82e0e7e85f8cf9fd4f41c3ba379443 | refs/heads/develop | 2023-08-16T11:37:43.709083 | 2023-07-18T20:13:14 | 2023-07-18T20:13:14 | 42,349,064 | 10 | 2 | Apache-2.0 | 2023-07-21T14:54:14 | 2015-09-12T07:39:56 | Java | UTF-8 | PlantUML | false | false | 4,489 | puml | ' Copyright 2002-2022 CS GROUP
' Licensed to CS GROUP (CS) under one or more
' contributor license agreements. See the NOTICE file distributed with
' this work for additional information regarding copyright ownership.
' CS licenses this file to You under the Apache License, Version 2.0
' (the "License"); you may not use this file except in compliance with
' the License. You may obtain a copy of the License at
'
' http://www.apache.org/licenses/LICENSE-2.0
'
' Unless required by applicable law or agreed to in writing, software
' distributed under the License is distributed on an "AS IS" BASIS,
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' See the License for the specific language governing permissions and
' limitations under the License.
@startuml
skinparam svek true
skinparam ClassBackgroundColor #F3EFEB/CCC9C5
skinparam ClassArrowColor #691616
skinparam ClassBorderColor #691616
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #691616
skinparam NoteFontColor #691616
skinparam ClassFontSize 11
package org.orekit.gnss.metric #ECEBD8 {
package messages #DDEBD8 {
package ssr #F3EFEB {
package igm #DDEBD8 {
class SsrIgm01
class SsrIgm02
class SsrIgmXX
class SsrIgmMessage {
+ SatelliteSystem getSatelliteSystem()
}
}
package subtype #DDEBD8 {
class SsrIm201
}
class SsrMessage {
+ SsrHeader getHeader()
+ List<SsrData> getData()
}
}
package rtcm #F3EFEB {
package ephemeris #DDEBD8 {
class Rtcm1019
class Rtcm1020
class RtcmXXXX
class RtcmEphemerisMessage
}
class RtcmMessage {
+ List<RtcmData> getData()
}
}
abstract class ParsedMessage {
+int getMessageNumber()
}
SsrMessage --|> ParsedMessage
SsrIgmMessage --|> SsrMessage
SsrIgm01 --|> SsrIgmMessage
SsrIgm02 --|> SsrIgmMessage
SsrIgmXX --|> SsrIgmMessage
SsrIm201 --|> SsrMessage
RtcmMessage --|> ParsedMessage
RtcmEphemerisMessage --|> RtcmMessage
Rtcm1019 --|> RtcmEphemerisMessage
Rtcm1020 --|> RtcmEphemerisMessage
RtcmXXXX --|> RtcmEphemerisMessage
}
package parser #DDEBD8 {
interface MessageType {
+ ParsedMessage parse(encodedMessage, messageNumber);
}
enum IgsSsrMessageType {
+IGM_01
+IGM_02
+...
+IGM_XX
+IM_201
{static} +MessageType getMessageType(String messageNumber)
}
enum RtcmMessageType {
+RTCM_1019
+RTCM_1020
+RTCM_1042
+RTCM_1044
+RTCM_1045
{static} +MessageType getMessageType(String messageNumber)
}
enum DataType {
+BIT_1
+..
+BIT_12
+INT_14
+INT_16
+...
+INT_38
+U_INT_3
+U_INT_4
+...
+U_INT_32
+INT_S_5
+INT_S_11
+...
+INT_S_32
+Long decode(encodedMessage)
}
note bottom
the decode methods returns null
if data is not available
end note
interface EncodedMessages {
+long extractBits(n, endIsOK)
}
abstract class AbstractEncodedMessages {
{abstract} #int fetchByte()
}
abstract MessagesParser {
+List<ParsedMessage> parse(encodedMessages)
{abstract} #String parseMessageNumber(message)
{abstract} #MessageType getMessageType(messageNumber)
}
class IgsSsrMessagesParser
class RtcmMessagesParser
MessageType -right-> DataType
ParsedMessage <-- MessageType
DataType --> EncodedMessages
MessageType <|.. IgsSsrMessageType
MessageType <|.. RtcmMessageType
EncodedMessages <|.. AbstractEncodedMessages
AbstractEncodedMessages <|-- ByteArrayEncodedMessages
AbstractEncodedMessages <|-- InputStreamEncodedMessages
MessagesParser <|-- IgsSsrMessagesParser
MessagesParser <|-- RtcmMessagesParser
MessagesParser --> EncodedMessages
MessageType <-- MessagesParser
}
}
@enduml
|
546fc276f610a945dad8f8d1b642fe7379aa2196 | da311f3c39421f5ff2277bd403b80cb0587c8abc | /Serveur/diagrammes/class_diagram_fragments/class_diagram_calendrier.puml | c021116758464341dcb5c5995ad5670fbb6f0518 | [] | no_license | Reynault/Pipop-Calendar | 380059bcbaa89d464b9ddf7c5661c924bb47b2ab | 5d2b5e28f604cd67964b316517c80c490ce5692e | refs/heads/master | 2021-06-09T14:35:16.647870 | 2019-03-29T14:22:13 | 2019-03-29T14:22:13 | 173,611,806 | 8 | 3 | null | 2021-04-29T09:40:03 | 2019-03-03T18:12:28 | JavaScript | UTF-8 | PlantUML | false | false | 3,956 | puml | @startuml
skinparam class {
BackgroundColor AliceBlue
ArrowColor DarkTurquoise
BorderColor Turquoise
}
skinparam stereotypeCBackgroundColor DarkTurquoise
skinparam stereotypeIBackgroundColor Magenta
skinparam stereotypeABackgroundColor Yellow
package "serveur.mycalendar.modele" #F0F0F0 {
package calendrier #E0E0E0 {
class Calendrier {
{field}private int idc
{field}private String nomC
{field}private String couleur
{field}private String theme
{field}private String email
public Calendrier(int idCalendar, String nom, String coul, String desc, String themes, String auteur)
public void consulterCalendrier(int id)
{static}public static int modificationCalendrier(int id, String nom, String couleur, String theme, String description)
{static}public static int getHighestID()
public ArrayList<Evenement> getEvenements()
public String getNomCalendrier()
public boolean contient(Evenement e)
{static}public static int getCalendrierID(String nomUtilisateur, String nomCalendrier)
public void deleteEvent(Evenement e)
{static}public static ArrayList<Utilisateur> findInvites(int id)
{static}public static Calendrier find(int idC)
{static}public static ArrayList<Calendrier> find(Evenement e, int idEv)
public boolean save()
public boolean delete()
{static}public static ArrayList<String> getThemes()
public int modifAdmin(String emailNouveau, String email)
public int getIdC()
public StringBuilder getDescription()
public String getCouleur()
public String getTheme()
}
abstract class Evenement {
{field}private int idEv
{field}private int calendrierID
{field}private String nomE
{field}private String description
{field}private String image
{field}private String lieu
{field}private String couleur
{field}private String auteur
{field}private boolean visibilite
public Evenement(int id, int calID, String nom, String description, String image, Date datedeb, Date datefin, String lieu, String couleur, String auteur)
public void prevenirVues()
public boolean save()
{static}public static Evenement find(int idEv)
{static}public static Evenement find(String owner, String eventName)
{static}public static ArrayList<Evenement> find(int idc, String Email)
{static}public static int getHighestID()
public boolean delete()
public ArrayList<Utilisateur> findInvites()
public int getId()
public boolean getAdmin()
public HashMap<String, String> consult()
public boolean modify(int calendrierID, String nomE, String description, String image, Date datedeb, Date datefin, String lieu,String couleur, String auteur)
{static}public static boolean participatesInEvent(Utilisateur user, Evenement event)
public int transfererPropriete(Utilisateur user)
public boolean inEvent(Utilisateur user)
public String getNomE()
public String getDescription()
public String getImage()
public Date getDatedeb()
public Date getDatefin()
public String getLieu()
public String getAuteur()
public String getCouleur()
}
class EvenementPrive {
public EvenementPrive(int id, int calendrierID, String nom, String description, String image, Date datedeb, Date datefin, String lieu, String couleur, String auteur)
}
class EvenementPublic {
public EvenementPublic(int id, int calendrierID, String nom, String description, String image, Date datedeb, Date datefin, String lieu,String couleur, String auteur)
}
class Message {
}
}
abstract class Observable {
}
Calendrier -- "*" Evenement
Calendrier -- "1" StringBuilder
Evenement --|> Observable
Evenement -- "2" Date
Evenement -- "*" Message
Evenement -- "*" Droit
EvenementPrive --|> Evenement
EvenementPublic --|> Evenement
}
@enduml
|
fe30b0ff252afa11b6ea194989f865819296a34a | 899a06ce0441e202b7f04ebd2f57d3edea0ea3fc | /assets/uml/generator-spec.plantuml | edd3fe2f706b33c28d983bb12c895d2fec2866bf | [
"MIT"
] | permissive | BernhardSchiffer/12-functional-cli | 40df1728722121d50faf0237bb2b1f929a3ec5d1 | ac5ece6291d415d482fb1d07892531a9c201c1dc | refs/heads/master | 2020-11-25T08:17:41.884893 | 2020-04-17T19:28:25 | 2020-04-17T19:28:25 | 228,571,087 | 0 | 0 | MIT | 2019-12-17T08:39:08 | 2019-12-17T08:39:07 | null | UTF-8 | PlantUML | false | false | 581 | plantuml | @startuml GeneratorSpec
left to right direction
package java.util.function {
interface Supplier<T> {
T get();
}
}
package ohm.softa.a12.icndb {
class JokeGenerator {
+randomJokesStream(): Stream<ResponseWrapper<JokeDto>>
+jokesStream(): Stream<ResponseWrapper<JokeDto>>
}
package suppliers {
class AllJokesSupplier implements Supplier {
}
class RandomJokeSupplier implements Supplier {
}
}
JokeGenerator -- AllJokesSupplier : "uses"
JokeGenerator -- RandomJokeSupplier : "uses"
}
@enduml
|
cc6e463c03c967e53beb846e02afd9da959d6421 | 13b51e62e334959c4023a04df0098d39cd5d78aa | /G1Model/G1Model.plantuml | 46b95738bd17b10d70d3d891647465e9df0f3dc0 | [] | no_license | Circlebit/G1pick | e408f80e39b9234564006b0d4fbc9f7f11f48af6 | 701242e67d7b6cdc28e3521c426dfcbc0de16b16 | refs/heads/master | 2021-09-06T06:49:08.239204 | 2018-01-20T18:03:21 | 2018-01-20T18:03:21 | 111,463,500 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 616 | plantuml | @startuml G1Model
class Wrestler {
+string Name
+string Points
+int GetPoints()
+List<Match> Matches()
}
class Match {
+ Collection<Wrestler> Wrestlers
+ DateTime Date
+ Wrestler Winner
+ Wrestler Looser
+ Match()
}
class Tournament {
+int BlockSize
+Wrestler[] BlockA
+Wrestler[] BlockB
+Tournament(blocksize)
}
class Block {
+Match[] Matches
+Block(int blocksize)
}
Tournament "1" o-- "2" Block : contains
Tournament "1" *-- "2" Match : contains
Block "1" *-- "blocksize" Wrestler : contains
Match "1" *-- "2" Wrestler :contains
@enduml |
393d8af176456db6a5ea17cafee818cd6c604c65 | ade91673095828d47bd7c150af1fe6eb49a7e7f7 | /GoMA.plantuml | 233a2e45fb298da6af63cb0d6ce66adb6cec13ee | [] | no_license | mihal09/GoGame | 377817994c7046fceb8b2a280380448cf8fdcb9d | 76663456e51417cc7297fe09d84b71901e6d7564 | refs/heads/master | 2022-04-03T06:38:36.181386 | 2019-12-18T00:24:38 | 2019-12-18T00:24:38 | 225,066,360 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,248 | plantuml | @startuml
title __GOMA's Class Diagram__\n
namespace client {
class client.Client {
}
}
namespace client {
class client.Main {
}
}
namespace client {
class client.MainController {
}
}
namespace client {
namespace board {
class client.board.Board {
}
}
}
namespace client {
namespace board {
abstract class client.board.BoardAbstract {
}
}
}
namespace client {
namespace board {
class client.board.Stone {
}
}
}
namespace client {
namespace enums {
enum ColorEnum {
}
}
}
namespace client {
namespace enums {
enum PlayerState {
}
}
}
namespace server {
class server.Game {
}
}
namespace server {
class server.LogicController {
}
}
namespace server {
class server.Main {
}
}
namespace server {
class server.ProtocolServer {
}
}
namespace server {
class server.Server {
}
}
namespace server {
namespace board {
class server.board.Board {
}
}
}
namespace server {
namespace board {
class server.board.Field {
}
}
}
namespace server {
namespace board {
class server.board.StoneGroup {
}
}
}
namespace server {
namespace enums {
enum ColorEnum {
}
}
}
namespace server {
namespace enums {
enum GameState {
}
}
}
namespace server {
namespace player {
class server.player.HumanPlayer {
}
}
}
namespace server {
namespace player {
abstract class server.player.Player {
}
}
}
client.Client o-- client.MainController : mainController
client.Main -up-|> javafx.application.Application
client.MainController o-- client.board.Board : board
client.MainController o-- client.Client : client
client.MainController o-- client.Main : main
client.MainController o-- client.enums.ColorEnum : playerColor
client.MainController o-- client.enums.PlayerState : state
client.board.Board -up-|> client.board.BoardAbstract
client.board.BoardAbstract -up-|> javafx.scene.Group
client.board.Stone -up-|> javafx.scene.shape.Circle
client.board.Stone o-- client.enums.ColorEnum : color
server.Game o-- server.enums.GameState : gameState
server.Game o-- server.LogicController : logicController
server.LogicController o-- server.board.Field : koKilled
server.LogicController o-- server.board.Field : koKiller
server.LogicController o-- server.board.Board : board
server.LogicController o-- server.enums.ColorEnum : currentPlayer
server.board.Field o-- server.enums.ColorEnum : color
server.board.StoneGroup o-- server.board.Board : board
server.board.StoneGroup o-- server.enums.ColorEnum : color
server.player.HumanPlayer -up-|> server.player.Player
server.player.HumanPlayer o-- server.ProtocolServer : protocol
server.player.Player o-- server.enums.ColorEnum : color
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
|
0361f688a5dd0c4de293c8e4732c5f87fe659ce9 | ad3cc5450c8e0d30e3ddbc36db6fbb053e8965fb | /projects/oodp/html/umlversion/sg/edu/ntu/scse/cz2002/objects/person/Staff.puml | 48e4ee65e7a77de92e5041eaac6767c6518743c1 | [] | 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 | 663 | puml | @startuml
class Staff [[../sg/edu/ntu/scse/cz2002/objects/person/Staff.html]] {
-staffId: int
-staffName: String
-gender: char
-jobTitle: String
+Staff(id:int, name:String, gender:char, title:String)
+Staff(csv:String[])
+toCsv(): String[]
+getStaffId(): int
+getStaffName(): String
+setStaffName(staffName:String): void
+getGender(): char
+setGender(gender:char): void
+getJobTitle(): String
+setJobTitle(jobTitle:String): void
{static} +getStaff(staffId:int): Staff
}
center footer UMLDoclet 1.1.3, PlantUML 1.2018.12
@enduml
|
cc379252a6a77b78cc896e53d0d67e4495a433ab | 42f7bcc902e893d7774b8f564104251cc6d2f811 | /front-end/GuGu_Client/app/src/main/java/Activity/Activity.plantuml | 8c56ff304266afbd537ac478c6763ec221712a76 | [] | no_license | GuessOurName/GuGu | 7c4a1922fd0594a636d6ee94f7c56bc256481b83 | bd07ba6295e9e208b3a5aad9f195bd368e84fb25 | refs/heads/master | 2022-10-19T07:19:26.981398 | 2020-06-15T11:16:09 | 2020-06-15T11:16:09 | 264,867,917 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,693 | plantuml | @startuml
title __ACTIVITY's Class Diagram__\n
namespace Activity {
class Activity.AtyAdd {
- butFriend : Button
- butGroup : Button
- etSearch : EditText
# onCreate()
- initView()
}
}
namespace Activity {
class Activity.AtyChatRoom {
{static} + adapterChatMsgList : AdapterChatMsg
{static} + chatMsgList : List<ChatMsg>
{static} + handler : Handler
- btnSend : Button
- chatObj : String
- group : String
- gson : Gson
- listView : ListView
- myMsg : EditText
# onCreate()
- initViews()
- loadChatMsg()
- sendToChatObj()
}
}
namespace Activity {
class Activity.AtyLoginOrRegister {
- btnLogin : Button
- btnRegister : Button
- etInsurePassword : EditText
- etLoginPassword : EditText
- etLoginUsername : EditText
- etRegisterPassword : EditText
- etRegisterUsername : EditText
- gson : Gson
- tabHost : TabHost
+ onClick()
# onCreate()
- initViews()
- login()
- register()
}
}
namespace Activity {
class Activity.AtyMain {
- context : Context
- tabLayout : TabLayout
- tabList : List<Tab>
- viewPager : ViewPager
# onActivityResult()
# onCreate()
- initViews()
}
}
namespace Activity {
class Activity.AtyWelcome {
~ handler : Handler
{static} - DELAY : int
{static} - GO_GUIDE : int
{static} - GO_HOME : int
# onCreate()
- goHome()
- initLoad()
}
}
Activity.AtyAdd -up-|> androidx.appcompat.app.AppCompatActivity
Activity.AtyAdd o-- View.TitleBar : titleBar
Activity.AtyChatRoom -up-|> androidx.appcompat.app.AppCompatActivity
Activity.AtyChatRoom o-- View.TitleBar : titleBar
Activity.AtyLoginOrRegister .up.|> android.view.View.OnClickListener
Activity.AtyLoginOrRegister -up-|> androidx.appcompat.app.AppCompatActivity
Activity.AtyLoginOrRegister o-- Server.ServerManager : serverManager
Activity.AtyMain -up-|> androidx.appcompat.app.AppCompatActivity
Activity.AtyMain o-- View.LayoutChats : chats
Activity.AtyMain o-- View.LayoutContacts : contacts
Activity.AtyMain o-- View.LayoutMoments : moments
Activity.AtyMain o-- View.TitleBar : titleBar
Activity.AtyWelcome -up-|> androidx.appcompat.app.AppCompatActivity
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
8eb82eeaac3800650f0a1d3e2141c9fad793bf03 | b19e1cd9af26a9f3cb65823e1a7885ce278337fe | /documentation/productApi/workforce/media/src/appointmentManagement.api.puml | 3bf1ff34167061f9fa5b8bd87f273bfe550f0de6 | [
"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 | 5,696 | puml | @startuml
skinparam {
ClassBackgroundColor White
ClassBorderColor Black
}
class Appointment {
id*: string
href: string
status*: AppointmentStatusType
}
Appointment *-->"*" AttachmentValue : attachment
Appointment *-->"*" Note : note
Appointment *-->"1" RelatedPlaceRefOrValue : relatedPlace
Appointment *-->"1" TimePeriod : validFor
Appointment *-->"1..*" RelatedContactInformation : relatedContactInformation
Appointment *-->"1" WorkOrderRef : workOrder
class Appointment_Find {
id*: string
href: string
status*: AppointmentStatusType
}
Appointment_Find *-->"1" RelatedPlaceRefOrValue : relatedPlace
Appointment_Find *-->"1" TimePeriod : validFor
Appointment_Find *-->"1" WorkOrderRef : workOrder
enum AppointmentStatusType {
confirmed
inProgress
cancelled
missed
failed
completed
}
class Appointment_Create {
}
Appointment_Create *-->"*" AttachmentValue : attachment
Appointment_Create *-->"*" Note : note
Appointment_Create *-->"1..*" RelatedContactInformation : relatedContactInformation
Appointment_Create *-->"1" TimePeriod : validFor
Appointment_Create *-->"1" WorkOrderRef : workOrder
class Appointment_Update {
}
Appointment_Update *-->"*" AttachmentValue : attachment
Appointment_Update *-->"*" Note : note
Appointment_Update *--> RelatedPlaceRefOrValue : relatedPlace
Appointment_Update *-->"*" RelatedContactInformation : relatedContactInformation
Appointment_Update *--> TimePeriod : validFor
class AttachmentValue {
attachmentId: string
author*: string
content: string
creationDate: date-time
description: string
mimeType: string
name*: string
source*: MEFBuyerSellerType
url: string
}
AttachmentValue *--> MEFByteSize : size
class Error400 {
code*: Error400Code
}
Error <|-- Error400
class Error401 {
code*: Error401Code
}
Error <|-- Error401
class Error403 {
code*: Error403Code
}
Error <|-- Error403
class Error422 {
code*: Error422Code
propertyPath: string
}
Error <|-- Error422
class EventSubscription {
callback*: string
id*: string
query: string
}
class FieldedAddress {
city*: string
country*: string
locality: string
postcode: string
postcodeExtension: string
stateOrProvince: string
streetName*: string
streetNr: string
streetNrLast: string
streetNrLastSuffix: string
streetNrSuffix: string
streetSuffix: string
streetType: string
}
RelatedPlaceRefOrValue <|-- FieldedAddress
FieldedAddress *--> GeographicSubAddress : geographicSubAddress
class GeographicAddressLabel {
externalReferenceId*: string
externalReferenceType*: string
}
RelatedPlaceRefOrValue <|-- GeographicAddressLabel
class RelatedPlaceRefOrValue {
@schemaLocation: uri
@type*: string
role*: string
}
class SearchTimeSlot_Create {
}
SearchTimeSlot_Create *-->"1..*" TimeSlot : requestedTimeSlot
SearchTimeSlot_Create *-->"1" WorkOrderRef : workOrder
enum Error422Code {
missingProperty
invalidValue
invalidFormat
referenceNotFound
unexpectedProperty
tooManyRecords
otherIssue
}
enum MEFBuyerSellerType {
buyer
seller
}
class MEFGeographicPoint {
spatialRef*: string
x*: string
y*: string
z: string
}
RelatedPlaceRefOrValue <|-- MEFGeographicPoint
class TimeSlot {
}
TimeSlot *-->"1" TimePeriod : validFor
enum Error400Code {
missingQueryParameter
missingQueryValue
invalidQuery
invalidBody
}
class Error409 {
code*: string
}
Error <|-- Error409
enum Error401Code {
missingCredentials
invalidCredentials
}
class Error404 {
code*: string
}
Error <|-- Error404
class EventSubscriptionInput {
callback*: string
query: string
}
enum Error403Code {
accessDenied
forbiddenRequester
tooManyUsers
}
enum DataSizeUnit {
BYTES
KBYTES
MBYTES
GBYTES
TBYTES
PBYTES
EBYTES
ZBYTES
YBYTES
}
class Error500 {
code*: string
}
Error <|-- Error500
class Error {
message: string
reason*: string
referenceError: uri
}
class FormattedAddress {
addrLine1*: string
addrLine2: string
city*: string
country*: string
locality: string
postcode: string
postcodeExtension: string
stateOrProvince: string
}
RelatedPlaceRefOrValue <|-- FormattedAddress
class GeographicAddressRef {
href: string
id*: string
}
RelatedPlaceRefOrValue <|-- GeographicAddressRef
class GeographicSiteRef {
href: string
id*: string
}
RelatedPlaceRefOrValue <|-- GeographicSiteRef
class GeographicSubAddress {
buildingName: string
id: string
levelNumber: string
levelType: string
privateStreetName: string
privateStreetNumber: string
}
GeographicSubAddress *-->"*" MEFSubUnit : subUnit
class MEFByteSize {
amount: float
units: DataSizeUnit
}
class MEFSubUnit {
subUnitNumber*: string
subUnitType*: string
}
class Note {
author*: string
date*: date-time
id*: string
source*: MEFBuyerSellerType
text*: string
}
class RelatedContactInformation {
emailAddress*: string
name*: string
number*: string
numberExtension: string
organization: string
role*: string
}
RelatedContactInformation *--> FieldedAddress : postalAddress
class SearchTimeSlot {
}
SearchTimeSlot *-->"1..*" TimeSlot : availableTimeSlot
SearchTimeSlot *-->"1..*" TimeSlot : requestedTimeSlot
SearchTimeSlot *-->"1" WorkOrderRef : workOrder
class TimePeriod {
endDateTime*: date-time
startDateTime*: date-time
}
class WorkOrderRef {
href: string
id*: string
}
@enduml
|
7c185d24d6cb9dc9f922649bb866035da921c78c | d0c4bc316b01e94a06213c21097a8d991ee51c78 | /src/main/java/ex44/ex44Diagram.puml | 4a3155fa20312f7a2f83931a87bb9fc95fae29cc | [] | no_license | Dnguyen99/Nguyen-cop3330-assignment3 | 14f28209c49546e58b99c6220bdeec3767606341 | d0ceb2bcfb5702c1a5216b59bd71100e24abf51d | refs/heads/master | 2023-08-20T23:27:58.013282 | 2021-10-10T23:56:46 | 2021-10-10T23:56:46 | 415,726,957 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 135 | puml | @startuml
'https://plantuml.com/sequence-diagram
class ProductSearch {
+void main(args : String[])
+String input
+String name
}
@enduml |
d94fda3aa9c4ecf5e0f2fdf7321ffa932968222b | 69e2e074c6872d5c54c470ee7804f59e8c8d36f2 | /test/diagrams/Resource_ProductSpecification_ProductSpecificationCharacteristic.puml | fcf965ae4433d2747f1e2c8f903a58a2bfb78694 | [] | no_license | knutaa/asciidoctest | 350c45285888c1125badf2602280e1301495984a | 410a5d76020dfa98d4abda382ed8ad04baafbbe3 | refs/heads/main | 2023-01-29T14:01:37.296912 | 2020-12-14T13:49:58 | 2020-12-14T13:49:58 | 313,266,232 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,741 | puml | @startuml
'
' Resource: ProductSpecificationCharacteristic
' Source: Product_Catalog_Management_4.1.0_oas.yaml
' Generated: 2020-11-14 11:54:23+0100
'
hide circle
hide methods
hide stereotype
show <<Enumeration>> stereotype
skinparam class {
backgroundColor<<Enumeration>> #E6F5F7
backgroundColor<<Ref>> #FFFFE0
backgroundColor<<Pivot>> #FFFFFFF
backgroundColor #FCF2E3
backgroundColor<<SubResource>> MistyRose
}
skinparam legend {
borderRoundCorner 0
borderColor red
backgroundColor white
}
'sequence: 1
class ProductSpecificationCharacteristic <<SubResource>> {
{field}// //
}
'sequence: 11
class ProductSpecificationCharacteristicRelationship <extends \nExtensible > <<Ref>> {
charSpecSeq : Integer
href : String
id : String
name : String
relationshipType : String
validFor : TimePeriod
@baseType : String
@schemaLocation : Uri
@type : String
}
'sequence: 27
class CharacteristicSpecificationBase <extends \nExtensible > {
configurable : Boolean
description : String
extensible : Boolean
id : String
isUnique : Boolean
maxCardinality : Integer
minCardinality : Integer
name : String
regex : String
validFor : TimePeriod
valueType : String
@baseType : String
@schemaLocation : Uri
@type : String
@valueSchemaLocation : String
}
'sequence: 40
class CharacteristicValueSpecification <extends \nExtensible > {
isDefault : Boolean
rangeInterval : String
regex : String
unitOfMeasure : String
validFor : TimePeriod
value : Any
valueFrom : Integer
valueTo : Integer
valueType : String
@baseType : String
@schemaLocation : Uri
@type : String
}
'sequence: 1
'processing edges for ProductSpecificationCharacteristic
'completed processing of edges for ProductSpecificationCharacteristic
'processing edges for ProductSpecificationCharacteristic
'sequence: 46
'rule: General right rule
ProductSpecificationCharacteristic *-right-> "0..*" ProductSpecificationCharacteristicRelationship : productSpecCharRelationship
'sequence: 48
'rule: General above rule
CharacteristicSpecificationBase <|-- ProductSpecificationCharacteristic : allOf
'sequence: 50
'rule: General below rule
ProductSpecificationCharacteristic *--> "0..*" CharacteristicValueSpecification : productSpecCharacteristicValue
'layout of the core: [ProductSpecificationCharacteristic] (seq=41)
'finished layout of the core (seq=44)
'y=9 : CharacteristicSpecificationBase (10) (seq=59)
'y=10 : ProductSpecificationCharacteristicRelationship (11) ProductSpecificationCharacteristic (10) (seq=60)
'y=11 : CharacteristicValueSpecification (10) (seq=61)
@enduml |
32867dd4e1fe02d3af6dbd40611699d013ec6f53 | 5e54fff99ec1cba3403ad6f7370ddbf75012066d | /docs/diagrams/index_classes.plantuml | 23426782aee0e9448de94ec49b569e2856824376 | [
"Apache-2.0"
] | permissive | opendatacube/datacube-core | 3f6d9a7b8970c0b9ec7861665dd095fc89b416f0 | 24b046e737ea94bc088ee0f0566e839370152be9 | refs/heads/develop | 2023-08-21T17:21:22.788628 | 2023-08-14T18:28:25 | 2023-08-14T23:22:15 | 35,531,022 | 445 | 170 | Apache-2.0 | 2023-09-13T06:52:56 | 2015-05-13T05:58:13 | Python | UTF-8 | PlantUML | false | false | 952 | plantuml | @startuml
class PostgresDB {
- _engine
- _connection
@classmethod from_config()
@classmethod create()
@staticmethod _create_engine()
close()
init()
connect()
begin()
get_dataset_fields()
}
class PostgresDbAPI {
- _connection:
rollback()
execute()
insert_dataset()
... Lots of dataset functions()
}
class PostgresDbConnection {
- engine
- connection
__enter__()
__exit__()
}
class PostgresDbInTransaction {
- engine
- connection
__enter__()
__exit__()
}
class Index {
- _db: PostgresDB
users
metadata_types
products
datasets
uri
init_db()
close()
__enter__()
__exit__()
}
class Engine {
Part of SQLAlchemy
connect()
execute()
}
Index *- PostgresDB
PostgresDB o- PostgresDbConnection
PostgresDB o-- PostgresDbInTransaction
PostgresDbConnection o- PostgresDbAPI
PostgresDbInTransaction o-- PostgresDbAPI
'PostgresDbConnection -[hidden]> PostgresDbInTransaction
@enduml
|
214519b3cb9e54d35c31753e7875b8cc9dcc76dd | 14e8a84b03c2b84428eadd07a25877154467f542 | /core/core.plantuml | 3ad8b87cfafc86c38172c58a6cad67e0ef54ccaf | [] | no_license | hd170998/RevisionisticVideogame | e1267ab7ffbdc9be78ef7335323a5ba87765e7b9 | 8c95b988ece1a1f565f847dea686757f61fecdc1 | refs/heads/master | 2020-03-29T10:37:27.967262 | 2018-11-23T19:04:22 | 2018-11-23T19:04:22 | 149,815,169 | 0 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,194 | plantuml | @startuml
title __CORE's Class Diagram__\n
package mx.itesm.revisionistic {
class Enemigo {
}
}
package mx.itesm.revisionistic {
enum EstadoJuego {
}
}
package mx.itesm.revisionistic {
class Objeto {
}
}
package mx.itesm.revisionistic {
abstract class Pantalla {
}
}
package mx.itesm.revisionistic {
class PantallaCreditos {
}
}
package mx.itesm.revisionistic {
class PantallaExtras {
}
}
package mx.itesm.revisionistic {
class PantallaGameOver {
}
}
package mx.itesm.revisionistic {
class PantallaInicio {
}
}
package mx.itesm.revisionistic {
class PantallaJuego {
}
}
package mx.itesm.revisionistic {
class PantallaMapa {
}
}
package mx.itesm.revisionistic {
class PantallaMenu {
}
}
package mx.itesm.revisionistic {
class PantallaNivel {
}
}
package mx.itesm.revisionistic {
class PantallaOpciones {
}
}
package mx.itesm.revisionistic {
class Personaje {
}
}
Enemigo -up-|> Objeto
Pantalla -up-|> Screen
PantallaCreditos -up-|> Pantalla
PantallaCreditos o-- PantallaInicio : pantallaInicio
PantallaExtras -up-|> Pantalla
PantallaExtras o-- PantallaInicio : pantallaInicio
PantallaGameOver -up-|> Pantalla
PantallaGameOver o-- PantallaInicio : pantallaInicio
PantallaInicio -up-|> Game
PantallaJuego -up-|> Pantalla
PantallaJuego o-- PantallaInicio : pantallaInicio
PantallaMapa -up-|> Pantalla
PantallaMapa o-- PantallaInicio : pantallaInicio
PantallaMapa o-- EstadoJuego : estado
PantallaMapa o-- EscenaPausa : escenaPausa
PantallaMapa o-- Personaje : ivan
PantallaMenu -up-|> Pantalla
PantallaMenu o-- PantallaInicio : pantallaInicio
PantallaNivel -up-|> Pantalla
PantallaOpciones -up-|> Pantalla
PantallaOpciones o-- PantallaInicio : pantallaInicio
Personaje -up-|> Objeto
Personaje o-- EstadoMovimento : estadoMover
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
|
322329edb98bc8f62c92886d0e9eb57361cbe85b | f5f59016295a183565af167a861e2c8db9f1b070 | /diagrams/src/Application/Exceptions/InvalidBid.puml | 68a7b0fae7d45675b7c65c442e7a0dfb150a6cf0 | [
"MIT"
] | permissive | converge-app/collaboration-broker-service | fb21788289134c265f1cd5db3ceaa3f32ba18406 | 69c676a5bbb3e602f939f9c91680560a6c63926a | refs/heads/master | 2023-03-19T11:36:58.937045 | 2019-12-17T12:06:26 | 2019-12-17T12:06:26 | 218,333,241 | 0 | 0 | MIT | 2023-03-04T01:16:20 | 2019-10-29T16:29:32 | C# | UTF-8 | PlantUML | false | false | 252 | puml | @startuml
class InvalidResult {
+ InvalidResult()
+ InvalidResult(message:string)
+ InvalidResult(message:string, inner:Exception)
# InvalidResult(info:SerializationInfo, context:StreamingContext)
}
Exception <|-- InvalidResult
@enduml
|
7fbe9afc66403563118978f11db80dfa8a4ddadb | 4e028c9628b9ace127596c42523619424c899dd9 | /src/main/java/java.plantuml | 61fa2df4a2edcf86b43aecf1e6b35fbecee1cffb | [] | no_license | Sirozha19862k18/errorLogJournal | 2f8fcd577fb52bd1003d8095b0736be8ba0a41a5 | cd4c386589b87dbb033651e6751985a54b967acf | refs/heads/master | 2023-06-23T08:01:28.596767 | 2021-07-08T13:30:33 | 2021-07-08T13:30:33 | 376,738,114 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,554 | plantuml | @startuml
title __JAVA's Class Diagram__\n
namespace errorLog {
class Constants {
{static} ~ DATA_FORMAT : String
{static} ~ JSPINNER_VIEW_FORMAT : String
{static} ~ PATH_TO_DB_FILE : String
{static} ~ TABLEHEADER : String[]
}
}
namespace errorLog {
class ErrorLog {
- errorTable : JTable
- labelTextBegin : JLabel
- labelTextEnd : JLabel
- mainPanel : JPanel
- readData : JButton
- saveToFile : JButton
- spinnerDateBegin : JSpinner
- spinnerDateEnd : JSpinner
- synchronizeButton : JButton
{static} - tableModel : DefaultTableModel
+ ErrorLog()
+ addComonentToPane()
+ checkSelectedDateByErrors()
fillErrorTable()
+ initTableModel()
+ initUI()
+ prepareErrorTableForNewAction()
+ resizeCellInTableByFitContent()
+ returnTimestamp()
+ setDateInSpinner()
+ setSpinnerModel()
}
}
namespace errorLog {
class Main {
{static} + main()
}
}
namespace errorLog {
class PDFGenerator {
+ generatePDF()
+ saveAsPDF()
}
}
namespace errorLog {
class SQLQuery {
+ viewErrorBySelectDate()
- connectToDB()
}
}
ErrorLog -up-|> javax.swing.JFrame
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
|
c164ef58eb621e8cf2bbd5bdb6d9cc70a1c61856 | 22b72a869277c9039207d30ea150e823d91fa276 | /docs/dase_class_diagram.puml | 7b8668df3e5c653cd0c82ce2fdcabccbbf752b57 | [] | no_license | rstuven/tidml | f2d0ea6699746b619233476e327ce37c9528b87f | c6c0251d26d66c6fcbd4112c820a7151c22f9d3a | refs/heads/master | 2020-03-19T15:15:17.661022 | 2016-04-13T20:19:26 | 2016-04-13T20:19:26 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 895 | puml | @startuml
title \nTIDML Class Diagram\n
abstract class Algorithm {
__init__(params)
+train(): Model
+predict(): Prediction
persistor(): ModelPersistor
}
abstract class DataSource {
__init__(params)
+read_training(): Training data
}
abstract class Preparator {
__init__(params)
+prepare(data): Prepared data
}
class IdentityPreparator
Preparator <|-- IdentityPreparator
abstract class Serving {
__init__(params)
+serve(): Served prediction
}
Serving <|-- FirstServing
Serving <|-- AverageServing
abstract class ModelPersistor
class PickleModelPersistor
ModelPersistor <|-- PickleModelPersistor
class Engine {
__init__(config)
+train()
+load_models(): Models
+predict(models, query): Served prediction
}
Engine *-left- "1" Preparator
Engine *-up- "1" DataSource
Engine *-right- "1..*" Algorithm
Engine *-- "1" Serving
Algorithm *-- ModelPersistor
@enduml
|
a1c2bb88f15801f285c8ca76dfdd3efe4229778c | 3e8de74dfe19cd437fd7842887394d4921a109d7 | /docs/images/superCanard2.plantuml | fff6dfee6202fe1a3ba96fdb21804616ee66e7cd | [] | 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 | 409 | plantuml | @startuml
'-----------------------------------
' UML concepts illustrated
' JMB 2014
'-----------------------------------
hide circle
hide empty members
hide empty methods
class Canard {
cancaner()
nager()
afficher()
voler()
}
class Colvert {
afficher() {//Spécifique aux Colverts...}
}
class Mandarin {
afficher() {//Spécifique aux Mandarins...}
}
Canard <|-- Colvert
Canard <|-- Mandarin
@enduml
|
e73c94b021f6a47180f7104e0d6f1baa107a13c0 | 786b8d255485f952a5761abff55a191fd736dc1e | /main/java/com/gmail/ib/projectCrypt/authentication/authentication.plantuml | 717acaa68c2039a6c9be6ed7d6c38735697f0d77 | [] | no_license | notd5a-alt/projectCrypt | 3e5149217bde9b573b674beecc99e9a09fa70319 | 2f46d41160963bc4f78b49e5ad6a9db6b8ac7845 | refs/heads/master | 2022-04-11T10:50:28.626265 | 2020-03-24T11:39:07 | 2020-03-24T11:39:07 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,546 | plantuml | @startuml
title __AUTHENTICATION's Class Diagram__\n
namespace com.gmail.ib.projectCrypt {
namespace authentication {
interface com.gmail.ib.projectCrypt.authentication.AccessControl {
{static} + ADMIN_ROLE_NAME : String
{static} + ADMIN_USERNAME : String
{abstract} + getPrincipalName()
{abstract} + isUserInRole()
{abstract} + isUserSignedIn()
{abstract} + signIn()
{abstract} + signOut()
}
}
}
namespace com.gmail.ib.projectCrypt {
namespace authentication {
class com.gmail.ib.projectCrypt.authentication.AccessControlFactory {
{static} - INSTANCE : AccessControlFactory
+ createAccessControl()
{static} + getInstance()
- AccessControlFactory()
}
}
}
namespace com.gmail.ib.projectCrypt {
namespace authentication {
class com.gmail.ib.projectCrypt.authentication.BasicAccessControl {
+ getPrincipalName()
+ isUserInRole()
+ isUserSignedIn()
+ signIn()
+ signOut()
}
}
}
namespace com.gmail.ib.projectCrypt {
namespace authentication {
class com.gmail.ib.projectCrypt.authentication.CurrentUser {
{static} + CURRENT_USER_SESSION_ATTRIBUTE_KEY : String
{static} + get()
{static} + set()
- CurrentUser()
{static} - getCurrentRequest()
}
}
}
namespace com.gmail.ib.projectCrypt {
namespace authentication {
class com.gmail.ib.projectCrypt.authentication.User {
- email : String
- firstName : String
- lastName : String
- password : String
- username : String
+ User()
+ User()
+ getEmail()
+ getFirstName()
+ getLastName()
+ getPassword()
+ getUsername()
+ loadData()
+ setEmail()
+ setFirstName()
+ setLastName()
+ setPassword()
+ setUsername()
}
}
}
com.gmail.ib.projectCrypt.authentication.AccessControlFactory o-- com.gmail.ib.projectCrypt.authentication.AccessControl : accessControl
com.gmail.ib.projectCrypt.authentication.BasicAccessControl .up.|> com.gmail.ib.projectCrypt.authentication.AccessControl
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
|
ae26f77dd02411cad776f38aafa19a65ab76c23a | 69d5d987bd26683bb960869e7a96d2f04e7879bb | /Week_03/netty-research/assets/uml/message-class-diagram.puml | 4a42558c5210a011f0908c04fc4f00249f2799a6 | [] | no_license | Du-Feng/JAVA-000 | c3a295edc6768f22b000dc2bae1c36128b50dec6 | 1887d5b37332eb2e82a5068b7360309e4b6338a8 | refs/heads/main | 2023-05-02T22:50:15.746034 | 2021-05-23T09:15:35 | 2021-05-23T09:15:35 | 306,058,945 | 1 | 0 | null | 2020-10-21T14:53:35 | 2020-10-21T14:53:34 | null | UTF-8 | PlantUML | false | false | 698 | puml | @startuml
package "io.netty.example.study.common" {
MessageHeader "1"*-- Message
MessageBody "1"*-- Message
Message <|-- RequestMessage
Message <|-- ResponseMessage
abstract class Message<T extends MessageBody> {
- MessageHeader messageHeader
- T messageBody
+ void encode(ByteBuf byteBuf)
+ void decode(ByteBuf msg)
+ {abstract} Class<T> getMessageBodyDecodeClass(int opcode)
}
class MessageHeader {
- int version = 1
- int opCode
- long streamId
}
abstract class MessageBody {
}
class RequestMessage<Operation> {
}
class ResponseMessage<OperationResult> {
}
}
@enduml |
05483848863b8561fc0e539dfe46d0d780bcc7f4 | a1eb6871a4ccbc6135b331ae824db91ec7b71e4e | /build/servicelevelagreement@0.8.0.puml | 8ffa2a3393ca1f19f00721ae170f5fcab3ab5d2a | [
"Apache-2.0",
"CC-BY-4.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | accordproject/cicero-template-library | 737586850933daac2fbff2ff8b2d60dd50526b80 | 35e6c93ba9d9e78d9384c44a78d85ac216d9e9ea | refs/heads/main | 2023-04-27T01:07:05.932361 | 2022-08-26T13:02:59 | 2022-08-26T13:02:59 | 109,224,687 | 77 | 149 | Apache-2.0 | 2023-04-20T21:43:00 | 2017-11-02T06:11:37 | HTML | UTF-8 | PlantUML | false | false | 928 | puml | @startuml
class org.accordproject.servicelevelagreement.ServiceLevelAgreementContract << (A,green) >> {
+ Integer paymentPeriod
+ Double monthlyCapPercentage
+ Double yearlyCapPercentage
+ Double availability1
+ Double serviceCredit1
+ Double availability2
+ Double serviceCredit2
}
org.accordproject.servicelevelagreement.ServiceLevelAgreementContract --|> org.accordproject.cicero.contract.AccordContract
class org.accordproject.servicelevelagreement.MonthSummary << (T,yellow) >> {
+ Double monthlyServiceLevel
+ Double monthlyCharge
+ Double last11MonthCredit
+ Double last11MonthCharge
}
org.accordproject.servicelevelagreement.MonthSummary --|> org.accordproject.base.Transaction
class org.accordproject.servicelevelagreement.InvoiceCredit << (T,yellow) >> {
+ Double monthlyCredit
}
org.accordproject.servicelevelagreement.InvoiceCredit --|> org.accordproject.base.Transaction
@enduml
|
5431db6da34df4cdd27bc9d4ddd0bdfa8b376e29 | c8921fe77a5927904ac3c04bfd080851403dab94 | /uml/uml2/bunB.puml | ea68c434cdd9f59380feffdd73453a8e1a132a10 | [] | no_license | turanukimaru/fehs | cc06f5a3d007a2633373d09281304571e132748b | 8764ad4521c7a0f66a911578b536f9be4e598fdb | refs/heads/master | 2021-06-03T05:53:52.465995 | 2020-04-19T18:59:06 | 2020-04-19T18:59:06 | 111,425,822 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 369 | puml | @startuml
class 盤{
載せる(駒, 座標)
動かす(駒, 座標)
取り除く(駒)
}
class 駒{
動かす(座標)
}
class 能力{
移動範囲を得る()
全ての能力に共通のルール()
}
class 個々の能力{
}
盤 -> "載る" 駒
駒 -left-> "自分を動かす" 盤
'人 -left-> "動かす" 駒
駒 -right-> 能力
個々の能力 -up-|> 能力
@enduml |
6966dfda4bbff163a5061e69cd64294247a2328a | 56c6681267844c4603676514fe24088bc7f6a7d0 | /uml/diagram/appDiagram.puml | 4e4a30b0b8b78bb8908941ebe60c790977f4ac5a | [] | no_license | bierzan/booster-box-evaluator | f4336e559a586a0cff31390673017206acd2d3d2 | 0a9eb0668861ff2576126e02bf8fa5ca46252c44 | refs/heads/develop | 2022-05-30T00:47:39.160279 | 2021-02-03T22:49:57 | 2021-02-03T22:49:57 | 212,665,323 | 0 | 0 | null | 2022-05-20T21:17:42 | 2019-10-03T19:42:45 | Groovy | UTF-8 | PlantUML | false | false | 1,297 | puml | @startuml
hide empty members
package infrastructure{
class Client{
}
class Cache{
}
}
together {
package MtgIO {
class MtgIO{
+getSets(setNames)
}
class CardSet {
-name
-code
-booster
-expansion
}
}
package Scryfall {
class ScryfallClient{
+getAllCards()
}
class Card {
-name
-setName
-price
}
}
}
package box {
class Box {
-id
-name
-booster
-expansion
-releaseDate
}
class BoxFacade{
+findNew()
' +evaluateBoxes()
' +getBoxValue(boxName)
}
class Command{
~findNew()
' ~evaluateAll()
}
class Query{
~getBoxValue(boxName)
}
class BoxFinder {
~findBoxesReleasedAfter(date)
-getSetsNamesFromCards(cards)
}
class BoxCreator {
~createBoxes(sets)
}
together {
interface BoxRepo{
+findAll()
+findLastReleaseDate()
+saveAll(boxes)
}
interface BoxValueRepo{
+saveAll(boxesValues)
}
}
}
BoxFacade <.. Command
BoxFacade <.. Query
Query <.. BoxValueRepo
Command <.. BoxRepo
Command <.. BoxFinder
BoxFinder <.. Cache: getCards
BoxFinder <.. Client: getCardSets and Cards
BoxFinder <.. BoxCreator: createBoxes(cards)
Client <..MtgIO
Client <..Scryfall
@enduml |
d36af7a0de621a6e76fc241f2de5cbfe29b3d7e9 | e7b7df0cf36cf83e9c440c3a81f4f85193e37a72 | /3 Class Diagram/5 Abstract and Static.puml | 4bd25619a23f7043572bafeef952893e514b6455 | [
"MIT"
] | permissive | jys129/PlantUML | 38dd154cc9a45d3206abf26f95bfb45e32d4c186 | f0e62bf90332a1a541ded76d2101ebdd9215adaa | refs/heads/master | 2023-03-16T15:54:12.053012 | 2020-10-18T15:49:08 | 2020-10-18T15:49:08 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 88 | puml | @startuml
class Dummy {
{static} String id
{abstract} void methods()
}
@enduml |
12385ad4b62817126a462c81e4c9c55aa5723f9a | fb71f4802819b0f9e5eb2f71bfe356258b8d1f57 | /ontrack-docs/src/docs/asciidoc/architecture-acl.puml | d3f316569f447e7947abededa815f8d36924a0bc | [
"MIT"
] | permissive | nemerosa/ontrack | c5abe0556cc2cc6eb4109e0c2f045ae5cff84da3 | de5ae2ebd9d9a30dce4c717f57e4604da85f0b51 | refs/heads/master | 2023-08-31T11:02:35.297467 | 2023-08-28T17:59:07 | 2023-08-28T17:59:07 | 19,351,480 | 111 | 35 | MIT | 2023-08-31T13:21:53 | 2014-05-01T17:08:33 | Kotlin | UTF-8 | PlantUML | false | false | 613 | puml | @startuml
class Account {
id
name
fullName
email
authenticationSource
role
}
class Project {
id
}
class Authorisations {
}
class GlobalRole <<global>> {
id
name
description
}
class ProjectRole <<global>> {
id
name
description
}
class ProjectRoleAssociation {
projectId
}
Account *--> "1" Authorisations: authorisations
Authorisations o--> "0..1" GlobalRole: globalRole
Authorisations *--> "0..*" ProjectRoleAssociation: projectRoleAssociations
ProjectRoleAssociation o--> "1" ProjectRole: projectRole
ProjectRoleAssociation ..> "1" Project
@enduml
|
320552be29fd815e3ab26d91c6cbaf9e7ac52a51 | debd9a60afd737b890b20607d69c2346ddcb29f5 | /animator.plantuml | e59b0da1fd00528fb09c30465a074a2fc1adc0e1 | [] | no_license | Belolme/CrazyAndroidNotes | 0c996eb37c5e77138a67a131c01a89e272ec3fb5 | 07ebaf0cf09116b6fd48bb3c70183a1261e374dd | refs/heads/master | 2021-01-20T18:45:04.943954 | 2016-08-02T13:53:11 | 2016-08-02T13:53:11 | 64,528,953 | 3 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,020 | plantuml | @startuml
class Animator{
--method--
setDuration()
setRepeatCount()
setRepeatMode(ValueAnimator, ..)
}
note left: Animator可以为任何类设置动画, 通过更改属性实现
class AnimatorSet{
--method--
with()
before()
after()
play()
start()
}
class Object
class ValueAnimator
class ObjectAnimator{
ofArgb()
ofFloat(object, string...): The property name, base on JavaBean实现
}
class Interpolator
class DecelerateInterpolator
class AccelerateInterpolator
interface AnimatorUpdateListener
interface AnimatorListener
interface AnimatorPauseListener
'--------------------spilt line-----------------------
Animator o--> Object
AnimatorSet --|> Animator
AnimatorSet o--> Animator
ValueAnimator -left-|> Animator
ObjectAnimator --|> ValueAnimator
ObjectAnimator o-right-> Interpolator
DecelerateInterpolator --|> Interpolator
AccelerateInterpolator --|> Interpolator
ValueAnimator --> AnimatorPauseListener
ValueAnimator --> AnimatorUpdateListener
ValueAnimator --> AnimatorListener
@enduml
|
891aab9024c823f82b5f671e7fcfaf5c333164c4 | 1208efdab42109144a1ffe9b606656e751f723ec | /docs/class-diagram.puml | e2dacbf81cd32dd7541222631a17227c30a1b35a | [
"MIT"
] | permissive | yasuaki-344/data-former | 13f67e71f1a9e543d29394191ce0c50e53d3581c | 90dddb61ab342db1254bf3cfd735f3f68f21fb83 | refs/heads/main | 2023-07-29T02:58:26.971377 | 2021-08-29T07:14:19 | 2021-08-29T07:14:19 | 380,663,093 | 1 | 0 | MIT | 2021-08-29T07:14:20 | 2021-06-27T05:59:02 | C# | UTF-8 | PlantUML | false | false | 2,204 | puml | @startuml class-diagram
namespace ApplicationCore {
namespace Entities {
entity AppConfig {
+ string InputFilePath
+ string OutputFilePath
+ List<SheetConfig> Sheets
}
entity SheetConfig {
+ string SheetName
+ List<ColumnConfig> Headers
+ List<List<SearchConfig>> SearchBlocks
}
entity ColumnConfig {
+ string ColumnName
+ DataType Type
}
entity SearchConfig {
+ string SheetName
+ SearchDirection Direction
+ int InitialRowPostion
+ int InitialColumnPosition
+ int RowSize
+ int ColumnSize
+ int RowIncrement
+ int ColumnIncrement
}
}
namespace ValueObjects {
enum SearchDirection {
+ Row
+ Column
}
enum DataType {
+ Integer
+ Decimal
+ DateTime
+ Date
+ Time
+ Label
+ Boolean
}
}
namespace Interfaces {
interface IExcelDataCleanService
interface IExcelFileController
interface IExcelCellAccessor
interface IMatrixDataManger
interface ICellDataAccessor
}
namespace Services {
class ExcelDataCleanService
}
namespace BusinesLogics {
class ExcelCellAccessor
class MatrixDataManager
class CellDataAccessor
}
}
namespace Infrastructure {
class ExcelFileController
}
ApplicationCore.Interfaces.IExcelDataCleanService <|-- ApplicationCore.Services.ExcelDataCleanService
ApplicationCore.Interfaces.IExcelCellAccessor <|-- ApplicationCore.BusinesLogics.ExcelCellAccessor
ApplicationCore.Interfaces.IMatrixDataManger <|-- ApplicationCore.BusinesLogics.MatrixDataManager
ApplicationCore.Interfaces.ICellDataAccessor <|-- ApplicationCore.BusinesLogics.CellDataAccessor
ApplicationCore.Interfaces.IExcelFileController <|-- Infrastructure.ExcelFileController
ApplicationCore.Services.ExcelDataCleanService --> ApplicationCore.Interfaces.IExcelFileController
ApplicationCore.Services.ExcelDataCleanService --> ApplicationCore.Interfaces.IExcelCellAccessor
ApplicationCore.Services.ExcelDataCleanService --> ApplicationCore.Interfaces.IMatrixDataManger
ApplicationCore.Services.ExcelDataCleanService --> ApplicationCore.Interfaces.ICellDataAccessor
@enduml
|
400426a4e56285849e02ac8d6d6169515a2396dc | 9e2bad8a08fad0b5995468f3b2008c6e62c96376 | /plantuml/ReactProject.Domain/Activity.puml | d8262242f29e2a5381d7e51a963ac86f79265a16 | [] | no_license | mrady9280/ReactProject | 6b487031ac17b3c0cc5eef7af00e5ddf403ddd47 | 1e287b9677dbbaf686b4b22e98399333f713c6a2 | refs/heads/master | 2022-12-10T19:47:18.886064 | 2020-03-26T03:29:40 | 2020-03-26T03:29:40 | 248,903,137 | 0 | 0 | null | 2022-12-08T10:00:03 | 2020-03-21T03:58:40 | C# | UTF-8 | PlantUML | false | false | 282 | puml | @startuml
class Activity {
+ Title : string <<get>> <<set>>
+ Description : string <<get>> <<set>>
+ Category : string <<get>> <<set>>
+ City : string <<get>> <<set>>
+ Venue : string <<get>> <<set>>
}
Activity --> "Id" Guid
Activity --> "Date" DateTime
@enduml
|
63ce1d6ddf6ed63291880b85c3f5b12c16cbe32a | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Editor/Utilities/ControlPlayableUtility.puml | 962544e4a7cdd76711158c6618b3af5a0b684272 | [] | 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 | 278 | puml | @startuml
class ControlPlayableUtility <<static>> {
+ {static} DetectCycle(asset:ControlPlayableAsset, director:PlayableDirector, set:HashSet<PlayableDirector>) : bool
+ {static} GetPlayableAssets(director:PlayableDirector) : IEnumerable<ControlPlayableAsset>
}
@enduml
|
231996305557db5bbea23f033ae8934d230d0125 | c3287e91ce0ebce396cd3966de3d2f7d90131c20 | /Plantuml/Common/ExtensionMethods.puml | 4c5375c55b53d88c2bd28a10ed621b573571020f | [] | no_license | kretmatt/SWE2-Tourplanner | 497ec2e888112bd3d67a0f2b97e7c1e8e0348371 | f064500ae5b913b00671f358a586011affcdaf00 | refs/heads/main | 2023-05-12T11:48:29.605417 | 2021-06-06T21:53:11 | 2021-06-06T21:53:11 | 341,115,114 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 145 | puml | @startuml
class Extensions <<static>> {
+ {static} CIContains(text:string, value:string, stringComparison:StringComparison) : bool
}
@enduml
|
86e7b3ec4ffc7adfee474ed47399ffc9ed386d49 | f628d8b417136f95dc55f6ae8a8627a88b29c5d6 | /Assets/Other/builder.puml | dd5a3a8c31ed140cb735d698c2db0a7f0f9fcd8f | [] | no_license | Raud0/Bungeon | 35913664df4af66c262ec55a695ba8cdb082603f | 8b7d6fbe34a976c081bc61b8e114c5905b7d3a1f | refs/heads/main | 2023-05-07T23:37:30.185747 | 2021-05-25T20:01:42 | 2021-05-25T20:01:42 | 367,061,825 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,504 | puml | @startuml
'Customization
skinparam nodesep 25
skinparam ranksep 50
'World Generation and Loading
class ChunkLoader {
+ Dictionary<Vector2Int, Chunk> chunks
+ void HandlePlayerMoved(Vector3 position)
}
abstract Director {
+ Construct(Builder builder)
}
class RoomDirector {
+ Construct(Builder builder)
}
class TunnelDirector {
+ Construct(Builder builder)
}
interface IBuilder {
+ BuildWall(int x, int y)
+ BuildFloor(int x, int y)
}
class ChunkBuilder {
- Chunk _chunk
+ IntrinsicTileState WallState
+ IntrinsicTileState FloorState
+ BuildWall(int x, int y)
+ BuildFloor(int x, int y)
+ GetResult() : Chunk
}
class Chunk {
- Dictionary<Vector2Int, IntrinsicTileState> _tileStates
- bool _isLoaded
+ Load()
+ Unload()
}
class Tile {
+ IntrinsicTileState tileState
}
class IntrinsicTileState {
+ Sprite sprite
+ bool Walkable
}
class TileFactory {
+ CreateTile(IntrinsicTileState tileState): Tile
}
'Player and Movement
class Person {
- _location
- _viewArea
}
class Movement {
- Person _activePerson
- List<Person> persons
+ Action personMoved
}
'Lines
Movement --> Person
Movement --> ChunkLoader
ChunkLoader --> RoomDirector
ChunkLoader --> TunnelDirector
TunnelDirector --> IBuilder
RoomDirector --> IBuilder
Director --|> RoomDirector
Director --|> TunnelDirector
IBuilder <|-- ChunkBuilder
Chunk ..> ChunkBuilder
ChunkLoader o-- Chunk
Chunk --> TileFactory
TileFactory ..> Tile
Chunk o-- Tile
IntrinsicTileState "1" *-- "many" Tile : contains
ChunkBuilder --> ChunkLoader
@enduml |
25e2c9bd02e475105c0f154468db9ba19805450f | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.test-framework@1.1.16/UnityEngine.TestRunner/Utils/PostBuildCleanupAttribute.puml | b02b427567d31f89bf3fe4aee5b5a577e38f3691 | [] | 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 | 201 | puml | @startuml
class PostBuildCleanupAttribute {
+ PostBuildCleanupAttribute(targetClass:Type)
+ PostBuildCleanupAttribute(targetClassName:string)
}
Attribute <|-- PostBuildCleanupAttribute
@enduml
|
33b603c97a7240046ec02661ea62cf1f81a86f06 | 58f5766244826918a3cf79312f861f76c5aa6f7d | /Documents/uml/Services/IFileSelectionService.puml | e04f6f7eb0adfd291ad6bde993170478d4692c0b | [
"MIT"
] | permissive | BillKrat/CsvEditSharp | 3835aa9d7955a33830be47b044d3c05763c68dff | a91334a8aa1b08c4f7fe38116892b088e92d4da4 | refs/heads/master | 2022-01-28T15:31:06.719793 | 2019-07-28T11:39:25 | 2019-07-28T11:39:25 | 198,216,226 | 0 | 1 | MIT | 2019-07-22T12:10:45 | 2019-07-22T12:10:44 | null | UTF-8 | PlantUML | false | false | 132 | puml | @startuml
interface IFileSelectionService {
SelectFile(title:string, filter:string, initialDirectory:string) : string
}
@enduml
|
e1bed3e7ccb2dac57ffd2556bc800766aade153a | ef4f9913b31c7ce6c913c8adcced062c0d5db5f9 | /design-patterns/codebase/src/main/resources/uml/template-method/poblem-class-diagram.puml | 460e2cafc03cd0b9b36323fae436bcd080378b5b | [] | no_license | lzbair/OO-Paradigm | 5061211c6af19612c9d8185493898441fb92257b | ddc653bd0fe17807bcd7fd6030bb3e6b05239d99 | refs/heads/master | 2023-06-27T14:54:19.349718 | 2023-02-21T09:53:06 | 2023-02-21T09:53:06 | 238,396,539 | 0 | 1 | null | 2023-06-14T22:49:02 | 2020-02-05T07:55:12 | Java | UTF-8 | PlantUML | false | false | 215 | puml | -@startuml
package pizzahut {
class PizzaHut
class PizzaHutCooker
}
package dominos {
class DominosPizza
class DominosPizzaCooker
}
class PizzaCooker {
dough()
sauce()
topping()
bake()
}
@enduml |
e6f4e6c263bba5581201efad9cd185f14e34f1f8 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/BusinessUnitRemoveAssociateAction.puml | 2fe71697b5e12664456ed3fe0f87b017e41cdf6b | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 532 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface BusinessUnitRemoveAssociateAction [[BusinessUnitRemoveAssociateAction.svg]] extends BusinessUnitUpdateAction {
action: String
customer: [[CustomerResourceIdentifier.svg CustomerResourceIdentifier]]
}
interface BusinessUnitUpdateAction [[BusinessUnitUpdateAction.svg]] {
action: String
}
@enduml
|
a066f33cc82d8e4e1134972e4ec94cdb9eeb7dcc | f78c1b392eab73acfd575ccd3813b7bb6d7a65de | /Decorator.puml | 8569d1bdb88528a6606cfdb60697123c79651d13 | [] | no_license | kulkarnm/DesignPatternSamples | 6ee29023afe48edc548d28c6f3892e95e4143b4d | a336f18e86e8fe8612633c831189e2f49c673c3a | refs/heads/master | 2020-03-28T08:55:08.800490 | 2018-09-16T02:17:04 | 2018-09-16T02:17:04 | 147,999,112 | 2 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,021 | puml | @startuml
interface Processor {
public Response execute(Request request);
}
class Request {
String userId;
String password;
long sourceAccountId;
long destinationAccountId;
double transferAmount;
}
class LoggingProcessor
class FundTransferProcessor
class EligibilityValidationProcessor
class AuthenticationProcessor
class Account {
long accountId;
double balance;
}
class User {
String userId;
String password;
}
class Response {
boolean transferStatus;
long sourceAccountId;
long destinationAccountId
}
Processor -- Request
Processor -- LoggingProcessor
Processor -- EligibilityValidationProcessor
Processor -- FundTransferProcessor
Processor -- AuthenticationProcessor
EligibilityValidationProcessor -- Account
FundTransferProcessor -- Account
AuthenticationProcessor -- User
Processor <|-- LoggingProcessor
Processor <|-- EligibilityValidationProcessor
Processor <|-- FundTransferProcessor
Processor <|-- AuthenticationProcessor
Processor -- Response
@enduml |
0ac3fcb23dd0f6360d8efd4b451e0b90b5705998 | 4fceac5ab65719512f05340809dbc90786f0a6aa | /app/src/main/java/com/hzp/hiapp/demo/uml/jetpack/Lifecycle.puml | dbeaaaf7a55f46f196a48c2028f090eecb5500b2 | [] | no_license | hzp201314/HiApp | 13f150e42136a6d53d11276ed062205398990d06 | fe59da6c12265aefdbd4572224dbce14d4e1a2e3 | refs/heads/main | 2023-05-04T22:42:54.353547 | 2021-05-21T03:44:52 | 2021-05-21T03:44:52 | 287,014,176 | 2 | 4 | null | null | null | null | UTF-8 | PlantUML | false | false | 11,639 | puml | @startuml
'https://plantuml.com/sequence-diagram
autonumber
note left
Lifecycle详解
Lifecycle是Google推出的一个可以感知(Activity/Fragment)等组件生命周期的一个组件。
使用Lifecycle,可以避免在(Activity/Fragment)生命周期函数里写过多的逻辑代码,
可以使我们的业务逻辑更加的解耦。
下面介绍Lifecycle的使用以及原理。
end note
'Lifecycle详解
'添加observer,并根据宿主状态更新观察者状态
LifecycleRegistry.java ->LifecycleRegistry.java: LifecycleRegistry.addObserver(observer)
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
@Override
public void addObserver(@NonNull LifecycleObserver observer) {
//宿主状态:INITIALIZED、CREATED、STARTED、RESUMED、DESTROYED
State initialState = mState == DESTROYED ? DESTROYED : INITIALIZED;
//包装observer和State
ObserverWithState statefulObserver = new ObserverWithState(observer, initialState);
ObserverWithState previous = mObserverMap.putIfAbsent(observer, statefulObserver);
LifecycleOwner lifecycleOwner = mLifecycleOwner.get();
//计算当前宿主状态
State targetState = calculateTargetState(observer);
//循环 让当前观察者从INITIALIZED状态前进到宿主当前状态targetState
while ((statefulObserver.mState.compareTo(targetState) < 0
&& mObserverMap.contains(observer))) {
pushParentState(statefulObserver.mState);
//分发事件,让宿主状态前进
//分发事件时根据观察者状态推导出应该分发的事件,再根据分发事件推导出观察者的状态
statefulObserver.dispatchEvent(lifecycleOwner, upEvent(statefulObserver.mState));
popParentState();
//计算当前宿主状态
targetState = calculateTargetState(observer);
}
}
end note
LifecycleRegistry.java ->LifecycleRegistry.java: statefulObserver.dispatchEvent(lifecycleOwner, upEvent(statefulObserver.mState));
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
static class ObserverWithState {
State mState;
LifecycleEventObserver mLifecycleObserver;
void dispatchEvent(LifecycleOwner owner, Event event) {
//根据分发的事件反推出宿主状态
State newState = getStateAfter(event);
mState = min(mState, newState);
//通知所有观察者宿主当前生命周期状态改变
mLifecycleObserver.onStateChanged(owner, event);
//当前宿主状态更新
mState = newState;
}
}
end note
LifecycleRegistry.java ->LifecycleRegistry.java: upEvent(statefulObserver.mState)
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//根据观察者状态推导出应该分发的事件
private static Event upEvent(State state) {
switch (state) {
case INITIALIZED:
case DESTROYED:
return ON_CREATE;
case CREATED:
return ON_START;
case STARTED:
return ON_RESUME;
case RESUMED:
throw new IllegalArgumentException();
}
throw new IllegalArgumentException("Unexpected state value " + state);
}
end note
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
LifecycleRegistry.java ->LifecycleRegistry.java: getStateAfter(event)
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//根据宿主当前分发的事件(生命周期状态)反推出宿主状态,如果是ON_CREATE状态,则前进一步变为CREATED状态
static State getStateAfter(Event event) {
switch (event) {
case ON_CREATE:
case ON_STOP:
return CREATED;
case ON_START:
case ON_PAUSE:
return STARTED;
case ON_RESUME:
return RESUMED;
case ON_DESTROY:
return DESTROYED;
case ON_ANY:
break;
}
throw new IllegalArgumentException("Unexpected event value " + event);
}
end note
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
'宿主生命周期和宿主状态关系,
'每一个周期变化时都会分发相应的事件,根据分发事件推导出宿主新状态
'然后遍历所有观察者让观察者状态也随之升级(前进)或者降级(倒退),并且把本次事件分发给观察者
LifecycleRegistry.java ->LifecycleRegistry.java: handleLifecycleEvent()
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//会在每一个生命周期方法里面调用handleLifecycleEvent(event)分发事件
public void handleLifecycleEvent(@NonNull Lifecycle.Event event) {
//根据宿主当前分发的事件(生命周期状态)反推出宿主状态,如果是ON_CREATE状态,则前进一步变为CREATED状态
State next = getStateAfter(event);
//状态同步
moveToState(next);
}
end note
LifecycleRegistry.java ->LifecycleRegistry.java: getStateAfter(event)
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//根据宿主当前分发的事件(生命周期状态)反推出宿主状态,如果是ON_CREATE状态,则前进一步变为CREATED状态
static State getStateAfter(Event event) {
switch (event) {
case ON_CREATE:
case ON_STOP:
return CREATED;
case ON_START:
case ON_PAUSE:
return STARTED;
case ON_RESUME:
return RESUMED;
case ON_DESTROY:
return DESTROYED;
case ON_ANY:
break;
}
throw new IllegalArgumentException("Unexpected event value " + event);
}
end note
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
LifecycleRegistry.java ->LifecycleRegistry.java: moveToState(next)
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//状态同步
private void moveToState(State next) {
...
//真正的状态同步
sync();
...
}
end note
LifecycleRegistry.java ->LifecycleRegistry.java: sync()
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//真正的状态同步
private void sync() {
LifecycleOwner lifecycleOwner = mLifecycleOwner.get();
//isSynced()往mObserverMap集合里面注册的Observer是不是所有观察者的状态都已经分发完,
//都已经同步到根宿主一直状态,如果没有
while (!isSynced()) {
//宿主状态<观察者状态:生命周期倒退阶段
//前台切后台,执行onPause(),RESUMED->STARTED
//宿主进入状态:STARTED,观察者状态:还处于 RESUMED
//此时宿主状态<观察者状态,执行backwardPass(lifecycleOwner);
if (mState.compareTo(mObserverMap.eldest().getValue().mState) < 0) {
//让集合里面所有观察者的状态都倒退到和宿主一样的状态,并且分发事件
backwardPass(lifecycleOwner);
}
Entry<LifecycleObserver, ObserverWithState> newest = mObserverMap.newest();
//宿主状态>观察者状态:生命周期前进阶段
//后台切前台,执行onResume(),STARTED->RESUMED ,
//宿主进入状态:RESUMED,观察者状态:还处于 STARTED
if (!mNewEventOccurred && newest != null
&& mState.compareTo(newest.getValue().mState) > 0) {
forwardPass(lifecycleOwner);
}
}
mNewEventOccurred = false;
}
end note
LifecycleRegistry.java ->LifecycleRegistry.java: backwardPass(lifecycleOwner);
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//遍历,让集合里面所有观察者的状态都倒退到和宿主一样的状态,并且分发事件
private void backwardPass(LifecycleOwner lifecycleOwner) {
Iterator<Entry<LifecycleObserver, ObserverWithState>> descendingIterator =
mObserverMap.descendingIterator();
while (descendingIterator.hasNext() && !mNewEventOccurred) {
Entry<LifecycleObserver, ObserverWithState> entry = descendingIterator.next();
ObserverWithState observer = entry.getValue();
while ((observer.mState.compareTo(mState) > 0 && !mNewEventOccurred
&& mObserverMap.contains(entry.getKey()))) {
//倒退观察者状态
//生命周期事件降级,计算出分发事件
Event event = downEvent(observer.mState);
pushParentState(getStateAfter(event));
//分发事件
observer.dispatchEvent(lifecycleOwner, event);
popParentState();
}
}
}
end note
LifecycleRegistry.java ->LifecycleRegistry.java: downEvent(observer.mState);
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
//倒退观察者状态,生命周期事件降级
//eg:观察者状态RESUMED,分发一个ON_PAUSE事件
private static Event downEvent(State state) {
switch (state) {
case INITIALIZED:
throw new IllegalArgumentException();
case CREATED:
return ON_DESTROY;
case STARTED:
return ON_STOP;
case RESUMED:
return ON_PAUSE;
case DESTROYED:
throw new IllegalArgumentException();
}
throw new IllegalArgumentException("Unexpected state value " + state);
}
end note
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
LifecycleRegistry.java ->LifecycleRegistry.java: observer.dispatchEvent(lifecycleOwner, event);
activate LifecycleRegistry.java
note left
LifecycleRegistry.java
static class ObserverWithState {
//分发事件
void dispatchEvent(LifecycleOwner owner, Event event) {
//倒推出观察者新的状态
State newState = getStateAfter(event);
mState = min(mState, newState);
//通知所有观察者宿主当前生命周期状态改变
mLifecycleObserver.onStateChanged(owner, event);
//观察者状态降级到和宿主一样的状态
mState = newState;
}
}
end note
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
LifecycleRegistry.java ->LifecycleRegistry.java: forwardPass(lifecycleOwner);
activate LifecycleRegistry.java
note left
//遍历,让集合里面所有观察者的状态都前进到和宿主一样的状态,并且分发事件
private void forwardPass(LifecycleOwner lifecycleOwner) {
Iterator<Entry<LifecycleObserver, ObserverWithState>> ascendingIterator =
mObserverMap.iteratorWithAdditions();
while (ascendingIterator.hasNext() && !mNewEventOccurred) {
Entry<LifecycleObserver, ObserverWithState> entry = ascendingIterator.next();
ObserverWithState observer = entry.getValue();
while ((observer.mState.compareTo(mState) < 0 && !mNewEventOccurred
&& mObserverMap.contains(entry.getKey()))) {
//前进观察者状态
pushParentState(observer.mState);
//upEvent(observer.mState):生命周期事件前进,计算出分发事件
//eg:STARTED状态计算出分发事件ON_RESUME
//分发事件 根据分发事件倒推出观察者新的状态,让观察者和宿主状态一样
observer.dispatchEvent(lifecycleOwner, upEvent(observer.mState));
popParentState();
}
}
}
end note
LifecycleRegistry.java -->LifecycleRegistry.java:
deactivate LifecycleRegistry.java
@enduml |
e7ec7f39d3e5d0ac0d5d04cb4f4d5460c9441028 | 3150c7ff97d773754f72dabc513854e2d4edbf04 | /P3/STUB_Yeste_Guerrero_Cabezas/libraries/concordion-2.1.1/src/test-dummies/java/spec/concordion/integration/junit4/junit4.plantuml | be52d2fe1f9e3480179954029d8cebee223714b6 | [
"WTFPL",
"Apache-2.0"
] | permissive | leRoderic/DS18 | c8aa97b9d376788961855d6d75996990b291bfde | 0800755c58f33572e04e7ce828770d19e7334745 | refs/heads/master | 2020-03-29T05:14:14.505578 | 2019-11-07T18:01:37 | 2019-11-07T18:01:37 | 149,574,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 807 | plantuml | @startuml
title __JUNIT4's Class Diagram__\n
package spec.concordion.integration.junit4 {
class Foo {
+ Foo()
+ dummyTest()
}
}
package spec.concordion.integration.junit4 {
class FooFixture {
+ FooFixture()
}
}
package spec.concordion.integration.junit4 {
class FooFixtureRecorder {
{static} - fooFixtureClass : String
{static} + getFooFixtureClass()
{static} + setFooFixtureClass()
}
}
package spec.concordion.integration.junit4 {
class FooTest {
+ FooTest()
+ dummyTest()
}
}
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
|
50fcf57eb76d5968119f91736cdf928edaba9c6b | 1e4af347653c6becd13e8f24a2d22d6244926c9e | /src/main/java/com/dekinci/eden/model/animal/ai/ai.plantuml | 3557f9e92c32096bc4472986fb49f9d25c95bdcf | [] | no_license | NeuroTeam/CyberEden | e0a686555f6871cfdd7af314c81e809b7620afc2 | 0b2bdcb3e9378b70e0905f3cf1bfe2f8f13be578 | refs/heads/master | 2020-03-09T11:33:52.160781 | 2018-06-01T22:32:21 | 2018-06-01T22:32:21 | 128,764,470 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,218 | plantuml | @startuml
title __AI's Class Diagram__\n
package com.dekinci.eden {
package com.dekinci.eden.model {
package com.dekinci.eden.model.animal {
package com.dekinci.eden.model.animal.ai {
class AnimalVision {
- grass : double[]
- hares : double[]
- wolfes : double[]
- land : double[]
- water : double[]
+ AnimalVision()
+ getjoined()
}
}
}
}
}
package com.dekinci.eden {
package com.dekinci.eden.model {
package com.dekinci.eden.model.animal {
package com.dekinci.eden.model.animal.ai {
class Brain {
+ Brain()
+ Brain()
+ breed()
+ makeDecision()
}
}
}
}
}
package com.dekinci.eden {
package com.dekinci.eden.model {
package com.dekinci.eden.model.animal {
package com.dekinci.eden.model.animal.ai {
class DoubleToGrayCode {
{static} - minValue : int
{static} - maxValue : int
{static} - size : int
{static} - bits : int
{static} - pieces : int
{static} + doubleToGC()
{static} + gCToDouble()
}
}
}
}
}
package com.dekinci.eden {
package com.dekinci.eden.model {
package com.dekinci.eden.model.animal {
package com.dekinci.eden.model.animal.ai {
class Genotype {
- genes : int[]
+ Genotype()
~ getGenes()
+ breed()
- crossover()
{static} - arrayExchange()
{static} - bitExchange()
- mutation()
}
}
}
}
}
package com.dekinci.eden {
package com.dekinci.eden.model {
package com.dekinci.eden.model.animal {
package com.dekinci.eden.model.animal.ai {
class NeuralNetwork {
- inputLayer : double[][]
- innerLayers : double[][][]
- outputLayer : double[][]
- inputSize : int
- innerSize : int
- outputSize : int
+ NeuralNetwork()
+ NeuralNetwork()
+ genotype()
+ calculate()
{static} - activationF()
}
}
}
}
}
package com.dekinci.eden {
package com.dekinci.eden.model {
package com.dekinci.eden.model.animal {
package com.dekinci.eden.model.animal.ai {
class VisionFactory {
- animalSight : int
+ VisionFactory()
+ seeBlocks()
+ seeGrass()
+ seeAnimals()
- getPoint()
}
}
}
}
}
Brain o-- NeuralNetwork : neuralNetwork
VisionFactory o-- Coordinate : c
VisionFactory o-- WorldMap : worldMap
VisionFactory o-- AnimalManager : manager
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
|
b8b7633790ee5afddbb423c63b0398372cd31218 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderPurchaseOrderNumberSetMessagePayload.puml | 4bcb4ba14157f4952c4610483902a12d09e99d91 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 520 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface OrderPurchaseOrderNumberSetMessagePayload [[OrderPurchaseOrderNumberSetMessagePayload.svg]] extends OrderMessagePayload {
type: String
purchaseOrderNumber: String
oldPurchaseOrderNumber: String
}
interface OrderMessagePayload [[OrderMessagePayload.svg]] {
type: String
}
@enduml
|
f60b612b53dee045e053f6f3082894abbcd00cf5 | 23c97d76d610506e2e089a2c6f777fc2cd770375 | /src/main/java/ex42/ex42plantuml.puml | d24023107cdc1a6ae943e74945ad3877da1a3f1b | [] | no_license | Alejo0829/Alvarez-Romero-cop33300-assignment3 | 4c53b5c0baca6556a27ea40b1e81b1be21b18537 | 899225b88cbb36d5dcfd05debf843aaa5c109686 | refs/heads/master | 2023-08-12T04:08:45.592761 | 2021-10-11T18:52:58 | 2021-10-11T18:52:58 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 434 | puml | /*
* UCF COP3330 Fall 2021 Assignment 3 Solutions
* Copyright 2021 Rafael Alvarez-Romero
*/
@startuml
abstract printOut
abstract outputText
class app
class employees {
Path: filePath
List: String: employeeList
List: Hashmap: employeeMap
setEmployeeList(array)
setEmployeeMap(array)
printMap(List: Hashmap)
+Employees()
}
app -|> Employees
Employees --> printOut
Employees --> outputText
@enduml |
b95c183f484ce3cfa349c42d05e76f817aa418ca | 0a1a1e1843ee60db878370f600de39a32bfe9d5e | /uml/Keys/FullKey.puml | 9a135cd979061e767349340ef0dd313118a4af0a | [] | no_license | claremacrae/RefactoringSamples | 8f3223ba2e3a732db3716d61e220655ea55c3721 | 13bce52b99c38105f6f48ea44daa3c7e1a2fc732 | refs/heads/master | 2023-03-30T17:39:37.358157 | 2021-04-07T12:17:11 | 2021-04-07T12:17:35 | 346,951,500 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 471 | puml | @startuml
class Key2 {
+ PublicField : int = 0
+ {static} PublicFieldStatic : int = 0
# ProtectedField : int = 0
# {static} ProtectedFieldStatic : int = 0
- _privateField : int = 0
- {static} _privateFieldStatic : int = 0
+ PublicMethod() : int
+ {static} PublicMethodStatic() : int
# ProtectedMethod() : int
# {static} ProtectedMethodStatic() : int
- PrivateMethod() : int
- {static} PrivateMethodStatic() : int
}
@enduml
|
290f9e9cbf94dc53d60c3e43f80f32b1e73cc5d1 | bdd433c3af2f10384f0a4fb06a6354b51a70750e | /plantuml/C4/includes/Repository/ITipRepository.puml | b9992d237e36474a2d337fcc37dc484b9236c359 | [] | no_license | I4PRJ4/I4PRJ4-plantuml | d6188b60011e5a5f6f3cf7853393cba43996dfbf | 2b528f0a911917d5ee61a6d0051d46ea59282c5a | refs/heads/master | 2023-05-14T13:43:29.403199 | 2021-06-03T10:33:59 | 2021-06-03T10:33:59 | 348,710,373 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 561 | puml | @startuml
interface ITipRepository {
+ GetTip(id:int?) : Task<Tip>
+ GetTips(id:int?, sortOrder:string) : Task<List<Tip>>
+ GetCourse(id:int?) : Task<Course>
+ GetTipsWithinSearchTerm(search:SearchDto) : Task<List<Tip>>
+ GetTipDetails(id:int?) : Task<Tip>
+ TipExists(id:int) : bool
+ GetUnmoderatedTips() : Task<List<Tip>>
+ SaveChanges() : void
+ DeleteTip(id:int) : Task
+ AddTip(tip:Tip) : Task
+ UpdateTip(tip:Tip) : Task
}
ITipRepository --> Tip
ITipRepository --> SearchDto
ITipRepository --> Course
@enduml
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.