Please draw the UML for this code package lap; import java.util.Date;  class Covenant {  private String name;  private String type;  private Date dateCreated;  private String employeeName;  private int employeeID;    public Covenant(String name, String type, Date dateCreated, String employeeName, int employeeID) {  this.name = name;  this.type = type;  this.dateCreated = dateCreated;  this.employeeName = employeeName;  this.employeeID = employeeID;  }    public void setName(String name) {  this.name = name;  }    public String getName() {  return name;  }    public void setType(String type) {  this.type = type;  }    public String getType() {  return type;  }    public void setDateCreated(Date dateCreated) {  this.dateCreated = dateCreated;  }    public Date getDateCreated() {  return dateCreated;  }    public void setEmployeeName(String employeeName) {  this.employeeName = employeeName;  }    public String getEmployeeName() {  return employeeName;  }    public void setEmployeeID(int employeeID) {  this.employeeID = employeeID;  }    public int getEmployeeID() {  return employeeID;  } }   public class fullName_group {  public static void main(String[] args) {  Covenant covenant1 = new Covenant("Covenant 1", "Type 1", new Date(), "Employee 1", 1);  Covenant covenant2 = new Covenant("Covenant 2", "Type 2", new Date(), "Employee 2", 2);  Covenant covenant3 = new Covenant("Covenant 3", "Type 3", new Date(), "Employee 3", 3);  Covenant covenant4 = new Covenant("Covenant 4", "Type 4", new Date(), "Employee 4", 4);  Covenant covenant5 = new Covenant("Covenant 5", "Type 5", new Date(), "Employee 5", 5);  }

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please draw the UML
for this code

package lap;

import java.util.Date;

 class Covenant {
 private String name;
 private String type;
 private Date dateCreated;
 private String employeeName;
 private int employeeID;
 
 public Covenant(String name, String type, Date dateCreated, String employeeName, int employeeID) {
 this.name = name;
 this.type = type;
 this.dateCreated = dateCreated;
 this.employeeName = employeeName;
 this.employeeID = employeeID;
 }
 
 public void setName(String name) {
 this.name = name;
 }
 
 public String getName() {
 return name;
 }
 
 public void setType(String type) {
 this.type = type;
 }
 
 public String getType() {
 return type;
 }
 
 public void setDateCreated(Date dateCreated) {
 this.dateCreated = dateCreated;
 }
 
 public Date getDateCreated() {
 return dateCreated;
 }
 
 public void setEmployeeName(String employeeName) {
 this.employeeName = employeeName;
 }
 
 public String getEmployeeName() {
 return employeeName;
 }
 
 public void setEmployeeID(int employeeID) {
 this.employeeID = employeeID;
 }
 
 public int getEmployeeID() {
 return employeeID;
 }
}

 

public class fullName_group {

 public static void main(String[] args) {


 Covenant covenant1 = new Covenant("Covenant 1", "Type 1", new Date(), "Employee 1", 1);

 Covenant covenant2 = new Covenant("Covenant 2", "Type 2", new Date(), "Employee 2", 2);

 Covenant covenant3 = new Covenant("Covenant 3", "Type 3", new Date(), "Employee 3", 3);

 Covenant covenant4 = new Covenant("Covenant 4", "Type 4", new Date(), "Employee 4", 4);

 Covenant covenant5 = new Covenant("Covenant 5", "Type 5", new Date(), "Employee 5", 5);

 }

}

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education