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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
254cd4d1e4c5a036282e46be7f2d22bbdcd2752c | fbe1dfa9dc016367ee5c1bf32c4689bdfb9d868e | /calendar/calendar.plantuml | 8bfa020fd42841796c5c7c843dca5c00655decc5 | [] | no_license | 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 | 7,644 | plantuml | @startuml
namespace CalendarAPI {
class CalendarCalls << (S,Aquamarine) >> {
+ getEventList(calendarName string, srv *calendar.Service) (error, string, *calendar.CalendarList)
+ getDriverEvents(srv *calendar.Service, id string, startTime string, endTime string) []*calendar.Event
+ GetEvents(srv *calendar.Service, startTime string, endTime string, excludeCalendars []string) ([]*calendar.Event, []string)
+ GetDriverEventsByEmail(srv *calendar.Service, driver string, startTime string, endTime string) []*calendar.Event
+ GetFreeDrivers(db *gorm.DB, srv *calendar.Service, startTime *time.Time, duration time.Duration, excludeCalendars []string) ([]string, []int)
+ CreateCalendarEvent(srv *calendar.Service, summary string, location string, description string, driver string, startTime *time.Time, duration time.Duration) string
+ UpdateCalendarEvent(srv *calendar.Service, eventId string, summary string, location string, description string, driver string, startTime *time.Time, duration time.Duration, excludeCalendars []string)
+ GetDriversEmail(srv *calendar.Service, excludeCalendars []string) []string
+ GetCalendarClient(uid string) *calendar.Service
}
class FirestoreConnection << (S,Aquamarine) >> {
+ ConnectFirestore() *firestore.Client
+ GetRefreshToken(client *firestore.Client, uid string) string
+ getClientToken(client *firestore.Client, uid string, config *oauth2.Config) *http.Client
}
}
namespace Database {
class MySQLConnection << (S,Aquamarine) >> {
+ CreateConnection(creds, dbpass string) *gorm.DB
+ GetAllServices(db *gorm.DB) []Model.ServiceView
+ Summary(db *gorm.DB) string
+ getEventsMonth(db *gorm.DB, month string) []Model.ServiceView
+ GetAllServicesClient(db *gorm.DB, clientId int) []Model.ServiceView
+ GetAllUnpaidServices(db *gorm.DB) []Model.ServiceView
+ GetAllUnconfirmedServices(db *gorm.DB) []Model.ServiceView
+ GetEventById(db *gorm.DB, eventId int) Model.Service
+ GetDriver(db *gorm.DB, driverId int) Model.DriverUser
+ GetDriverByEmail(db *gorm.DB, emailDriver string) Model.DriverUser
+ GetFreeDrivers(db *gorm.DB, startTimeString string, endTimeString string) []Model.DriverUser
+ CreateService(db *gorm.DB, service Model.Service) int
+ CreateDriverFromList(db *gorm.DB, emails []string)
+ createDriverUser(db *gorm.DB, driver Model.DriverUser) int
+ CreateClientUser(db *gorm.DB, client Model.ClientUser) int
+ UpdateService(db *gorm.DB, service Model.Service) Model.Service
+ UpdateConfirmedTime(db *gorm.DB, service Model.Service) Model.Service
+ updatePayedTime(db *gorm.DB, serviceId int) Model.Service
+ updateEvent(db *gorm.DB, service Model.Service) Model.Service
+ updateDriver(db *gorm.DB, driver Model.DriverUser) Model.DriverUser
+ updateClient(db *gorm.DB, client Model.ClientUser) Model.ClientUser
+ updateDriverForService(db *gorm.DB, driverId int, serviceId int) Model.Service
+ printServices(services []Model.ServiceView)
}
}
namespace Model {
class CalendarRequest << (S,Aquamarine) >> {
+ Flow string
+ UserId string
+ Service Service
+ Client ClientUser
}
class ClientUser << (S,Aquamarine) >> {
+ UserId int
+ Name string
+ Email string
+ Phone string
+ Country string
+ Role string
}
class DateType << (S,Aquamarine) >> {
+ String() string
}
class DriverUser << (S,Aquamarine) >> {
+ UserId int
+ Name string
+ Email string
+ Phone string
+ Country string
+ Role string
}
class FreeDriversResponse << (S,Aquamarine) >> {
+ DriversIds []int
+ DriversNames []string
}
class Model.DateType << (T, #FF7700) >> {
}
class Service << (S,Aquamarine) >> {
+ ServiceId int
+ Origin string
+ Destination string
+ ClientId int
+ DriverId int
+ Description string
+ ServiceDatetime *time.Time
+ CalendarEvent string
+ PayedDatetime *time.Time
+ BasePrice float32
+ ExtraPrice float32
+ ConfirmedDatetime *time.Time
+ Passengers int
+ SpecialNeeds string
}
class ServiceView << (S,Aquamarine) >> {
+ ServiceId int
+ Origin string
+ Destination string
+ DriverId int
+ DriverName string
+ DriverPhone string
+ DriverMail string
+ DriverCountry string
+ ClientId int
+ ClientName string
+ ClientPhone string
+ ClientMail string
+ ClientCountry string
+ Description string
+ ServiceDatetime *time.Time
+ CalendarEvent string
+ CalendarDatetime *time.Time
+ PayedDatetime *time.Time
+ BasePrice float32
+ ExtraPrice float32
+ ConfirmedDatetime *time.Time
+ Passengers int
+ SpecialNeeds string
}
class Summary << (S,Aquamarine) >> {
+ AnualIncome int
+ MonthlyIncome []int
+ ActualMonthIncome int
+ UnconfirmedEvents int
}
class "time.Time" as timeTime {
'This class was created so that we can correctly have an alias pointing to this name. Since it contains dots that can break namespaces
}
}
"Model.CalendarRequest""uses" o-- "Model.ClientUser"
"Model.CalendarRequest""uses" o-- "Model.Service"
"Model.Service""uses" o-- "time.Time"
"Model.ServiceView""uses" o-- "time.Time"
"RabbitMQ.CalendarConsumer""uses" o-- "Database.MySQLConnection"
"RabbitMQ.CalendarConsumer""uses" o-- "RabbitMQ.RabbitMQConnection"
"RabbitMQ.CalendarConsumer""uses" o-- "Firestore.FirestoreConnection"
"RabbitMQ.CalendarConsumer""uses" o-- "CalendarAPI.CalendarCalls"
"RabbitMQ.CalendarConsumer""uses" o-- "Model"
"CalendarAPI.FirestoreConnection""uses" o-- "Utils.Credentials"
namespace RabbitMQ {
class CalendarConsumer << (S,Aquamarine) >> {
+ Consume(body string, db *gorm.DB) string
+ summary(db *gorm.DB) string
+ setupDrivers(db *gorm.DB, calendarClient *calendar.Service, excludeEmails []string) string
+ confirmService(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest) string
+ createCalendarEvent(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest, id int)
+ modifyService(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest, excludeEmails []string)
+ createNewServiceDB(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest) string
+ getFreeDrivers(db *gorm.DB, calendarClient *calendar.Service, request Model.CalendarRequest, excludeEmails []string) string
+ getEventsMonth(calendarClient *calendar.Service, request Model.CalendarRequest, excludeEmails []string) string
+ getEventById(db *gorm.DB, request Model.CalendarRequest) string
}
class RabbitMQConnection << (S,Aquamarine) >> {
+ failOnError(err error, msg string)
+ Connect(db *gorm.DB)
+ publishMessage(err error, ch *amqp.Channel, d amqp.Delivery, response string)
}
}
namespace Utils {
class Credentials << (S,Aquamarine) >> {
- user string
- password string
- hostname string
- port string
- database string
}
}
"Model.timeTime" #.. "alias of""Model.DateType"
@enduml
|
cc955373bab30dae2e8bd421e2ac022226acdca0 | cd2efefc85cd057fdf39448ccd0f51b0eff745a1 | /src/main/java/com/author/kurtkalwin/datastore/Exceptions/Exceptions.plantuml | 203a962f4ca3cb683936f4ef1dead7bd47f1a800 | [
"MIT"
] | permissive | KurtKalwin/localDataStore | 8b57974a9d584a5506c7a479c4bc85a6e4b55b2c | bf4d62485545616622b492afc400b35e61bb8137 | refs/heads/main | 2023-02-12T15:19:43.288616 | 2021-01-03T14:28:44 | 2021-01-03T14:28:44 | 325,941,456 | 0 | 0 | MIT | 2021-01-03T13:26:49 | 2021-01-01T08:14:59 | Java | UTF-8 | PlantUML | false | false | 907 | plantuml | @startuml
title __EXCEPTIONS's Class Diagram__\n
namespace com.author.kurtkalwin.datastore {
namespace Exceptions {
class com.author.kurtkalwin.datastore.Exceptions.InvalidKeyException {
+ exceptionMsg : String
+ InvalidKeyException()
}
}
}
namespace com.author.kurtkalwin.datastore {
namespace Exceptions {
class com.author.kurtkalwin.datastore.Exceptions.JSONSizeLimitExceededException {
}
}
}
namespace com.author.kurtkalwin.datastore {
namespace Exceptions {
class com.author.kurtkalwin.datastore.Exceptions.LocalStorageSizeExceededException {
+ LocalStorageSizeExceededException()
}
}
}
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
|
eb00e01ab6214976f83bbb640b0b532a02eaa562 | e9f921eff961434ca44d7cf8c7d0e48cfbbbad30 | /src/sample/sample.plantuml | b1247fe5548a948bbf6c716e429637ebd9dd0a07 | [] | no_license | ragvigupta/MovieJavafx | e030f53f09150d62da2b648e7b5db21c676bbd23 | b9458765cc06ade78a80b81934f516514ec7209c | refs/heads/master | 2023-07-02T06:18:07.789824 | 2021-08-15T11:46:01 | 2021-08-15T11:46:01 | 396,332,695 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 15,731 | plantuml | @startuml
title __SAMPLE's Class Diagram__\n
namespace sample {
class sample.CommonMethods {
{static} + confirmed : boolean
{static} + connection : connectionController
{static} + disablelogin : boolean
{static} + leftpanecolor : String
{static} + loggedout : boolean
{static} + running : boolean
{static} + server : Server
{static} + username : String
{static} # page : String
- initialx : double
- initialy : double
- loading : boolean
- rotatedpane : boolean
+ btnEffect()
+ btnExit()
+ btnHover()
+ customiseWindowButtons()
+ disableAllFocus()
+ displayUserName()
+ findPane()
+ handleClose()
+ loadScene()
+ logOut()
+ makeBtnFly()
+ minimiseWindow()
+ moveWindow()
+ popButton()
+ popNode()
+ tileExit()
+ tileHover()
- loadLogin()
}
}
namespace sample {
class sample.Main {
{static} + main()
+ start()
}
}
namespace sample {
class sample.MovieData {
- seats : boolean[]
- slotid : int
- stdnseats : int
+ MovieData()
+ getSeats()
+ getSlotid()
+ getStdnseats()
+ getTotalseats()
+ getVipseats()
+ setSeats()
+ setSlotid()
+ setStdnseats()
}
}
namespace sample {
class sample.MovieImages {
- id : int
- image : Image
+ MovieImages()
+ getId()
+ getImage()
}
}
namespace sample {
class sample.MovieObject {
- duration : String
- id : int
- image : Image
- name : String
- rating : double
- repeats : int
- slots_seats : Map<String, MovieData>
- status : String
- ticketsold : int
+ MovieObject()
+ addSlot()
+ getDuration()
+ getImage()
+ getName()
+ getRating()
+ getRepeats()
+ getSlots()
+ getStatus()
+ getTicketsold()
+ setDuration()
+ setImage()
+ setImage()
+ setImageUrl()
+ setName()
+ setRating()
+ setRepeats()
+ setSlots()
+ setStatus()
+ setTicketsold()
}
}
namespace sample {
class sample.Server {
~ list : ArrayList<MovieObject>
~ movieimages : ArrayList<MovieImages>
+ Server()
+ checkLocalImage()
+ findMovie()
+ getAvailableSeats()
+ getBookings()
+ getCurrentMovieName()
+ getCurrentTime()
+ getCurrentTimeslot()
+ getDefaultMovie()
+ getDuration()
+ getEmptySeats()
+ getImage()
+ getMovieNames()
+ getMovieSlot()
+ getNextMovie()
+ getNumberOfSlots()
+ getRating()
+ getRepeats()
+ getSlotID()
+ getStatus()
+ getTicketSold()
+ getTitle()
+ initialise()
+ setStdBookings()
+ setVipBookings()
}
}
namespace sample {
enum Timetable {
SCREEN1_SLOT1
SCREEN1_SLOT2
SCREEN1_SLOT3
SCREEN1_SLOT4
SCREEN2_SLOT1
SCREEN2_SLOT2
SCREEN2_SLOT3
SCREEN2_SLOT4
SCREEN3_SLOT1
SCREEN3_SLOT2
SCREEN3_SLOT3
SCREEN3_SLOT4
x
y
}
}
namespace sample {
class sample.checkoutController {
{static} + adulttickets : int
{static} + childtickets : int
{static} + ismovieselected : boolean
{static} + issuedticket : boolean
{static} + isvip : boolean
{static} + seatsselected : boolean
{static} + selectedmovie : String
{static} + selectedscreen : String
{static} + selectedtime : String
{static} + seniortickets : int
{static} + totalprice : double
- adultcombo : JFXComboBox
- adultprice : double
- adultpricelabel : Label
- checkbox : JFXCheckBox
- checkoutbtn : JFXButton
- childcombo : JFXComboBox
- childprice : double
- childpricelabel : Label
- closebtn : JFXButton
- datelabel : Label
- errorlabel : Label
- hided : boolean
- homebtn : JFXButton
- leftpane : AnchorPane
- logoutbtn : JFXButton
- mainpane : AnchorPane
- minimisebtn : JFXButton
- movieCombo : JFXComboBox
- movieImage : ImageView
- moviePane : AnchorPane
- moviescreensbtn : JFXButton
- resetbtn : JFXButton
- screenlabel : Label
- seatscontent : AnchorPane
- selectPane : AnchorPane
- seniorcombo : JFXComboBox
- seniorprice : double
- seniorpricelabel : Label
- startImage : Rectangle
- startText : Label
- ticketPriceLabel : Label
- timelabel : Label
- toppane : AnchorPane
- userlabel : Label
- viewscreensbtn : JFXButton
- vipextra : double
- viptogglebtn : JFXToggleButton
+ checkTimeslots()
{static} + getSelectedMovieSlot()
+ handleChoice()
+ handleVIP()
+ initialize()
+ movieDetails()
+ resetPage()
+ showPopUp()
+ validatePage()
- fadeErrorLabel()
- setUpLogic()
- updatePrices()
}
}
namespace sample {
class sample.connectionController {
{static} + serverUrl : String
~ client : HttpClient
+ connectionController()
+ getData()
+ getFile()
}
}
namespace sample {
class sample.homeController {
{static} + viewmovie : boolean
{static} + viewmoviename : String
- addbtn : JFXButton
- closebtn : JFXButton
- datelabel : Label
- duration1 : Duration
- duration2 : Duration
- duration3 : Duration
- imageshifted : boolean[]
- infopanes : AnchorPane[]
- issuebtns : JFXButton[]
- leftpane : AnchorPane
- mainhomepane : AnchorPane
- minimisebtn : JFXButton
- moviescreensbtn : JFXButton
- p1 : AnchorPane
- p1shadow : AnchorPane
- p2 : AnchorPane
- p2shadow : AnchorPane
- p3 : AnchorPane
- p3shadow : AnchorPane
- rotatedpane : boolean
- s1availableseats : Label
- s1infopane : AnchorPane
- s1issuebtn : JFXButton
- s1movieduration : Label
- s1movieimage : ImageView
- s1moviename : Label
- s1nextmovie : Label
- s1rating : Label
- s1repeatsleft : Label
- s1status : Label
- s1tile1 : AnchorPane
- s1tile2 : AnchorPane
- s1tile3 : AnchorPane
- s1tile4 : AnchorPane
- s1tile5 : AnchorPane
- s1tile6 : AnchorPane
- s1timeremaining : Label
- s1timeslot : Label
- s2availableseats : Label
- s2infopane : AnchorPane
- s2issuebtn : JFXButton
- s2movieduration : Label
- s2movieimage : ImageView
- s2moviename : Label
- s2nextmovie : Label
- s2rating : Label
- s2repeatsleft : Label
- s2status : Label
- s2tile1 : AnchorPane
- s2tile2 : AnchorPane
- s2tile3 : AnchorPane
- s2tile4 : AnchorPane
- s2tile5 : AnchorPane
- s2tile6 : AnchorPane
- s2timeremaining : Label
- s2timeslot : Label
- s3availableseats : Label
- s3infopane : AnchorPane
- s3issuebtn : JFXButton
- s3movieduration : Label
- s3movieimage : ImageView
- s3moviename : Label
- s3nextmovie : Label
- s3rating : Label
- s3repeatsleft : Label
- s3status : Label
- s3tile1 : AnchorPane
- s3tile2 : AnchorPane
- s3tile3 : AnchorPane
- s3tile4 : AnchorPane
- s3tile5 : AnchorPane
- s3tile6 : AnchorPane
- s3timeremaining : Label
- s3timeslot : Label
- tabpane : JFXTabPane
- tiles : AnchorPane[]
- timelabel : Label
- todaysdate : String
- todaystime : String
- toppane : AnchorPane
- userlabel : Label
- x : double
- y : double
+ addShiftImagdeEffect()
+ getImageShiftTransitions()
+ initialize()
+ populateScreens()
+ rotatePane()
+ setIssueTicketsActions()
+ setTimer()
+ setUpArrays()
+ setUpTiles()
+ shiftImage()
+ transitionImage()
+ viewMovieScreens()
- animate()
- displayTime()
- popNode()
}
}
namespace sample {
class sample.loginController {
- closebtn : JFXButton
- errorlabel : Label
- forgotpassword : Label
- loginbtn : JFXButton
- loginsuccess : boolean
- mainloginpane : AnchorPane
- minimisebtn : JFXButton
- passfield : JFXPasswordField
- progressbar : JFXProgressBar
- stackpane : StackPane
- userfield : JFXTextField
- vanished : boolean
+ initialize()
+ showDialog()
+ staffLogin()
- animateLogin()
- checkUser()
- fieldListners()
- loadHome()
}
}
namespace sample {
class sample.logoutController {
- closebtn : JFXButton
- logoutpane : AnchorPane
- nobtn : JFXButton
- yesbtn : JFXButton
+ handleConfirmation()
+ initialize()
}
}
namespace sample {
class sample.moviesController {
{static} + currentmovie : String
{static} + slotseatNo : int
- SLOT1 : AnchorPane
- SLOT2 : AnchorPane
- SLOT3 : AnchorPane
- SLOT4 : AnchorPane
- addbtn : JFXButton
- allschedulesbtn : JFXButton
- closebtn : JFXButton
- currentslots : int
- detailsbtn : JFXButton
- faded : boolean
- homebtn : JFXButton
- issueticketbtn : JFXButton
- leftpane : AnchorPane
- logoutbtn : JFXButton
- mainmoviespane : AnchorPane
- minimisebtn : JFXButton
- movieduration : Label
- movieimage : ImageView
- movienames : String[]
- moviepane : AnchorPane
- movierating : Label
- movierepeats : Label
- movieticketsold : Label
- movietitle : Label
- searchfield : JFXTextField
- searchicon : JFXButton
- showingall : boolean
- slot1shadow : AnchorPane
- slot2shadow : AnchorPane
- slot3shadow : AnchorPane
- slot4shadow : AnchorPane
- tablepane : AnchorPane
- toppane : AnchorPane
- userlabel : Label
+ animate()
+ fadeEffect()
+ initialize()
+ issueTicket()
+ rollEffect()
+ showAllSchedule()
+ slotsEffect()
+ startSearch()
- animateTable()
- assignPane()
- fadeMovieNodes()
- getCurrentPanes()
- getLocationOnTable()
- getSlotsFadeArray()
- goToAddPage()
- mouseEnteredEffect()
- mouseExitedEffect()
- searchMovie()
- setDefaultMovie()
- setMovie()
- setScreenName()
- setSubPane()
- setTimeName()
- setTimeSlots()
- viewMovieOnWeb()
}
}
namespace sample {
class sample.paymentController {
+ expmonthbox : JFXComboBox
+ expyearbox : JFXComboBox
{static} + reversemethod : boolean
{static} + scene : String
- adultslabel : Label
- backcardbtn : JFXButton
- backcashbtn : JFXButton
- cancelbtn : JFXButton
- cardfield : JFXTextField
- cardimage : ImageView
- cardpayment : AnchorPane
- cashimage : ImageView
- cashpayment : AnchorPane
- changefield : JFXTextField
- childslabel : Label
- closebtn : JFXButton
- cvvfield : JFXTextField
- emailfield : JFXTextField
- errorlabel : Label
- firstnamefield : JFXTextField
- handledpayment : boolean
- hided : boolean
- insidepane : AnchorPane
- lastnamefield : JFXTextField
- mainpane : AnchorPane
- methodpane : AnchorPane
- moneytaken : boolean
- moveto : String
- pencefield : JFXTextField
- placeorderbtn : JFXButton
- poundsfield : JFXTextField
- printing : boolean
- selectedimage : ImageView
- seniorslabel : Label
- stackpane : StackPane
- toppane : AnchorPane
- totalpricelabel : Label
- viplabel : Label
+ animate()
+ cancelOrder()
+ handleButtons()
+ initialize()
- fadeErrorLabel()
- isValidEmailAddress()
- load()
- loadUpData()
- printReceipt()
- processTicketData()
- roll()
- scaleImage()
- setCardpageLogic()
- setErrorLabelLogic()
- setNumericFieldValidation()
- setTextFieldValidation()
- setUpCardPage()
- setUpCashPage()
- showDialog()
- updateChangeField()
- validateCardPage()
- validateCashPage()
}
}
namespace sample {
class sample.seatsController {
{static} + booked : boolean[]
{static} + bookings : boolean[]
- E1 : JFXButton
- E10 : JFXButton
- E2 : JFXButton
- E3 : JFXButton
- E4 : JFXButton
- E5 : JFXButton
- E6 : JFXButton
- E7 : JFXButton
- E8 : JFXButton
- E9 : JFXButton
- F1 : JFXButton
- F10 : JFXButton
- F2 : JFXButton
- F3 : JFXButton
- F4 : JFXButton
- F5 : JFXButton
- F6 : JFXButton
- F7 : JFXButton
- F8 : JFXButton
- F9 : JFXButton
- cancelbtn : JFXButton
- confirmbtn : JFXButton
- limiterror : Label
- mainpane : AnchorPane
- maxseats : int
- movietitle : Label
- numberofseats : int
- seats : JFXButton[]
- seatsselected : Label
- totalprice : Label
- totaltickets : Label
+ handleCancellation()
+ handleConfirmation()
+ initialize()
- initialiseArray()
- popSeat()
- setBookedSeats()
- setUpSeats()
}
}
sample.Main -up-|> javafx.application.Application
sample.checkoutController .up.|> javafx.fxml.Initializable
sample.checkoutController -up-|> sample.CommonMethods
sample.homeController .up.|> javafx.fxml.Initializable
sample.homeController -up-|> sample.CommonMethods
sample.loginController .up.|> javafx.fxml.Initializable
sample.loginController -up-|> sample.CommonMethods
sample.logoutController .up.|> javafx.fxml.Initializable
sample.logoutController -up-|> sample.CommonMethods
sample.moviesController .up.|> javafx.fxml.Initializable
sample.moviesController -up-|> sample.CommonMethods
sample.paymentController .up.|> javafx.fxml.Initializable
sample.paymentController -up-|> sample.CommonMethods
sample.seatsController .up.|> javafx.fxml.Initializable
sample.seatsController -up-|> sample.CommonMethods
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
|
35346712e35caeb1f7b90b1faccc401ffb1c3973 | 169dfde296af00e767227be2b613f0d1b85430c4 | /plantuml/src/Koos.Services/Extensions.puml | 8e7298c47a9f52352b8740fcd8673bab5db70a18 | [
"MIT"
] | permissive | thild/koos | 2ab531346e3b2abe8480425320ae0f7857cc2c90 | 294e86b47a9d815d33bf807e1b30488356006aff | refs/heads/master | 2021-07-08T22:46:05.193444 | 2020-11-10T16:10:20 | 2020-11-10T16:10:20 | 211,979,334 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 106 | puml | @startuml
class Extensions <<static>> {
+ {static} Fill(dest:TDest, source:TSource) : TDest
}
@enduml
|
3484c8df4862b8bd6f609a3aa86630373648240d | cc7061bd2972740e2714aeeb07bc0c0cc714a0eb | /core/core.plantuml | 414f370cdc86c50b587aacef7d72228b56a06cc9 | [] | no_license | DevHamx/Code-Adventure | 315df6ba937f11cfaee1ef5ed3ac75e9abc85e23 | ed9d79504bbdac49d11fe84fa4819b59e61fd585 | refs/heads/master | 2020-06-11T14:09:42.109347 | 2019-06-26T23:56:10 | 2019-06-26T23:56:10 | 193,993,091 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 4,652 | plantuml | @startuml
title __CORE's Class Diagram__\n
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Adventurer {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Assets {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class ChaseCam {
}
}
}
package com.code.adventure.game {
class ChooseLevelScreen {
}
}
package com.code.adventure.game {
class CodeAdventureGame {
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Constants {
}
}
}
package com.code.adventure.game {
class DeathScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class DoWhileLoop {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Enemy {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Enums {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class ForLoop {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class GamePlayHud {
}
}
}
package com.code.adventure.game {
class GameplayScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Item {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Key {
}
}
}
package com.code.adventure.game {
class Level {
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class LevelLoader {
}
}
}
package com.code.adventure.game {
class MainMenuScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class OnscreenControls {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Path {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.entities {
class Platform {
}
}
}
package com.code.adventure.game {
class QuizScreen {
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class TextureMapObjectRenderer {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.util {
class Utils {
}
}
}
package com.code.adventure.game {
package com.code.adventure.game.overlays {
class WhileLoop {
}
}
}
Adventurer o-- Level : level
Adventurer o-- Direction : facing
Adventurer o-- WalkState : walkState
Adventurer o-- JumpState : jumpState
Adventurer o-- AttackState : attackState
Adventurer o-- Enemy : nearEnemy
Adventurer o-- Item : item
Assets -up-|> Disposable
Assets -up-|> AssetErrorListener
Assets o-- AdventurerAssets : adventurerAssets
Assets o-- GameAssests : gameAssests
Assets o-- UiAssests : uiAssests
Assets o-- ItemAssests : itemAssests
Assets o-- OnscreenControlsAssets : onscreenControlsAssets
Assets o-- EnemyAssests : enemyAssests
ChaseCam o-- Adventurer : target
ChooseLevelScreen -up-|> ScreenAdapter
ChooseLevelScreen o-- CodeAdventureGame : game
CodeAdventureGame -up-|> Game
DeathScreen -up-|> ScreenAdapter
DeathScreen o-- CodeAdventureGame : game
DoWhileLoop -up-|> Stage
Enemy -up-|> Item
ForLoop -up-|> Stage
GameplayScreen -up-|> InputProcessor
GameplayScreen -up-|> ScreenAdapter
GameplayScreen o-- CodeAdventureGame : game
GameplayScreen o-- Level : level
GameplayScreen o-- OnscreenControls : onscreenControls
GameplayScreen o-- GamePlayHud : hud
GameplayScreen o-- ChaseCam : chaseCam
Key -up-|> Item
Level o-- GameplayScreen : gameplayScreen
MainMenuScreen -up-|> ScreenAdapter
MainMenuScreen o-- CodeAdventureGame : game
OnscreenControls -up-|> InputAdapter
OnscreenControls o-- Adventurer : adventurer
Path -up-|> Item
QuizScreen -up-|> ScreenAdapter
QuizScreen o-- CodeAdventureGame : game
TextureMapObjectRenderer -up-|> OrthogonalTiledMapRenderer
WhileLoop -up-|> Stage
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
|
59410cae0b1471a79367a5767cde0472a05c4fb6 | 03e9091fe6dd1b0b01f42459386b4cade42a2650 | /src/ast/doc/cdd/ast_static.puml | 7a790febc78568f095f2d8a01d966c1f69351f00 | [] | no_license | KateVeremiichuk/Calculator | ba0e3d46ee0aef5d99e1d79ef982ed1507b101fb | e29f9e67108ed744bf3a086964fb32d14e0ad208 | refs/heads/master | 2020-09-23T16:35:45.602119 | 2019-12-03T08:30:51 | 2019-12-03T08:30:51 | 225,541,336 | 0 | 0 | null | 2019-12-03T08:30:52 | 2019-12-03T05:50:24 | Java | UTF-8 | PlantUML | false | false | 201 | puml | @startuml
interface INode {
+ {abstract} eval() : double
}
class TNode {
+ eval() : double
- m_body : function
- m_child_nodes : array<unique_ptr<INode>>
}
TNode --|> INode
@enduml
|
faa34ec90fe497c7dad3951ab8ae24dd489ac191 | 124fc38c55a18db57b00f773b29c0e62bf69b262 | /mq.puml | 25f114957cdf608755d6500fe88469f08b7f41e0 | [] | no_license | sillyhatxu/mini-mq | 86566ae119fb500cb94bfc4a84a4e8a743cc4d92 | a9def151c7263fb0e11c2e3e45ddff27717dbf56 | refs/heads/master | 2020-07-07T15:07:47.219757 | 2019-09-21T11:45:54 | 2019-09-21T11:45:54 | 203,384,178 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 332 | puml | @startuml
class TopicConf {
' -Topic
#Topic
#Offset: total offset
' ~method1()
' +method2()
}
class TopicGroup {
#Topic
#Group
#Offset : current consume offset
#ConsumerCount
}
class TopicDataA {
#Topic
#Group
#Offset: current data offset
' #ConsumerCount
}
TopicConf <|-- TopicDataA
TopicDataA <|-- TopicGroup
@enduml |
e448d1b01de0ccba416ffcabf8c583eea1ff9a43 | 1ff534bd13d4172dbb7b2472bc664fd20c298806 | /rospace_documentation/design/propagator-class-diagram.puml | 380a2e185ed1fafa232d011092a0b3d2c01dc7e6 | [
"Zlib"
] | permissive | eSpace-epfl/rospace-core | be7e821e22ea821181abb042e31f7df51eb93098 | abf01756f81113cb4822bc7e09b0d75f2c9676d8 | refs/heads/master | 2020-04-17T03:39:35.265865 | 2018-12-19T18:48:33 | 2018-12-19T18:48:33 | 166,194,441 | 3 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 5,093 | puml | @startuml
' Copyright (c) 2018, Christian Lanegger (christian.lanegger@epfl.ch)
'
' @license zlib license
'
' This file is licensed under the terms of the zlib license.
' See the LICENSE.md file in the root of this repository
' for complete details.
skinparam ClassBackgroundColor #F3EFEB/E1D5E7
skinparam ClassBorderColor #5F4869
skinparam ClassArrowColor #5F4869
skinparam NoteBackgroundColor #F3EFEB
skinparam NoteBorderColor #5F4869
skinparam NoteFontColor #5F4869
skinparam PackageFontSize 12
skinparam ClassFontSize 11
package ROSpace_core #F5F5F5{
package rospace_nodes.propagator #DDEBD8 {
class PropagatorNode << (N,#3F8DCD) >>
interface Builder {
+{abstract} _buid_state()
+{abstract} _build_integrator()
+{abstract} _build_propagator()
+{abstract} _get_propagator()
}
class PropagatorBuilder {
+ _build_force_model_X()
}
class OrekitPropagator {
+propagator_num : NumericalPropagator
-external_torque : numpy.array
-induced_thrust : numpy.array
-isp_value : float
+init_jvm()
+initialize(spc_name : String, prop_settings : Dict, init_coords : Dict, epoch : datetime)
+propagate(epoch : datetime)
-_calculate_thrust()
-_calculate_external_torque()
-_calculate_magnetic_field(date : AbsoluteDate) : Vector3D
-_write_satellite_state(state : SpacecraftState) : List
}
class NumericalPropagator {
+state : SpacecraftState
+propagate(epoch : AbsoluteDate)
+getAttitude(orbit : OrbitType , epoch : AbsoluteDate, frame : Frame)
+getInitialState() : SpacecraftState
+setInitialState() : SpacecraftState
}
interface AttitudeProvider {
+{abstract}getAttitude(pvProv : PVCoordinatesProvider, epoch : AbsoluteDate, frame : Frame)
}
class AttitudePropagation {
}
class StateObserver {
+state : SpacecraftState
}
interface ForceModel {
+{abstract}addContribution(s : SpacecraftState, adder :)
}
interface DisturbanceTorques {
+{abstract}compute_torques(rot : Rotation, spin : numpy.array, dt : float) : Vector3D
-{abstract}compute_gravity_torque(epoch : AbsoluteDate)
-{abstract}compute_magnetic_torque(epoch : AbsoluteDate)
-{abstract}compute_solar_torque(epoch : AbsoluteDate)
-{abstract}compute_aero_torque(epoch : AbsoluteDate , spin : numpy.array)
}
class DisturbanceTorquesArray {
+update_satellite_state(integration_date : AbsoluteDate)
-_initialize_dipole_model(model : Dict)
}
}
package rospace_lib #DDEBD8 {
package misc #D5E8E4 {
class FileDataHandler {
-_data_checklist : Dict
-_mag_field_coll : Collection
-_mg_field_model : GeoMagneticField
+{static}load_magnetic_field_models(epoch : AbsoluteDate)
+{static}create_data_validity_checklist()
+{static}check_data_availability(epoch : datetime)
}
abstract Spacecrafts {
+mass : Float
+propagator_settings : Dict
+init_coords : Dict
-_last_state : List
-_propagator : NumericalPropagator
+build_propagator(init_epoch : datetime)
+propagate(epoch_now : datetime)
}
class Simulator_Spacecraft {
+publishers : Publisher
+build_communication()
+publish()
}
}
package clock #D5E8E4 {
class SimTimePublisher {
-updater : SimTimeUpdater
-service : SimTimeService
+set_up_simulation_time()
+update_simulation_time() : Datetime
+sleep_to_keep_frequency()
}
}
}
package Rospy #DDEBD8 {
class Publisher {
+publish(msg : Message)
}
class Subscriber
}
Spacecrafts <|-- Simulator_Spacecraft
Simulator_Spacecraft --> OrekitPropagator
Publisher <-- Simulator_Spacecraft
Subscriber <-- Simulator_Spacecraft
' Simulator_Spacecraft --> Publisher
' Simulator_Spacecraft --> Subscriber
Simulator_Spacecraft --* PropagatorNode
SimTimePublisher <-- PropagatorNode
PropagatorNode o-- FileDataHandler
OrekitPropagator --> NumericalPropagator
OrekitPropagator o-- PropagatorBuilder
PropagatorBuilder ..|> Builder
PropagatorBuilder --> NumericalPropagator
NumericalPropagator *-- AttitudePropagation
AttitudePropagation ..|> AttitudeProvider
AttitudePropagation --> DisturbanceTorquesArray
AttitudePropagation *-- StateObserver
DisturbanceTorquesArray ..|> DisturbanceTorques
StateObserver ..|> ForceModel
' OrekitPropagator .[hidden]up. PropagatorNode
@enduml
|
99b34afa5baf7f671f35289cdb97a2962d30f7a5 | 77cfcf0f78ad59a352283644e4c1382fce87eb70 | /resources/uml/classes.puml | 4b8946fefc208f64d0a5a29ebc9cf601829e395e | [] | no_license | Gabryss/Force-3 | 17a9a8edf783396e8a2852733e303866f949eddc | f178978e71c54c0d09a4f429685b0115679c58ea | refs/heads/master | 2022-10-13T23:37:54.039474 | 2020-06-14T12:03:08 | 2020-06-14T12:03:08 | 260,274,728 | 2 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,810 | puml | @startuml
class GameManager {
+ gameBoard: GameBoard
+ players: Player[2]
+ gameType: GameType
+ view: View
---
}
class GameBoard {
+ grid: Cell[3][3]
+ pawns: Pawn[2][3]
+ previousMove: Move
---
}
class Player {
+ color: Color
+ selector: Selector
+ isTurnActive: boolean
---
}
class ArtificialIntelligence extends Player {
+ deepness: int
---
}
class View {
pygame images
---
}
class Cell {
+ position: Position
+ type: string
---
}
class Square extends Cell {
---
}
class Pawn extends Cell {
+ color: Color
---
}
class Selector {
+ position: Position
+ minLine: int
+ maxLine: int
+ isActive: boolean
+ activeCell: Cell
---
}
class Position {
+ x: int
+ y: int
---
}
enum Color {
+ BLACK
+ WHITE
}
enum Config {
+ RESEARCH_DEPTH_PLAYER_VS_AI
+ RESEARCH_DEPTH_AI_VS_AI
+ AI_PAUSE_TIME
}
enum Direction {
+ UP
+ DOWN
+ LEFT
+ RIGHT
}
class GameStatus {
+ status: StatusType
+ winType: WinType
+ winner: Color
---
}
enum GameType {
+ QUIT
+ PLAYER_VS_PLAYER
+ PLAYER_VS_AI
+ AI_VS_AI
}
class Move {
+ start: Position
+ end: Position
+ moveType: MoveType
+ direction: Direction
---
}
enum MoveType {
+ PUT_UNUSED_PAWN_ON_SQUARE
+ PUT_USED_PAWN_ON_SQUARE
+ SIMPLE_SLIDE
+ DOUBLE_SLIDE
}
enum StatusType {
+ ONGOING
+ END
}
enum Window {
+ WIDTH
+ HEIGHT
+ GRID_WIDTH
+ GRID_HEIGHT
}
enum WinType {
+ LINE
+ COLUMN
+ DIAGONAL
+ REVERSE_COLUMN
}
GameManager *-- GameBoard
GameManager *-- Player
GameManager *-- View
GameBoard *-- Cell
Player *-- Selector
Player *-- Color
Cell *-- Position
Pawn *-- Color
Selector *-- Position
GameStatus *-- Color
GameStatus *-- StatusType
GameStatus *-- WinType
Move *-- Position
Move *-- MoveType
Move *-- Direction
GameManager <.. Config
GameManager <.. GameType
GameManager <.. StatusType
View <.. Window
GameBoard <.. GameStatus
GameBoard <.. Move
Selector <.. Move
@enduml |
1cf914b7b857c56d2c197b681303334b0f177c0b | 4b319af61aaebff8f2e8f9bf170145c86601dbfb | /sprint_5/srcdoc/diag0.puml | e13ab7ffca8ef6ded9925539ef571dd5b8b09e2f | [] | no_license | IUT-Blagnac/MPA2014G2A1 | 9f3cab7e4337f727c1363a19444481e88db8d5f1 | 576bdebbfa949129f3ba8b3c8632ec9227e328e0 | refs/heads/master | 2016-09-05T21:53:37.882918 | 2014-11-07T09:20:07 | 2014-11-07T09:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 616 | puml | '-----------------------------------
' UML concepts illustrated
' JMB 2014
'-----------------------------------
@startuml
'-----------------------------------
class ETUDIANTS {
nomEtu
prenomEtu
numEtu
}
class INTERVENANTS {
nomInt
prenomInt
numInt
}
class GROUPES {
numGr
}
class SUJETS {
idSujet
nomSuj
titreSuj
}
ETUDIANTS -- GROUPES
INTERVENANTS -- GROUPES
GROUPES -- SUJETS
(GROUPES, SUJETS) .. PROJET
'-----------------------------------
@enduml
'----------------------------------- |
b08b53124e80c24747012b56eab930f8846c54d7 | 9ba5a70195ff44b6f685bffbb375bedc75e379b8 | /devfile.plantuml | afbf98af6a84262ae6c557a67ca479aee237d739 | [] | no_license | redhat-developer/devfile | 30c8afb76997fd3ba0e4c0392504f184989f76f1 | 2c72a9cd5137174b44a732e4b0aee6bd7645317a | refs/heads/main | 2022-08-22T07:46:55.979329 | 2022-08-16T11:53:32 | 2022-08-16T11:53:32 | 139,818,646 | 30 | 39 | null | 2021-10-08T16:33:45 | 2018-07-05T08:25:23 | null | UTF-8 | PlantUML | false | false | 1,238 | plantuml | @startuml devfile
class Devfile {
- specVersion
- name
- commands
- tools
- projects
}
together {
class Tool
class Command
class Project
}
Devfile *-- "n" Tool
Devfile *-- "n" Command
Devfile *-- "n" Project
class Tool {
- type
- alias
}
Tool <|-.. Dockerimage
Tool <|-.. Openshift
Tool <|-.. Kubernetes
Tool <|-.. ChePlugin
Tool <|-.. CheEditor
class Command {
- name
- actions
}
Command *-- "n" CommandAction
CommandAction o-- Tool
class CommandAction {
- type
- tool
- command
}
class Project {
- name
- source
}
Project o-- "1" ProjectSource
class ProjectSource {
- type
- location
}
Project -[hidden]> Tool
Tool -[hidden]> Command
ProjectSource -[hidden]> CommandAction
class Dockerimage {
- image
- memoryLimit
- mountSources
- volumes
- env
- endpoints
- command
- args
}
class Openshift {
- local
- localContent
- selector
- entrypoints
}
class Kubernetes {
- local
- localContent
- selector
- entrypoints
}
class ChePlugin #yellow {
- id
}
note bottom of ChePlugin: Che specific
class CheEditor #yellow {
- id
}
note bottom of CheEditor: Che specific
ChePlugin -[hidden]> CheEditor
CheEditor -[hidden]> Dockerimage
@enduml
|
ea8cbc0c5d70d94a1caaf34d65370d8a08c1ec04 | ed45ea4470bcfc497e2584697d7842a540e04fd9 | /ros2/navigation2/nav2_util/geometry_utils.puml | 16a3d873fa1f6a2093420cf0befccb15affddba4 | [] | no_license | cf-zhang/documents | ffcd8213587f8aa9c47406cf2491bf77beec9c33 | 8a4439932017b67fba7988ff7fadd9829bce1e4c | refs/heads/master | 2022-03-03T13:52:27.333343 | 2022-02-25T11:31:22 | 2022-02-25T11:31:22 | 154,789,912 | 11 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 318 | puml | @startuml
'https://plantuml.com/class-diagram
namespace nav2_util{
class GeometryUtils{
-- public method --
inline geometry_msgs::msg::Quaternion orientationAroundZAxis(double angle)
inline double euclidean_distance
inline double euclidean_distance(pos1, pos2)
inline double euclidean_distance(pos1,pos2)
}
}
@enduml |
fe99d132db403e796d7f243e8b7d3d1672f76eac | 1e557a8d0b755ce2d66458e43dcd426dd8f27fec | /阅读代码/android/视图相关/graphics.plantuml | a5d2f8bcfb954db1720093b9610c1b9d10a8574b | [] | no_license | rickgit/rickgit.github.io | 94ff804637d1fe891583c9c1513a9b65b86361f5 | 5891f01bdd8ca1231cd9977a68960e11e28688f4 | refs/heads/master | 2023-08-29T21:35:00.999632 | 2023-08-12T04:40:16 | 2023-08-12T04:40:16 | 52,088,713 | 4 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,817 | plantuml | @startuml
skinparam monochrome true
skinparam classBackgroundColor transparent
skinparam style strictuml
abstract class Drawable{
setLevel(int level)
'返回的单位是dp
public int getIntrinsicWidth()
public int getIntrinsicHeight()
}
class ShapeDrawable{
}
abstract class Shape{
}
class RectShape{
}
VectorDrawable -up-|>Drawable
class AnimatedVectorDrawable {
private final AnimatorSet mAnimatorSet = new AnimatorSet();
private AnimatedVectorDrawableState mAnimatedVectorState;
}
AnimatedVectorDrawable -up-|> Drawable
AnimatedVectorDrawable .up.|> Animatable2
AnimatedStateListDrawable -up-|> StateListDrawable
/'
M moveto 移动到(x y)+
Z closepath 关闭路径(none)
L lineto 画线到 (x y)+
H horizontal lineto 水平线到x+
V vertical lineto 垂直线到 y+
C curveto 三次贝塞尔曲线到 (x1 y1 x2 y2 x y)+
S smooth curveto 光滑三次贝塞尔曲线到 (x2 y2 x y)+
Q quadratic Bézier curveto 二次贝塞尔曲线到 (x1 y1 x y)+
T smooth quadratic Bézier curveto 光滑二次贝塞尔曲线到 (x y)+
A elliptical arc 椭圆弧 (rx ry x-axis-rotation large-arc-flag sweep-flag x y)+
M = moveto(M X,Y) :将画笔移动到指定的坐标位置
L = lineto(L X,Y) :画直线到指定的坐标位置
H = horizontal lineto(H X):画水平线到指定的X坐标位置
V = vertical lineto(V Y):画垂直线到指定的Y坐标位置
C = curveto(C X1,Y1,X2,Y2,ENDX,ENDY):三次贝赛曲线
S = smooth curveto(S X2,Y2,ENDX,ENDY)
Q = quadratic Belzier curve(Q X,Y,ENDX,ENDY):二次贝赛曲线
T = smooth quadratic Belzier curveto(T ENDX,ENDY):映射
A = elliptical Arc(A RX,RY,XROTATION,FLAG1,FLAG2,X,Y):弧线
Z = closepath():关闭路径
文/eclipse_xu(简书作者)
原文链接:http://www.jianshu.com/p/e3614e7abc03
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
'/
LayerDrawable -up-|>Drawable
LayerDrawable +--ChildDrawable
ChildDrawable -up->Drawable
ShapeDrawable -up-|>Drawable
BitmapDrawable -up-|>Drawable
ColorDrawable -up-|>Drawable
ScaleDrawable -up-|>Drawable
RotateDrawable -up-|>Drawable
DrawableContainer -up-|>Drawable
AnimationDrawable -up-|>DrawableContainer
StateListDrawable -up-|> DrawableContainer
LevelListDrawable -up-|> DrawableContainer
AnimationDrawable ..|>Animatable
RectShape-up-|>Shape
RoundRectShape-up-|>RectShape
BitmapShader-up-|>Shader
LinearGradient-up-|>Shader
ComposeShader-up-|>Shader
SweepGradient-up-|>Shader
RadialGradient-up-|>Shader
PorterDuffXfermode-up-|>Xfermode
ColorMatrixColorFilter-up-|>ColorFilter
PathDashPathEffect -up-|>PathEffect
CornerPathEffect-up-|>PathEffect
DashPathEffect-up-|>PathEffect
SumPathEffect-up-|>PathEffect
DiscretePathEffect-up-|>PathEffect
ComposePathEffect-up-|>PathEffect
@enduml |
5129fa3fea49b6fe5e0bf463d2d9d782865ea57e | 63114b37530419cbb3ff0a69fd12d62f75ba7a74 | /plantuml/Library/PackageCache/com.unity.timeline@1.2.17/Editor/treeview/ItemGui/TimelineMarkerClusterGUI.puml | caec3ccc4dbe89250e281fdfbc4f9fb1bb45fb35 | [] | 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 | 1,086 | puml | @startuml
class TimelineMarkerClusterGUI {
+ TimelineMarkerClusterGUI(guis:List<TimelineMarkerGUI>, parent:IRowGUI, zOrderProvider:IZOrderProvider, layerZOrder:LayerZOrder)
+ <<override>> start : double <<get>>
+ <<override>> end : double <<get>>
+ <<override>> Select() : void
+ <<override>> Deselect() : void
+ <<override>> Draw(trackRect:Rect, trackRectChanged:bool, state:WindowState) : void
+ <<override>> RectToTimeline(trackRect:Rect, state:WindowState) : Rect
+ CycleTop() : void
OnDragTopMarker() : void
SortMarkers() : void
RegisterRect(state:WindowState) : void
+ {static} CanCycleMarkers() : bool
+ {static} CycleMarkers() : void
}
class "List`1"<T> {
}
TimelineItemGUI <|-- TimelineMarkerClusterGUI
TimelineMarkerClusterGUI --> "m_MarkerGUIs<TimelineMarkerGUI>" "List`1"
TimelineMarkerClusterGUI --> "m_ZOrderProvider" IZOrderProvider
TimelineMarkerClusterGUI --> "topMarker" TimelineMarkerGUI
TimelineMarkerClusterGUI --> "m_ManipulatedMarker" TimelineMarkerGUI
TimelineMarkerClusterGUI --> "item" ITimelineItem
@enduml
|
8df4ceee78b3fb180faa6ae8216bf622a96fc671 | 56c3d96069bdb4cdeadfae340022e3b90511afc0 | /src/incl/symfony/component/console/input/input-definition.puml | 7b4a3a1f24673c982516940e4391677b40d4fb0e | [] | no_license | nibralab/joomla-architecture | 38db6234c9e12298716e529e46c907387e214166 | 99ab82e904fc56dc6113cf58a5990b295951aa12 | refs/heads/master | 2021-01-19T04:06:37.675771 | 2017-07-07T17:13:48 | 2017-07-07T17:13:48 | 36,740,646 | 3 | 5 | null | 2016-04-09T15:01:23 | 2015-06-02T14:57:25 | PHP | UTF-8 | PlantUML | false | false | 1,029 | puml | @startuml
namespace Symfony.Component.Console.Input {
class InputDefinition {
+<b>__construct</b>(array)
+<b>setDefinition</b>(array)
+string <b>getSynopsis</b>([bool])
--
+<b>setArguments</b>(InputArgument[])
+<b>addArguments</b>(InputArgument[])
+<b>addArgument</b>(InputArgument)
+bool <b>hasArgument</b>(string)
+InputArgument <b>getArgument</b>(string)
+InputArgument[] <b>getArguments</b>()
+int <b>getArgumentCount</b>()
+int <b>getArgumentRequiredCount</b>()
+array <b>getArgumentDefaults</b>()
--
+<b>setOptions</b>(InputOption[])
+<b>addOptions</b>(InputOption[])
+<b>addOption</b>(InputOption)
+bool <b>hasOption</b>(string)
+InputOption <b>getOption</b>(string)
+InputOption[] <b>getOptions</b>()
+bool <b>hasShortcut</b>(string)
+InputOption <b>getOptionForShortcut</b>(string)
+array <b>getOptionDefaults</b>()
}
}
@enduml
|
aa97b200d51a288f3560d9f33bd4ee2a57a3e7e9 | 573fd3fb5867c0f26fb2906f0478b234956e713f | /docs/architecture/component-diagram.puml | 268e724c16484b6f120cc83b45c6b32cd2209332 | [
"Apache-2.0"
] | permissive | RafaelAPB/blockchain-integration-framework | 65cd73a7115069d343da7d269db45918710a7bbd | 89d5102496adfe98a542a373e805dc38ecb8f269 | refs/heads/main | 2023-08-07T02:19:05.864116 | 2023-04-12T00:41:07 | 2023-04-14T07:37:08 | 241,220,244 | 5 | 0 | Apache-2.0 | 2023-05-24T02:04:39 | 2020-02-17T22:22:43 | TypeScript | UTF-8 | PlantUML | false | false | 2,134 | puml | @startuml Sequence Diagram - Transaction
title Hyperledger Cactus\nSequence Diagram - Transaction
left to right direction
frame "Hyperledger Cactus" as 1cactus {
package "Core" as 2core <<package>> #LightSlateGray {
interface "IStoragePlugin" as 3istorageplugin <<interface>> {
}
interface "Connector" as 3connector <<abstract class>> {
}
interface "LedgerResolver" as 3ledgerresolver <<abstract class>> {
}
interface "IdentityPlugin" as 3identityplugin <<abstract class>> {
}
}
package "Persistence" as 2persistence <<package>> #LightGreen {
class "TransactionLogger" as 3transactionlogger <<class>> {
}
}
package "Validator" as 2validator <<package>> {
class "ValidatorNode" as 3validatornode <<class>> {
}
}
frame Connectors {
package "ConnectorFabric" as 2connectorfabric <<package>> {
ConnectorFabric ..> 3connector : <<implements>>
}
package "ConnectorQuorum" as 2connectorquorum <<package>> {
ConnectorQuorum ..> 3connector: <<implements>>
}
package "ConnectorCorda" as 2connectorcorda <<package>> {
ConnectorCorda ..> 3connector : <<implements>>
}
package "ConnectorBesu" as 2connectorbesu <<package>> {
ConnectorBesu ..> 3connector : <<implements>>
}
}
package "API Server" as 2apiserver <<package>> #LightCyan {
class "RequestValidator" as 3requestvalidator <<class>> {
}
class "ExchangeProposal<T>" as 3exchangeproposal <<abstract class>> {
}
}
package "StoragePluginFabric" as 2storagepluginfabric <<package>> #LightPink {
StoragePluginFabric ..> 3istorageplugin : <<implements>>
}
frame "Identity" {
package "IdentityPluginIndy" as 2identitypluginindy <<package>> #LightPink {
IdentityPluginIndy ..> 3identityplugin: <<implements>>
}
package "IdentityPluginWeb" as 2identitypluginweb <<package>> #LightPink {
IdentityPluginWeb ..> 3identityplugin: <<implements>>
}
package "IdentityPluginOAuth" as 2identitypluginoauth <<package>> #LightPink {
IdentityPluginOAuth ..> 3identityplugin: <<implements>>
}
}
}
@enduml
|
fb731cf89fde1cca96b491df6c0f05659b7ad502 | 122fd983bbcd9b90c132d75ab8bcda043a266cdf | /src/main/resources/Interpret.puml | 64de0181f73c9b4b4005078bd9b71d55d2779606 | [] | no_license | JayRichrd/DesignPatterns | e847d899e652628557957fdbbb6b0c602a305293 | eaccf00624287c48f055b4baada58a209da95194 | refs/heads/master | 2021-07-06T09:11:02.395035 | 2020-08-22T16:44:37 | 2020-08-22T16:44:37 | 171,642,845 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 507 | puml | ------解释器设计模式------
#给定一个语言,
#定义它文法的一种表示,
#并定义一个解释器,
#这个解释器使用该表示来解释语言中的句子
@startuml
abstract class AbstractExpression{
+ {abstract} void interpret(Context context)
}
class TerminalExpression
class NonterminalExpression
AbstractExpression <|-- TerminalExpression : extends
AbstractExpression <|-- NonterminalExpression : extends
NonterminalExpression o-- AbstractExpression : Aggregation
@enduml |
3bae90c217c21570f69d6dbb39520a545d2ee7c7 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/StagedOrderRemoveLineItemAction.puml | 97d936ed3bf43a183f943dde9ffcb696af104b4f | [] | 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 | 727 | 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 StagedOrderRemoveLineItemAction [[StagedOrderRemoveLineItemAction.svg]] extends StagedOrderUpdateAction {
action: String
lineItemId: String
lineItemKey: String
quantity: Long
externalPrice: [[Money.svg Money]]
externalTotalPrice: [[ExternalLineItemTotalPrice.svg ExternalLineItemTotalPrice]]
shippingDetailsToRemove: [[ItemShippingDetailsDraft.svg ItemShippingDetailsDraft]]
}
interface StagedOrderUpdateAction [[StagedOrderUpdateAction.svg]] {
action: String
}
@enduml
|
008a78d3a8004c74238c8092f66f94b7ea3bb307 | 85223a0947313518366b6a1d862e420c1f657503 | /app/src/androidTest/java/com/shneddy/dietdiary/dietdiary.plantuml | 4fe411a3803616aa53c690fea6b079f2bf637e17 | [] | no_license | SR88/DietDiary | 11a7346a37f0401ad4e1a75e6585147d557781d5 | d8771e1688f864c9a53c80dfef929d0e31145d8d | refs/heads/master | 2020-04-24T17:28:35.443241 | 2019-03-22T05:24:32 | 2019-03-22T05:24:32 | 172,148,663 | 0 | 0 | null | 2019-03-05T14:09:34 | 2019-02-22T23:33:37 | Java | UTF-8 | PlantUML | false | false | 1,535 | plantuml | @startuml
title __DIETDIARY's Class Diagram__\n
package com.shneddy.dietdiary {
class DiaryEntryDAOTest {
+ rule : MockitoRule
+ mInstantTaskExecutorRule : InstantTaskExecutorRule
+ setUp()
+ insert()
+ update()
+ delete()
+ tearDown()
}
}
package com.shneddy.dietdiary {
class FoodDAOTest {
+ rule : MockitoRule
+ mInstantTaskExecutorRule : InstantTaskExecutorRule
+ setUp()
+ insertFood()
+ updateFood()
+ deleteFood()
+ tearDown()
}
}
package com.shneddy.dietdiary {
class FoodTypeDAOTest {
+ rule : MockitoRule
+ mInstantTaskExecutorRule : InstantTaskExecutorRule
- observer : Observer<List<FoodType>>
+ setUp()
+ insertFoodType()
+ updateFoodType()
+ deleteFoodType()
+ tearDown()
}
}
DiaryEntryDAOTest o-- FoodDiaryDatabase : database
DiaryEntryDAOTest o-- FoodDAO : foodDAO
DiaryEntryDAOTest o-- FoodTypeDAO : foodTypeDAO
DiaryEntryDAOTest o-- DiaryEntryDAO : entryDAO
FoodDAOTest o-- FoodDiaryDatabase : database
FoodDAOTest o-- FoodDAO : foodDAO
FoodDAOTest o-- FoodTypeDAO : foodTypeDAO
FoodTypeDAOTest o-- FoodDiaryDatabase : database
FoodTypeDAOTest o-- FoodTypeDAO : foodTypeDAO
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
|
e2bb1e76d02d50b7f6898f72f0e92789d2813e4e | 8bb4da8dc4dd3ff3a82d0727dffa7daead9c19df | /docs/uml/diagrama-classe-banco-v1.puml | e6d3105aff971b5b86413a9801b67d20892d624c | [] | no_license | gugawag/banco | 7fd92382d2479c7acfb76d79c1f76c2f01e754ca | b5072d63d5f59dc92f6472107a52eaf124d50635 | refs/heads/master | 2020-03-15T05:56:08.003828 | 2018-07-15T03:12:45 | 2018-07-15T03:12:45 | 131,996,094 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 601 | puml | 'Versao com saldo da conta publico para ver a importancia de metodos para acesso
@startuml
Banco -- Conta
Cliente -- Conta
class Banco{
String nome;
List<Conta> contas;
List<Cliente> clientes;
cadastrarCliente();
cadastrarConta();
List<Conta> getContas();
List<Cliente> getClientes();
}
class Conta{
private String numero;
private String agencia;
private Cliente cliente;
public Double saldo;
transferir(Conta origem, Conta destino, Double valor);
}
class ContaBonificada extends Conta{
private Double porcentagemBonificacao;
bonificar();
}
class Cliente{
String nome;
String cpf;
}
@enduml |
9256fe719ffed980f68d604289bb742350e241bb | 0823b999b6c9168dd6f9139af4b4d24e90043021 | /UMl/Sintomas.puml | 40f1cec81153ca5d1d93760ecdc535bbbf160077 | [] | no_license | mpata2000/Algo3-TP1-Algovid | f1ee58b088c459cfc956e014da5ecc61cc1cfe79 | ca03f8860131ba69ac3a88f0ceac398e0eddb19e | refs/heads/master | 2023-06-01T19:45:48.306965 | 2021-06-17T17:02:03 | 2021-06-17T17:02:03 | 377,239,752 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,282 | puml | @startuml Sintomas
abstract class Sintomas{
-tiposSintomas: List
-diagnostico: DiagnosticoCovid
+agregarSintoma(unSintoma: String): Sintomas
+agregarSintomaHabitual(unSintoma: String): Sintomas
+agregarSintomaNoHabitual(unSintoma: String): Sintomas
+conSintomas(listaSintomas : List)
+contactoEstrechoNoPuedeCircular(): Boolean
+diagnostico(): String
+pincharBurbuja(unaBurbuja: Burbja)
+puedeCircular(): Boolean
}
Sintomas <|-- SinSintomas
Sintomas <|--- UnSintomaHabitual
Sintomas <|--- UnSintomaNoHabitual
Sintomas <|---- DosSintomasConHabituales
Sintomas <|---- DosSintomasSinHabituales
Sintomas <|----- TresSintomasConHabituales
Sintomas <|----- TresSintomasSinHabituales
Sintomas <|----- CuatroSintomasOMas
SinSintomas ..> UnSintomaHabitual
SinSintomas ..> UnSintomaNoHabitual
UnSintomaHabitual ..> DosSintomasConHabituales
UnSintomaNoHabitual ..> DosSintomasSinHabituales
UnSintomaNoHabitual ..> DosSintomasConHabituales
DosSintomasSinHabituales ..> TresSintomasConHabituales
DosSintomasSinHabituales ..> TresSintomasSinHabituales
DosSintomasConHabituales ..> TresSintomasConHabituales
TresSintomasSinHabituales ..> CuatroSintomasOMas
TresSintomasConHabituales ..> CuatroSintomasOMas
@enduml
|
848927d65f6deb2351052f1483f9200a288e3f23 | d2bd504225b3226408cd6d694463026901351beb | /LigneUml.plantuml | 5f91887d3848c1cbd8db8df0fd2de6ce64292430 | [
"MIT"
] | permissive | IUT-Blagnac/bcoo-Wassim746531 | f1837cb1da547d080a1dff80777a7ee8e74eb0aa | d02f3aa2ace6fbce82314511afaa3fa6cdf3239a | refs/heads/main | 2023-04-05T23:39:11.614138 | 2021-04-27T12:50:28 | 2021-04-27T12:50:28 | 335,635,831 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 108 | plantuml | @startuml
class Ligne {
Point a
Point b
}
class Ligne {
float x
float y
}
Ligne - Point
@enduml
|
232cfb48992af89580c5e94e156e6c523d484dad | 2747d367c7d35d4ed5f456c7c378cdc3b4b38b46 | /diagrams/kitchmng.puml | 8d88830359e74b38a377dc9e4df4b902277a26b3 | [] | no_license | silviurdr/kitchen-management | 06e70ffa4e16aa6f78caa33fe8ac042d77615ff7 | 6babb377ff69dde8cd5943e8c16de6819a9769e0 | refs/heads/master | 2022-11-14T03:29:53.098281 | 2020-07-11T12:28:00 | 2020-07-11T12:28:00 | 276,058,601 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,205 | puml | @startuml
title Kitchen Management Diagram
package "parent" {
together {
class Cooking {
}
abstract class Employee {
- name: String
- birthDate: String
- salary: Double
+ Employee(): Employee
+ getName(): String
+ getSalary(): Double
+ setSalary(): void
+ createTaxReport(): void
+ getTaxReport(): Double
}
interface KnifeAvailability {
+ isWithKnife():
}
}
together {
class Chef {
- ingredients: ArrayList<String>
- hasKnife: boolean
+ askForIngredient(String): String
}
class Cook {
- hasKnife: boolean
+ cook(): void
}
class KitchenHelper {
- id: int
- ingredients: hashMap
+ getId(): int
+ setId(): void
+ getIngredients(): hashMap
+ hasIngredient(String): boolean
}
}
class Chef extends Employee
class Chef implements KnifeAvailability
class Cook extends Employee
class Cook implements KnifeAvailability
class KitchenHelper extends Employee
}
@enduml |
7e6ad1313d36be2dc5f668a3621a2259a2a6333c | 3b7c68df3858801924f2afa641f067987959ef77 | /doc/tp_exceptions.iuml | 0d64a08d9c4f70a6d033aeb0622f9d7f1946c8a3 | [] | no_license | jponcy/java_eni_example | 058cd2df75b7252a7cf990371368da424d4fa7d6 | 91443656d5e6b5a8113fb7a6837fac9d8747332a | refs/heads/master | 2023-03-12T13:12:01.747764 | 2021-02-26T13:58:48 | 2021-02-26T13:58:48 | 341,159,118 | 0 | 2 | null | null | null | null | UTF-8 | PlantUML | false | false | 830 | iuml | @startuml TP_exception
package Java {
class Exception
}
class DepassementCapaciteException extends Exception
class Operation {
{static}+ajouter(a: int, b: int): int
{static}+soustraire(a: int, b: int): int
{static}+multiplier(a: int, b: int): int
}
class Calculatrice {
{static}+main(argv: String[*]): void
}
Operation ..> DepassementCapaciteException: throw >
Calculatrice .> Operation
@enduml
' return a + b;
' int => 32 bits => 2^32
' long => 64 bits => 2^64
int ajouter(int a, int b) {
long aLong = (long) a;
long bLong = (long) b;
int retour = a + b;
if (-294 967 296 != 4 000 000 00) {
throw ...
}
if (20 != 20) {
}
if (retour != aLong + bLong) {
throw new DepassementCapaciteException();
}
return a + b;
}
4 => 0100
4 => 0000 0100
|
bd93af42a3ee1b54c514e0522aa2421d72a878b3 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderSetLineItemCustomFieldAction.puml | b4d8ad7fa9129568305cbda5f14b538562c1c323 | [] | 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 OrderSetLineItemCustomFieldAction [[OrderSetLineItemCustomFieldAction.svg]] extends OrderUpdateAction {
action: String
lineItemId: String
lineItemKey: String
name: String
value: [[Object.svg Object]]
}
interface OrderUpdateAction [[OrderUpdateAction.svg]] {
action: String
}
@enduml
|
937782feb6ba1f801c0b341de392d9b740f91242 | cd143798e4614621a3d5f7defdc6c8d1a4870e8f | /uml/Application.puml | 204e2d3bb358650562915a77fd2681000f769149 | [] | no_license | lacostamejia/AcostaMejia-cop3330-assignment4part2 | 7d8ff22ecb6b6f65936271782e7ea20dbce21f9c | caa219bad916c1f569d75234d5fab58988a9302d | refs/heads/main | 2023-06-22T22:43:23.537857 | 2021-07-12T20:45:05 | 2021-07-12T20:45:05 | 383,924,696 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,020 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Todolist{
+main()
+start()
}
class TodoListController{
model: TDList
'GUI functions'
}
class TDList{
List_Name: String
ListItems: ArrayList
+SaveList()
+Save_All_Lists()
+Load_Multiple_Lists()
+Load_List()
+Delete_Item()
+Search()
}
class ListItems{
Name: String
Due_Date: String
Description_Item: String
+Delete_Item()
+getname()
+setname(String name)
+getDue_date()
+setDue_date(String due_date)
+getDescription_item()
+setDescription_item()
+modify_Description_Item()
}
class ModifyItemListController{
}
class NewTodoListController{
}
class NewTodoListItemController{
}
org.javafx.Application <|-- Todolist
Todolist -- TodoListController
TodoListController *-- TDList
ModifyItemListController *-- TDList
NewTodoListController *-- TDList
NewTodoListItemController *-- TDList
TDList *-- ListItems
TodoListController --ModifyItemListController
TodoListController -- NewTodoListItemController
TodoListController -- NewTodoListController
@enduml |
759c0af0e352d1601b773cc1616c9e6f8924151e | 7815d83056e895966b3af27d00b19e2677976671 | /slam-cartographer-notes/submap.imul.puml | f0e3d97bb59a3553ca90122fa08b92d4af01b70f | [] | no_license | gary-robotics/lsy563193.github.io | 0b2cd6b2c9ab2861bbff7af081309714ff37a623 | 77f78690ee926a36edf890e9a1d17a7799335139 | refs/heads/master | 2023-04-06T14:37:52.534824 | 2019-01-03T01:24:50 | 2019-01-03T01:24:50 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 425 | puml | @startuml
interface Submap {
// 一张独立自地图, 在子地图帧有一个 'local_pose' , 跟踪有多少'range data'被插入
并且当插入完成时表示该地图不在改变并且准备好闭环
===
-const transform::Rigid3d local_pose_;
-int num_range_data_;
-bool insertion_finished_;
}
class Submap2D {
std::unique_ptr<Grid2D> grid_;
ValueConversionTables* conversion_tables_;
}
Submap2D --> Submap
@enduml |
bfcb21495d722fad2779c764e0be4687f2e94e31 | 28f125ec4908b16cdfe21d9e5ff40c3a1e04dc8b | /src/main/resources/ex41/App.puml | 5b0790d90119550842b58abdddd31a158b5bce24 | [] | no_license | ZhengWilliamUCF/Zheng-cop3330-assignment3 | d859fbffdf55fcf75f657a52b72e80b6f7d8984c | 46b6a26e1754ecb0d6961f857548d2646a7c66f1 | refs/heads/master | 2023-06-08T11:39:14.736136 | 2021-06-20T21:44:26 | 2021-06-20T21:44:26 | 378,745,289 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 454 | puml | @startuml
'https://plantuml.com/sequence-diagram
class App {
- imported File
- output File
+ importFile (imported)
+ scanFile (imported)
+ printFile (output)
}
class Names {
- name String
- nameList List<String>
- convertedList String[]
+ createArrayList (names)
+ addNames (String)
+ createArrayOfStrings (nameList)
+ convertArrayList (nameList)
+ sortArray (convertedList)
}
App o--> Names
@enduml |
4768d6f85028a2c9f06f6aa0b92c2b02be939492 | 02a364d6cc772a9bf2e72d02dbecca74ac14d335 | /eCommerce-Core-2/DPLRef.eCommerce/plantuml/DPLRef.eCommerce.Contracts.Admin/Fulfillment/IAdminFulfillmentManager.puml | 765f4a1ecf5b155dd8d1743e470d1da6eb21770b | [
"BSD-3-Clause"
] | permissive | noelmartens/TransitionAcademy | 4e02379d234aa4859a497ee2846420f4c55b9e12 | 3b95a5c737ab7b1497b77d455cf64caa73f69e1f | refs/heads/master | 2023-06-14T05:25:35.514249 | 2021-07-02T19:40:29 | 2021-07-02T19:40:29 | 362,512,351 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 216 | puml | @startuml
interface IAdminFulfillmentManager {
GetOrdersToFulfill() : AdminOpenOrdersResponse
FulfillOrder(orderId:int) : AdminFulfillmentResponse
}
IServiceContractBase <|-- IAdminFulfillmentManager
@enduml
|
0353d10ea6f76cb3b85885693925329b3c98a65b | 568565f45f162e249ddc2cd84c367b8c8b1030ea | /calcite_uml/class/physic_type_class.puml | 230aa459f42e32bbd9f24a08025ecf989975624a | [] | no_license | YSMull/calcite-tutorial | 36b908954435b9524f1db20e6b740974fd6df934 | 867b90abd775f3291a5f9cab692200eca6a1c28b | refs/heads/master | 2022-11-08T21:51:29.514937 | 2020-06-24T08:28:55 | 2020-06-24T08:28:55 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 339 | puml | @startuml
interface PhysType {
}
note top of PhysType
行的物理类型
SQL行的类型可以通过getRowType方法获得,对应的java类型可以通过
getJavaRowType获得.包含生成表达式以访问字段,生成记录等的方法。
records封装如何将逻辑类型转换为物理类型
end note
@enduml
|
2a3b9947cd162b483eec7d98ae70d2931299afe1 | 5311c3ad523918b01c52d8f00a9b96e38b24db9e | /bot/src/main/java/Main/uml/Main.plantuml | bfcdfff036a4e7ba2adfcbb90d809d5ae4c233ef | [] | no_license | twgust/DiscordBot | 08bfa99b0e9c3a1baf15b3a04782e518a41f5da9 | 895f8b56dfb7b2c6776c86a88d401cecc2af1d8a | refs/heads/master | 2022-06-04T22:32:34.518640 | 2020-12-20T19:49:56 | 2020-12-20T19:49:56 | 246,451,508 | 1 | 0 | null | 2022-05-20T21:32:36 | 2020-03-11T02:02:05 | Java | UTF-8 | PlantUML | false | false | 1,503 | plantuml | @startuml
title __MAIN's Class Diagram__\n
namespace Main {
class Main.Bot {
{static} + main()
}
}
namespace Main {
class Main.Controller {
- waiter : EventWaiter
+ Controller()
+ getCmdMap()
+ processMessage()
- addCommands()
}
}
namespace Main {
class Main.EventListener {
{static} + prefix : char
+ EventListener()
+ getPrefix()
+ onGuildBan()
+ onGuildJoin()
+ onGuildMessageReceived()
+ onRoleCreate()
{static} + setPrefix()
}
}
namespace Main {
class Main.Token {
- token : String
+ Token()
+ getToken()
}
}
Main.Controller o-- Commands.CommandMap : cmdMap
Main.Controller o-- EconomyModule.EconomyController : economyController
Main.Controller o-- Commands.ErrorCommand : error
Main.Controller o-- ModerationModule.ModerationController : modCtrl
Main.Controller o-- MusicModule.MusicController : musicController
Main.Controller o-- QuizModule.QuizCommand : quizCommand
Main.Controller o-- Main.Token : token
Main.EventListener -up-|> net.dv8tion.jda.api.hooks.ListenerAdapter
Main.EventListener o-- Main.Controller : ctrl
Main.EventListener o-- Commands.ErrorCommand : error
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
|
c80bfa0ed9c81d9669a9f4cbbf05b37a1405e01d | 81c4a57b630f9ccae2792581f9b18824e2600005 | /ClassDiagram.puml | 044849c068fb1b07d0cc218f585d079eb2ed375f | [] | no_license | houst/CreditTerms | fce01c2c5f73d941cbca223535080d5d9507f41f | 982f58722662fffde29e3dd578349696176c3e06 | refs/heads/master | 2021-07-07T14:46:03.669363 | 2019-07-31T10:30:22 | 2019-07-31T10:30:22 | 199,444,505 | 0 | 1 | null | 2020-10-13T14:57:10 | 2019-07-29T12:01:04 | Java | UTF-8 | PlantUML | false | false | 264 | puml | @startuml
skinparam classAttributeIconSize 0
enum CreditTarget {
MORTGAGE
LEASE
CONSUMER
BUSINESS
}
class Credit {
-bankName : String
-target : CreditTarget
-rate : BigDecimal
-termInMonths : int
-maxSum : BigDecimal
-isEarlyRepayment : boolean
}
@enduml |
3c46be4d15c19117ab65947b83e985c2ad5edd2a | 084fcc4a31b60fe11f3f647f7d49a3c1c6621b44 | /kapitler/media/uml-codelist-arkivdelstatus.puml | 094c0e925ca12eaca652530579148991b5c6b418 | [] | 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 | 198 | puml | @startuml
skinparam nodesep 100
hide circle
class Kodelister.Arkivdelstatus <<codelist>> {
+Aktiv periode = A
+Overlappingsperiode = O
+Avsluttet periode = P
+Uaktuelle mapper = U
}
@enduml
|
975118a50c05113a1d1e6f99f4fe72df192545e7 | b5fc7582d0d738b7bbdf2b6b6e96bf1b700b33f4 | /view/spring/tiny-spring-source/puml/step3.puml | 8c913c2f961b70eb61adb483d30c5fc5f4393f70 | [] | no_license | dohoby/dohoby.github.io | ac377bef14084d11c11fad2bd43b11d379859934 | f9d3c434c814481ad8c9d20e49b38373808df347 | refs/heads/master | 2021-10-22T03:31:16.100844 | 2021-10-19T11:55:43 | 2021-10-19T11:55:43 | 71,213,202 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,503 | puml | @startuml
class BeanDefinition {
Object bean
Class beanClass
String beanClassName
PropertyValues propertyValues
getBean(String name)
void setBean(Object bean)
void setBeanClassName(String beanClassName)
void setPropertyValues(PropertyValues propertyValues)
}
interface BeanFactory {
getBean(String name)
registryBeanDefinition(String name,BeanDefinition beanDefinition);
}
abstract class AbstractBeanFactory{
Map<String,BeanDefinition> concurrentHashMap
getBean(String name)
registryBeanDefinition(String name,BeanDefinition beanDefinition)
abstract Object doCreateBean(BeanDefinition beanDefinition);
}
BeanFactory <|-- AbstractBeanFactory
class AutowireCapableBeanFactory{
Object doCreateBean(BeanDefinition beanDefinition);
createBeanInstance(BeanDefinition beanDefinition)
applyPropertyValues(Bean bean,BeanDefinition beanDefinition)
}
note left
createBeanInstance:
Object bean = beanDefinition.getBeanClass().newInstance();
applyPropertyValues:
protected void applyPropertyValues(Object bean, BeanDefinition mbd) throws Exception {
for (PropertyValue propertyValue : mbd.getPropertyValues().getPropertyValues()) {
Field declaredField = bean.getClass().getDeclaredField(propertyValue.getName());
declaredField.setAccessible(true);
declaredField.set(bean, propertyValue.getValue());
}
}
end note
AbstractBeanFactory <|-- AutowireCapableBeanFactory
class PropertyValues{
List<PropertyValue> propertyValueArrayList
}
class PropertyValue{
String name
Object value
}
@enduml |
1e478a089c74fc327bd4bbf2600aca05c02ed134 | 61f77755f3ca65fa0a0dfbbdc51137e01ded03fc | /design_model/src/main/java/example/designpattern/behavioral/state/state pattern.puml | 49e8588969460e2f9f6796cedae80d779d2a2f8e | [] | no_license | lyszhen3/myWeb | 670e02a585ea3193f6c388b9cea37969a94792dc | c1543ec5f48d84e6c6481a95e54b84f04654b323 | refs/heads/master | 2023-07-11T02:29:33.530130 | 2019-02-25T01:39:29 | 2019-02-25T01:39:29 | 78,835,228 | 0 | 1 | null | 2022-12-16T04:38:41 | 2017-01-13T09:31:45 | Java | UTF-8 | PlantUML | false | false | 1,185 | puml | @startuml
abstract class AccountState{
#acc:Account
+{abstract} deposit(double amount) : void
+{abstract} withdraw(double amount) : void
+{abstract} computeInterest() : void
+{abstract} stateCheck() : void
}
class OverdraftState{
+OverdraftState(AccountState state)
+deposit(double amount) : void
+withdraw(double amount) : void
+computeInterest() : void
+stateCheck() : void
}
class NormalState{
+NormalState(AccountState state)
+deposit(double amount) : void
+withdraw(double amount) : void
+computeInterest() : void
+stateCheck() : void
}
class RestrictedState{
+RestrictedState(AccountState state)
+deposit(double amount) : void
+withdraw(double amount) : void
+computeInterest() : void
+stateCheck() : void
}
class Account{
-state : AccountState
-owner : String
-balance : double =0
+Account(String owner,double init)
+getBalance() : double
+setBalance(double balance) :void
+setState(AccountState state) :void
+deposit(double amount) :void
+withdraw(double amount) :void
+computeInterest() : void
}
NormalState -up-|>AccountState
RestrictedState -up-|>AccountState
OverdraftState -up-|>AccountState
Account -right->AccountState:state
AccountState -left->Account:acc
@enduml |
9635bc99d3423ea09eef56f048bdb3940fc71197 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderSetDeliveryAddressCustomTypeAction.puml | dfea001477461aac0e626236b9f16b7adb30509a | [] | 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 | 608 | 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 OrderSetDeliveryAddressCustomTypeAction [[OrderSetDeliveryAddressCustomTypeAction.svg]] extends OrderUpdateAction {
action: String
deliveryId: String
deliveryKey: String
type: [[TypeResourceIdentifier.svg TypeResourceIdentifier]]
fields: [[FieldContainer.svg FieldContainer]]
}
interface OrderUpdateAction [[OrderUpdateAction.svg]] {
action: String
}
@enduml
|
5c5105264ed1e1d9a098f409e090f4da67075b71 | 3150c7ff97d773754f72dabc513854e2d4edbf04 | /P3/STUB_Yeste_Guerrero_Cabezas/out/test/test/spec/concordion/common/command/results/stylesheet/stylesheet.plantuml | d63accc4f3f8db5dd2db6c8a4d286949eb85748c | [
"WTFPL"
] | permissive | leRoderic/DS18 | c8aa97b9d376788961855d6d75996990b291bfde | 0800755c58f33572e04e7ce828770d19e7334745 | refs/heads/master | 2020-03-29T05:14:14.505578 | 2019-11-07T18:01:37 | 2019-11-07T18:01:37 | 149,574,113 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,035 | plantuml | @startuml
title __STYLESHEET's Class Diagram__\n
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.results.stylesheet {
class MissingHeadElementTest {
+ process()
- removeIrrelevantElements()
- removeIrrelevantStylesheet()
- removeIrrelevantMetadata()
- removeIrrelevantFooter()
}
}
}
}
package spec.concordion {
package spec.concordion.common.command {
package spec.concordion.common.command.results.stylesheet {
class StylesheetTest {
- outputDocument : Element
+ processDocument()
+ getRelativePosition()
- indexOfFirstChildWithName()
+ elementTextContains()
}
}
}
}
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
|
ea92769156b40673771952a736077cc8fd22509e | e54fecdd4e54e4779e7353e992bf22986a9b6562 | /diags/classes/generation.puml | bff617d1226b9230fda48b2f0f919ef2f4fdc2fe | [] | no_license | earring/testgenerator | 80acb62f4d6e3a4d5edc208f42f408d5134e1d8c | 3f5a6269657110ed529c952eceeb0e956adff7c7 | refs/heads/master | 2021-06-28T17:06:21.647346 | 2015-10-11T17:23:59 | 2015-10-11T17:23:59 | 31,284,986 | 3 | 1 | null | 2015-04-07T08:14:21 | 2015-02-24T22:21:00 | Java | UTF-8 | PlantUML | false | false | 269 | puml | @startuml
class PDFGenerator {
-questionCount : int
-variantCount : int
-themesOut : List<String>
+generatePDF(qc: int, vc: int, themes: List<String>) : PDFFile
}
GeneratingFrame --> PDFGenerator : use >
PDFGenerator --> QuestionManager : use >
@enduml |
dc9c90b491a4da01c3fe5fe722961cc0cf00a602 | 307df87d346b7581e8fa29bf3f1cce8f2cce75f1 | /src/main/resources/ISP2.puml | 726a7d0852f84f601ad085abd9d2aa5443b630a7 | [] | no_license | anant-pawar/training-principles | 3893faa58f04b5154ccaa0a6fda58d7e5c14e763 | 42e08aad1f93852cd6845c2d6e41a22cd52c481d | refs/heads/master | 2020-12-27T21:26:11.169106 | 2020-02-04T03:43:27 | 2020-02-04T03:43:27 | 238,062,657 | 0 | 0 | null | 2020-10-13T19:15:27 | 2020-02-03T21:09:19 | Java | UTF-8 | PlantUML | false | false | 355 | puml | @startuml
interface Printer{
+void print(Document)
}
interface Scanner{
+void scan(Document)
}
class SimplePrinter {
+void print(Document)
}
class SimplePrinterScanner {
+void print(Document)
+void scan(Document)
}
Printer <|..down SimplePrinter
Printer <|..down SimplePrinterScanner
Scanner <|..down SimplePrinterScanner
@enduml |
751b204e6b198d496d25fc648de01d1d04d1ddb8 | 06132bb306986359c8958effdb12134da4aa9a23 | /spring-cloud-design-pattern/creation-abstract-factory-pattern/src/main/resources/static/diagram.puml | f45af3ad8364478b2b2c8c495c1fda1ec67e1ee8 | [] | no_license | sunnyzhy/Design-pattern | 1fe797d2af0e102be63704aad5a5e3a3d8feb5a9 | 665b5cde412e965665469af1b5011c6c280ea7d0 | refs/heads/master | 2023-07-01T15:50:37.005870 | 2023-06-13T09:33:49 | 2023-06-13T09:33:49 | 55,023,406 | 2 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 761 | puml | @startuml
AbstractFactory *-- ProductA
AbstractFactory *-- ProductB
interface ProductA {
+void operationA()
}
class ConcreteProductA1 implements ProductA {
+void operationA()
}
class ConcreteProductA2 implements ProductA {
+void operationA()
}
interface ProductB {
+void operationB()
}
class ConcreteProductB1 implements ProductB {
+void operationB()
}
class ConcreteProductB2 implements ProductB {
+void operationB()
}
interface AbstractFactory {
+ProductA createProductA()
+ProductB createProductB()
}
class ConcreteFactory1 implements AbstractFactory {
+ProductA createProductA()
+ProductB createProductB()
}
class ConcreteFactory2 implements AbstractFactory {
+ProductA createProductA()
+ProductB createProductB()
}
@enduml |
e7263eb885b11aa8f5e0300669679c42f14b20ee | 71876eb0846f6f2490ac8f6b60c48d1d97a47f60 | /VenturaAPI/docs/diagrams-class/plantuml/core.view.home.plantuml | 78ab039176e49f84da1bb2f61a573e5d4819e290 | [] | no_license | RogerVFbr/VenturaHR | 281efe904cd77152f339c801ccd6b3182d90af70 | 11d031caaae19c0c6f0f1c809ef14f7b3014bcdf | refs/heads/master | 2023-01-20T07:24:50.235474 | 2020-12-03T13:11:59 | 2020-12-03T13:11:59 | 285,815,756 | 3 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,211 | plantuml | @startuml
title __CORE VIEW HOME's Class Diagram__\n
namespace com.soundlab.dockerizedjavaapi {
namespace core.view.home {
class com.soundlab.dockerizedjavaapi.core.view.home.HomeViewRequestSearch {
- content : String
+ HomeViewRequestSearch()
+ equals()
+ getContent()
+ getType()
+ hashCode()
+ setContent()
+ setType()
+ toString()
# canEqual()
}
}
}
namespace com.soundlab.dockerizedjavaapi {
namespace core.view.home {
class com.soundlab.dockerizedjavaapi.core.view.home.HomeViewResponseContent {
- messages : String
- vagasBusca : List<ViewResponseVagaLight>
- vagasUsuario : List<HomeViewResponseVaga>
+ HomeViewResponseContent()
+ equals()
+ getMessages()
+ getVagasBusca()
+ getVagasUsuario()
+ hashCode()
+ setMessages()
+ setVagasBusca()
+ setVagasUsuario()
+ toString()
# canEqual()
}
}
}
namespace com.soundlab.dockerizedjavaapi {
namespace core.view.home {
interface com.soundlab.dockerizedjavaapi.core.view.home.HomeViewResponseVaga {
{abstract} + getCity()
{abstract} + getExpirationDate()
{abstract} + getId()
{abstract} + getLongDescription()
{abstract} + getShortDescription()
{abstract} + getState()
}
}
}
namespace com.soundlab.dockerizedjavaapi {
namespace core.view.home {
enum SearchType {
ALL
ANY
NONE
description
id
}
}
}
com.soundlab.dockerizedjavaapi.core.view.home.HomeViewRequestSearch o-- com.soundlab.dockerizedjavaapi.core.view.home.SearchType : type
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
|
9b4d8939a213466f69040acc7b2f087da57c9f51 | dceede6e0ffcfdf6fbb800429d0233eb108fb71b | /src/main/java/DesignPatterns/StructuralType/Proxy/DynamicProxy/DynamicProxy.puml | fafd2baf119eb41d9e18a6d941bf7029ca3af2a1 | [] | no_license | GitHub-yuteng/LearningNotes | 543ccda372e0d4498eba9245848059f64b3966c9 | 7a37bc8a33190526fa0a6cca5376651ac434f8c4 | refs/heads/master | 2022-12-22T14:05:05.590359 | 2022-04-27T00:36:30 | 2022-04-27T00:36:30 | 200,153,900 | 2 | 0 | null | 2022-12-16T04:25:16 | 2019-08-02T02:53:39 | Java | UTF-8 | PlantUML | false | false | 413 | puml | @startuml
interface ITeacherDao {
void teach();
String write(String name);
}
class TeacherDao implements ITeacherDao {
public void teach()
public String write(String name)
}
class ProxyFactory {
private Object target;
public ProxyFactory(Object target)
public Object getProxyInstance()
}
class Client {
TeacherDao target;
ITeacherDao proxyInstance;
}
ProxyFactory <.. Client
TeacherDao <.. Client
@enduml |
3222761c2e576fdaef36e3d618a8fd4711934b4d | 328f6d7ffa554de57d2dc70de4a98046f467aa09 | /backend/asciidoc/plantuml/cld.puml | 5140bc6bef1013e37c486ba45a905dfbbca39ba1 | [] | no_license | 2122-5ahif-nvs/02-microproject-davidenkovic | 794c01e6d0cd3adb43396857bc6c40b349e05a1f | f0feada5e9576b8da59cb2509bb18f1cbe3ec0aa | refs/heads/master | 2023-08-15T10:21:04.082614 | 2021-10-13T20:17:25 | 2021-10-13T20:17:25 | 414,310,463 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 561 | puml | @startuml
class Artist {
String artistName
String currentLabel
}
class Song {
String songname
String genre
}
class Interpretation{
Song song
Artist artists
int bpm
int songDuration
}
class StreamingPlatform {
Platform platform
int unit
}
enum Platform{
Youtube
Spotify
Apple Music
Deezer
}
Artist "1"-right-"*" Song : composes >
Artist "1"-down-"*" Interpretation : interprets >
Song "1"-down-"*" Interpretation : is in >
Interpretation "1"-down-"*" StreamingPlatform : is sold at >
StreamingPlatform -right- Platform : is in <
@enduml |
0565ce76c931c935ce78c5237bfe3579c6b69ae5 | 0ee676ceeff44ba4b842e9f0d529ba75a68b1975 | /src/Prototype_AbstractFactory/Pizza/Pizza.plantuml | a6c60620dfbb364a1c83c6627267c335b5c32604 | [] | no_license | CalanceaCatalina/TMPS | d035c519851abeeeb40cd646b9e7d536f7baa183 | 7afc84126375e091bd9aad68dbfcf9138b0e0026 | refs/heads/main | 2023-04-07T11:20:57.909790 | 2021-04-18T19:59:46 | 2021-04-18T19:59:46 | 335,952,011 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 873 | plantuml | @startuml
title __PIZZA's Class Diagram__\n
namespace Prototype_AbstractFactory {
namespace Pizza {
class Prototype_AbstractFactory.Pizza.Pizza_Calzone {
+ Bake()
+ Clone()
+ Pizza_Calzone()
}
}
}
namespace Prototype_AbstractFactory {
namespace Pizza {
class Prototype_AbstractFactory.Pizza.Pizza_Classic {
+ Bake()
+ Clone()
+ Pizza_Classic()
}
}
}
Prototype_AbstractFactory.Pizza.Pizza_Calzone -up-|> Prototype_AbstractFactory.Pizza.Abstracts.Pizza
Prototype_AbstractFactory.Pizza.Pizza_Classic -up-|> Prototype_AbstractFactory.Pizza.Abstracts.Pizza
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
|
aced8b8b46b5652d8e78a915f2f6cd577bd81dd4 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/CustomerSetLastNameAction.puml | 7af58251bd34824ccd152a9f8c6e468ad969e6e0 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 449 | puml | @startuml
hide empty fields
hide empty methods
legend
|= |= line |
|<back:black> </back>| inheritance |
|<back:green> </back>| property reference |
|<back:blue> </back>| discriminated class |
endlegend
interface CustomerSetLastNameAction [[CustomerSetLastNameAction.svg]] extends CustomerUpdateAction {
action: String
lastName: String
}
interface CustomerUpdateAction [[CustomerUpdateAction.svg]] {
action: String
}
@enduml
|
335c19e8647a89ebb13c3bc6d82ccfb51b0e0cfb | 740ec837551b09f09677854163ecd30ba6ea3cb7 | /documents/sd/plantuml/application/BrowserExtension/Shared/IEvent.puml | bc70d6e35ab2878345415fc4df0a02936c5384be | [
"MIT"
] | permissive | insightmind/MORR | 913c0c16d14745cbde40af07322ca339a0373f32 | 0830f2155fb3b32dc127587e07cbd780deb0e118 | refs/heads/develop | 2020-12-08T00:23:17.488431 | 2020-04-05T20:50:44 | 2020-04-05T20:50:44 | 232,827,908 | 5 | 1 | MIT | 2020-04-05T20:55:27 | 2020-01-09T14:28:48 | HTML | UTF-8 | PlantUML | false | false | 418 | puml | @startuml
skinparam linetype ortho
skinparam monochrome true
skinparam classAttributeIconSize 0
interface IEvent {
+ timeStamp : Date
+ issuingModule : number
+ type : EventType
+ serialize() : string
}
IEvent .RIGHT.> EventType : uses
enum EventType {
Navigation
OpenTab
CloseTab
SwitchTab
TextInput
ButtonClick
Hover
TextSelection
Download
Generic
}
@enduml
|
3d8b034474b45731dd180742c9d866df317bc7ee | 76b49bf42e5ac2f3f28666d030f8599e8c703485 | /DesignPatterns/Structural/Decorator/Decorator.puml | 04333be7246c99b89db2e438675175f1543777fb | [] | no_license | PlumpMath/DesignPatterns-404 | f0f9dc5796ec98d39c88479b7c93122de2322dbc | dafb6495e86207fc52fc6eb17da14a1ca2c98ca9 | refs/heads/master | 2021-01-20T09:50:04.812410 | 2017-04-18T12:29:26 | 2017-04-18T12:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 419 | puml | @startuml
abstract class Component {
+Operation()
}
Class ConcreteComponent {
+Operation()
}
abstract class Decorator {
+Operation()
}
Component <|-- ConcreteComponent
Component <|-- Decorator
Component *-- Decorator
class ConcreteDecoratorA {
-addedState
+Operation()
}
class ConcreteDecoratorB {
+Operation()
+AddedBehavior()
}
Decorator <|-- ConcreteDecoratorA
Decorator <|-- ConcreteDecoratorB
@enduml |
7d0b32d32363ca828d233dfc29b29b903e612b72 | a7b7fc77a24f9303002690c2200a5df124c6b7c5 | /docs/domain-model/classes.puml | eaf2ee6eeae02b155116ef62af9d6fd6dbb9b23b | [
"Apache-2.0"
] | permissive | ostelco/ostelco-core | e2916cc5aefca5f5a3049f4a528e4d2b84e04b86 | b072ada4aca8c4bf5c3c2f6fe0d36a5ff16c11af | refs/heads/develop | 2021-07-21T19:44:47.777138 | 2019-12-18T14:13:16 | 2019-12-18T14:13:16 | 112,729,477 | 38 | 12 | Apache-2.0 | 2021-06-30T14:12:00 | 2017-12-01T10:51:32 | Kotlin | UTF-8 | PlantUML | false | false | 1,624 | puml | @startuml
class Region {
+ regionCode: String
+ regionName: String
}
class CustomerRegion {
+ status: CustomerRegionStatus
+ kycStatusMap: [KycType, KycStatus]
}
class Identity {
+ id: String
+ type: String
}
class Identifies {
+ provider: String
}
class Customer {
+ customerId: UUID
+ nickname: String
+ contactEmail: Email
+ analyticsId: UUID
+ referralId: UUID
--
getAvailableProducts():[ProductID]
}
class Bundle {
+ balance: Long
}
class SimProfile {
+ ICCID: String
+ status: String
+ alias: String
}
class Subscription {
+ MSISDN: String
}
class Segment
note left: Visible to Admin Only
class Offer
note left: Visible to Admin Only
class ProductClass {
+ id: UUID
+ path: String
}
class Price {
+ currency: String
+ amount: Int
}
class Product {
+ SKU: UUID
+ price: Price
}
class PurchaseRecord {
+ id: UUID
+ timestamp: Long
}
class Plan {
+ id: String
+ stripePlanId: String?
+ stripeProductId: String?
+ interval: String
+ intervalCount: Long
}
Identity "1" -- "1" Identifies
Customer "1" -- "1" Identifies
Customer "1" -- "*" Customer
Customer "1" -- "*" CustomerRegion
Region "1" -- "*" CustomerRegion
Customer "1" -- "*" Bundle
SimProfile "*" -- "1" Region
SimProfile "1" -- "*" Subscription
Subscription "*" -- "1" Customer
Subscription "*" -- "*" Bundle
Customer "*" -- "*" Segment
Segment "*" -- "*" Offer
Offer "*" -- "*" Product
Product "1" -- "1" Price
Product "*" -- "1" ProductClass
PurchaseRecord "*" -- "1" Product
Customer "1" -- "*" PurchaseRecord
PurchaseRecord "1" -- "1" Payment
Customer "1" -- "*" Plan
@enduml
|
e4f4682bdaaa821e65eea1cf29a3ea0404130427 | 8f042bd087c439afb3790524b394046dc87f4787 | /Diagrama de clases - QueMePongo.plantuml | b0f64d4ec74a039704b5f8c9fbc5f53f70f4c60c | [] | no_license | LeoSabaLagos/dds-tp-QMS | f1e6b8c12602117a0ded2077cfe7463b7085f92f | 2933b427db5a2190cda0f1c76aeab065cb09c450 | refs/heads/main | 2023-04-19T05:22:36.698461 | 2021-04-30T18:20:41 | 2021-04-30T18:20:41 | 363,217,007 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,142 | plantuml | @startuml
class Prenda {
tipoPrenda
material
colorPrincipal
colorSecundario
trama
categoria()
}
class TipoPrenda {
tipoDePrenda
categoria
categoria()
}
enum Categoria {
PARTE_SUPERIOR,
CALZADO,
PARTE_INFERIOR,
...
}
enum Material {
CUERO,
JEAN,
ALGODON,
...
}
class Color {
rojo
verde
azul
}
enum Trama {
LISO,
RAYADO,
ESTAMPADO,
...
}
enum TipoDePrenda {
ZAPATO,
REMERA,
CAMISA,
...
}
class Borrador {
tipoPrenda
material
colorPrincipal
colorSecundario
trama
cargarTipoDePrenda(tipo)
cargarDatosRestantes(colorP,colorS,material,trama)
crearPrenda()
}
class Sugerencia {
uniformeSugerido
}
class Uniforme {
parteSuperior
parteInferior
calzado
}
class Institucion {
nombre
uniforme
}
Prenda --> TipoPrenda
Prenda --> Material
Prenda --> " 1,2 "Color
TipoPrenda --> Categoria
Prenda --> Trama
TipoPrenda --> TipoDePrenda
Borrador ..> Prenda
Sugerencia --> Uniforme
Uniforme --> Prenda
Uniforme --> Prenda
Uniforme --> Prenda
Institucion --> Uniforme
@enduml |
171c9ce6650ff27876b5e077fca91ecf18362c7b | c0b45d4080a27844edbb5702f1af0e2a07347160 | /src/com/model/model.plantuml | 14395e4b1a6cd9a80f28ed7a28b74f652a8ff789 | [] | no_license | lanaflonPerso/ReservationDeSalles | 678eaac98d79782a6552e74abc49c4b95bea1830 | 14e745a7a77efce5fa3d06bc2048b587591362a9 | refs/heads/master | 2020-09-30T20:37:29.307189 | 2019-11-28T18:19:59 | 2019-11-28T18:19:59 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,310 | plantuml | @startuml
title __MODEL's Class Diagram__\n
namespace com.model {
class com.model.Reservation {
- dateDebut : Date
- dateFin : Date
- heureDebut : LocalTime
- heureFin : LocalTime
+ Reservation()
+ getDateDebut()
+ getDateFin()
+ getHeureDebut()
+ getHeureFin()
+ getSalle()
+ getUtilisateur()
+ setDateDebut()
+ setDateFin()
+ toString()
}
}
namespace com.model {
class com.model.Salle {
- id : int
- nomSalle : String
+ Salle()
+ Salle()
+ getId()
+ getNomSalle()
}
}
namespace com.model {
class com.model.Utilisateur {
- mail : String
- motdepasse : String
- nom : String
- prenom : String
- reservations : List<Reservation>
+ Utilisateur()
+ Utilisateur()
+ addReservation()
+ deleteReservation()
+ getMail()
+ getMotdepasse()
+ getNom()
+ getPrenom()
+ getReservations()
+ getSalle()
+ setMail()
+ setNom()
+ setPrenom()
+ setReservations()
}
}
namespace com.model {
abstract class com.model.Utils {
{static} - connection : Connection
{static} - lastMail : String
{static} - properties : Properties
{static} + connectUser()
{static} + connection()
{static} + getAllReservations()
{static} + getLastMail()
{static} + getPassword()
{static} + getProperties()
{static} + getReservations()
{static} + getSalle()
{static} + getSalles()
{static} + hashPassword()
{static} + registerUser()
{static} + validMail()
{static} ~ addReservation()
{static} ~ annulerReservationSalle()
{static} - addReservations()
{static} - getSalle()
{static} - reserveSalle()
}
}
com.model.Reservation o-- com.model.Salle : salle
com.model.Reservation o-- com.model.Utilisateur : utilisateur
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
|
74e1751ea5e3cbedb02f68166165aeac8d3d039d | c815f9c82c1400f76243750cd0ec609d217b9943 | /service-layer/etc/service-layer.urm.puml | 880384b9f357a6d8220f7e3e244c8164eef966f7 | [
"MIT"
] | permissive | mikulucky/java-design-patterns | 6ab10e9e5c95b6caffebf045d37d04a1571bc0cd | cbbf3bf08842723964719ed7d8ab92864ec5a58d | refs/heads/master | 2021-01-17T23:34:49.962450 | 2016-09-28T19:54:28 | 2016-09-28T19:54:28 | 48,302,802 | 1 | 1 | null | 2016-01-02T23:58:44 | 2015-12-20T01:00:47 | Java | UTF-8 | PlantUML | false | false | 4,592 | puml | @startuml
package com.iluwatar.servicelayer.hibernate {
class HibernateUtil {
- sessionFactory : SessionFactory {static}
- HibernateUtil()
+ dropSession() {static}
+ getSessionFactory() : SessionFactory {static}
}
}
package com.iluwatar.servicelayer.common {
abstract class BaseEntity {
- version : Long
+ BaseEntity()
+ getId() : Long {abstract}
+ getName() : String {abstract}
+ setId(Long) {abstract}
+ setName(String) {abstract}
}
interface Dao<E extends BaseEntity> {
+ delete(E extends BaseEntity) {abstract}
+ find(Long) : E extends BaseEntity {abstract}
+ findAll() : List<E extends BaseEntity> {abstract}
+ merge(E extends BaseEntity) : E extends BaseEntity {abstract}
+ persist(E extends BaseEntity) {abstract}
}
abstract class DaoBaseImpl<E extends BaseEntity> {
# persistentClass : Class<E extends BaseEntity>
+ DaoBaseImpl<E extends BaseEntity>()
+ delete(entity : E extends BaseEntity)
+ find(id : Long) : E extends BaseEntity
+ findAll() : List<E extends BaseEntity>
# getSession() : Session
+ merge(entity : E extends BaseEntity) : E extends BaseEntity
+ persist(entity : E extends BaseEntity)
}
}
package com.iluwatar.servicelayer.magic {
interface MagicService {
+ findAllSpellbooks() : List<Spellbook> {abstract}
+ findAllSpells() : List<Spell> {abstract}
+ findAllWizards() : List<Wizard> {abstract}
+ findWizardsWithSpell(String) : List<Wizard> {abstract}
+ findWizardsWithSpellbook(String) : List<Wizard> {abstract}
}
class MagicServiceImpl {
- spellDao : SpellDao
- spellbookDao : SpellbookDao
- wizardDao : WizardDao
+ MagicServiceImpl(wizardDao : WizardDao, spellbookDao : SpellbookDao, spellDao : SpellDao)
+ findAllSpellbooks() : List<Spellbook>
+ findAllSpells() : List<Spell>
+ findAllWizards() : List<Wizard>
+ findWizardsWithSpell(name : String) : List<Wizard>
+ findWizardsWithSpellbook(name : String) : List<Wizard>
}
}
package com.iluwatar.servicelayer.wizard {
interface WizardDao {
+ findByName(String) : Wizard {abstract}
}
class Wizard {
- id : Long
- name : String
- spellbooks : Set<Spellbook>
+ Wizard()
+ Wizard(name : String)
+ addSpellbook(spellbook : Spellbook)
+ getId() : Long
+ getName() : String
+ getSpellbooks() : Set<Spellbook>
+ setId(id : Long)
+ setName(name : String)
+ setSpellbooks(spellbooks : Set<Spellbook>)
+ toString() : String
}
class WizardDaoImpl {
+ WizardDaoImpl()
+ findByName(name : String) : Wizard
}
}
package com.iluwatar.servicelayer.app {
class App {
+ App()
+ initData() {static}
+ main(args : String[]) {static}
+ queryData() {static}
}
}
package com.iluwatar.servicelayer.spellbook {
interface SpellbookDao {
+ findByName(String) : Spellbook {abstract}
}
class SpellbookDaoImpl {
+ SpellbookDaoImpl()
+ findByName(name : String) : Spellbook
}
class Spellbook {
- id : Long
- name : String
- spells : Set<Spell>
- wizards : Set<Wizard>
+ Spellbook()
+ Spellbook(name : String)
+ addSpell(spell : Spell)
+ getId() : Long
+ getName() : String
+ getSpells() : Set<Spell>
+ getWizards() : Set<Wizard>
+ setId(id : Long)
+ setName(name : String)
+ setSpells(spells : Set<Spell>)
+ setWizards(wizards : Set<Wizard>)
+ toString() : String
}
}
package com.iluwatar.servicelayer.spell {
class SpellDaoImpl {
+ SpellDaoImpl()
+ findByName(name : String) : Spell
}
interface SpellDao {
+ findByName(String) : Spell {abstract}
}
class Spell {
- id : Long
- name : String
- spellbook : Spellbook
+ Spell()
+ Spell(name : String)
+ getId() : Long
+ getName() : String
+ getSpellbook() : Spellbook
+ setId(id : Long)
+ setName(name : String)
+ setSpellbook(spellbook : Spellbook)
+ toString() : String
}
}
MagicServiceImpl --> "-wizardDao" WizardDao
MagicServiceImpl --> "-spellbookDao" SpellbookDao
MagicServiceImpl --> "-spellDao" SpellDao
Spellbook --> "-spells" Spell
Spellbook --> "-wizards" Wizard
SpellDaoImpl ..|> SpellDao
SpellDaoImpl --|> DaoBaseImpl
SpellbookDao --|> Dao
WizardDao --|> Dao
SpellbookDaoImpl ..|> SpellbookDao
SpellbookDaoImpl --|> DaoBaseImpl
MagicServiceImpl ..|> MagicService
SpellDao --|> Dao
Spell --|> BaseEntity
Spellbook --|> BaseEntity
Wizard --|> BaseEntity
WizardDaoImpl ..|> WizardDao
WizardDaoImpl --|> DaoBaseImpl
DaoBaseImpl ..|> Dao
@enduml |
304eef0255ea7621943770a750fb7390a0d14ac7 | 65c79e69d7c97dc7eb1532e77ae1bd2ece83fbe6 | /notes/Design/UML/Bridge.puml | 77e3529b37492cc8b80e0c33c5e553550bfd040e | [] | no_license | zhangjukai/Go-Gad | 8618bf0a377d34f784ad7c201d08431861f48c52 | d463e3faccc580d77b67886a11288c78622ddbae | refs/heads/master | 2023-05-31T06:37:30.215749 | 2023-05-12T03:28:19 | 2023-05-12T03:28:19 | 185,611,030 | 0 | 0 | null | 2022-12-15T23:30:09 | 2019-05-08T13:25:51 | Java | UTF-8 | PlantUML | false | false | 571 | puml | @startuml
class Client{}
abstract class Abstraction{
- pImp : Implementor
+ operation() :void
+Abstraction(Implementor):void
}
interface Implementor {
+ operationImp():void
}
class RefinedAbstraction {
+ operation():void
+ RefinedAbstraction(Implementor)()
}
class ConcreteImplementorA{
+ operationImp() : void
}
class ConcreteImplementorB{
+ operationImp() : void
}
RefinedAbstraction --|> Abstraction
ConcreteImplementorA ..|> Implementor
ConcreteImplementorB ..|> Implementor
Abstraction o--> Implementor
Client ..> Abstraction
@enduml |
cddf39e350c5774dff12aba1853595e159bf75a1 | 0d966cf37eeceb83dfd28a6cb9b0f086e2f0229a | /src/main/java/ex44/App.puml | aa7ce2f7e4d8961092a638a0b1418246ef6cff5d | [] | no_license | lcorona26/corona-cop3330-assignment3 | dac0104b43922c4787af4bf8ef530b1c3e585fde | cc2817ea60cf7362832cb048cc04db6f460585ac | refs/heads/master | 2023-06-02T18:43:44.131894 | 2021-06-20T18:39:26 | 2021-06-20T18:39:26 | 378,716,181 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 116 | puml | @startuml
class App{
String parseFile()
}
class Json{
void parseJson()
}
App <|-- Json
Json <|-- App
@enduml |
b211938855e5223556fa63cee592817b256b6743 | bd4d450fe59402ed0ac2504ba0f22913b3056466 | /uml/CharacterStyle_span.puml | af9606449f8623771df62149af01f2b94b227c3d | [] | no_license | AndroidDog/SpanSample | c272019a0ed9dbcccef430571b852d5f841fb970 | bf32b148b183ecefa8bb6017a00f1f237297e51b | refs/heads/master | 2020-05-01T15:26:07.406058 | 2019-03-26T06:45:24 | 2019-03-26T06:45:24 | 177,546,553 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 242 | puml | @startuml
abstract class CharacterStyle {
+abstract void updateDrawState(TextPaint tp)
}
abstract class MetricAffectingSpan{
+abstract void updateMeasureState(TextPaint textPaint)
}
CharacterStyle <|-- MetricAffectingSpan
@enduml |
7129edc4ae4016fbfba184c6aa232ea6d579e8d3 | 8a42cf43148c275caa196cb0335d2053559880cc | /designpatterns/src/main/java/com/xiaoye/designpatterns/observer/observer.puml | c1fdc43a3d87aaa1e25f2ec3ea4853125e4baf42 | [] | no_license | guoyjalihy/learning | 2c5381f3170a332b28c9286028c8a0fe85d8869c | 0ba0c4e5201ed1fbc2ad6aacf5c8c90a6a42bfc4 | refs/heads/master | 2022-07-05T10:13:57.279407 | 2019-07-16T11:43:13 | 2019-07-16T11:43:13 | 112,556,713 | 0 | 0 | null | 2022-06-17T02:01:52 | 2017-11-30T02:55:06 | Java | UTF-8 | PlantUML | false | false | 636 | puml | @startuml
title 观察者模式
interface Subject{
-List<Observer> list;
+registerObserver(Observer observer);
+removeObserver(Observer observer);
+notifyObservers();
}
class ConcreteSubject{
registerObserver(Observer observer)
removeObserver(Observer observer)
notifyObservers(){for list then observer.update()}
setState(){notifyObservers()}
}
Subject <|-- ConcreteSubject
interface Observer{
+update(Object obj);
}
class ConcreteObserver{
-Subject concreteSubject;
update(Object obj);
}
Observer <|-- ConcreteObserver
Subject -> Observer
ConcreteSubject <- ConcreteObserver
@enduml |
78ac55195bd45240a296ee218d50141f5214ba9f | e7aab27dc3b56328c92d783d7fa8fce12d8ac544 | /kapitler/media/uml-class-arkiv.iuml | d44730cffca55afe125006c1344d089cac746642 | [] | no_license | petterreinholdtsen/noark5-tjenestegrensesnitt-standard | 855019a61c8679a8119549e2824fa32ecc669e66 | 4673ba7134d83a6992bba6f9036c521c7ae1897f | refs/heads/master | 2023-06-11T12:08:52.134764 | 2023-03-05T11:05:21 | 2023-03-05T11:05:21 | 160,586,219 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 333 | iuml | @startuml
class Arkivstruktur.Arkiv <Arkivenhet> {
+tittel : string
+beskrivelse : string [0..1]
+arkivstatus : Arkivstatus [0..1]
+dokumentmedium : Dokumentmedium [0..1]
+oppbevaringssted : string [0..*]
+avsluttetDato : datetime [0..1]
+avsluttetAv : string [0..1]
+referanseAvsluttetAv : SystemID [0..1]
}
@enduml
|
851d4128c6fcc23e3f4c2f46ac4153651a76bb56 | 8caafa57be273bae9e3a3eb403f01d7e1878318a | /docs/architecture.plantuml | 362c0d1d074651c17783fe38c628b3515779a045 | [
"BSD-2-Clause"
] | permissive | TexZK/hexrec | 3f8feccefaf4ae1a6f472f926919977c94b10440 | 476f1fdf3f35b332908237056076c57a703158d1 | refs/heads/main | 2023-07-22T05:43:38.437651 | 2023-07-11T21:24:14 | 2023-07-11T21:24:14 | 138,935,502 | 17 | 6 | BSD-2-Clause | 2021-12-07T21:54:44 | 2018-06-27T21:37:38 | Python | UTF-8 | PlantUML | false | false | 1,337 | plantuml | @startuml
left to right direction
skinparam shadowing false
hide methods
hide fields
package "click" <<Frame>> {
}
package hexrec
{
package utils {
}
package xxd {
}
package blocks
{
class block <<tuple>> {
+ address: int
+ data: bytes
}
show block fields
class SparseItems <<bytearray>> {
+ blocks: block[]
}
show SparseItems fields
SparseItems o-- "*" block
}
package records
{
abstract class Record
{
+ address: int
+ tag: enum
+ data: bytes
+ count: int
+ checksum: int
}
show Record fields
class BinaryRecord
class IntelRecord
class MotorolaRecord
class TektronixRecord
Record <|-left- BinaryRecord
Record <|-down- IntelRecord
Record <|-down- MotorolaRecord
Record <|-down- TektronixRecord
enum MotorolaTag
enum IntelTag
enum TektronixTag
MotorolaRecord .down.> MotorolaTag
IntelRecord .down.> IntelTag
TektronixRecord .down.> TektronixTag
}
package cli {
}
records ..> blocks
cli ..> SparseItems
cli ..> records
cli ..> click
cli ..> xxd
}
@enduml
|
a3aa89247eb921de22be74401b8fc997237ae8fa | 4e66b60562009e54e3249595d08d88573c1d7fba | /uml/TypeDeclaration.puml | d6fcc6f5affcf5c31a843f3b1a927c7cc6df1b0d | [
"MIT"
] | permissive | pierre3/PlantUmlClassDiagramGenerator | a17a7ec5e3b547b0a9d5afee1d74436c6d602782 | 00bd84d543a14f05c95857426060e677c4668cc8 | refs/heads/master | 2023-07-06T01:15:15.436366 | 2023-05-31T13:39:56 | 2023-06-02T10:24:02 | 41,860,665 | 598 | 123 | MIT | 2023-08-20T06:56:51 | 2015-09-03T13:17:42 | C# | UTF-8 | PlantUML | false | false | 247 | puml | @startuml
class ClassA {
}
class StructA <<struct>> {
}
interface InterfaceA {
}
abstract class AbstractClass {
}
class StaticClass <<static>> {
}
class ClassB <<sealed>> <<partial>> {
}
enum EnumType {
Apple,
Orange,
Grape,
}
@enduml
|
5160c5a230b7531837b4a515ff786e763b70c12e | 6327621afec93f205a551a36197a214bd1842fd5 | /plantUML/validationBackend.puml | 7045a747d338183a197f58bb858f80cce834da77 | [] | no_license | MiguelAngelCB/Mobile-Store | 2a78a02015f2e7eb33c8f205a4c106c74d1ccbbc | 8fa14a7cdf4a212fa0b97bcbe16e9f2c1b941d81 | refs/heads/master | 2023-02-27T04:36:06.469868 | 2021-02-02T21:46:30 | 2021-02-02T21:46:30 | 335,432,203 | 1 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,239 | puml | @startuml Validator
package "com.example.demo.error" #999999 {
enum ErrorValidate {
ERROR_name(num, spanish, english),
}
}
package "com.example.demo.validate.validable" #999999 {
package "regexp" #DDDDDD {
class RegularExpressionValidation {
#Boolean validate(String value, String patron)
}
class AddressValidate{
+ErrorValidate validate(String string)
+String getValidateName()
}
class BirthdayValidate{
+ErrorValidate validate(String string)
+String getValidateName()
}
}
package "validable" #DDDDDD {
class SizeValidate{
+ErrorValidate validate(String string, int min, int max)
+String getValidateName()
}
}
interface Validable {
String getValidateName()
}
interface ValidableLength {
ErrorValidate validate(String string, int min, int max)
}
interface ValidableValue{
ErrorValidate validate(String string)
}
}
RegularExpressionValidation <|-- AddressValidate
RegularExpressionValidation <|-- BirthdayValidate
Validable <|-- ValidableValue
Validable <|-- ValidableLength
ValidableValue <|-- AddressValidate
ValidableValue <|-- BirthdayValidate
ErrorValidate -- ValidableValue : asociacion
ErrorValidate -- ValidableLength : asociacion
ValidableLength <|-- SizeValidate
@enduml |
bf1d9b8fa0e1b451b7cfa2e1cf5ee104100c22d3 | 5fc88accf80711ed0c06192f0873ae89d73a9b41 | /docs/docs/diagrams/plantuml/cars-class-publication-diagram.puml | 02715d83536f2ed26eb8bfbf23725c63abd23428 | [] | no_license | automotive-stuff/renault-digital-2020-projet | d1a1c4693cff54584571fc5f3f2f7eafda199e16 | 85cd86f4a8decbd60bb41c2c25615236cb279bb8 | refs/heads/master | 2023-06-27T17:58:30.347569 | 2020-07-22T22:10:11 | 2020-07-22T22:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 435 | puml | @startuml
title
Cars - Class diagram
end title
skinparam class {
BackgroundColor STRATEGY
ArrowColor DarkSlateGray
BorderColor DarkSlateGray
}
skinparam linetype ortho
class Voiture {
+ id : int
+ brand : String
+ model : String
+ mpg : double
getLitersPer100Kilometers() : String
}
class Publication {
+ langue : Langue
}
enum Langue {
FR
EN
}
Voiture "0..*" ---o "0..*" Publication
@enduml |
794c28a01e474f1dd751accd9a4f26203166e738 | b3ee80be1a00a66a8feced04fb7d352d0e40567c | /test6/src/类图.puml | 1ddfa8343c5b7297ce3829ffd6c16e48c28367bf | [] | no_license | 614756773/PlantUML | 7eb1287dddfbc79d73bbe6959b6023600ed99237 | aefa3bf4ee0c6636e1b9914c2db0c34b1304935f | refs/heads/master | 2021-04-18T20:34:22.704168 | 2019-07-03T02:01:03 | 2019-07-03T02:01:03 | 126,830,185 | 2 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,644 | puml | @startuml
title 基于GitHub的实验管理平台--类图
abstract class User{
int id
string name
string github(github地址)
string sex
}
User<|--Student
class Student{
int studentNumber(学号)
string nation(民族)
}
User<|--Teacher
class Teacher{
int teacherNumber(工号)
string title(职称)
}
class Login{
int id
int username(学生账号就是学号,老师账号是工号)
string password
int role(角色)
}
class Term{
int id
int term(学期)
}
class Scoreitem{
int id
string desc(评分项)
int value(分值)
}
class Course{
int id
string name
float credit(学分)
int term_id(与Term类的id关联)
}
class Experiment{
int id
string name(实验名)
Date date(实验发布时间)
string desc(实验描述)
int course_id(与Course类的id关联)
}
class Score{
int id
float score(成绩)
string comment(评论)
int student_id(学生id)
int experiment_id(实验id)
int scoreitem_id(评分项id)
}
note right:该类的实例代表学生\n某一个实验的某一项的得分
class Electivecourse{
int id
int teacher_id
int student_id
int course_id
}
note right:“选课”类,teacher_id和\nstudent_id总是有一个为空,\n表示学生或老师的选课
Course "n" -- "1" Term
Electivecourse "1" -- "1" Course
Student "1" -- "n" Electivecourse
Teacher "1" -- "n" Electivecourse
Experiment "n" -- "1" Course
Score "n" -- "1" Scoreitem
Score "n" -- "1" Student
Score "n" -- "1" Experiment
@enduml |
16b26b90b68e359203d68c85c9fd742df8fe931d | aebdf064115e5817e0c77e15b739eccda80d4550 | /creator/src/main/java/builder/standard.puml | 3f3367cc0244f6d1fd76d08a82407d70da49ed53 | [] | no_license | thonnyhu/designpattern | e497fbaa44d6b8a98151f8f51f967dfae8145913 | 77dc01fd366f3dfb58aab5f0bd3e6825d6fa6301 | refs/heads/master | 2021-04-28T16:49:52.462770 | 2018-06-11T12:11:26 | 2018-06-11T12:11:26 | 122,023,078 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 326 | puml | @startuml
Director o-> Builder
Builder <|-- ConcreteBuilder
ConcreteBuilder .> Product
class Director{
+ Construct()
}
note left of Director
for all objects in structure {
builder -> buildPart()
}
end note
class Builder{
+ buildPart()
}
class ConcreteBuilder{
+ buildPart()
+ getResult()
}
class Product{
}
@enduml |
255b7fa4983d80fa90bda0509625c21f93ea3ae6 | abe16d0ba344a67354718c7324e1ddac43efd373 | /dahua-design/src/main/java/ch09/普通工厂方法模式.puml | 8e37fa9c480a281a6e4cc3b2dab710b798ea23b3 | [] | no_license | gerrywen/java-learn | 9888ccdf04aff50e4d8e5902c03e13c64dbf65b8 | a3ed4ab50af0c2bf305eda04730f7f2db326a141 | refs/heads/master | 2022-12-24T18:14:07.724295 | 2020-06-15T08:30:49 | 2020-06-15T08:30:49 | 203,317,957 | 0 | 0 | null | 2022-12-15T23:58:26 | 2019-08-20T06:56:17 | Java | UTF-8 | PlantUML | false | false | 1,456 | puml | @startuml
interface IFactory<<数据库工厂类>> {
+ createUser() : IUser
+ createDepartment() : IDepartment
}
interface IUser<<操作数据库User表的接口>>{
+ insert(User user) : void
+ getUserById(int userId): User
}
interface IDepartment<<操作数据库Department表的接口>>{
+ insert(Department department) : void
+ getDepartmentById(int departmentId): Department
}
IFactory ..> IUser : 依赖
IFactory ..> IDepartment : 依赖
class MysqlFactory{
+ createUser() : IUser
+ createDepartment() : IDepartment
}
class OracleFactory {
+ createUser() : IUser
+ createDepartment() : IDepartment
}
class MysqlUser {
+ insert(User user) : void
+ getUserById(int userId) : User
}
class OracleUser {
+ insert(User user) : void
+ getUserById(int userId) : User
}
class MysqlDepartment {
+ insert(Department department) : void
+ getDepartmentById(int departmentId) : Department
}
class OracleDepartment {
+ insert(Department department) : void
+ getDepartmentById(int departmentId) : Department
}
IFactory <|.. MysqlFactory : 实现
IFactory <|.. OracleFactory : 实现
IUser <|.. MysqlUser : 实现
IUser <|.. OracleUser : 实现
IDepartment <|.. MysqlDepartment : 实现
IDepartment <|.. OracleDepartment : 实现
MysqlFactory ..> IUser : 依赖
MysqlFactory ..> IDepartment : 依赖
OracleFactory ..> IUser : 依赖
OracleFactory ..> IDepartment : 依赖
@enduml |
5a8c12704a3156761fa01b088c1543cc521b02f7 | 873458ec9d2a064d4bfb8cfb3fd49c85bf38a8f3 | /docs/isp/isp-bad.puml | a6077a695298c007ff7417424fd31ee55c5abe11 | [] | no_license | vikas-a/SOLID | 50caecae680a86f7dca8668121fcb5ff05c2c2bd | 0c55eb2c5964bc1a2fc261698452d07bdfd75fa7 | refs/heads/master | 2021-02-17T06:04:07.881039 | 2020-03-09T10:02:32 | 2020-03-09T10:02:32 | 245,076,042 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 127 | puml | @startuml
interface Bird{
+ fly()
+ molt()
}
class Eagle
class Penguin{
+ swim()
}
Bird <|-- Eagle
Bird <|-- Penguin
@enduml
|
7ffad53828757619d8d3630dac1a55e4a89f465e | f995efd248542b35678cfd8dac69e8580f948582 | /exercise42/docs/Solution42.puml | 27417bd1630e8812be5710a8e205fd5834fda146 | [] | no_license | Tomatoats/Veloz-a04 | 3c3a5bad79817f89c414006042c5abee1370ba6e | 975dd7fbb3b77ee8d65b6c2996ba14742024dacf | refs/heads/main | 2023-08-21T14:19:55.482309 | 2021-10-18T03:58:42 | 2021-10-18T03:58:42 | 414,774,349 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 316 | puml | @startuml
'https://plantuml.com/sequence-diagram
Table <-- Solution42
class Solution42{
ArrayList: userinput
takes in input from the input txt
}
class Table {
takes in userinput from Solution42
seperates the commas in parser
prints it out to the output txt
-parser(userinput)
-tableOutput(SeperatedInput)
}
@enduml |
139347886948a660969c84114b6057f0c2b09fb3 | 90f3d2726715bbb1ffcc5144555c52637a3307da | /protoDDD.puml | 622422c8ec7cd813f8b0902b2cc718f25b65e878 | [] | no_license | batleforc/BotKodan | b6b594ad07f5b20bfb5fc8d2e54a91b0ed7c1671 | 724e47ff7a07046c37a778ecd6360a641e04f77c | refs/heads/master | 2023-08-16T01:35:48.868602 | 2021-10-17T16:10:11 | 2021-10-17T16:10:11 | 413,563,881 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,430 | puml | @startuml ProtoDDD
package "Application" as app #DDDDDD {
class Discord{
DiscordClient Client
Login(String)
SendMessage(Chan,Message)
}
package StoreDiscord{
class Conf{
String Token
String Prefix
Role Admin
Role Modo
String IdChanNotif
}
class Role{
Array<String> User
Array<String> Role
}
}
}
package "Domain" as domain {
package ModelDomain{
class AHomeWork{
Int Id
String Label
Date Created
String By
Date Return
String Content
}
}
class HandlerHomeWork{
getHomeWork() : Array<IHomeWork>
getHomeWork(Id) : IHomeWork
createHomeWork(IHomeWork) : boolean
editHomeWork(Id,IHomeWork) : boolean
deleteHomeWork(Id) : boolean
}
interface Idb
}
package "Infrastructure" as infra{
class Db
package "Model"{
class HomeWork
}
package "AppConf"{
interface Store{
getDataByKey(string)
hasDataForKey(string)
putDataToKey(string)
connectStore(Env)
initStore(Env)
}
class StoreRedis
class StoreInMemory
Class StoreInFileFactory
package StoreInFile{
class StoreInFileYaml
class StoreInFileJson
}
}
}
IHomeWork <|-- HomeWork
Idb <|-- Db
Store <|-- StoreRedis
Store <|-- StoreInMemory
Store <|-- StoreInFileFactory
StoreInFileFactory <-- StoreInFile
domain <-- infra
domain <-- app
infra <--> app
@enduml |
8b33b93049b1f5da6158e20a65d5f22d0b43e32a | 8f79723474b85f849569afca21d13447da9fbe7d | /Assets/Plugins/Script/plantuml/SoundEffectManager.puml | 7e5c4d4b1a643258a5837d9e389ddc5d5753b2c8 | [] | no_license | YutaMochizuki-Siki/taiko | 51d4f004b10ab93ea30a888f7638d9a16904071b | e0cd2cdbdcbe864cd1232bf0ec74d710796ad1d6 | refs/heads/main | 2023-04-22T13:59:21.998542 | 2021-05-11T09:51:09 | 2021-05-11T09:51:09 | 352,619,868 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 290 | puml | @startuml
class SoundEffectManager {
OnEnable() : void
donPlay() : void
kaPlay() : void
}
MonoBehaviour <|-- SoundEffectManager
SoundEffectManager --> "GameManager" GameManager
SoundEffectManager --> "DonPlayer" AudioSource
SoundEffectManager --> "KaPlayer" AudioSource
@enduml
|
0eaf1b15db0372b49e8a6f8fe09bc68296f3bf7b | b95c834fafcad04385bf83c2d20c96f5f34a9f06 | /src/main/java/tech/ityoung/study/demo/classuml.puml | a20e7b75f781926f7dd445c069773e27dad7d922 | [] | no_license | StephenYoung007/juc | 7b16832ca3eb8ad0de826dc99baafede36691096 | cf13b4b062e95e694c90644d9e2fb2474891d750 | refs/heads/main | 2023-04-02T00:03:56.754572 | 2021-04-07T14:47:20 | 2021-04-07T14:47:20 | 335,326,762 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 445 | puml | @startuml
'https://plantuml.com/class-diagram
abstract class AbstractList
abstract AbstractCollection
interface List
interface Collection
List <|-- AbstractList
Collection <|-- AbstractCollection
Collection <|- List
AbstractCollection <|- AbstractList
AbstractList <|-- ArrayList
class ArrayList {
Object[] elementData
size()
}
enum TimeUnit {
DAYS
HOURS
MINUTES
}
MyClass -> ArrayList
class MyClass{
ArrayList[] lists
getAll()
}
@enduml |
468d22e0e371a6b735884495d03762fc9b20b33d | 55261e1e9a841f514598d8fb0fbe95a7493460e3 | /class/classes/modules/blocks/verify.puml | 88632ad020a9d5b5eed5a115d0b9222d6e971e97 | [] | no_license | LucasIsasmendi/lisk-core-plantuml | ac01094fd56590b361ab8992b52f0cfc3175aa60 | e0941f6e800dc16a9dc0f8367304149fbf2200e1 | refs/heads/master | 2021-01-21T11:53:42.861882 | 2017-05-24T12:56:58 | 2017-05-24T12:56:58 | 91,758,697 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 437 | puml | @startuml
class Verify < modules > {
- self
- __private: {}
.. library ..
- logger
- db
- logic.block
- logic.transaction
.. modules ..
- accounts
- blocks
- delegates
- transactions
-- Methods --
+ Verify (logger, block, transaction, db)
+ verifyBlock (block)
+ processBlock (block, broadcast,
cb, saveBlock)
+ onBind (scope)
.. __private ..
- checkTransaction (block, transaction, cb)
}
@enduml
|
075ea5f1314a42b0d80310c1ed2e085b53c2f4bd | d55544391a239166726a71e2495a7c2b54f947eb | /mybatis-core/src/main/resources/diagrams/classes/AbstractSerialStateHolder.puml | 0c590ca27805d97bddf926b0fa0bc88733400490 | [] | no_license | kxumiaoing/mybatis-3.5.2-src | a5cb657372464022655004c6308031107d3bef23 | 12be9d9bf38f837380dd4bb31d452b8567a97fc8 | refs/heads/master | 2023-04-04T01:56:57.414953 | 2021-04-07T08:26:51 | 2021-04-07T08:28:25 | 316,460,366 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 794 | puml | @startuml
class AbstractSerialStateHolder implements Externalizable {
# {abstract} Object createDeserializationProxy(Object target, Map<String, ResultLoaderMap.LoadPair> unloadedProperties, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs)
}
note bottom of AbstractSerialStateHolder
包含懒加载对象的现场(序列化)对象
end note
代理对象 -> 现场对象:保存现场
现场对象 -> 代理对象:恢复现场
class CglibSerialStateHolder extends AbstractSerialStateHolder
note bottom of CglibSerialStateHolder
使用cglib创建代理对象
end note
class JavassistSerialStateHolder extends AbstractSerialStateHolder
note bottom of JavassistSerialStateHolder
使用javassist创建代理对象
end note
@enduml |
a44ba3fa1300cbf3dc972d798191c2f752d0d27b | ccc4b0eaa4448ce6d8e6112f57aa69452357c356 | /themes/aws-blue/puml-theme-aws-blue.puml | 0ee193fc43691a4a3394216251c366012927eb07 | [
"MIT"
] | permissive | bschwarz/puml-themes | b30d5535f0cc3f673f3b434636b66ce3f9b7cb04 | 2e2152c349e1c53e1a9de727399b4490afa78434 | refs/heads/master | 2023-08-31T03:29:02.229960 | 2023-08-19T00:38:46 | 2023-08-19T00:38:46 | 211,412,178 | 254 | 69 | MIT | 2022-07-17T16:27:21 | 2019-09-27T22:41:33 | CSS | UTF-8 | PlantUML | false | false | 13,917 | puml | ''
'' Theme based off of the colors used by Amazon Web Services
''
'' Author: Brett Schwarz
''
!$PUML_THEME = "aws-blue"
!$THEME = "aws-blue"
''
'' User can specify the PUML_BGCOLOR via command line or set this variable before
'' loading this theme file. PUML_BGCOLOR is the background color of the image that is
'' generated by plantuml
''
!if %not(%variable_exists("$PUML_BGCOLOR"))
!$PUML_BGCOLOR = "transparent"
!endif
''
'' If no gradient is given, default to 20
''
!if %not(%variable_exists("$PUML_GRADIENT"))
!$PUML_GRADIENT = 20
!endif
''
'' User can specify the PUML_MODE via command line or set this variable before
'' loading this theme file. PUML_MODE is either 'light' PUML_MODE or 'dark' PUML_MODE.
''
!if %not(%variable_exists("$PUML_MODE"))
!$PUML_MODE = "light"
!endif
''
'' User can specify the PUML_OUTLINE via command line or set this variable before
'' loading this theme file. PUML_OUTLINE is either 'true' or 'false'.
''
!if %not(%variable_exists("$PUML_OUTLINE"))
!$PUML_OUTLINE = "false"
!endif
''
skinparam BackgroundColor $PUML_BGCOLOR
skinparam useBetaStyle false
''
'' Supplementary Colors
''
!$WHITE = "#FFF"
!$GRAY_LIGHT = "#eeeeee"
!$GRAY = "#444444"
!$PRIMARY = "#0073bb"
!$WARNING = "#ECDD00"
!$LIGHT = "#abb6c2"
!$DARK = "#333333"
''
'' define colors based on PUML_MODE
''
!if ($PUML_MODE == "light")
!$SECONDARY = "#eeeeee"
'' hardcode $SECONDARY_LIGHT since it is so close to white
!$SECONDARY_LIGHT = "ffffff"
!$SUCCESS = "#1D8102"
!$INFO = "#0073bb"
!$NOTE_TEXT = $DARK
!$DANGER = "#d13212"
!$SECONDARY_TEXT = $DARK
!$FGCOLOR = $DARK
!$DIAMOND_BD = %darken($SECONDARY, $PUML_GRADIENT)
!$ARROW = %lighten($GRAY, 40)
!$BOXBG = "#EEEEEE30"
!$NOTEBG = "#EEEEEE80"
''
'' Assume if the background is transparent, that the
'' background will be dark for this theme
''
!assume transparent light
!else
!$PRIMARY = "#00a1c9"
!$SECONDARY = "#444444"
!$SECONDARY_LIGHT = %lighten($SECONDARY, $PUML_GRADIENT)
!$SUCCESS = "#6aaf35"
!$INFO = "#00a1c9"
!$NOTE_TEXT = $WHITE
!$DANGER = "#eb6f6f"
!$SECONDARY_TEXT = $WHITE
!$FGCOLOR = $WHITE
!$DIAMOND_BD = %lighten($SECONDARY, $PUML_GRADIENT)
!$ARROW = $GRAY_LIGHT
!$LIGHT = "#333333"
!$DARK = "#abb6c2"
!$BOXBG = "#EEEEEE30"
!$NOTEBG = "#EEEEEE30"
''
'' Assume if the background is transparent, that the
'' background will be dark for this theme
''
!assume transparent dark
!endif
''
'' *_DARK = tint (lighter) of the main color
'' *_LIGHT = shade (darker) of the main color
''
!$PRIMARY_DARK = %darken($PRIMARY, $PUML_GRADIENT)
!$PRIMARY_LIGHT = %lighten($PRIMARY, $PUML_GRADIENT)
!$SECONDARY_DARK = %darken($SECONDARY, $PUML_GRADIENT)
!$SUCCESS_DARK = %darken($SUCCESS, $PUML_GRADIENT)
!$SUCCESS_LIGHT = %lighten($SUCCESS, $PUML_GRADIENT)
!$INFO_DARK = %darken($INFO, $PUML_GRADIENT)
!$INFO_LIGHT = %lighten($INFO, $PUML_GRADIENT)
!$INFO_LIGHT2 = %lighten($INFO_LIGHT, $PUML_GRADIENT)
!$DANGER_DARK = %darken($DANGER, $PUML_GRADIENT)
!$DANGER_LIGHT = %lighten($DANGER, $PUML_GRADIENT)
!$WARNING_DARK = %darken($WARNING, $PUML_GRADIENT)
!$WARNING_LIGHT = %lighten($WARNING, $PUML_GRADIENT)
!$DARK_DARK = %darken($DARK, $PUML_GRADIENT)
!$DARK_LIGHT = %lighten($DARK, $PUML_GRADIENT)
!$LIGHT_DARK = %darken($LIGHT, $PUML_GRADIENT)
!$LIGHT_LIGHT = %lighten($LIGHT, $PUML_GRADIENT)
''
'' Set text colors
''
!$INFO_TEXT = $WHITE
!$SUCCESS_TEXT = $WHITE
!$WARNING_TEXT = $WHITE
!$DANGER_TEXT = $WHITE
!$PRIMARY_TEXT = $WHITE
!$HEADER_TEXT = $WHITE
''
!if ($PUML_OUTLINE == "true")
'!$HEADER_TEXT = $PRIMARY_TEXT
!$PRIMARY_TEXT = $PRIMARY_LIGHT
!$INFO_TEXT = $INFO_LIGHT
!$WARNING_TEXT = $WARNING_LIGHT
!$DARK_BG = $PUML_BGCOLOR
!$INFO_BG = $PUML_BGCOLOR
!$DANGER_BG = $PUML_BGCOLOR
!$WARNING_BG = $PUML_BGCOLOR
!$SECONDARY_BG = $PUML_BGCOLOR
!else
!$DARK_BG = $DARK
!$INFO_BG = $INFO_LIGHT
!$DANGER_BG = $DANGER
!$WARNING_BG = $WARNING
!$SECONDARY_BG = $SECONDARY
!endif
''
'' Called to make the text in the color of SUCCESS
''
!procedure $success($msg)
<font color=$SUCCESS><b>$msg
!endprocedure
''
'' Called to make the text in the color of DANGER
''
!procedure $failure($msg)
<font color=$DANGER><b>$msg
!endprocedure
''
'' Called to make the text in the color of WARNING
''
!procedure $warning($msg)
<font color=$WARNING><b>$msg
!endprocedure
''
'' Called to use the primary color scheme
'' Different colors based on if PUML_OUTLINE
'' is true or not
''
!procedure $primary_scheme()
!if ($PUML_OUTLINE == "true")
FontColor $PRIMARY
BorderColor $PRIMARY
BackgroundColor $PUML_BGCOLOR
!else
FontColor $PRIMARY_TEXT
BorderColor $PRIMARY
BackgroundColor $PRIMARY_LIGHT-$PRIMARY
!endif
!endprocedure
''
'' Called to use the secondary color scheme
''
!procedure $secondary_scheme()
!if ($PUML_OUTLINE == "true")
FontColor $SECONDARY_DARK
BorderColor $SECONDARY_DARK
BackgroundColor $PUML_BGCOLOR
!else
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_DARK
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
!endif
!endprocedure
''
'' HTTP Methods
''
!_POST = "<color #007a3e>POST</color>"
!_PUT = "<color #ea7400>PUT</color>"
!_DELETE = "<color #cf2a2a>DELETE</color>"
!_GET = "<color #009fdb>GET</color>"
!_PATCH = "<color #b5bd00>PATCH</color>"
!_HEAD = "<color #9012fe>HEAD</color>"
''
'' Global Default Values
''
skinparam defaultFontName "Verdana"
skinparam defaultFontSize 12
skinparam dpi 100
skinparam shadowing false
skinparam roundcorner 30
skinparam ParticipantPadding 40
skinparam BoxPadding 40
skinparam Padding 14
skinparam ArrowColor $DARK
skinparam stereotype {
CBackgroundColor $SECONDARY_LIGHT
CBorderColor $SECONDARY_DARK
ABackgroundColor $SUCCESS_LIGHT
ABorderColor $SUCCESS_DARK
IBackgroundColor $DANGER_LIGHT
IBorderColor $DANGER_DARK
EBackgroundColor $WARNING_LIGHT
EBorderColor $WARNING_DARK
NBackgroundColor $INFO_LIGHT
NBorderColor $INFO_DARK
}
skinparam title {
FontSize 20
BorderRoundCorner 30
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY
FontColor $PRIMARY
BorderColor $SECONDARY
}
skinparam legend {
$secondary_scheme()
BackgroundColor transparent
}
!startsub swimlane
skinparam swimlane {
BorderColor $INFO
BorderThickness 2
TitleBackgroundColor $SECONDARY_LIGHT-$SECONDARY
TitleFontColor $PRIMARY
}
!endsub
' <style>
' mindmapDiagram {
' Padding 15
' Margin 10
' FontSize 12
' FontName Verdana
' Shadowing 0.0
' LineThickness 1.5
' FontColor $PRIMARY_TEXT
' LineColor $PRIMARY_DARK
' node {
' LineColor $PRIMARY
' BackGroundColor $PRIMARY_LIGHT-$PRIMARY
' }
' }
' </style>
!startsub activity
skinparam activity {
$primary_scheme()
BarColor $SUCCESS
StartColor $INFO
EndColor $INFO
''
DiamondBackgroundColor $SECONDARY_BG
DiamondBorderColor $DIAMOND_BD
DiamondFontColor $SECONDARY_TEXT
}
!endsub
!startsub participant
skinparam participant {
$primary_scheme()
ParticipantBorderThickness 2
}
!endsub
!startsub actor
skinparam actor {
$primary_scheme()
FontColor $FGCOLOR
}
!endsub
!startsub arrow
skinparam arrow {
Thickness 2
Color $ARROW
FontColor $FGCOLOR
}
!endsub
!startsub sequence
skinparam sequence {
ArrowThickness 2
BorderColor $PRIMARY
' For some reason sequence title font color does not pick up from global
TitleFontColor $PRIMARY
BackgroundColor $PUML_BGCOLOR
StartColor $PRIMARY
EndColor $PRIMARY
''
BoxBackgroundColor $PUML_BGCOLOR
BoxBorderColor $DARK
BoxFontColor $DARK
''
DelayFontColor $DARK
''
LifeLineBorderColor $DARK
LifeLineBorderThickness 2
LifeLineBackgroundColor $LIGHT_DARK
''
GroupBorderColor $DARK
GroupFontColor $DARK
GroupHeaderFontColor $INFO
GroupBackgroundColor $SECONDARY
GroupBodyBackgroundColor $PUML_BGCOLOR
GroupHeaderBackgroundColor $PUML_BGCOLOR
''
DividerBackgroundColor $DARK
DividerBorderColor $DARK
DividerBorderThickness 2
DividerFontColor $LIGHT
''
ReferenceBackgroundColor $PUML_BGCOLOR
ReferenceBorderColor $DARK
ReferenceFontColor $DARK
ReferenceHeaderFontColor $INFO
ReferenceHeaderBackgroundColor $SECONDARY
''
StereotypeFontColor $PRIMARY_TEXT
StereotypeFontSize 12
}
!endsub
!startsub partition
skinparam partition {
BorderColor $PRIMARY
FontColor $PRIMARY
BackgroundColor $PUML_BGCOLOR
}
!endsub
!startsub collections
skinparam collections {
$primary_scheme()
}
!endsub
!startsub control
skinparam control {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub entity
skinparam entity {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub boundary
skinparam boundary {
$primary_scheme()
FontColor $DARK
}
!endsub
!startsub agent
skinparam agent {
BackgroundColor $WARNING
BorderColor $WARNING_LIGHT
FontColor $DARK
}
!endsub
!startsub note
skinparam note {
BorderThickness 3
BackgroundColor $NOTEBG
BorderColor $INFO_DARK
FontColor $NOTE_TEXT
}
!endsub
!startsub artifact
skinparam artifact {
BackgroundColor $DARK_BG
BorderColor $DARK_DARK
FontColor $LIGHT
}
!endsub
!startsub component
skinparam component {
$primary_scheme()
}
!endsub
!startsub interface
skinparam interface {
BackgroundColor $DANGER_DARK
BorderColor $DANGER
FontColor $DARK
}
!endsub
!startsub storage
skinparam storage {
BackgroundColor $WARNING_BG
BorderColor $WARNING_DARK
FontColor $WARNING_TEXT
}
!endsub
!startsub node
skinparam node {
BackgroundColor $PUML_BGCOLOR
BorderColor $LIGHT
FontColor $LIGHT
}
!endsub
!startsub cloud
skinparam cloud {
BackgroundColor transparent
BorderColor $DARK
FontColor $FGCOLOR
}
!endsub
!startsub database
skinparam database {
$primary_scheme()
FontColor $FGCOLOR
StereotypeFontColor $FGCOLOR
}
!endsub
!startsub class
skinparam class {
$primary_scheme()
FontColor $HEADER_TEXT
HeaderBackgroundColor $PRIMARY_LIGHT-$PRIMARY_DARK
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub object
skinparam object {
$primary_scheme()
StereotypeFontColor $DARK
BorderThickness 1
AttributeFontColor $PRIMARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub usecase
skinparam usecase {
$primary_scheme()
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub rectangle
skinparam rectangle {
BackgroundColor $PUML_BGCOLOR
FontColor $SECONDARY_TEXT
BorderColor $SECONDARY_TEXT
BorderThickness 2
StereotypeFontColor $PRIMARY
}
!endsub
!startsub package
skinparam package {
BackgroundColor $PUML_BGCOLOR
BorderColor $SECONDARY_TEXT
FontColor $SECONDARY_TEXT
BorderThickness 2
}
!endsub
!startsub folder
skinparam folder {
BackgroundColor $SECONDARY_BG
BorderColor $WARNING
FontColor $WARNING
BorderThickness 2
}
!endsub
!startsub frame
skinparam frame {
BackgroundColor $SECONDARY_BG
BorderColor $INFO
FontColor $INFO
BorderThickness 2
}
!endsub
!startsub state
skinparam state {
$primary_scheme()
StartColor $INFO
EndColor $INFO
AttributeFontColor $SECONDARY_TEXT
AttributeFontSize 11
}
!endsub
!startsub queue
skinparam queue {
$primary_scheme()
}
!endsub
!startsub card
skinparam card {
BackgroundColor $INFO_BG
BorderColor $INFO_DARK
FontColor $INFO_TEXT
}
!endsub
!startsub file
skinparam file {
BackgroundColor $SECONDARY_BG
BorderColor $LIGHT
FontColor $FGCOLOR
}
!endsub
!startsub stack
skinparam stack {
$primary_scheme()
}
!endsub
!startsub map
skinparam map {
$primary_scheme()
}
!endsub
''
'' When mixing skinparam and <style>, it is very important to put <style> after skinparam
''
'' Style settings
''
<style>
wbsDiagram, mindmapDiagram {
root {
BackgroundColor $PUML_BGCOLOR
FontColor $PRIMARY_TEXT
HyperLinkColor $INFO_BG
LineColor $PRIMARY_LIGHT
LineThickness 1
Margin 10
Padding 6
FontSize 12
Shadowing 0.0
}
node {
$primary_scheme()
Padding 15
RoundCorner 30
}
LeafNode {
FontSize 10
}
caption {
LineThickness 0
}
footer {
LineThickness 0
}
groupHeader {
BackgroundColor $SECONDARY_BG
FontColor $INFO_BG
FontStyle bold
}
header {
LineThickness 0
}
referenceHeader {
BackgroundColor $PUML_BGCOLOR
FontColor $DARK_BG
FontStyle bold
}
separator {
BackgroundColor $FGCOLOR
FontColor $PUML_BGCOLOR
FontStyle bold
}
title {
FontSize 20
BorderRoundCorner 30
BorderThickness 1
BackgroundColor $SECONDARY_LIGHT-$SECONDARY_BG
FontColor $PRIMARY_TEXT
BorderColor $SECONDARY_BG
}
}
nwdiagDiagram {
network {
$primary_scheme()
LineColor $PRIMARY_BG
LineThickness 1.0
FontColor $PRIMARY_DARK
}
server {
$primary_scheme()
}
arrow {
FontColor $PRIMARY_DARK
LineColor $PRIMARY_DARK
}
group {
BackGroundColor $LIGHT_BG
LineColor $LIGHT_DARK
LineThickness 2.0
Margin 5
Padding 5
}
}
ganttDiagram {
task {
$primary_scheme()
LineColor $PRIMARY_BG
Margin 10
Padding 6
}
note {
FontColor $INFO_TEXT
LineColor $INFO_DARK
BackGroundColor $INFO_BG
}
separator {
LineColor $SECONDARY_BG
BackGroundColor $secondary_scheme()
FontColor $SECONDARY_TEXT
}
milestone {
FontColor $INFO_BG
FontSize 16
FontStyle italic
BackGroundColor $DIAMOND_BG
LineColor $SECONDARY_DARK
}
timeline {
BackgroundColor $SECONDARY_BG
FontColor $SECONDARY_TEXT
}
closed {
BackgroundColor $WARNING_DARK
FontColor $WARNING_TEXT
}
}
sequenceDiagram {
RoundCorner 30
}
</style>
|
856d328a24f390eca510dbd446d9d93768f5f0c6 | a404e6e9e9b242632e4d6e38feffd854736ef848 | /assets/cassandra-jpa-example/code_main.plantuml | fd2aeef2cb04090f6ec2deb3c4913015fcbc3cac | [
"MIT"
] | permissive | hands-on-tech/hands-on-tech.github.io | 12d17159d07bc4c0dee2d39e535702cdf44365d2 | f8919b9312605582629bc1beb4cd50e4fab3b203 | refs/heads/master | 2023-08-25T14:05:37.638631 | 2023-08-09T22:22:58 | 2023-08-09T22:22:58 | 131,656,918 | 4 | 1 | null | null | null | null | UTF-8 | PlantUML | false | false | 492 | plantuml | @startuml
left to right direction
class Main {
{static} +main()
}
class RunDatastax {
+run()
}
class RunDatastaxNative {
+run()
}
class RunKundera {
+run()
}
class RunAchilles {
+run()
}
class UserDatastax
class UserKundera
class UserAchilles
RunDatastax --> UserDatastax: uses
RunKundera --> UserKundera: uses
RunAchilles --> UserAchilles: uses
Main --> RunDatastax: uses
Main --> RunDatastaxNative: uses
Main --> RunKundera: uses
Main --> RunAchilles: uses
@enduml |
3af4eafca235464562d4261a59577271e6025df6 | 935b0528caa1b79b04408361b95e2c68bd9478e8 | /android-pdf-viewer/src/main/java/com/github/barteksc/pdfviewer/model/model.plantuml | 7a561808156279a370a344bdc7849033fc063f6b | [
"Apache-2.0"
] | permissive | cj5785/YESPDF | 787485d7aaa3c17e70c31766f613a5a0d7bac5b7 | c2428c2984968b2d4feb23e69a4b82379f90d893 | refs/heads/master | 2022-11-26T11:04:42.961008 | 2020-08-02T13:15:24 | 2020-08-02T13:15:24 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,286 | plantuml | @startuml
title __MODEL's Class Diagram__\n
namespace com.github.barteksc.pdfviewer {
namespace model {
class com.github.barteksc.pdfviewer.model.LinkTapEvent {
- documentX : float
- documentY : float
- link : Link
- mappedLinkRect : RectF
- originalX : float
- originalY : float
+ LinkTapEvent()
+ getDocumentX()
+ getDocumentY()
+ getLink()
+ getMappedLinkRect()
+ getOriginalX()
+ getOriginalY()
}
}
}
namespace com.github.barteksc.pdfviewer {
namespace model {
class com.github.barteksc.pdfviewer.model.PagePart {
- cacheOrder : int
- page : int
- pageRelativeBounds : RectF
- renderedBitmap : Bitmap
- thumbnail : boolean
+ PagePart()
+ equals()
+ getCacheOrder()
+ getPage()
+ getPageRelativeBounds()
+ getRenderedBitmap()
+ isThumbnail()
+ setCacheOrder()
}
}
}
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
|
0c0b4dbc17dd47341143024ef536ba854df2c46b | 0cac157b94936ed5271a90b8c02c5ca483eb81ea | /Isotope/bin/production/Isotope/com/alestrio/isotope/database/database.plantuml | bc90a25a37bb331224bb5fdc7948653cd52f13cc | [
"MIT"
] | permissive | Isotope-Software/Isotope-StockManager | d6f822c3bf2ac55e121a1c9054b68b40c75578d7 | 2e273e3c45b15e8100f0f08c7ad0f4b75f7d36d0 | refs/heads/master | 2022-09-21T03:41:16.373248 | 2019-11-23T18:12:27 | 2019-11-23T18:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,056 | plantuml | @startuml
title __DATABASE's Class Diagram__\n
package com.alestrio.isotope {
package com.alestrio.isotope.database {
enum DB_TYPE {
INTEG
TEXT
NUMERIC
SERIAL
s
}
}
}
package com.alestrio.isotope {
package com.alestrio.isotope.database {
class Database {
# name : String
# columns : List<DbColumn>
- tableM : TableView<Material>
- modifyButton : Button
- delButton : Button
- duplButton : Button
- totalValueButton : Button
+ setPct()
+ Database()
+ setColumns()
+ getName()
+ setName()
+ getColumns()
+ addColumn()
+ addDb()
- createColumnsFx()
+ getDatabaseUiElements()
}
}
}
package com.alestrio.isotope {
package com.alestrio.isotope.database {
class DbColumn {
- name : String
- tc : TableColumn
- value : String
+ tf : TextField
+ getValue()
+ setValue()
+ getName()
+ setName()
+ getDbt()
+ setDbt()
~ DbColumn()
+ getTableColumn()
}
}
}
package com.alestrio.isotope {
package com.alestrio.isotope.database {
class DbItem {
{static} # add()
}
}
}
package com.alestrio.isotope {
package com.alestrio.isotope.database {
class DbItemProperty {
- name : String
- integerProperty : SimpleIntegerProperty
- doubleProperty : SimpleDoubleProperty
- simpleStringProperty : SimpleStringProperty
- whichProperty : int
- DbItemProperty()
~ DbItemProperty()
~ DbItemProperty()
~ DbItemProperty()
+ getProperty()
+ getName()
}
}
}
package com.alestrio.isotope {
package com.alestrio.isotope.database {
enum PriceCount_type {
CUBICCM
SQUARECM
UNIT
i
}
}
}
package com.alestrio.isotope {
package com.alestrio.isotope.database {
class XmlHandler {
- node : String
- aldb : ArrayList<Database>
+ startDocument()
+ endDocument()
+ startElement()
+ getArrayOfDatabases()
}
}
}
package com.alestrio.isotope {
package com.alestrio.isotope.database {
class XmlSettings {
- DBList : ArrayList<Database>
{static} - handler : XmlHandler
{static} + parseFile()
}
}
}
Database o-- DB : db
Database o-- PriceCount_type : pct
DbColumn o-- DB_TYPE : dbt
DbItem -up-|> Database
XmlHandler -up-|> DefaultHandler
XmlHandler o-- Database : db
XmlSettings o-- Database : db
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
|
0857bb4a42b5687c1f530d423007c00503ecc6ec | 2733e9340195c6bcd927034ca398b0467c862c7f | /Generator/tree.puml | 55b8e9a9e45e3673de351afe21e293c59d12057a | [] | no_license | adrian-helberg/bachelor | 0026c51b9feb31ba3dc0dafdcd68a30cbd492509 | d5261079a68bbc7c72c11ef93ff1e4f0241e5c51 | refs/heads/master | 2021-07-09T02:59:34.394076 | 2021-03-28T12:52:49 | 2021-03-28T12:52:49 | 237,755,354 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 587 | puml | @startuml
class de.haw.tree.TreeNode {
- T data
# List<TreeNode<T>> children
+ T getData()
+ List<TreeNode<T>> getChildren()
+ boolean isEmpty()
+ boolean isLeaf()
+ void setData(T)
+ void removeChildren()
+ void addChild(TreeNode<T>)
+ TreeNode<T> copy()
+ String toString()
+ Iterator<TreeNode<T>> iterator()
+ boolean equals(Object)
+ int hashCode()
}
class de.haw.tree.TreeNodeIterator {
- Deque<TreeNode<T>> queue
+ boolean hasNext()
+ TreeNode<T> next()
+ void remove()
}
de.haw.tree.Iterable <|.. de.haw.tree.TreeNode
java.util.Iterator <|.. de.haw.tree.TreeNodeIterator
@enduml |
f9106cb4782896faa33ef26ffb685388cea3b3d9 | 994e1b033268551bf065636526563e1e0c8c8598 | /app/src/main/java/com/example/foodonate/account/userDevelopment/userDevelopment.plantuml | 3795caef550e3842279838b7622f6b48d03da0bd | [] | no_license | rakesh-gyawali/FooDonate_User | 439a6a69821e2680ef5bb3f0a326275b16915210 | bed2a9a8bce375e476e5176f78d0178177c2e396 | refs/heads/master | 2023-06-23T13:26:47.960693 | 2021-07-19T12:54:07 | 2021-07-19T12:54:07 | 330,961,393 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,698 | plantuml | @startuml
title __USERDEVELOPMENT's Class Diagram__\n
namespace com.example.foodonate {
namespace account {
namespace userDevelopment {
interface com.example.foodonate.account.userDevelopment.UserAPI {
{abstract} + getUser()
{abstract} + putUser()
}
}
}
}
namespace com.example.foodonate {
namespace account {
namespace userDevelopment {
class com.example.foodonate.account.userDevelopment.UserBLL {
- firstName : String
- lastName : String
- password : String
- phoneNo : String
- profilePicture : String
- response : Response<UserResponse>
+ UserBLL()
+ UserBLL()
+ UserBLL()
+ checkGetUser()
+ checkUpdateProfile()
+ returnUser()
}
}
}
}
namespace com.example.foodonate {
namespace account {
namespace userDevelopment {
class com.example.foodonate.account.userDevelopment.UserResponse {
- firstName : String
- lastName : String
- phoneNo : String
- profilePicture : String
+ UserResponse()
+ getFirstName()
+ getLastName()
+ getPhoneNo()
+ getProfilePicture()
+ setFirstName()
+ setLastName()
+ setPhoneNo()
+ setProfilePicture()
}
}
}
}
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
|
f04a782cdbd58b680fc84a767b814f61d0bf3675 | 2fdfdd23c429bcf31b21547b53fbae2d3c07e090 | /Logical/API/API.puml | 650e6606e99a4892af526a1b582b4ca729dbfa9d | [] | no_license | swa-group1/PlantUML | e3c7e073a4852678f98d7cc54d46e4cf5aa9b464 | 32d4a102b16a2d7c378b1c560bf170725cb2322f | refs/heads/main | 2023-04-21T05:42:03.223046 | 2021-04-27T18:35:25 | 2021-04-27T18:35:25 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 471 | puml | @startuml
allowmixing
'https://plantuml.com/class-diagram
class Controller{
httpMethod()
}
class Request
collections Requests
collections Results
class Result
class API<< (S,#FF7700) Singleton >>{
Attach*Handler()
}
class Startup
interface IRequestHandler{
TResult ProcessRequest(TRequest)
}
IRequestHandler --> Result
IRequestHandler --> Request
Controller <-up- Startup
Controller --> API
Requests -> Request
Results -> Result
API -> IRequestHandler
@enduml |
a5b162fc78cb9f8c2563b28997b1d90ab0fc1774 | ff98a177902b8b97888a5e44eb59e5397a1826d8 | /doc/QML-implementation.plantuml | fe33d61e43945aaf813796b8fc0dfcd7987af1d8 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bitmouse/facelift | 471c39415c1d6667ddc9552abb764e48f3ac4755 | 229d7ad81d8c3e361a207251759b4fc9a6f225cb | refs/heads/master | 2021-07-06T04:48:00.323219 | 2020-10-26T17:48:45 | 2020-10-26T17:48:45 | 199,874,162 | 0 | 0 | MIT | 2020-08-26T07:28:25 | 2019-07-31T14:38:35 | C++ | UTF-8 | PlantUML | false | false | 1,487 | plantuml | @startuml
package Facelift {
class InterfaceBase {
Base C++ class for all generated interfaces
}
class QMLAdapterBase {
Base C++ class for all generated QML frontends
}
class IPCServiceAdapterBase {
Base C++ for class for all generated IPC adapters
}
}
abstract class Interface #88CCDD {
C++ abstract class defining the interface
...
generated from IDL
}
abstract class InterfaceImplementationBase #88CCDD {
Abstract helper class which contains boilerplate code to help writing concrete interface implementations
...
generated from IDL
}
class InterfaceDummy #88CCDD {
generated from IDL
}
class InterfaceIPCProxy #88CCDD {
generated from IDL
}
class InterfaceQMLAdapter #88CCDD {
Implements the interface exposed to the QML engine, to be used by the UI code
Turns data from the interface implementation into QML-compatible types
...
generated from IDL
}
class InterfaceImplementation {
concrete class implementing the interface
}
Interface <|-- InterfaceImplementationBase
InterfaceImplementationBase <|-- InterfaceImplementation
InterfaceImplementationBase <|-- InterfaceDummy
InterfaceImplementationBase <|-- InterfaceIPCProxy
IPCServiceAdapterBase <|-- InterfaceIPCProxy
InterfaceQMLAdapter "provider" --> Interface
InterfaceBase <|-- Interface
QMLAdapterBase <|-- InterfaceQMLAdapter
@enduml
note left
a note
can also be defined
on several lines
end note
|
f1dc1ad0ef085c2227562fae6d7b27a9087f1d25 | 66189c5ec1fd3d87a5db4f281fb8eee547b62011 | /com/zx/command/command.puml | 79f586ac6e56f36859b463674c731fc9a21a714b | [] | no_license | Jcduhdt/DesignPattern | 27168347a85ab79a0976d2ef3ce6e8687bd01ddd | 501635e4eebba510ae3d1bb26ebfdaccf76beb8c | refs/heads/master | 2021-02-17T20:03:58.951599 | 2020-03-15T08:34:11 | 2020-03-15T08:34:11 | 245,124,068 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 295 | puml | @startuml
Client ..> Invoker
class Receiver{
action():void
}
Client ..> Receiver
class ConcreteCommand{
execute():void
undo():void
}
Client ..> ConcreteCommand
interface Command{
execute():void
undo():void
}
Invoker o-- Command
Command <|.. ConcreteCommand
ConcreteCommand o-- Receiver
@enduml |
6700c9a3adcc117e5e4f38e82be458af47e16c46 | 11aab025c331fd2f74a11d0e15bbcd1ccb77614b | /src/main/java/oop/assignment3/ex45/base/ex45_PlantUML.puml | 3571e4e820c785aa942b5ab6007d0a5a9ac4f36c | [] | no_license | SaharaSheik/Sheikholeslami-cop3330-assignment3 | ffb18c9a01fff65b143149088d9776053744847a | bffa560e2bffc8494928bf722c94cc402a47b595 | refs/heads/master | 2023-05-23T23:47:43.333267 | 2021-06-20T23:42:25 | 2021-06-20T23:42:25 | 378,759,997 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 621 | puml | @startuml
'https://plantuml.com/sequence-diagram
class Word_Finder{
+{static}readFile: BufferedReader
+{static}writeFile: BufferedWriter
+{static}oldWord: String
+{static}newWord: String
+{static} fileLines :ArrayList<String>
+ main(arg: String[]): void
+ fileRead(inout inputFile: BufferedReader, fileName: String): ArrayList<String>
+ fileWriter (inout outputFile: BufferedWriter, sortedString: ArrayList<String> , String fileName): BufferedWriter
+ createFileName(newFileName: String): String
+ wordReplacer(fileLines: ArrayList<String> , oldWord: String, newWord String): ArrayList<String>
}
@enduml |
1cb51a2d6e16448a571421bf7ff9b35285973395 | 3074b80e34f0cd74b8f518339ad20a03b9d8c0b8 | /doc/design/utility.puml | 90b30e33bf66dd4006c7571ef2f292046776b42d | [] | no_license | Orchaldir/SocialSimulation | f6a76987a1110141a0decd14e599736253d865af | de261249a873c1aa1a03b97ccceaac0b81f6ec0d | refs/heads/master | 2022-12-26T02:24:50.700746 | 2020-09-26T08:55:39 | 2020-09-26T08:55:39 | 294,708,362 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 466 | puml | @startuml
hide empty members
package social.utils {
package utility {
class UtilityRuleSet {
int calculateUtility(Context context)
List<UtilityRule> getTriggeredRules(Context context)
}
class UtilityRule {
String description
int modifier
int getUtilityModifier(Context context)
}
}
package condition {
interface Condition {
bool evaluate(Context context)
}
}
}
UtilityRuleSet "1" *-- "*" UtilityRule
UtilityRule "1" *-- "*" Condition
@enduml |
1fc0d5bf33f64b9e9fa8999215f945190931fa36 | fe6e9e520dd23299e2610ef91db16866995ee19e | /docs/images/client_transport_architecture.puml | fdad1bb8d9e52da04242c1d6c31a5098f7d09ae2 | [
"Apache-2.0"
] | permissive | jason-fox/Micro-XRCE-DDS-docs | c5b2118e4d8235da62bc3a6c8cbe4130e779d3f2 | c0248eb385e8841fb24870db6483356aa8a299d4 | refs/heads/master | 2022-09-21T08:41:03.084832 | 2021-04-08T05:22:59 | 2021-04-08T05:23:06 | 267,620,052 | 0 | 0 | Apache-2.0 | 2020-05-28T15:01:02 | 2020-05-28T15:01:02 | null | UTF-8 | PlantUML | false | false | 1,899 | puml | @startuml
skinparam roundcorner 20
skinparam monochrome true
package "session layer" <<Rectangle>> {
class uxrCommunication
}
interface uxrCommunication {
void* instance
+virtual bool <b>send_msg_func()</b> = 0
+virtual bool <b>recv_msg_func()</b> = 0
+virtual uint8_t <b>comm_error_func()</b> = 0
uint16_t mtu
}
package "transport layer" <<Rectangle>> {
class uxrUDPTransport
}
interface uxrUDPTransport {
uxrCommunication comm
uxrUDPPlatform* platform
uint8_t buffer[mtu_size]
----
+bool <b>send_udp_message()</b> override
+bool <b>recv_udp_message()</b> override
+bool <b>get_udp_error()</b> override
....
+bool <b>uxr_init_udp_transport()</b>
+bool <b>uxr_close_udp_transport()</b>
....
-virtual bool <b>uxr_init_udp_platform()</b> = 0
-virtual bool <b>uxr_close_udp_platform()</b> = 0
-virtual size_t <b>uxr_write_udp_data_platform()</b> = 0
-virtual size_t <b>uxr_read_udp_data_platform()</b> = 0
}
package "platform layer" <<Rectangle>> {
class "uxrUDPPlatform <<Linux>>"
class "uxrUDPPlatform <<Windows>>"
}
class "uxrUDPPlatform <<Linux>>" {
-struct sockaddr remote_addr
-struct pollfd poll_fd
-bool <b>uxr_init_udp_platform()</b> override
-bool <b>uxr_close_udp_platform()</b> override
-size_t <b>uxr_write_udp_data_platform()</b> override
-size_t <b>uxr_read_udp_data_platform()</b> override
}
class "uxrUDPPlatform <<Windows>>" {
-struct sockaddr remote_addr
-WSAPOLLFD pollfd poll_fd
-bool <b>uxr_init_udp_platform()</b> override
-bool <b>uxr_close_udp_platform()</b> override
-size_t <b>uxr_write_udp_data_platform()</b> override
-size_t <b>uxr_read_udp_data_platform()</b> override
}
uxrCommunication <|-- uxrUDPTransport
uxrUDPTransport <|-- "uxrUDPPlatform <<Linux>>"
uxrUDPTransport <|-- "uxrUDPPlatform <<Windows>>"
@enduml
|
b831b9c03b5ed2802e5ce6a9ef13516453151ef6 | d97b774fd95a8e98e37c46ee1771f6e6e407a148 | /uml/api/OrderCustomLineItemQuantityChangedMessage.puml | 3bdb27ebe4fbeb5ed23820008df11f09405bf346 | [] | no_license | commercetools/commercetools-api-reference | f7c6694dbfc8ed52e0cb8d3707e65bac6fb80f96 | 2db4f78dd409c09b16c130e2cfd583a7bca4c7db | refs/heads/main | 2023-09-01T05:22:42.100097 | 2023-08-31T11:33:37 | 2023-08-31T11:33:37 | 36,055,991 | 52 | 30 | null | 2023-08-22T11:28:40 | 2015-05-22T06:27:19 | RAML | UTF-8 | PlantUML | false | false | 1,278 | 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 OrderCustomLineItemQuantityChangedMessage [[OrderCustomLineItemQuantityChangedMessage.svg]] extends OrderMessage {
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]]
customLineItemId: String
customLineItemKey: String
quantity: Long
oldQuantity: Long
}
interface OrderMessage [[OrderMessage.svg]] {
id: String
version: Long
createdAt: DateTime
lastModifiedAt: DateTime
lastModifiedBy: [[LastModifiedBy.svg LastModifiedBy]]
createdBy: [[CreatedBy.svg CreatedBy]]
sequenceNumber: Long
resource: [[Reference.svg Reference]]
resourceVersion: Long
type: String
resourceUserProvidedIdentifiers: [[UserProvidedIdentifiers.svg UserProvidedIdentifiers]]
}
@enduml
|
04276191cc34786b9372f2956a10c81f5ff0ce07 | 34acd2aa8d51295c0c4289e43e8961f5e23b5a08 | /PlantUML/raw/Custom/ElCazador.Worker/Modules/Spoofers/NBNSSpoofer.puml | 6b5dc09a0d1c51a683f6dcfd69547549a997e6cd | [] | no_license | fisboger/Thesis | a6887e195c7daa8317abe3167de1676420173e33 | 4746126f69da615c641380fd7a33c863f2fedee3 | refs/heads/master | 2020-04-03T15:18:08.671739 | 2019-02-07T11:17:06 | 2019-02-07T11:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 445 | puml | @startuml
class NBNSSpoofer {
# <<override>> Protocol : string <<get>>
+ NBNSSpoofer(controller:IWorkerController, settings:SpooferSettings, socketType:Models.SocketType)
# <<override>> GetPacket(data:byte[], ip:byte[]) : IPacket
# <<override>> CheckRules(state:SpooferPacket) : bool
# <<override>> GetName(state:SpooferPacket) : string
- {static} DecodeName(bytes:byte[]) : string
}
BaseSpoofer <|-- NBNSSpoofer
@enduml
|
2163eb12230b9433a68fe705bc43a0490e3ddd49 | 3019cf47fa6b44a5679c849b7150b61cbead3a29 | /src/org/ting/uml/factory.puml | 68c19b6a00d0212154af7380bafea386aa757550 | [] | no_license | cy-pointer/designpattern | c21a4239aa5f86ed01b2a8df37ac89692e7199cc | ce5602576345135c416f95d4d95ef5dcf5b4df84 | refs/heads/master | 2022-04-01T17:56:04.413936 | 2020-01-04T06:04:48 | 2020-01-04T06:04:48 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 548 | puml | @startuml
title 工厂模式
scale 1.5
package factory{
interface Shape{
+void draw();
}
class Circle{
+void draw();
}
class Square{
+void draw();
}
class Rectangle{
+void draw();
}
}
class ShapeFactory{
+ Shape getShape();
}
class FactoryPatternDemo{
+void main();
}
Circle -up-|>Shape : implements >
Square -up-|>Shape : implements >
Rectangle -up-|>Shape :implements >
ShapeFactory <..right. factory : < creates
FactoryPatternDemo ..> ShapeFactory : asks >
@enduml |
cb840cc9652838b3acc7ba1258d3086ce72cbfdf | a535c551b126312761b0d0df30f0e821290ae567 | /src/main/java/com/kate_chaus/art_orders/controller/controller.plantuml | c7ca5fcb26fbe14e463dd327c155e78735e74563 | [] | no_license | KateChaus/fate | d0dd0e524cb7fb42b32f1389f73088794a5ec8f0 | 33b1099e5fdea04561fced096b3bfa2944d0da73 | refs/heads/main | 2023-05-08T00:55:21.692888 | 2021-06-08T15:34:51 | 2021-06-08T15:34:51 | 371,137,495 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 3,921 | plantuml | @startuml
title __CONTROLLER's Class Diagram__\n
namespace com.kate_chaus.art_orders {
namespace controller {
class com.kate_chaus.art_orders.controller.ControllerUtil {
{static} ~ getErrors()
}
}
}
namespace com.kate_chaus.art_orders {
namespace controller {
class com.kate_chaus.art_orders.controller.MainController {
- uploadPath : String
+ add()
+ main()
+ updateMessage()
+ userMessages()
- saveFile()
}
}
}
namespace com.kate_chaus.art_orders {
namespace controller {
class com.kate_chaus.art_orders.controller.OrderApplicationController {
- uploadPath : String
+ Update()
+ apply()
+ changeOrderStatus()
+ editApplication()
+ getApplication()
+ getArtistOrders()
+ getCustomerOrders()
+ newArtistApplication()
+ newArtistApplicationForm()
+ newCustomerApplication()
+ newCustomerApplicationForm()
- saveFile()
}
}
}
namespace com.kate_chaus.art_orders {
namespace controller {
class com.kate_chaus.art_orders.controller.RegistrationController {
+ addUser()
+ registration()
}
}
}
namespace com.kate_chaus.art_orders {
namespace controller {
class com.kate_chaus.art_orders.controller.SearchController {
+ getSettings()
}
}
}
namespace com.kate_chaus.art_orders {
namespace controller {
class com.kate_chaus.art_orders.controller.SettingsController {
- passwordEncoder : PasswordEncoder
- uploadPath : String
+ addSite()
+ changeAvatar()
+ changeStatus()
+ deleteSite()
+ getSettings()
+ setSettings()
- saveFile()
}
}
}
namespace com.kate_chaus.art_orders {
namespace controller {
class com.kate_chaus.art_orders.controller.UserController {
+ getSettings()
+ profile()
+ subscribe()
+ unsubscribe()
+ updateSettings()
+ userEditForm()
+ userList()
+ userList()
+ userSave()
~ getCustomerOrders()
~ getOrders()
~ getSubscriptions()
}
}
}
com.kate_chaus.art_orders.controller.MainController o-- com.kate_chaus.art_orders.repos.MessageRepo : messageRepo
com.kate_chaus.art_orders.controller.MainController o-- com.kate_chaus.art_orders.repos.OrderRepo : orderRepo
com.kate_chaus.art_orders.controller.OrderApplicationController o-- com.kate_chaus.art_orders.repos.OrderApplicationRepo : orderApplicationRepo
com.kate_chaus.art_orders.controller.OrderApplicationController o-- com.kate_chaus.art_orders.repos.OrderRepo : orderRepo
com.kate_chaus.art_orders.controller.OrderApplicationController o-- com.kate_chaus.art_orders.repos.UserRepo : userRepo
com.kate_chaus.art_orders.controller.RegistrationController o-- com.kate_chaus.art_orders.service.UserService : userService
com.kate_chaus.art_orders.controller.SearchController o-- com.kate_chaus.art_orders.repos.OrderApplicationRepo : orderApplicationRepo
com.kate_chaus.art_orders.controller.SettingsController o-- com.kate_chaus.art_orders.repos.SiteRepo : siteRepo
com.kate_chaus.art_orders.controller.SettingsController o-- com.kate_chaus.art_orders.repos.UserRepo : userRepo
com.kate_chaus.art_orders.controller.UserController o-- com.kate_chaus.art_orders.repos.OrderRepo : orderRepo
com.kate_chaus.art_orders.controller.UserController o-- com.kate_chaus.art_orders.service.UserService : userService
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
|
e6cb2b8bb9cde2a49778e877b4338d428a4f9981 | f38d41b8cb114f17af86527c058cb633bf2d7d5f | /src/structure/uml/activities.puml | b8fdef6e1b7d18d6c1fe5d59b7dc57608a497eb4 | [] | no_license | Kozova1/sw-engineering-school-book | 2c02d00f1bf6593f01492f7eb59f15bbb9a4e6e6 | 2d04bcb7ea4c1f48c7d20f555c00eacc89272b90 | refs/heads/master | 2023-05-15T18:30:42.587824 | 2021-06-18T19:02:52 | 2021-06-18T19:02:52 | 378,239,077 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 2,561 | puml | @startuml
!theme plain
skinparam classFontSize 10
class "MainActivity" as main {
-DrawerLayout drawer
-BroadcastReceiver airplaneNagger
-void finishCourse()
-void setMenuItemWhite(MenuItem item)
}
class "FirstTimeActivity" as fta {
-void moveToNextActivity()
#boolean {static} isInCourse(Context ctx)
#void {static} beginCourse(Context ctx)
#void {static} endCourse(Context ctx)
}
class "SplashScreenActivity" as splash {
-String {static} SPLASH_PREF_STRING
#void {static} wasSplashShownBefore(Activity act)
#void {static} setSplashShown(Activity act)
-void moveToNextActivity()
}
class "ViewerActivity" as view {
+boolean onOptionsItemSelected(MenuItem item)
}
class "ListFragment" as list {
-String {static} LIST_FRAGMENT_TYPE
-String {static} LIST_FRAGMENT_TYPE_ARTICLE
-String {static} LIST_FRAGMENT_TYPE_EXERCISE
}
class "ReplFragment" as repl {
-Globals globalEnv;
-ByteArrayOutputStream stdout;
-PrintStream pOStream;
-PipedInputStream stdin;
-PipedOutputStream stdinWriteStream;
-EditText inputBox;
-TextView textView;
+void close()
}
class "AddContentFragment" as content
class "AddArticleFragment" as addArticle {
-EditText articleContent
-EditText articleTitle
-CheckBox isHardCheckbox
}
class "AddExerciseFragment" as addExercise {
-EditText exerciseInstructions;
-EditText exerciseTitle;
-EditText exerciseTest;
-EditText exerciseTemplate;
-CheckBox isHardCheckbox;
}
class "ExerciseFragment" as exercise {
-int id
-String test
-TextView resultsView
-EditText codeView
}
class "ArticleFragment" as article {
-int id
+void onDestroyView()
}
class CreatingArticlesInfoFragment {}
class CreatingExercisesInfoFragment {}
splash --> fta : Click "Next" button (or instantly if opened before)
fta --> main : Click "Join Course" or "Create Course" (or instantly if in a course)
fta <-- main : Click "Publish Course" or "Exit Course" in options menu
main --> list : Select "Exercises" or "Articles" in drawer
list --> view : Click on card (Listing)
view --> list : Click on "Back" button
view --> article
view --> exercise
main --> repl : Select "REPL" in drawer
main --> content : Select "Add Article or Exercise" in drawer
content --> addArticle : Select "Add Article" radio button
content --> addExercise : Select "Add Exercise" radio button
main --> CreatingArticlesInfoFragment : Select "Get Help - Articles" in drawer
main --> CreatingExercisesInfoFragment : Select "Get Help - Exercises" in drawer
@enduml |
ca061ae8bda817babeb048a413a54f9551a8e076 | 0ea1dec22625973d1493c8f2abc45689a5521c80 | /src/main/scala/try_11/Try11.puml | 0841cc4fce12bac9b3f1e706f5227eca64ecc2a0 | [] | no_license | suzuki-hoge/repository-transparency | f1c6a4b5c14ccceb49839e96ad59f1117cb3bcde | 7e69c03e74aad4336a30e7e877765ad23c50b3a4 | refs/heads/master | 2020-09-08T00:13:56.618427 | 2019-12-03T04:47:05 | 2019-12-07T02:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,868 | puml | @startuml
title Try11
namespace cancel {
class DomainService << (S, lightcyan) >> {
def apply(...): Option[Error]
}
class Order {
OrderStatus
OrderKind
def validate(): Option[OrderError]
}
class Item {
ItemStatus
def validate(): Option[ItemError]
}
interface Error
enum OrderError {
OrderedOnly
ClothesOnly
}
enum ItemError {
WaitingOnly
}
DomainService --> Order
DomainService --> Item
Order --> OrderError
Item --> ItemError
OrderError -r-|> Error
ItemError -l-|> Error
}
namespace change_deliver_to {
class DomainService << (S, lightcyan) >> {
def apply(...): Option[Error]
}
class Order {
OrderStatus
def validate(): Option[OrderError]
}
class Item {
ItemStatus
def validate(): Option[ItemError]
}
interface Error
enum OrderError {
OrderedOnly
}
enum ItemError {
WaitingOnly
}
DomainService --> Order
DomainService --> Item
Order --> OrderError
Item --> ItemError
OrderError -r-|> Error
ItemError -l-|> Error
}
namespace change_arrival_at {
class DomainService << (S, lightcyan) >> {
def apply(...): Option[Error]
}
class Order {
OrderStatus
OrderKind
def validate(): Option[OrderError]
}
class Item {
ItemStatus
def validate(): Option[ItemError]
}
class User {
Plan
def validate(): Option[UserError]
}
interface Error
enum OrderError {
OrderedOnly
ClothesOnly
}
enum ItemError {
WaitingOrPackedOnly
}
enum UserError {
PremiumOnly
}
DomainService --> Order
DomainService --> Item
DomainService --> User
Order --> OrderError
Item --> ItemError
User --> UserError
OrderError --|> Error
ItemError --|> Error
UserError --|> Error
}
cancel.ItemError -[hidden]d-> change_arrival_at.DomainService
@enduml |
c71a6b800d7b6e5cc944d15a3a1798724ae9f93c | 486940cf5fe3c0ab3494a953547222f036847c47 | /src/main/java/ex46/DiagramEx46.puml | 910501a330b9f4d38b363b1c2db9519f215ae89f | [] | no_license | joseyamin/yamin-cop3330-assignment3 | db437b4b63a4aa20791bf73dba5079ae75a7c270 | db592b58c840ce86c194b520268cb2710f8be440 | refs/heads/master | 2023-06-06T05:42:52.991039 | 2021-06-20T01:55:59 | 2021-06-20T01:55:59 | 378,538,420 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 230 | puml | @startuml
'https://plantuml.com/class-diagram
class FrequencyFinder(){
String textStr
Word: WordList
findWordsFrequency()
addFrequencyToWord()
addWord()
displayHistogram()
}
class Word(){
String word
int frequency
}
@enduml |
d9c01dee42b466929ffe141e7696be952f7c35b1 | f576ded7c7322e8bb02ac9334761cafcf0106385 | /TemplateMethod/Use/out/TemplateLesson.puml | d3f5d9daeb7299d2a482210f1ace4c283e9336bd | [] | 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 | 188 | puml | @startuml
abstract class TemplateLesson {
+ ConductLesson() : void
+ {abstract} Lecture() : void
+ {abstract} Test() : void
+ {abstract} ResultsAnnounce() : void
}
@enduml
|
be8278b46a6a4ad4c14c66e7900c68a5dd03e12f | 4929efb60ac03904f437de48c4e737a2a72cfd64 | /ChessDomainModel.puml | 4259435d40c5585ec1191cdc34da43eb01df23c9 | [] | no_license | gio8tisu/arqsoft-board-games | 47c2ad6ceeb3fde7bfcd04f1060455decda5ded2 | d2be8ee8d83edcc293f641349c0834eb971a0d61 | refs/heads/master | 2022-10-31T08:47:59.216973 | 2020-06-17T20:42:05 | 2020-06-17T20:42:05 | 272,980,240 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 851 | puml | PlayerWhite
PlayerBlack
King
Queen
Rook
Knight
Bishop
Pawn
@startuml
abstract class Piece {
String color
bool isValidMove(Coordinate origin, Coordinate destination)
}
class Board {
Cell getCell(Coordinate c)
}
class Turn {
void makeMovement(Player p, Coordinate origin, Coordinate destination)
}
class Player {
String color
}
Game --> "2" Player
Game --> "1" Board : Is played in
Game --> Turn : Manages
Piece <|-- King
Piece <|-- Queen
Piece <|-- Rook
Piece <|-- Knight
Piece <|-- Bishop
Piece <|-- Pawn
Piece --> Player
Piece "0..1" <--> "1" Cell : Is in a
Player --> "1" King
Player --> "0..1" Queen
Player --> "0..2" Rook
Player --> "0..2" Knight
Player --> "0..2" Bishop
Player --> "0..8" Pawn
Player ..> Turn : uses
Cell ..> Coordinate : Is located by
Board o--> "64" Cell : Has a 8x8 Matrix
Board ..> Coordinate
@enduml |
a641c116606fd5518d1fd2c0be7a1b727f5c767a | 9e9676cdfe6aea6d2db11068ad34eda0c3376d56 | /deliveries/final/uml/adrenaline-server.puml | d9095d8a3c75e8b18c030668eec5200ad4a66c48 | [
"MIT"
] | permissive | slinkydeveloper/ing-sw-2019-guardiani-mucignat-lischio | 621f17a7631d6c8c3a2ec3b3a7443e76de47e565 | f985abed3a1f7e2c95ae7fa20dcab1870840d110 | refs/heads/master | 2022-12-26T02:14:57.116316 | 2019-07-05T09:49:41 | 2019-07-05T09:49:41 | 176,522,157 | 0 | 0 | MIT | 2020-10-13T13:22:31 | 2019-03-19T13:50:02 | HTML | UTF-8 | PlantUML | false | false | 40,253 | puml | @startuml
package com.adrenalinici.adrenaline.server <<Folder>> {
class "GameBootstrapper"
class "JsonUtils"
class "StartServerDialogController"
}
package com.adrenalinici.adrenaline.server.controller <<Folder>> {
interface "ControllerFlowNode"
class "DecoratedAlternativeEffectGun"
class "DecoratedBaseEffectGun"
class "DecoratedEffect"
abstract class "DecoratedGun"
class "GameController"
interface "GunFactory"
class "GunLoader"
interface "StatelessControllerFlowNode"
}
package com.adrenalinici.adrenaline.server.controller.guns <<Folder>> {
abstract class "AlternativeEffectGunFactory"
abstract class "BaseEffectGunFactory"
class "CyberbladeGunFactory"
class "ElectroscytheGunFactory"
class "FlamethrowerGunFactory"
class "FurnaceGunFactory"
class "GrenadeLauncherGunFactory"
class "HeatseekerGunFactory"
class "HellionGunFactory"
class "LockRifleGunFactory"
class "MachineGunGunFactory"
class "PlasmaGunGunFactory"
class "PowerGloveGunFactory"
class "RailgunGunFactory"
class "RocketLauncherGunFactory"
class "ShockwaveGunFactory"
class "ShotgunGunFactory"
class "SledgehammerGunFactory"
class "ThorGunFactory"
class "TractorBeamGunFactory"
class "VortexCannonGunFactory"
class "WhisperGunFactory"
class "ZX2GunFactory"
}
package com.adrenalinici.adrenaline.server.controller.nodes <<Folder>> {
class "ApplyNewtonFlowNode"
class "ApplyTeleporterFlowNode"
class "ChooseActionFlowNode"
class "ChooseGunFlowNode"
class "ChooseMovementFlowNode"
class "FirstTurnFlowNode"
class "NewTurnFlowNode"
class "PickupFlowNode"
class "ReloadFlowNode"
class "RespawnFlowNode"
}
package com.adrenalinici.adrenaline.server.controller.nodes.guns <<Folder>> {
interface "AlternativeEffectGunFlowState"
class "AlternativeEffectGunFlowStateImpl"
class "AlternativeGunChooseMovementFlowNode"
class "ApplyAlternativeGunFlowNode"
class "ApplyBaseGunFlowNode"
class "ApplyGrenadeLauncherEffectFlowNode"
class "ApplyScopeFlowNode"
interface "BaseEffectGunFlowState"
class "BaseEffectGunFlowStateImpl"
class "BaseGunChooseMovementFlowNode"
class "ChooseAlternativeEffectForGunFlowNode"
class "ChooseBaseEffectForGunFlowNode"
class "ChooseCellToHitFlowNode"
class "ChoosePlayersToHitFlowNode"
class "ChooseRoomToHitFlowNode"
class "GunChooseEnemyMovementFlowNode"
interface "GunFlowState"
abstract class "GunFlowStateImpl"
interface "SkippableGunFlowNode"
class "TagbackGrenadeFlowNode"
}
package com.adrenalinici.adrenaline.server.flow <<Folder>> {
interface "FlowContext"
interface "FlowNode"
interface "FlowOrchestrator"
interface "FlowState"
interface "StatelessFlowNode"
}
package com.adrenalinici.adrenaline.server.flow.impl <<Folder>> {
abstract class "BaseFlowContext"
class "FlowOrchestratorImpl"
class "VoidState"
}
package com.adrenalinici.adrenaline.server.model <<Folder>> {
abstract class "BaseDashboardCell"
class "CardDeck"
class "Dashboard"
interface "DashboardCell"
class "PickupDashboardCell"
class "PlayerDashboard"
class "RespawnDashboardCell"
}
package com.adrenalinici.adrenaline.server.network <<Folder>> {
interface "MessageHandler"
class "ServerContext"
class "ServerMessageRouter"
abstract class "ServerNetworkAdapter"
}
package com.adrenalinici.adrenaline.server.network.handlers <<Folder>> {
class "ChosenMatchMessageHandler"
class "ConnectedPlayerMessageHandler"
class "DisconnectedPlayerMessageHandler"
class "HandlerUtils"
class "NewMatchMessageHandler"
class "ViewEventMessageHandler"
}
package com.adrenalinici.adrenaline.server.network.rmi <<Folder>> {
class "SenderRunnable"
}
package com.adrenalinici.adrenaline.server.network.socket <<Folder>> {
abstract class "BaseSocketRunnable"
class "SocketEventLoopRunnable"
}
abstract class "AlternativeEffectGunFactory" {
getDecoratedGun(String, ObjectNode) : DecoratedAlternativeEffectGun
getDecoratedGun(String, ObjectNode) : DecoratedGun
getModelGun(String, ObjectNode) : Gun
getModelGun(String, ObjectNode) : AlternativeEffectGun
}
interface "AlternativeEffectGunFlowState" {
getChosenGun() : DecoratedGun
resolvePhaseConfiguration(String) : ObjectNode
setChosenEffect(DecoratedEffect, boolean) : AlternativeEffectGunFlowState
}
class "AlternativeEffectGunFlowStateImpl" {
firstEffect : Boolean
chosenEffect : DecoratedEffect
getChosenGun() : DecoratedGun
resolvePhaseConfiguration(String) : ObjectNode
setChosenEffect(DecoratedEffect, boolean) : AlternativeEffectGunFlowState
}
class "AlternativeGunChooseMovementFlowNode" {
handleEvent(ViewEvent, AlternativeEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(AlternativeEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
}
class "ApplyAlternativeGunFlowNode" {
nodeId : String
consumer : TriConsumer<AlternativeEffectGunFlowState, GameModel, ControllerFlowContext>
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, AlternativeEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(AlternativeEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ApplyBaseGunFlowNode" {
nodeId : String
consumer : TriConsumer<BaseEffectGunFlowState, GameModel, ControllerFlowContext>
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, BaseEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(BaseEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ApplyGrenadeLauncherEffectFlowNode" {
beenHere : boolean
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, BaseEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(BaseEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
}
class "ApplyNewtonFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
}
class "ApplyScopeFlowNode" {
handleEvent(ViewEvent, GunFlowState, GameView, GameModel, ControllerFlowContext)
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(GunFlowState, GameView, GameModel, ControllerFlowContext)
}
class "ApplyTeleporterFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
}
abstract class "BaseDashboardCell" {
playersInCell : List<PlayerColor>
northDashboardCellBoundType : DashboardCellBoundType
southDashboardCellBoundType : DashboardCellBoundType
eastDashboardCellBoundType : DashboardCellBoundType
westDashboardCellBoundType : DashboardCellBoundType
cellColor : CellColor
line : int
cell : int
dashboard : Dashboard
addPlayer(PlayerColor)
removePlayer(PlayerColor)
}
abstract class "BaseEffectGunFactory" {
getDecoratedGun(String, ObjectNode) : DecoratedBaseEffectGun
getDecoratedGun(String, ObjectNode) : DecoratedGun
getModelGun(String, ObjectNode) : Gun
getModelGun(String, ObjectNode) : BaseEffectGun
}
interface "BaseEffectGunFlowState" {
getChosenGun() : DecoratedGun
resolvePhaseConfiguration(String) : ObjectNode
setActivatedFirstExtraEffect(boolean) : BaseEffectGunFlowState
setActivatedSecondExtraEffect(boolean) : BaseEffectGunFlowState
}
class "BaseEffectGunFlowStateImpl" {
activatedFirstExtraEffect : boolean
activatedSecondExtraEffect : boolean
getChosenGun() : DecoratedGun
resolvePhaseConfiguration(String) : ObjectNode
setActivatedFirstExtraEffect(boolean) : BaseEffectGunFlowState
setActivatedSecondExtraEffect(boolean) : BaseEffectGunFlowState
}
abstract class "BaseFlowContext" {
actualNode : FlowNode
actualState : FlowState
actualPhaseId : String
phasesQueue : List<String>
orchestrator : FlowOrchestrator
additionalNodesToExecuteAlways : List<String>
actualIndex : int
actualFlowNode() : FlowNode
actualNode() : FlowNode
actualPhase() : String
addPhases(String[])
addPhasesToEnd(String[])
end(GameView)
handleEvent(ViewEvent, GameView)
jump(String, GameView, FlowState)
nextPhase(GameView, FlowState)
replayNode(GameView)
replayPhase(GameView)
}
class "BaseGunChooseMovementFlowNode" {
distance : int
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, GunChooseMovementFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
mapState(FlowState) : GunChooseMovementFlowState
mapState(FlowState) : FlowState
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(GunChooseMovementFlowState, GameView, GameModel, ControllerFlowContext)
}
abstract class "BaseSocketRunnable" {
connectedClients : Map<Socket, String>
}
class "CardDeck" {
deck : List<T>
addCard(T)
size() : int
}
class "ChooseActionFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ChooseAlternativeEffectForGunFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, AlternativeEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(AlternativeEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ChooseBaseEffectForGunFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, BaseEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(BaseEffectGunFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ChooseCellToHitFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, GunFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(GunFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ChooseGunFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
}
class "ChooseMovementFlowNode" {
distance : int
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
}
class "ChoosePlayersToHitFlowNode" {
handleEvent(ViewEvent, GunFlowState, GameView, GameModel, ControllerFlowContext)
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
id() : String
onJump(GunFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ChooseRoomToHitFlowNode" {
handleEvent(ViewEvent, GunFlowState, GameView, GameModel, ControllerFlowContext)
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
id() : String
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(GunFlowState, GameView, GameModel, ControllerFlowContext)
}
class "ChosenMatchMessageHandler" {
handleMessage(ChosenMatchMessage, String, ServerContext)
handleMessage(InboxMessage, String, ServerContext)
}
class "ConnectedPlayerMessageHandler" {
handleMessage(ConnectedPlayerMessage, String, ServerContext)
handleMessage(InboxMessage, String, ServerContext)
}
interface "ControllerFlowNode"
class "CyberbladeGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "Dashboard" {
dashboardCells : DashboardCell[][]
dashboardChoice : DashboardChoice
calculateCardinalDirection(Position, Position) : CardinalDirection
calculateDistance(Position, Position) : int
calculateIfVisible(Position, Position) : boolean
calculateMovements(Position, int) : List<Position>
calculateMovementsInOneDirection(Position, int) : List<Position>
cells() : int
getDashboardCell(Position) : DashboardCell
light() : LightDashboard
lines() : int
stream() : Stream<DashboardCell>
}
interface "DashboardCell" {
addPlayer(PlayerColor)
hasEastDashboardCell() : boolean
hasEastWall() : boolean
hasNorthDashboardCell() : boolean
hasNorthWall() : boolean
hasSouthDashboardCell() : boolean
hasSouthWall() : boolean
hasWestDashboardCell() : boolean
hasWestWall() : boolean
light() : LightDashboardCell
removePlayer(PlayerColor)
visit(Consumer<RespawnDashboardCell>, Consumer<PickupDashboardCell>)
}
class "DecoratedAlternativeEffectGun" {
firstEffect : DecoratedEffect
secondEffect : DecoratedEffect
get() : AlternativeEffectGun
get() : Gun
}
class "DecoratedBaseEffectGun" {
baseEffect : DecoratedEffect
firstExtraEffect : DecoratedEffect
secondExtraEffect : DecoratedEffect
get() : BaseEffectGun
get() : Gun
hasFirstExtraEffect() : boolean
hasSecondExtraEffect() : boolean
}
class "DecoratedEffect" {
effect : Effect
additionalPhases : List<String>
requiredAmmos : List<AmmoColor>
get() : Effect
}
abstract class "DecoratedGun" {
gun : Gun
phases : List<String>
get() : Gun
visit(Consumer<AlternativeEffectGun>, Consumer<BaseEffectGun>)
}
class "DisconnectedPlayerMessageHandler" {
handleMessage(DisconnectedPlayerMessage, String, ServerContext)
handleMessage(InboxMessage, String, ServerContext)
}
class "ElectroscytheGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "FirstTurnFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "FlamethrowerGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
interface "FlowContext" {
actualFlowNode() : FlowNode
actualNode() : FlowNode
actualPhase() : String
addPhases(String[])
addPhasesToEnd(String[])
end(GameView)
handleEvent(ViewEvent, GameView)
jump(String, GameView, FlowState)
nextPhase(GameView, FlowState)
nextPhase(GameView)
replayNode(GameView)
replayPhase(GameView)
}
interface "FlowNode" {
handleEvent(ViewEvent, S, GameView, GameModel, C)
id() : String
mapState(FlowState) : S
onJump(S, GameView, GameModel, C)
skip(S, C) : boolean
}
interface "FlowOrchestrator" {
handleEvent(ViewEvent, GameView)
onEnd(GameView)
resolveNode(String) : FlowNode
startNewFlow(GameView, T)
}
class "FlowOrchestratorImpl" {
nodes : Map<String, ? extends com.adrenalinici.adrenaline.server.flow.FlowNode>
actualContext : T
model : GameModel
onEndCallback : Consumer<GameView>
handleEvent(ViewEvent, GameView)
onEnd(GameView)
resolveNode(String) : FlowNode
startNewFlow(GameView, T)
}
interface "FlowState"
class "FurnaceGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "GameBootstrapper" {
inbox : BlockingQueue<InboxEntry>
outboxRmi : BlockingQueue<OutboxEntry>
outboxSocket : BlockingQueue<OutboxEntry>
rmiNetworkAdapter : ServerNetworkAdapter
socketNetworkAdapter : ServerNetworkAdapter
serverMessageRouter : ServerMessageRouter
serverMessageRouterThread : Thread
rmiPort : int
socketPort : int
turnTimerSeconds : long
start()
stop()
}
class "GameController" {
gameModel : GameModel
flowOrchestrator : FlowOrchestrator<ControllerFlowContext>
firstTurn : boolean
onEvent(Object)
onEvent(DecoratedEvent<ViewEvent, GameView>)
startMatch(GameView)
}
class "GrenadeLauncherGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "GunChooseEnemyMovementFlowNode" {
distance : int
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, GunFlowState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(GunFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
interface "GunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
getDecoratedGun(String, ObjectNode) : DecoratedGun
getModelGun(String, ObjectNode) : Gun
}
interface "GunFlowState" {
applyHitAndMarkPlayers(GameModel, ControllerFlowContext)
hitPlayer(PlayerColor, int)
markPlayer(PlayerColor, int)
resolvePhaseConfiguration(String) : ObjectNode
}
abstract class "GunFlowStateImpl" {
chosenGun : DecoratedGun
chosenCellsToHit : List<Position>
chosenPlayersToHit : List<PlayerColor>
hitPlayers : Map<PlayerColor, Integer>
markPlayers : Map<PlayerColor, Integer>
applyHitAndMarkPlayers(GameModel, ControllerFlowContext)
hitPlayer(PlayerColor, int)
markPlayer(PlayerColor, int)
}
class "GunLoader" {
factories : List<GunFactory>
guns : Map<String, Gun>
decoratedGuns : Map<String, DecoratedGun>
nodes : Map<String, List<ControllerFlowNode>>
getAdditionalNodes(String) : List<ControllerFlowNode>
getDecoratedGun(String) : DecoratedGun
getModelGun(String) : Gun
}
class "HandlerUtils"
class "HeatseekerGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "HellionGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "JsonUtils"
class "LockRifleGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "MachineGunGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
interface "MessageHandler" {
handleMessage(T, String, ServerContext)
}
class "NewMatchMessageHandler" {
turnTimerSeconds : long
handleMessage(NewMatchMessage, String, ServerContext)
handleMessage(InboxMessage, String, ServerContext)
}
class "NewTurnFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "PickupDashboardCell" {
ammoCard : AmmoCard
light() : LightDashboardCell
removeAmmoCard()
setAmmoCard(AmmoCard)
visit(Consumer<RespawnDashboardCell>, Consumer<PickupDashboardCell>)
}
class "PickupFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "PlasmaGunGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "PlayerDashboard" {
player : PlayerColor
ammos : List<AmmoColor>
damages : List<PlayerColor>
marks : List<PlayerColor>
guns : HashMap<String, Boolean>
powerUpCards : List<PowerUpCard>
skullsNumber : int
points : int
flipped : boolean
addAmmo(AmmoColor)
addDamages(List<PlayerColor>)
addGun(String)
addMarks(List<PlayerColor>)
addPoints(int)
addPowerUpCard(PowerUpCard) : boolean
hasVenomGrenade() : boolean
incrementSkullsNumber()
light() : LightPlayerDashboard
reloadGun(String)
removeAllDamages()
removeAmmos(List<AmmoColor>)
removeAmmosIncludingPowerups(List<AmmoColor>) : List<PowerUpCard>
removeGun(String)
removeMarks(List<PlayerColor>)
removePowerUpCard(PowerUpCard) : boolean
setFlipped(boolean) : PlayerDashboard
unloadGun(String)
}
class "PowerGloveGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "RailgunGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "ReloadFlowNode" {
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
handleEvent(ViewEvent, VoidState, GameView, GameModel, ControllerFlowContext)
id() : String
onJump(VoidState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "RespawnDashboardCell" {
availableGuns : Set<String>
addAvailableGun(String)
light() : LightDashboardCell
removeAvailableGun(String)
visit(Consumer<RespawnDashboardCell>, Consumer<PickupDashboardCell>)
}
class "RespawnFlowNode" {
handleEvent(ViewEvent, RespawnFlowState, GameView, GameModel, ControllerFlowContext)
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
id() : String
mapState(FlowState) : RespawnFlowState
mapState(FlowState) : FlowState
onJump(FlowState, GameView, GameModel, FlowContext)
onJump(RespawnFlowState, GameView, GameModel, ControllerFlowContext)
}
class "RocketLauncherGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "SenderRunnable" {
connectedClients : Map<String, GameRmiClient>
viewOutbox : BlockingQueue<OutboxEntry>
run()
}
class "ServerContext" {
inbox : BlockingQueue<InboxEntry>
outboxRmi : BlockingQueue<OutboxEntry>
outboxSocket : BlockingQueue<OutboxEntry>
playerMatchMap : Map<String, String>
matchesMap : Map<String, RemoteView>
matchesControllersMap : Map<String, GameController>
addConnectionToMatch(String, String)
addMatch(RemoteView, GameController)
broadcastToMatch(String, OutboxMessage)
enqueueInboxMessage(String, InboxMessage)
getConnectionMatch(String) : RemoteView
onDisconnection(String)
removeMatch(String)
send(String, OutboxMessage)
}
class "ServerMessageRouter" {
inbox : BlockingQueue<InboxEntry>
context : ServerContext
handlers : Map<Class<? extends com.adrenalinici.adrenaline.common.network.inbox.InboxMessage>, MessageHandler>
run()
withHandler(Class<? extends com.adrenalinici.adrenaline.common.network.inbox.InboxMessage>, Function<ServerContext, MessageHandler>) : ServerMessageRouter
withHandler(Class<? extends com.adrenalinici.adrenaline.common.network.inbox.InboxMessage>, MessageHandler) : ServerMessageRouter
}
abstract class "ServerNetworkAdapter" {
viewInbox : BlockingQueue<InboxEntry>
viewOutbox : BlockingQueue<OutboxEntry>
start()
stop()
}
class "ShockwaveGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "ShotgunGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
interface "SkippableGunFlowNode" {
skip(T, ControllerFlowContext) : boolean
skip(FlowState, FlowContext) : boolean
}
class "SledgehammerGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "SocketEventLoopRunnable" {
viewOutbox : BlockingQueue<OutboxEntry>
viewInbox : BlockingQueue<InboxEntry>
remainingWrites : Map<String, Queue<ByteBuffer>>
remainingReads : Map<String, ByteBuffer>
selector : Selector
connectedClients : Map<Socket, String>
lastKeepAlive : Map<String, Long>
run()
}
class "StartServerDialogController" {
rmiPortTextField : TextField
socketPortTextField : TextField
turnTimeoutTextField : TextField
startMatchButton : Button
initialize()
onStartMatchClicked(MouseEvent)
showErrorAlert()
}
interface "StatelessControllerFlowNode"
interface "StatelessFlowNode" {
mapState(FlowState) : VoidState
mapState(FlowState) : FlowState
}
class "TagbackGrenadeFlowNode" {
handleEvent(ViewEvent, TagbackGrenadeFlowState, GameView, GameModel, ControllerFlowContext)
handleEvent(ViewEvent, FlowState, GameView, GameModel, FlowContext)
id() : String
mapState(FlowState) : FlowState
mapState(FlowState) : TagbackGrenadeFlowState
onJump(TagbackGrenadeFlowState, GameView, GameModel, ControllerFlowContext)
onJump(FlowState, GameView, GameModel, FlowContext)
}
class "ThorGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "TractorBeamGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "ViewEventMessageHandler" {
handleMessage(InboxMessage, String, ServerContext)
handleMessage(ViewEventMessage, String, ServerContext)
}
class "VoidState"
class "VortexCannonGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "WhisperGunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
class "ZX2GunFactory" {
canConsume(String, ObjectNode) : boolean
getAdditionalNodes(String, ObjectNode) : List<ControllerFlowNode>
}
"AlternativeEffectGunFactory" --> "DecoratedAlternativeEffectGun" : use
"AlternativeEffectGunFactory" --> "DecoratedGun" : use
"AlternativeEffectGunFactory" <|-- "ElectroscytheGunFactory"
"AlternativeEffectGunFactory" <|-- "FlamethrowerGunFactory"
"AlternativeEffectGunFactory" <|-- "FurnaceGunFactory"
"AlternativeEffectGunFactory" <|-- "HellionGunFactory"
"AlternativeEffectGunFactory" <|-- "PowerGloveGunFactory"
"AlternativeEffectGunFactory" <|-- "RailgunGunFactory"
"AlternativeEffectGunFactory" <|-- "ShockwaveGunFactory"
"AlternativeEffectGunFactory" <|-- "ShotgunGunFactory"
"AlternativeEffectGunFactory" <|-- "SledgehammerGunFactory"
"AlternativeEffectGunFactory" <|-- "TractorBeamGunFactory"
"AlternativeEffectGunFactory" <|-- "ZX2GunFactory"
"AlternativeEffectGunFlowState" <-> "AlternativeEffectGunFlowStateImpl"
"AlternativeEffectGunFlowState" --> "DecoratedEffect" : use
"AlternativeEffectGunFlowState" --> "DecoratedGun" : use
"AlternativeEffectGunFlowStateImpl" --> "DecoratedEffect" : chosenEffect
"AlternativeEffectGunFlowStateImpl" --> "DecoratedGun" : use
"AlternativeGunChooseMovementFlowNode" --> "AlternativeEffectGunFlowState" : use
"AlternativeGunChooseMovementFlowNode" --> "FlowContext" : use
"AlternativeGunChooseMovementFlowNode" --> "FlowState" : use
"ApplyAlternativeGunFlowNode" --> "AlternativeEffectGunFlowState" : consumer
"ApplyAlternativeGunFlowNode" --> "FlowContext" : use
"ApplyAlternativeGunFlowNode" --> "FlowState" : use
"ApplyBaseGunFlowNode" --> "BaseEffectGunFlowState" : consumer
"ApplyBaseGunFlowNode" --> "FlowContext" : use
"ApplyBaseGunFlowNode" --> "FlowState" : use
"ApplyGrenadeLauncherEffectFlowNode" --> "BaseEffectGunFlowState" : use
"ApplyGrenadeLauncherEffectFlowNode" --> "FlowContext" : use
"ApplyGrenadeLauncherEffectFlowNode" --> "FlowState" : use
"ApplyNewtonFlowNode" --> "FlowContext" : use
"ApplyNewtonFlowNode" --> "FlowState" : use
"ApplyNewtonFlowNode" --> "VoidState" : use
"ApplyScopeFlowNode" --> "FlowContext" : use
"ApplyScopeFlowNode" --> "FlowState" : use
"ApplyScopeFlowNode" --> "GunFlowState" : use
"ApplyTeleporterFlowNode" --> "FlowContext" : use
"ApplyTeleporterFlowNode" --> "FlowState" : use
"ApplyTeleporterFlowNode" --> "VoidState" : use
"BaseDashboardCell" --> "Dashboard" : dashboard
"BaseDashboardCell" <|-- "PickupDashboardCell"
"BaseDashboardCell" <|-- "RespawnDashboardCell"
"BaseEffectGunFactory" <|-- "CyberbladeGunFactory"
"BaseEffectGunFactory" --> "DecoratedBaseEffectGun" : use
"BaseEffectGunFactory" --> "DecoratedGun" : use
"BaseEffectGunFactory" <|-- "GrenadeLauncherGunFactory"
"BaseEffectGunFactory" <|-- "HeatseekerGunFactory"
"BaseEffectGunFactory" <|-- "LockRifleGunFactory"
"BaseEffectGunFactory" <|-- "MachineGunGunFactory"
"BaseEffectGunFactory" <|-- "PlasmaGunGunFactory"
"BaseEffectGunFactory" <|-- "RocketLauncherGunFactory"
"BaseEffectGunFactory" <|-- "ThorGunFactory"
"BaseEffectGunFactory" <|-- "VortexCannonGunFactory"
"BaseEffectGunFactory" <|-- "WhisperGunFactory"
"BaseEffectGunFlowState" <-> "BaseEffectGunFlowStateImpl"
"BaseEffectGunFlowState" --> "DecoratedGun" : use
"BaseEffectGunFlowStateImpl" --> "DecoratedGun" : use
"BaseFlowContext" --> "FlowNode" : actualNode
"BaseFlowContext" --> "FlowOrchestrator" : orchestrator
"BaseFlowContext" --> "FlowState" : actualState
"BaseGunChooseMovementFlowNode" --> "FlowContext" : use
"BaseGunChooseMovementFlowNode" --> "FlowState" : use
"ChooseActionFlowNode" --> "FlowContext" : use
"ChooseActionFlowNode" --> "FlowState" : use
"ChooseActionFlowNode" --> "VoidState" : use
"ChooseAlternativeEffectForGunFlowNode" --> "AlternativeEffectGunFlowState" : use
"ChooseAlternativeEffectForGunFlowNode" --> "FlowContext" : use
"ChooseAlternativeEffectForGunFlowNode" --> "FlowState" : use
"ChooseBaseEffectForGunFlowNode" --> "BaseEffectGunFlowState" : use
"ChooseBaseEffectForGunFlowNode" --> "FlowContext" : use
"ChooseBaseEffectForGunFlowNode" --> "FlowState" : use
"ChooseCellToHitFlowNode" --> "FlowContext" : use
"ChooseCellToHitFlowNode" --> "FlowState" : use
"ChooseCellToHitFlowNode" --> "GunFlowState" : use
"ChooseGunFlowNode" --> "FlowContext" : use
"ChooseGunFlowNode" --> "FlowState" : use
"ChooseGunFlowNode" --> "VoidState" : use
"ChooseMovementFlowNode" --> "FlowContext" : use
"ChooseMovementFlowNode" --> "FlowState" : use
"ChooseMovementFlowNode" --> "VoidState" : use
"ChoosePlayersToHitFlowNode" --> "FlowContext" : use
"ChoosePlayersToHitFlowNode" --> "FlowState" : use
"ChoosePlayersToHitFlowNode" --> "GunFlowState" : use
"ChooseRoomToHitFlowNode" --> "FlowContext" : use
"ChooseRoomToHitFlowNode" --> "FlowState" : use
"ChooseRoomToHitFlowNode" --> "GunFlowState" : use
"ChosenMatchMessageHandler" --> "ServerContext" : use
"ConnectedPlayerMessageHandler" --> "ServerContext" : use
"ControllerFlowNode" <|-- "AlternativeGunChooseMovementFlowNode"
"ControllerFlowNode" <|-- "ApplyAlternativeGunFlowNode"
"ControllerFlowNode" <|-- "ApplyBaseGunFlowNode"
"ControllerFlowNode" <|-- "ApplyGrenadeLauncherEffectFlowNode"
"ControllerFlowNode" <|-- "ApplyScopeFlowNode"
"ControllerFlowNode" <|-- "BaseGunChooseMovementFlowNode"
"ControllerFlowNode" <|-- "ChooseAlternativeEffectForGunFlowNode"
"ControllerFlowNode" <|-- "ChooseBaseEffectForGunFlowNode"
"ControllerFlowNode" <|-- "ChooseCellToHitFlowNode"
"ControllerFlowNode" <|-- "ChoosePlayersToHitFlowNode"
"ControllerFlowNode" <|-- "ChooseRoomToHitFlowNode"
"ControllerFlowNode" <|-- "GunChooseEnemyMovementFlowNode"
"ControllerFlowNode" <|-- "RespawnFlowNode"
"ControllerFlowNode" <|-- "SkippableGunFlowNode"
"ControllerFlowNode" <|-- "TagbackGrenadeFlowNode"
"CyberbladeGunFactory" --> "*" "ControllerFlowNode" : use
"DashboardCell" <|-- "BaseDashboardCell"
"DashboardCell" <|-- "PickupDashboardCell"
"DashboardCell" --> "PickupDashboardCell" : use
"DashboardCell" --> "RespawnDashboardCell" : use
"DashboardCell" <|-- "RespawnDashboardCell"
"Dashboard" --> "DashboardCell" : use
"DecoratedAlternativeEffectGun" --> "DecoratedEffect" : firstEffect/secondEffect
"DecoratedBaseEffectGun" --> "DecoratedEffect" : baseEffect/firstExtraEffect/secondExtraEffect
"DecoratedGun" <|-- "DecoratedAlternativeEffectGun"
"DecoratedGun" <|-- "DecoratedBaseEffectGun"
"DisconnectedPlayerMessageHandler" --> "ServerContext" : use
"ElectroscytheGunFactory" --> "*" "ControllerFlowNode" : use
"FirstTurnFlowNode" --> "FlowContext" : use
"FirstTurnFlowNode" --> "FlowState" : use
"FirstTurnFlowNode" --> "VoidState" : use
"FlamethrowerGunFactory" --> "*" "ControllerFlowNode" : use
"FlowContext" <|-- "BaseFlowContext"
"FlowContext" <-> "FlowNode" : use
"FlowContext" --> "FlowState" : use
"FlowNode" <|-- "AlternativeGunChooseMovementFlowNode"
"FlowNode" <|-- "ApplyAlternativeGunFlowNode"
"FlowNode" <|-- "ApplyBaseGunFlowNode"
"FlowNode" <|-- "ApplyGrenadeLauncherEffectFlowNode"
"FlowNode" <|-- "ApplyNewtonFlowNode"
"FlowNode" <|-- "ApplyScopeFlowNode"
"FlowNode" <|-- "ApplyTeleporterFlowNode"
"FlowNode" <|-- "BaseGunChooseMovementFlowNode"
"FlowNode" <|-- "ChooseActionFlowNode"
"FlowNode" <|-- "ChooseAlternativeEffectForGunFlowNode"
"FlowNode" <|-- "ChooseBaseEffectForGunFlowNode"
"FlowNode" <|-- "ChooseCellToHitFlowNode"
"FlowNode" <|-- "ChooseGunFlowNode"
"FlowNode" <|-- "ChooseMovementFlowNode"
"FlowNode" <|-- "ChoosePlayersToHitFlowNode"
"FlowNode" <|-- "ChooseRoomToHitFlowNode"
"FlowNode" <|-- "ControllerFlowNode"
"FlowNode" <|-- "FirstTurnFlowNode"
"FlowNode" --> "FlowState" : use
"FlowNode" <|-- "GunChooseEnemyMovementFlowNode"
"FlowNode" <|-- "NewTurnFlowNode"
"FlowNode" <|-- "PickupFlowNode"
"FlowNode" <|-- "ReloadFlowNode"
"FlowNode" <|-- "RespawnFlowNode"
"FlowNode" <|-- "SkippableGunFlowNode"
"FlowNode" <|-- "StatelessControllerFlowNode"
"FlowNode" <|-- "StatelessFlowNode"
"FlowNode" <|-- "TagbackGrenadeFlowNode"
"FlowOrchestrator" --> "FlowContext" : use
"FlowOrchestrator" --> "FlowNode" : use
"FlowOrchestrator" <|-- "FlowOrchestratorImpl"
"FlowOrchestratorImpl" --> "FlowContext" : actualContext
"FlowOrchestratorImpl" --> "FlowNode" : use
"FlowState" <|-- "AlternativeEffectGunFlowState"
"FlowState" <|-- "AlternativeEffectGunFlowStateImpl"
"FlowState" <|-- "BaseEffectGunFlowState"
"FlowState" <|-- "BaseEffectGunFlowStateImpl"
"FlowState" <|-- "GunFlowState"
"FlowState" <|-- "GunFlowStateImpl"
"FlowState" <|-- "VoidState"
"FurnaceGunFactory" --> "*" "ControllerFlowNode" : use
"GameBootstrapper" --> "ServerMessageRouter" : serverMessageRouter
"GameBootstrapper" --> "ServerNetworkAdapter" : rmiNetworkAdapter/socketNetworkAdapter
"GameController" --> "FlowOrchestrator" : flowOrchestrator
"GrenadeLauncherGunFactory" --> "*" "ControllerFlowNode" : use
"GunChooseEnemyMovementFlowNode" --> "FlowContext" : use
"GunChooseEnemyMovementFlowNode" --> "FlowState" : use
"GunChooseEnemyMovementFlowNode" --> "GunFlowState" : use
"GunFactory" <|-- "AlternativeEffectGunFactory"
"GunFactory" <|-- "BaseEffectGunFactory"
"GunFactory" --> "*" "ControllerFlowNode" : use
"GunFactory" <|-- "CyberbladeGunFactory"
"GunFactory" --> "DecoratedGun" : use
"GunFactory" <|-- "ElectroscytheGunFactory"
"GunFactory" <|-- "FlamethrowerGunFactory"
"GunFactory" <|-- "FurnaceGunFactory"
"GunFactory" <|-- "GrenadeLauncherGunFactory"
"GunFactory" <|-- "HeatseekerGunFactory"
"GunFactory" <|-- "HellionGunFactory"
"GunFactory" <|-- "LockRifleGunFactory"
"GunFactory" <|-- "MachineGunGunFactory"
"GunFactory" <|-- "PlasmaGunGunFactory"
"GunFactory" <|-- "PowerGloveGunFactory"
"GunFactory" <|-- "RailgunGunFactory"
"GunFactory" <|-- "RocketLauncherGunFactory"
"GunFactory" <|-- "ShockwaveGunFactory"
"GunFactory" <|-- "ShotgunGunFactory"
"GunFactory" <|-- "SledgehammerGunFactory"
"GunFactory" <|-- "ThorGunFactory"
"GunFactory" <|-- "TractorBeamGunFactory"
"GunFactory" <|-- "VortexCannonGunFactory"
"GunFactory" <|-- "WhisperGunFactory"
"GunFactory" <|-- "ZX2GunFactory"
"GunFlowState" <|-- "AlternativeEffectGunFlowState"
"GunFlowState" <|-- "AlternativeEffectGunFlowStateImpl"
"GunFlowState" <|-- "BaseEffectGunFlowState"
"GunFlowState" <|-- "BaseEffectGunFlowStateImpl"
"GunFlowState" <|-- "GunFlowStateImpl"
"GunFlowStateImpl" <|-- "AlternativeEffectGunFlowStateImpl"
"GunFlowStateImpl" <|-- "BaseEffectGunFlowStateImpl"
"GunFlowStateImpl" --> "DecoratedGun" : chosenGun
"GunLoader" --> "*" "ControllerFlowNode" : use
"GunLoader" --> "DecoratedGun" : decoratedGuns
"GunLoader" --> "*" "GunFactory" : factories
"HeatseekerGunFactory" --> "*" "ControllerFlowNode" : use
"HellionGunFactory" --> "*" "ControllerFlowNode" : use
"LockRifleGunFactory" --> "*" "ControllerFlowNode" : use
"MachineGunGunFactory" --> "*" "ControllerFlowNode" : use
"MessageHandler" <|-- "ChosenMatchMessageHandler"
"MessageHandler" <|-- "ConnectedPlayerMessageHandler"
"MessageHandler" <|-- "DisconnectedPlayerMessageHandler"
"MessageHandler" <|-- "NewMatchMessageHandler"
"MessageHandler" --> "ServerContext" : use
"MessageHandler" <|-- "ViewEventMessageHandler"
"NewMatchMessageHandler" --> "ServerContext" : use
"NewTurnFlowNode" --> "FlowContext" : use
"NewTurnFlowNode" --> "FlowState" : use
"NewTurnFlowNode" --> "VoidState" : use
"PickupDashboardCell" <-> "RespawnDashboardCell" : use
"PickupFlowNode" --> "FlowContext" : use
"PickupFlowNode" --> "FlowState" : use
"PickupFlowNode" --> "VoidState" : use
"PlasmaGunGunFactory" --> "*" "ControllerFlowNode" : use
"PowerGloveGunFactory" --> "*" "ControllerFlowNode" : use
"RailgunGunFactory" --> "*" "ControllerFlowNode" : use
"ReloadFlowNode" --> "FlowContext" : use
"ReloadFlowNode" --> "FlowState" : use
"ReloadFlowNode" --> "VoidState" : use
"RespawnFlowNode" --> "FlowContext" : use
"RespawnFlowNode" --> "FlowState" : use
"RocketLauncherGunFactory" --> "*" "ControllerFlowNode" : use
"ServerContext" --> "GameController" : matchesControllersMap
"ServerMessageRouter" --> "MessageHandler" : handlers
"ServerMessageRouter" --> "ServerContext" : context
"ShockwaveGunFactory" --> "*" "ControllerFlowNode" : use
"ShotgunGunFactory" --> "*" "ControllerFlowNode" : use
"SkippableGunFlowNode" <|-- "AlternativeGunChooseMovementFlowNode"
"SkippableGunFlowNode" <|-- "BaseGunChooseMovementFlowNode"
"SkippableGunFlowNode" --> "FlowContext" : use
"SkippableGunFlowNode" --> "FlowState" : use
"SkippableGunFlowNode" <|-- "GunChooseEnemyMovementFlowNode"
"SkippableGunFlowNode" --> "GunFlowState" : use
"SledgehammerGunFactory" --> "*" "ControllerFlowNode" : use
"StatelessControllerFlowNode" <|-- "ApplyNewtonFlowNode"
"StatelessControllerFlowNode" <|-- "ApplyTeleporterFlowNode"
"StatelessControllerFlowNode" <|-- "ChooseActionFlowNode"
"StatelessControllerFlowNode" <|-- "ChooseGunFlowNode"
"StatelessControllerFlowNode" <|-- "ChooseMovementFlowNode"
"StatelessControllerFlowNode" <|-- "FirstTurnFlowNode"
"StatelessControllerFlowNode" <|-- "NewTurnFlowNode"
"StatelessControllerFlowNode" <|-- "PickupFlowNode"
"StatelessControllerFlowNode" <|-- "ReloadFlowNode"
"StatelessFlowNode" <|-- "ApplyNewtonFlowNode"
"StatelessFlowNode" <|-- "ApplyTeleporterFlowNode"
"StatelessFlowNode" <|-- "ChooseActionFlowNode"
"StatelessFlowNode" <|-- "ChooseGunFlowNode"
"StatelessFlowNode" <|-- "ChooseMovementFlowNode"
"StatelessFlowNode" <|-- "FirstTurnFlowNode"
"StatelessFlowNode" --> "FlowState" : use
"StatelessFlowNode" <|-- "NewTurnFlowNode"
"StatelessFlowNode" <|-- "PickupFlowNode"
"StatelessFlowNode" <|-- "ReloadFlowNode"
"StatelessFlowNode" <|-- "StatelessControllerFlowNode"
"StatelessFlowNode" --> "VoidState" : use
"TagbackGrenadeFlowNode" --> "FlowContext" : use
"TagbackGrenadeFlowNode" --> "FlowState" : use
"ThorGunFactory" --> "*" "ControllerFlowNode" : use
"TractorBeamGunFactory" --> "*" "ControllerFlowNode" : use
"ViewEventMessageHandler" --> "ServerContext" : use
"VortexCannonGunFactory" --> "*" "ControllerFlowNode" : use
"WhisperGunFactory" --> "*" "ControllerFlowNode" : use
"ZX2GunFactory" --> "*" "ControllerFlowNode" : use
@enduml |
392c2e1c6e6a0725f994dca7b6576d2e0caf53d3 | 31d76ea7e0e1ef885e01cc2b4b9e4771d4c53c98 | /src/packages.puml | 5cc27927597dbc3b199b491edc65de5b1f96b2ed | [] | no_license | jimmyrabbit88/Delivery | e06d4c2fe44d0516f70548ac7cf42e9a4a6ef3b1 | d9d98696265ef24c6541962e6e310bad83c9d8ed | refs/heads/master | 2023-01-14T17:09:02.233830 | 2020-10-30T14:28:45 | 2020-10-30T14:28:45 | 308,602,130 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 524 | puml | @startuml
skinparam classAttributeIconSize 0
class parcel{
deliver(): void
}
abstract class Delivery{
- deliveryType: WayOfDelivery
- message: String
abstract deliver(): void
}
interface WayOfDelivery{
- howToDeliver()
}
class postbox{
- howToDeliver()
}
class motel{
- howToDeliver()
}
class signature{
- howToDeliver()
}
class noDrop{
- howToDeliver()
}
parcel o-- Delivery
Delivery o-- WayOfDelivery
WayOfDelivery <|.. postbox
WayOfDelivery <|.. motel
WayOfDelivery <|.. signature
WayOfDelivery <|.. noDrop
@enduml |
7e959fd49be3e74f0a28a456313e97e1a8fcc970 | 394a56ac07462a7305e934de37c3ed3a5363f56a | /Sprint 2/Análise/UC1_Registar_Organização/UC1_DiagramaClasses.plantuml | eaf8ef861c0abe5b46050e838e02b66e0d3c92dc | [] | no_license | pedro-miguez/upskill_java1_labprg_grupo3 | 69ab871772f2a2faba901ee894aea2f8fe7392bb | 99bed16b491e8f0fbceb86e621cb9164e7722586 | refs/heads/main | 2023-03-24T02:26:43.964110 | 2021-03-22T10:50:54 | 2021-03-22T10:50:54 | 331,625,464 | 1 | 0 | null | 2021-03-19T18:00:07 | 2021-01-21T12:45:29 | Java | UTF-8 | PlantUML | false | false | 3,136 | plantuml | @startuml
class RegistarOrganizacaoUI{
}
class RegistarOrganizacaoController{
+registarOrganizacao(String nomeOrg, int nif, String website, int telefone,String email, String rua, \nString localidade, String codigoPostal,String nomeGestor, int telefoneGestor, String emailGestor)
}
class Organizacao{
-String nome
-NIF nif
-Telefone telefone
-Email email
-Website website
--
+Organizacao(nome,NIF,webSite,telefone,email,endereco,gestorColaborador)
+EnderecoPostal novoEndereco(local,codPostal,localidade)
+Colaborador novoColaborador(nome,funcao,tlf,email)
}
class RepositorioOrganizacao{
+Organizacao criarOrganizacao(String nomeOrg, int nif, String website, int telefone, \nString email, String rua, String localidade, String codigoPostal)
-getInstance()
-addOrganizacao(Organizacao org)
-getOrganizacaoByGestor(Colaborador colaborador)
-getOrganizacaoByEmail(Email email)
-ArrayList<Organizacao> listarOrganizacoes()
-registaGestorComoUtilizador(Colaborador colab)
-enviaPwd(String emailG, String pwd)
}
class Plataforma{
-String designacao
--
+RepositorioColaborador getRepoColab()
+RepositorioOrganizacao getRepoOrg()
+UsersAPI
+AlgoritmoGeradorPasswords getAlgoritmoGeradorPwd()
}
class EnderecoPostal{
-String local
-String codPostal
-String localidade
--
+EnderecoPostal(local,codPostal,localidade)
}
class Colaborador{
-String nome
-String funcao
-String telefone
-String email
--
+Colaborador(nome,função,tlf,email)
+String getNome()
+String getEmail()
}
class UsersAPI{
+registerUserWithRoles(String username, String email, String password, String rolenames)
}
class UsersAPIAdapter{
+registerUserWithRoles(String username, String email, String password, String rolenames)
}
class AlgoritmoGeradorPasswords{
+String geraPassword()
}
class AuthenticationController{
+registarGestorComoUtilizador(Colaborador colaborador)
}
class RepositorioColaborador{
+getInstance()
+Colaborador criarGestor(String nomeGestor,int contactoGestor, String emailGestor, Organizacao org)
+addColaborador(Colaborador colaborador)
}
RegistarOrganizacaoUI ..> RegistarOrganizacaoController
RegistarOrganizacaoController ..> Organizacao
RegistarOrganizacaoController ..> RepositorioOrganizacao
RegistarOrganizacaoController ..> Plataforma
RegistarOrganizacaoController ..> AuthenticationController
RegistarOrganizacaoController ..> RepositorioColaborador
AuthenticationController ..> UsersAPI
UsersAPI --> AlgoritmoGeradorPasswords : Usa
UsersAPI ..> UsersAPIAdapter
Plataforma "1" --> "1" RepositorioColaborador : tem
RepositorioColaborador "1"--> "1..*" Colaborador : tem
RepositorioOrganizacao "1" --> "*" Organizacao : tem registadas
RepositorioOrganizacao ..> UsersAPI
RepositorioOrganizacao ..> AlgoritmoGeradorPasswords
Organizacao "1" --> "1" EnderecoPostal : localizada em
Organizacao "1" --> "1..*" Colaborador : tem
Organizacao "1" --> "1" Colaborador: tem gestor
RepositorioOrganizacao ..> Colaborador
RepositorioOrganizacao ..> EnderecoPostal
@enduml |
f4fbdc8024b710be27a77e8aee8dc7395069f28c | 262d37d3daca3e99b9c41ef9a7076f825e3f69ee | /metrics/ci_integrations/docs/diagrams/ci_integrations_config_validator_destination_class_diagram.puml | 844f8c8e2f5628bb66eed78ea45eac2170f3122b | [
"Apache-2.0"
] | permissive | jdzsz/monorepo | 8c9bdceb42f6cf28faee70ee3db3966aed9b3cb1 | 2d081537002cc67dbb3bc21bd6ffe6302d692f69 | refs/heads/master | 2023-03-05T19:22:10.115396 | 2021-02-09T19:03:23 | 2021-02-09T19:03:23 | 333,712,221 | 0 | 0 | Apache-2.0 | 2021-02-09T19:03:24 | 2021-01-28T09:42:06 | Dart | UTF-8 | PlantUML | false | false | 5,810 | puml | @startuml ci_integrations_config_validator_class_diagram
package integration.interface {
package base.config {
abstract class ConfigValidator<T extends Config, V extends ValidationDelegate, R extends ValidationResult> {
+ validationDelegate : V
+ validationResultBuilder : ValidationResultBuilder<R>
+ Future<R> validate(T config)
}
}
package destination.config as interface_config {
package validation_delegate as interface_delegate {
interface DestinationValidationDelegate {
+ Future<InteractionResult> validateAuth(AuthorizationBase auth)
+ Future<InteractionResult> validateDestinationProjectId(String destinationProjectId)
}
}
package validator_factory as interface_factory {
interface ConfigValidatorFactory<V extends ConfigValidator> {
+ V create()
}
}
package model as interface_model {
package builder {
abstract class DestinationValidationResultBuilder {
+ authValidationResult : FieldValidationResult
+ destinationProjectIdValidationResult : FieldValidationResult
+ void setAuthValidationResult(FieldValidationResult authValidationResult)
+ void setDestinationProjectIdValidationResult(FieldValidationResult projectIdValidationResult)
}
}
interface DestinationValidationResult {
+ authValidationResult : FieldValidationResult
+ destinationProjectIdValidationResult : FieldValidationResult
}
}
}
}
package destination.cool_integration {
package party {
class CoolIntegrationDestinationParty {
+ validatorFactory : CoolIntegrationValidatorFactory
}
}
package config as cool_integration_config {
package validator as cool_integration_validator {
class CoolIntegrationDestinationValidator {
+ validationResultBuilder : CoolIntegrationDestinationValidationResultBuilder
+ validationDelegate : CoolIntegrationDestinationValidationDelegate
+ Future<CoolIntegrationDestinationValidationResult> validate(T config)
}
}
package validator_factory as cool_integration_validator_validator_factory {
class CoolIntegrationValidatorFactory {}
}
package validation_delegate {
class CoolIntegrationDestinationValidationDelegate {
- _client: CoolIntegrationClient
+ Future<InteractionResult> validateExtraField()
}
}
package model as cool_integration_model {
package builder as cool_integration_builder {
class CoolIntegrationDestinationValidationResultBuilder {
+ coolFieldValidationResult : FieldValidationResult
+ setCoolFieldValidationResult(FieldValidationResult coolFieldValidationResult)
}
}
class CoolIntegrationDestinationValidationResult {
+ coolFieldValidationResult : FieldValidationResult
}
}
}
}
package client.cool_integration as client_cool_integration {
class CoolIntegrationClient {}
}
package cli.command {
abstract class CiIntegrationCommand {}
class ValidateCommand {
+ name : String
+ description : String
+ supportedParties : SupportedIntegrationParties
- _integrationConfigParser : RawIntegrationConfigParser
+ void run()
}
}
CoolIntegrationDestinationValidator --> CoolIntegrationDestinationValidationDelegate : uses
CoolIntegrationDestinationValidationDelegate --> CoolIntegrationClient : uses
CoolIntegrationValidatorFactory --> CoolIntegrationDestinationValidator : creates
CoolIntegrationValidatorFactory --> CoolIntegrationClient : creates
CoolIntegrationValidatorFactory --> CoolIntegrationDestinationValidationDelegate : creates
ValidateCommand -down-|> CiIntegrationCommand
ValidateCommand -left-> CoolIntegrationDestinationValidator : uses
ValidateCommand -left-> CoolIntegrationValidatorFactory : uses
ValidateCommand -left-> CoolIntegrationDestinationParty : uses
CoolIntegrationDestinationParty -right-> CoolIntegrationValidatorFactory : provides
CoolIntegrationDestinationValidationDelegate .left.|> DestinationValidationDelegate
CoolIntegrationDestinationValidationResult -down-|> DestinationValidationResult
CoolIntegrationDestinationValidationResultBuilder -down-|> DestinationValidationResultBuilder
CoolIntegrationDestinationValidator --> CoolIntegrationDestinationValidationResultBuilder : uses
CoolIntegrationDestinationValidator --> CoolIntegrationDestinationValidationResult : provides
CoolIntegrationDestinationValidator -down-|> ConfigValidator
CoolIntegrationDestinationValidationResultBuilder -right-> CoolIntegrationDestinationValidationResult : builds
CoolIntegrationValidatorFactory ..|> ConfigValidatorFactory
CoolIntegrationValidatorFactory -[hidden]left-> CoolIntegrationClient
DestinationValidationDelegate -[hidden]right-> DestinationValidationResult
DestinationValidationResult -[hidden]left-> CoolIntegrationDestinationValidationResultBuilder
@enduml
|
b024d89247de7e7d96ec063e3445008966776e32 | 70b6b3086d64939b4bd08cf8aad93ac5283cf1ac | /scala-meta-model/sub/defines.meta.puml | 7801602b528059a03a5adacfb71d4a114cf4bbda | [
"MIT"
] | permissive | tizuck/scala-uml-diagrams | 4a9d35e54a0f6fb3ef753e46eb59e81d7c42a26b | c5c432132bff9df7ab60352f0e715583d9d51973 | refs/heads/main | 2023-03-01T02:44:15.288794 | 2021-02-03T22:26:55 | 2021-02-03T22:26:55 | 306,687,367 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 497 | puml | @startuml Defines
abstract class Defines {
\n
\n
\n
}
Defines *--left> "*" ValDef : vals
Defines *--up> " * " DefDef : "\n defs"
Defines *--> "*" VarDef : vars
Defines *--> " * " TypeDef : types
Defines *--> " \n*" Class : classes
Defines *--> "\n*" Enum : enums
Defines *--up> " * \n" Object : "\nobjects"
Defines *--right> "*" Given : givens
hide circle
hide members
skinparam class {
BackgroundColor White
ArrowColor Black
BorderColor Black
}
@enduml |
270513b787317464d7fe1bc7e970c5074ea849d5 | 104add43e4971806735ed32c92b6918a68309223 | /app/src/main/java/com/aaron/runmer/uml/LoginClass.puml | fbdd4aadc9a5cd3518d4f8922fa59ddc397dd7de | [] | no_license | Aaron2464/Runmer | cfbc9592d0a54b28cadacd28071059b1aa127eda | c0d3b37753a53d3ad596fceadbc31918c491bde2 | refs/heads/master | 2022-11-25T01:10:49.054430 | 2020-08-03T07:33:56 | 2020-08-03T07:33:56 | 131,568,331 | 0 | 0 | null | 2020-07-06T17:22:27 | 2018-04-30T07:39:55 | Java | UTF-8 | PlantUML | false | false | 609 | puml | @startuml
class LoginActivity
LoginActivity "isLoggedIn()" .right.|> MapPage : [ Yes ]
LoginActivity ..|> FacebookApi : [ No ]
FacebookApi --|> UserDataPage
class LoginActivity extends BaseActivity {
- FirebaseAuth mAuth;
- Button loginButton;
boolean isLoggedIn = AccessToken.getCurrentAccessToken() == null;
CallbackManager mCallbackManager;
}
class BaseActivity {
protected Context mContext;
setStatusBar();
}
@enduml
'note right: 這是顯示在右邊的備註
'note left: 這是顯示在右邊的備註
'--> 向下
'-> 向右
'..>
'--|>
'..|>
':
'-
'#
'~
'+
'#99FF99
|
9f847b4d97889100724ecf584697452f1228536d | 84d02a059c68ed4fad1e27288334e1ccbd2b899a | /ProjetoAssociacao/out/production/ProjetoAssociacao/net/maromo/maromo.plantuml | 4e29be3900e120cb11cf3938b338e561342f5f68 | [] | no_license | maromo71/2emdes | 27bda02e140147c47292b3ef6e3862f9c08d11f6 | a886f44cff95d98d6661dce7b64bf03964102ea0 | refs/heads/master | 2020-12-31T10:14:27.164453 | 2020-11-06T10:44:58 | 2020-11-06T10:44:58 | 238,995,222 | 3 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,605 | plantuml | @startuml
title __MAROMO's Class Diagram__\n
namespace net.maromo {
class net.maromo.Carro {
- ano : int
- modelo : String
- placa : String
- valor : double
+ getAno()
+ getModelo()
+ getPlaca()
+ getValor()
+ imprimirDadosCarro()
+ setAno()
+ setModelo()
+ setPlaca()
+ setValor()
}
}
namespace net.maromo {
class net.maromo.GerenciarCarros {
~ listadeCarros : List<Carro>
~ listadePessoas : List<Pessoa>
+ GerenciarCarros()
+ adicionarCarroParaProprietario()
+ cadastrarPessoa()
+ cadastrarVeiculo()
+ listarCarros()
+ listarPessoas()
{static} + main()
+ transferirPropriedade()
}
}
namespace net.maromo {
class net.maromo.Pessoa {
- carros : List<Carro>
- codPessoa : int
- dataNascimento : LocalDate
- endereco : String
- nome : String
- telefone : String
+ adicionarCarroAdquirido()
+ getCarros()
+ getCodPessoa()
+ getDataNascimento()
+ getEndereco()
+ getNome()
+ getTelefone()
+ imprimirDadosDaPessoa()
+ setCarros()
+ setCodPessoa()
+ setDataNascimento()
+ setEndereco()
+ setNome()
+ setTelefone()
}
}
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
|
e0bbb87bf2fd7ee311bf0bb36b7205e7a6efcbf3 | e982302bde6198a52884d449d34617fa543fcce2 | /factory-method/etc/factory-method.puml | d0e0752b03edf8b1a15e2460cddaf00c0dd22d9e | [
"MIT"
] | permissive | qvidmi/kotlin-design-patterns | ddcd22c11a6aacdc43119be59bf725bf9e8be079 | 83c8a94e7ff3dda48a53be5474c047e4cc1744ba | refs/heads/master | 2021-01-22T10:50:48.531952 | 2017-06-04T14:43:17 | 2017-06-04T14:43:17 | 92,657,338 | 0 | 0 | null | null | null | null | UTF-8 | PlantUML | false | false | 1,096 | puml | @startuml
package com.qvidmi.factory.method {
together {
interface Blacksmith {
+ manufactureWeapon(WeaponType) : Weapon {abstract}
}
class ElfBlacksmith {
}
class OrcBlacksmith {
}
}
together {
class ElfWeapon {
- weaponType : WeaponType
--
+ ElfWeapon(weaponType : WeaponType)
}
class OrcWeapon {
- weaponType : WeaponType
--
+ OrcWeapon(weaponType : WeaponType)
}
interface Weapon {
+ getWeaponType() : WeaponType {abstract}
}
enum WeaponType {
+ SHORT_SWORD {static}
+ SPEAR {static}
+ AXE {static}
+ UNDEFINED {static}
--
+ WeaponType(title : String)
--
- title : String
}
}
}
ElfWeapon --> WeaponType
OrcWeapon --> WeaponType
ElfBlacksmith ..|> Blacksmith
ElfWeapon ..|> Weapon
OrcBlacksmith ..|> Blacksmith
OrcWeapon ..|> Weapon
Weapon -[hidden]- WeaponType
@enduml |
ca022dc99f40c4a6515e2a10d597335448c55114 | c85d255daca76e76b7073e0a288849be195b214e | /app/src/main/java/com/architectica/socialcomponents/main/post/editPost/editPost.plantuml | 066b3efd263ce201c450c93bf5e600b649bc140a | [
"Apache-2.0"
] | permissive | AryaAshish/Archcrony | 75bb4646d938b2da11721aff0dde11ad49f4a357 | 3cf972c48e900d513d53ebed857373741c1969b5 | refs/heads/master | 2020-04-29T12:34:32.168647 | 2019-08-01T12:56:05 | 2019-08-01T12:56:05 | 176,141,477 | 1 | 3 | Apache-2.0 | 2019-08-01T12:56:06 | 2019-03-17T18:16:12 | Java | UTF-8 | PlantUML | false | false | 2,188 | plantuml | @startuml
title __EDITPOST's Class Diagram__\n
namespace com.architectica.socialcomponents {
namespace main.post {
namespace editPost {
class com.architectica.socialcomponents.main.post.editPost.EditPostActivity {
{static} + EDIT_POST_REQUEST : int
{static} + POST_EXTRA_KEY : String
{static} - TAG : String
+ createPresenter()
+ onCreateOptionsMenu()
+ onOptionsItemSelected()
+ openMainActivity()
# onCreate()
# onStart()
# onStop()
- fillUIFields()
- loadPostDetailsImage()
}
}
}
}
namespace com.architectica.socialcomponents {
namespace main.post {
namespace editPost {
class com.architectica.socialcomponents.main.post.editPost.EditPostPresenter {
+ addCheckIsPostChangedListener()
+ closeListeners()
+ setPost()
# getSaveFailMessage()
# isImageRequired()
# savePost()
~ EditPostPresenter()
- updatePostIfChanged()
}
}
}
}
namespace com.architectica.socialcomponents {
namespace main.post {
namespace editPost {
interface com.architectica.socialcomponents.main.post.editPost.EditPostView {
{abstract} + openMainActivity()
}
}
}
}
com.architectica.socialcomponents.main.post.editPost.EditPostActivity .up.|> com.architectica.socialcomponents.main.post.editPost.EditPostView
com.architectica.socialcomponents.main.post.editPost.EditPostActivity -up-|> com.architectica.socialcomponents.main.post.BaseCreatePostActivity
com.architectica.socialcomponents.main.post.editPost.EditPostPresenter -up-|> com.architectica.socialcomponents.main.post.BaseCreatePostPresenter
com.architectica.socialcomponents.main.post.editPost.EditPostPresenter o-- com.architectica.socialcomponents.model.Post : post
right footer
PlantUML diagram generated by SketchIt! (https://bitbucket.org/pmesmeur/sketch.it)
For more information about this tool, please contact philippe.mesmeur@gmail.com
endfooter
@enduml
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.