SlideShare a Scribd company logo
1 of 3
Download to read offline
Using the following UML please create this code
<Abstract>
Widget
-String WID
-String WType
-Network AssignedTo
-Site Location
-String AccessCode
-boolean Secure
-Technician User
+Widget(String WID, String WType, Network AssignedTo, Site Location, String
AccessCode, boolean Secure, Technician User)
+toString(): String
+abstract displayWidget():void
Device
-WType = Device
+Device(String WID, Network AssignedTo, Site Location, String AccessCode, boolean Secure,
Technician User)
+displayDevice(): void
+transmit(): void
Pad
-WType = Pad
+Pad(String WID, Network AssignedTo, Site Location, String AccessCode, boolean Secure,
Technician User)
+displayPad(): void
+transmit(): void
Terminal
-WType = Terminal
+Terminal(String WID, Network AssignedTo, Site Location, String AccessCode, boolean
Secure, Technician User)
+displayTerminal(): void
+transmit(): void
<<Communicating>>
+abstract transmit(): void
<Abstract>
Network
-String NetName
-String NetType
-double Bandwidth
-double OptimumBW
-double MaxBW
-double MinBW
-boolean CSwitched
-Status NetStatus
+Network(String NetName, String NetType, double Bandwidth, double OptimumBW,
double MaxBW, double MinBW, boolean Cswitched, Status NetStatus)
DataNetwork
-NetType = DATA
+DataNetwork(String NetName, double Bandwidth, double OptimumBW, double MaxBW,
double MinBW, boolean Cswitched, Status NetStatus)
VideoNetwork
-NetType = VIDEO
+VideoNetwork(String NetName, double Bandwidth, double OptimumBW, double MaxBW,
double MinBW, boolean Cswitched, Status NetStatus)
CommNetwork
-NetType = COMM
+CommNetwork(String NetName, double Bandwidth, double OptimumBW, double MaxBW,
double MinBW, boolean Cswitched, Status NetStatus)
<<Displayable>>
+static displayNetwork(): void
Site
-String SiteName
-String SiteID
-Status SiteStatus
-int XCoord
-int YCoord
+Site(String SiteName, String SiteID, Status SiteStatus, int XCoord, int YCoord)
+toString(): String
+displaySite(): void
Technician
-String FName
-String LName
-String Password
+Site(String FName, String LName, String Password)
+toString(): String
+displayTechnician(): void
ComponentBuilder
+static buildDataNetwork(String NetName): DataNetwork
+static buildVideoNetwork(String NetName): VideoNetwork
+static buildCommNetwork(String NetName): CommNetwork
+static buildSite(String SiteName): Site
<<ENUM>>
Status
ONLINE, OFFLINE
public class DBConnect {
public static Connection establishConnection() throws SQLException{
Connection conn = null;
Properties connectProp = new Properties();
connectProp.put("dbms","mysql");
connectProp.put("user","root");
connectProp.put("password","root");
connectProp.put("useSSL","false");
String P1 = "jdbc:mysql://localhost:3306/";
conn = DriverManager.getConnection(P1,connectProp);
return conn;
}
}
ExamPrep4_Spring2023 Source Packages locklear.DB DBConnect.java (G) QueryTest.sql
locklear.ENUMS ... Status.java locklear.FACTORY (6) ComponentBuilder.java (5)
WidgetFactory.java locklear.INTERFACES Communicating.java Displayable.java locklear.MAIN - )
Gene.java locklear.NETWORKS 0 (0) CommNetwork.java D) DataNetwork.java Network.java (i)
VideoNetwork.java locklear.WIDGETS Device.java Pad.java 6 (8) Terminal.java Widget.java
locklear. WIDGETSPT 06 Site.java 0 (echnician.java +. Test Packages Libraries mysql-connector-
java-8.0.23.jar - JDK 11 (Default) Test Libraries

More Related Content

Similar to Using the following UML please create this code ltAbstrac.pdf

Quest 1 define a class batsman with the following specifications
Quest  1 define a class batsman with the following specificationsQuest  1 define a class batsman with the following specifications
Quest 1 define a class batsman with the following specificationsrajkumari873
 
A Layered Architecture for the Model-driven Development of Distributed Simula...
A Layered Architecture for the Model-driven Development of Distributed Simula...A Layered Architecture for the Model-driven Development of Distributed Simula...
A Layered Architecture for the Model-driven Development of Distributed Simula...Daniele Gianni
 
AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】
AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】
AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】tsuchimon
 
Opentalk at Large - StS 2005
Opentalk at Large - StS 2005Opentalk at Large - StS 2005
Opentalk at Large - StS 2005Martin Kobetic
 
19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdf
19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdf19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdf
19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdfKrishnaKumar2309
 
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Yongyoon Shin
 
Georgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software securityGeorgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software securityDefconRussia
 
Making Swift even safer
Making Swift even saferMaking Swift even safer
Making Swift even saferDenis Fileev
 
20190305sigfox tech-v2
20190305sigfox tech-v220190305sigfox tech-v2
20190305sigfox tech-v2KochingchangKo
 
20190305sigfox tech-v2
20190305sigfox tech-v220190305sigfox tech-v2
20190305sigfox tech-v2KochingchangKo
 
How to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ CodeHow to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ CodeMicrosoft Tech Community
 
How to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ CodeHow to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ CodeMicrosoft Tech Community
 
Internet of Things: Programming on the edge
Internet of Things: Programming on the edgeInternet of Things: Programming on the edge
Internet of Things: Programming on the edgeScott Thibault
 
i need help fixing my program so that the user can input both uper and.pdf
i need help fixing my program so that the user can input both uper and.pdfi need help fixing my program so that the user can input both uper and.pdf
i need help fixing my program so that the user can input both uper and.pdfshreeaadithyaacellso
 
Computer networks and Information security 16SCN16
Computer networks and Information security 16SCN16Computer networks and Information security 16SCN16
Computer networks and Information security 16SCN16Ayisha M Kalburgi
 
Forge - DevCon 2016: Visual Reporting with Connected Design Data
Forge - DevCon 2016: Visual Reporting with Connected Design DataForge - DevCon 2016: Visual Reporting with Connected Design Data
Forge - DevCon 2016: Visual Reporting with Connected Design DataAutodesk
 
Managing Large-scale Networks with Trigger
Managing Large-scale Networks with TriggerManaging Large-scale Networks with Trigger
Managing Large-scale Networks with Triggerjathanism
 
Mozilla とブラウザゲーム
Mozilla とブラウザゲームMozilla とブラウザゲーム
Mozilla とブラウザゲームNoritada Shimizu
 

Similar to Using the following UML please create this code ltAbstrac.pdf (20)

Quest 1 define a class batsman with the following specifications
Quest  1 define a class batsman with the following specificationsQuest  1 define a class batsman with the following specifications
Quest 1 define a class batsman with the following specifications
 
A Layered Architecture for the Model-driven Development of Distributed Simula...
A Layered Architecture for the Model-driven Development of Distributed Simula...A Layered Architecture for the Model-driven Development of Distributed Simula...
A Layered Architecture for the Model-driven Development of Distributed Simula...
 
AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】
AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】
AWS IoTで家庭内IoTをやってみた【JAWS DAYS 2016】
 
Opentalk at Large - StS 2005
Opentalk at Large - StS 2005Opentalk at Large - StS 2005
Opentalk at Large - StS 2005
 
19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdf
19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdf19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdf
19BCS2605_Krishna_Kumar_Computer_Graphics_exp_3.1.pdf
 
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
 
Georgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software securityGeorgy Nosenko - An introduction to the use SMT solvers for software security
Georgy Nosenko - An introduction to the use SMT solvers for software security
 
IoT on Raspberry Pi
IoT on Raspberry PiIoT on Raspberry Pi
IoT on Raspberry Pi
 
Making Swift even safer
Making Swift even saferMaking Swift even safer
Making Swift even safer
 
20190305sigfox tech-v2
20190305sigfox tech-v220190305sigfox tech-v2
20190305sigfox tech-v2
 
20190305sigfox tech-v2
20190305sigfox tech-v220190305sigfox tech-v2
20190305sigfox tech-v2
 
How to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ CodeHow to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ Code
 
How to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ CodeHow to Adopt Modern C++17 into Your C++ Code
How to Adopt Modern C++17 into Your C++ Code
 
Internet of Things: Programming on the edge
Internet of Things: Programming on the edgeInternet of Things: Programming on the edge
Internet of Things: Programming on the edge
 
i need help fixing my program so that the user can input both uper and.pdf
i need help fixing my program so that the user can input both uper and.pdfi need help fixing my program so that the user can input both uper and.pdf
i need help fixing my program so that the user can input both uper and.pdf
 
Computer networks and Information security 16SCN16
Computer networks and Information security 16SCN16Computer networks and Information security 16SCN16
Computer networks and Information security 16SCN16
 
Forge - DevCon 2016: Visual Reporting with Connected Design Data
Forge - DevCon 2016: Visual Reporting with Connected Design DataForge - DevCon 2016: Visual Reporting with Connected Design Data
Forge - DevCon 2016: Visual Reporting with Connected Design Data
 
Managing Large-scale Networks with Trigger
Managing Large-scale Networks with TriggerManaging Large-scale Networks with Trigger
Managing Large-scale Networks with Trigger
 
Mozilla とブラウザゲーム
Mozilla とブラウザゲームMozilla とブラウザゲーム
Mozilla とブラウザゲーム
 
Gadgteteer clean code
Gadgteteer   clean codeGadgteteer   clean code
Gadgteteer clean code
 

More from picscamshoppe

VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdfVAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdfpicscamshoppe
 
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdfVaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdfpicscamshoppe
 
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdfUyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdfpicscamshoppe
 
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdfUzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdfpicscamshoppe
 
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdfVaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdfpicscamshoppe
 
Utilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdfUtilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdfpicscamshoppe
 
Utilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdfUtilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdfpicscamshoppe
 
Usted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdfUsted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdfpicscamshoppe
 
Usted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdfUsted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdfpicscamshoppe
 
usptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdfusptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdfpicscamshoppe
 
Using Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdfUsing Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdfpicscamshoppe
 
Using Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdfUsing Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdfpicscamshoppe
 
Using the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdfUsing the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdfpicscamshoppe
 
Using the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdfUsing the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdfpicscamshoppe
 
Using the Mpgcsv dataset b Run a basic linear regression.pdf
Using the Mpgcsv dataset b  Run a basic linear regression.pdfUsing the Mpgcsv dataset b  Run a basic linear regression.pdf
Using the Mpgcsv dataset b Run a basic linear regression.pdfpicscamshoppe
 
Using the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdfUsing the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdfpicscamshoppe
 
Using the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdfUsing the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdfpicscamshoppe
 
Using the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdfUsing the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdfpicscamshoppe
 
Using the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdfUsing the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdfpicscamshoppe
 
Using the following code Install Packages pip install .pdf
Using the following code Install Packages   pip install .pdfUsing the following code Install Packages   pip install .pdf
Using the following code Install Packages pip install .pdfpicscamshoppe
 

More from picscamshoppe (20)

VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdfVAKA ALIMASI 100  Hassas kaynak snrl projelerde bo zaman .pdf
VAKA ALIMASI 100 Hassas kaynak snrl projelerde bo zaman .pdf
 
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdfVaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
Vaka 8 Patagonya Tutkulu alanlar ekmek ve Glendirmek .pdf
 
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdfUyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
Uyumluluk denetimi genellikle denetimlerin tesine geerek a.pdf
 
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdfUzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
Uzun vadeli yatrm kararlar ile ilgilenen finans alan olarak .pdf
 
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdfVaka 101 Zappos Yneticileri Ortadan Kaldryor  evrimii ay.pdf
Vaka 101 Zappos Yneticileri Ortadan Kaldryor evrimii ay.pdf
 
Utilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdfUtilizacin de la inteligencia emocional en el lugar de trab.pdf
Utilizacin de la inteligencia emocional en el lugar de trab.pdf
 
Utilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdfUtilizando el concepto de conocimiento metacognitivo los pr.pdf
Utilizando el concepto de conocimiento metacognitivo los pr.pdf
 
Usted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdfUsted es miembro del grupo de relaciones con los empleados d.pdf
Usted es miembro del grupo de relaciones con los empleados d.pdf
 
Usted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdfUsted es consultor comercial de People for the Ethical Treat.pdf
Usted es consultor comercial de People for the Ethical Treat.pdf
 
usptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdfusptrerl the following recerd was krpe ale 50PA a the .pdf
usptrerl the following recerd was krpe ale 50PA a the .pdf
 
Using Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdfUsing Ubuntu write a progam in C that do this A Wait for .pdf
Using Ubuntu write a progam in C that do this A Wait for .pdf
 
Using Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdfUsing Ubuntu write a program uin C that do this A Wait for.pdf
Using Ubuntu write a program uin C that do this A Wait for.pdf
 
Using the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdfUsing the RamseyCassKoopmans Model what policy would best.pdf
Using the RamseyCassKoopmans Model what policy would best.pdf
 
Using the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdfUsing the pypcaptile library already available in the VLE.pdf
Using the pypcaptile library already available in the VLE.pdf
 
Using the Mpgcsv dataset b Run a basic linear regression.pdf
Using the Mpgcsv dataset b  Run a basic linear regression.pdfUsing the Mpgcsv dataset b  Run a basic linear regression.pdf
Using the Mpgcsv dataset b Run a basic linear regression.pdf
 
Using the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdfUsing the payoffs for the HawkDove game that we discussed i.pdf
Using the payoffs for the HawkDove game that we discussed i.pdf
 
Using the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdfUsing the line for the Annual mean calculate the average .pdf
Using the line for the Annual mean calculate the average .pdf
 
Using the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdfUsing the information below to answer the following two ques.pdf
Using the information below to answer the following two ques.pdf
 
Using the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdfUsing the information below to answer the following three qu.pdf
Using the information below to answer the following three qu.pdf
 
Using the following code Install Packages pip install .pdf
Using the following code Install Packages   pip install .pdfUsing the following code Install Packages   pip install .pdf
Using the following code Install Packages pip install .pdf
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 

Using the following UML please create this code ltAbstrac.pdf

  • 1. Using the following UML please create this code <Abstract> Widget -String WID -String WType -Network AssignedTo -Site Location -String AccessCode -boolean Secure -Technician User +Widget(String WID, String WType, Network AssignedTo, Site Location, String AccessCode, boolean Secure, Technician User) +toString(): String +abstract displayWidget():void Device -WType = Device +Device(String WID, Network AssignedTo, Site Location, String AccessCode, boolean Secure, Technician User) +displayDevice(): void +transmit(): void Pad -WType = Pad +Pad(String WID, Network AssignedTo, Site Location, String AccessCode, boolean Secure, Technician User) +displayPad(): void +transmit(): void Terminal -WType = Terminal +Terminal(String WID, Network AssignedTo, Site Location, String AccessCode, boolean Secure, Technician User) +displayTerminal(): void +transmit(): void <<Communicating>> +abstract transmit(): void <Abstract> Network -String NetName -String NetType -double Bandwidth -double OptimumBW -double MaxBW -double MinBW
  • 2. -boolean CSwitched -Status NetStatus +Network(String NetName, String NetType, double Bandwidth, double OptimumBW, double MaxBW, double MinBW, boolean Cswitched, Status NetStatus) DataNetwork -NetType = DATA +DataNetwork(String NetName, double Bandwidth, double OptimumBW, double MaxBW, double MinBW, boolean Cswitched, Status NetStatus) VideoNetwork -NetType = VIDEO +VideoNetwork(String NetName, double Bandwidth, double OptimumBW, double MaxBW, double MinBW, boolean Cswitched, Status NetStatus) CommNetwork -NetType = COMM +CommNetwork(String NetName, double Bandwidth, double OptimumBW, double MaxBW, double MinBW, boolean Cswitched, Status NetStatus) <<Displayable>> +static displayNetwork(): void Site -String SiteName -String SiteID -Status SiteStatus -int XCoord -int YCoord +Site(String SiteName, String SiteID, Status SiteStatus, int XCoord, int YCoord) +toString(): String +displaySite(): void Technician -String FName -String LName -String Password +Site(String FName, String LName, String Password) +toString(): String +displayTechnician(): void ComponentBuilder +static buildDataNetwork(String NetName): DataNetwork +static buildVideoNetwork(String NetName): VideoNetwork +static buildCommNetwork(String NetName): CommNetwork +static buildSite(String SiteName): Site <<ENUM>> Status ONLINE, OFFLINE
  • 3. public class DBConnect { public static Connection establishConnection() throws SQLException{ Connection conn = null; Properties connectProp = new Properties(); connectProp.put("dbms","mysql"); connectProp.put("user","root"); connectProp.put("password","root"); connectProp.put("useSSL","false"); String P1 = "jdbc:mysql://localhost:3306/"; conn = DriverManager.getConnection(P1,connectProp); return conn; } } ExamPrep4_Spring2023 Source Packages locklear.DB DBConnect.java (G) QueryTest.sql locklear.ENUMS ... Status.java locklear.FACTORY (6) ComponentBuilder.java (5) WidgetFactory.java locklear.INTERFACES Communicating.java Displayable.java locklear.MAIN - ) Gene.java locklear.NETWORKS 0 (0) CommNetwork.java D) DataNetwork.java Network.java (i) VideoNetwork.java locklear.WIDGETS Device.java Pad.java 6 (8) Terminal.java Widget.java locklear. WIDGETSPT 06 Site.java 0 (echnician.java +. Test Packages Libraries mysql-connector- java-8.0.23.jar - JDK 11 (Default) Test Libraries