SlideShare a Scribd company logo
1 of 3
Download to read offline
Using the following UML please create this java code ( I specifically need the Communicating,
Displayable, enum which is the enumeration and the componentbuilder methods)
(also I have a question, do I need to write something in the main class?)
<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;
}
}

More Related Content

Similar to Using the following UML please create this java code I spe.pdf

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
 
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
 
"Scala in Goozy", Alexey Zlobin
"Scala in Goozy", Alexey Zlobin "Scala in Goozy", Alexey Zlobin
"Scala in Goozy", Alexey Zlobin Vasil Remeniuk
 
Managing Large-scale Networks with Trigger
Managing Large-scale Networks with TriggerManaging Large-scale Networks with Trigger
Managing Large-scale Networks with Triggerjathanism
 
iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)David Truxall
 
Shape12 6
Shape12 6Shape12 6
Shape12 6pslulli
 
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
 
Making Swift even safer
Making Swift even saferMaking Swift even safer
Making Swift even saferDenis Fileev
 
Micro and moblile: Java on the Raspberry Pi
Micro and moblile: Java on the Raspberry PiMicro and moblile: Java on the Raspberry Pi
Micro and moblile: Java on the Raspberry PiPance Cavkovski
 
Adding Love to an API (or How to Expose C++ in Unity)
Adding Love to an API (or How to Expose C++ in Unity)Adding Love to an API (or How to Expose C++ in Unity)
Adding Love to an API (or How to Expose C++ in Unity)Unity Technologies
 
Navigating the YANGscape of network automation
Navigating the YANGscape of network automationNavigating the YANGscape of network automation
Navigating the YANGscape of network automationRoman Dodin
 
Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEBenjamin Cabé
 
A la découverte de TypeScript
A la découverte de TypeScriptA la découverte de TypeScript
A la découverte de TypeScriptDenis Voituron
 
Dynamic C++ ACCU 2013
Dynamic C++ ACCU 2013Dynamic C++ ACCU 2013
Dynamic C++ ACCU 2013aleks-f
 
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
 
Monitoring distributed (micro-)services
Monitoring distributed (micro-)servicesMonitoring distributed (micro-)services
Monitoring distributed (micro-)servicesRafael Winterhalter
 
XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...
XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...
XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...Publicis Sapient Engineering
 
Code Europe - Azure Functions
Code Europe - Azure FunctionsCode Europe - Azure Functions
Code Europe - Azure FunctionsJoe Raio
 
Verilog presentation final
Verilog presentation finalVerilog presentation final
Verilog presentation finalAnkur Gupta
 

Similar to Using the following UML please create this java code I spe.pdf (20)

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
 
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
 
"Scala in Goozy", Alexey Zlobin
"Scala in Goozy", Alexey Zlobin "Scala in Goozy", Alexey Zlobin
"Scala in Goozy", Alexey Zlobin
 
Managing Large-scale Networks with Trigger
Managing Large-scale Networks with TriggerManaging Large-scale Networks with Trigger
Managing Large-scale Networks with Trigger
 
iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)iOS for Android Developers (with Swift)
iOS for Android Developers (with Swift)
 
Shape12 6
Shape12 6Shape12 6
Shape12 6
 
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
 
Making Swift even safer
Making Swift even saferMaking Swift even safer
Making Swift even safer
 
mobl
moblmobl
mobl
 
Micro and moblile: Java on the Raspberry Pi
Micro and moblile: Java on the Raspberry PiMicro and moblile: Java on the Raspberry Pi
Micro and moblile: Java on the Raspberry Pi
 
Adding Love to an API (or How to Expose C++ in Unity)
Adding Love to an API (or How to Expose C++ in Unity)Adding Love to an API (or How to Expose C++ in Unity)
Adding Love to an API (or How to Expose C++ in Unity)
 
Navigating the YANGscape of network automation
Navigating the YANGscape of network automationNavigating the YANGscape of network automation
Navigating the YANGscape of network automation
 
Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDE
 
A la découverte de TypeScript
A la découverte de TypeScriptA la découverte de TypeScript
A la découverte de TypeScript
 
Dynamic C++ ACCU 2013
Dynamic C++ ACCU 2013Dynamic C++ ACCU 2013
Dynamic C++ ACCU 2013
 
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...
 
Monitoring distributed (micro-)services
Monitoring distributed (micro-)servicesMonitoring distributed (micro-)services
Monitoring distributed (micro-)services
 
XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...
XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...
XebiCon'17 : Faites chauffer les neurones de votre Smartphone avec du Deep Le...
 
Code Europe - Azure Functions
Code Europe - Azure FunctionsCode Europe - Azure Functions
Code Europe - Azure Functions
 
Verilog presentation final
Verilog presentation finalVerilog presentation final
Verilog presentation final
 

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

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
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
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Recently uploaded (20)

Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
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
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
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
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
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🔝
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

Using the following UML please create this java code I spe.pdf

  • 1. Using the following UML please create this java code ( I specifically need the Communicating, Displayable, enum which is the enumeration and the componentbuilder methods) (also I have a question, do I need to write something in the main class?) <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
  • 2. -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>>
  • 3. 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; } }