Assignment Brief:
Build a java application that is capable of utilising the functionality offered by two data structure classes, which in turn implement a common ADT interface. Your code should be accompanied by a report that outlines your application idea and the process of implementation you adopted.
Download full brief here
Download zip of all source code for 'Two Data Structures One ADT' here

AssignmentMainApplication is the main class:
Download source code for 'AssignmentMainApplication' here

// Start of code---------------------
import java.util.Scanner;

/* Usage notes:
 * Redistribution, alteration and use of this code with or without
 * modification, are permitted provided that the following conditions are met:
 * In no event shall the copyright owner be liable for any direct, indirect,
 * incidental, special, exemplary, or consequential damages arising in any
 * way out of the use of this software, even if advised of the possibility
 * of such damage.
 */


public class AssignmentMainApplication {

    static Arrays clientArray = new Arrays();
    static LinkedList clientLinkedList = new LinkedList();

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);
        Boolean menuLoop = false;

        int dataStructureType;
       
        System.out
                .println("Please choose on of the following to:\n 1  Array data structure"
                        + "\n 2  Linked list data structure");
        dataStructureType = input.nextInt();

        switch (dataStructureType) {// Switch for choosing data structure type
        case 1: {// Array data structure loop
            do {
                menuLoop = DataStructureA(input, menuLoop);
            } while (menuLoop);
            break;

        }
        case 2: {
            do {// LinkedList data structure loop
                menuLoop = DataStructureB(input, menuLoop);
            } while (menuLoop);
            break;

        }
        }

    }

    public static boolean menuLoopOption(Scanner input, Boolean menuLoop) {

        String menuLoopInput = "";

        System.out
                .println("\nWould you like to return to menu\nInput y for yes or q to quit");
        menuLoopInput = input.next();

        if (menuLoopInput.equalsIgnoreCase("y")) {
            menuLoop = true;
        } else {
            menuLoop = false;
            System.out.println("\nYou have chosen to quit. Goodbye.\n");
        }
        return menuLoop;
    }

    public static Boolean DataStructureA(Scanner input, Boolean menuLoop) {

        int menuNo;
        menu();
        menuNo = input.nextInt();

        switch (menuNo) {// Switch for choosing item within Array data structure
        case 1: {// add a client for Array data structure
            clientArray.addClient();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 2: {// Delete a client for Array data structure
            System.out.print("\nPlease enter client number to delete client: ");
            String clientToDelete = input.next();
            clientArray.deleteClient(clientToDelete);
            menuLoop = menuLoopOption(input, menuLoop);
           
            break;
        }
        case 3: {// Client count for Array data structure
            System.out.print("Current client count is: "
                    + clientArray.clientCount() + "\n");
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 4: {// Revise job type for a specified client for Array data structure
            System.out
                    .print("\nPlease enter client number to assign new job type: ");
            String clientNo = input.next();
            clientArray.reviseJobType(clientNo);
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 5: {// Assign a staff member to a specified client for Array data structure
            System.out
                    .print("\nPlease enter client number to assign new staff member: ");
            String clientNo = input.next();
            clientArray.reviseStaffAssignment(clientNo);
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 6: {//Printout of job type statistics for Array data structure
            clientArray.jobTypeStats();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 7: {// Find a client and print full details for Array data structure
            System.out.print("\nPlease enter client number to display details: ");
            String clientNo = input.next();
            clientArray.findClient(clientNo);
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 8: {// Print full details for all clients for Array data structure
            clientArray.printClientList();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 9: {// Print client details for a specific job type for Array data structure
            clientArray.printClientListForJobType();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 10: {// Print full details for all archived / previous clients for Array data structure
           
            clientArray.archivedClientList();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 11: {// User input to exit program for Array data structure
            System.out.println("\nYou have chosen to quit. Goodbye.\n");
            System.exit(0);
            break;
        }
        }
        return menuLoop;
    }

    public static Boolean DataStructureB(Scanner input, Boolean menuLoop) {

        int menuNo;
        menu();
        menuNo = input.nextInt();

        switch (menuNo) {// Switch for choosing item within LinkedList data structure
        case 1: {// add a client for linked list data structure
            clientLinkedList.addClient();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 2: {// Delete a client for LinkedList data structure
            System.out.print("\nPlease enter client number to delete client: ");
            String clientToDelete = input.next();
            clientLinkedList.deleteClient(clientToDelete);
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 3: {// Client count  for LinkedList data structure
            System.out.print("Current client count is: "
                    + clientLinkedList.clientCount() + "\n");
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 4: {// Assign a staff member to a specific client for LinkedList data structure
            System.out
                    .print("\nPlease enter client number to revise job type: ");
            String clientNo= input.next();
            clientLinkedList.reviseJobType(clientNo);
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 5: {// Assign a staff member to a specific client for LinkedList data structure
            System.out
                    .print("\nPlease enter client number to assign new staff member: ");
            String clientNo = input.next();
            clientLinkedList.reviseStaffAssignment(clientNo);
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 6: {//Printout of job type statistics for LinkedList data structure
            clientLinkedList.jobTypeStats();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 7: {// Find a client and print full details for LinkedList data structure
            System.out.print("\nPlease enter client number to display details: ");
            String getClient = input.next();
            clientLinkedList.findClient(getClient);
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 8: {// Print full details for all clients for LinkedList data structure
            clientLinkedList.printClientList();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 9: {// Print client details for a specific job type for LinkedList data structure
            clientLinkedList.printClientListForJobType();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 10: {// Print full details for all archived / previous clients for LinkedList data structure
            clientLinkedList.archivedClientList();
            menuLoop = menuLoopOption(input, menuLoop);
            break;
        }
        case 11: {// User input to exit program for LinkedList data structure
            System.out.println("\nYou have chosen to quit. Goodbye.\n");
            System.exit(0);
            break;
        }
        }
        return menuLoop;
    }

    public static void menu() {
        System.out
                .println("\n ** CLIENT LIST DATABASE MENU **"
                        + "\n"
                        + "\nPlease choose on of the following to:"
                        + "\n"
                        + "\n 1  Add a Client"
                        + "\n 2  Delete a Client"
                        + "\n 3  Client count"
                        + "\n 4  Revise job type"
                        + "\n 5  Assign a staff member"
                        + "\n 6  Job type stats"
                        + "\n 7  Find a client"
                        + "\n 8  Print full client list\n 9  Print client list for a specific job type"
                        + "\n 10  Archived client list\n 11  Exit the program"
                        + "\n");
    }
}//End of code---------------------

StructureList interface:
Download source code for 'StructureList' here

// Start of code---------------------

/* Usage notes:
 * Redistribution, alteration and use of this code with or without
 * modification, are permitted provided that the following conditions are met:
 * In no event shall the copyright owner be liable for any direct, indirect,
 * incidental, special, exemplary, or consequential damages arising in any
 * way out of the use of this software, even if advised of the possibility
 * of such damage.
 */


public interface StructureList
{
    public void addClient();
   
    public void deleteClient(String clientNo);
   
    public int clientCount();
   
    public void findClient(String clientNo);
   
    public void reviseJobType(String clientNo);
   
    public void reviseStaffAssignment(String clientNo);
   
    public void jobTypeStats();
   
    public void printClientList();
   
    public void printClientListForJobType();
   
    public void archivedClientList();
   
    public boolean isEmpty();

}//End of code---------------------

Arrays class (Data Structure 1):
Download source code for 'Arrays' here

// Start of code---------------------
import java.util.Scanner;

/* Usage notes:
 * Redistribution, alteration and use of this code with or without
 * modification, are permitted provided that the following conditions are met:
 * In no event shall the copyright owner be liable for any direct, indirect,
 * incidental, special, exemplary, or consequential damages arising in any
 * way out of the use of this software, even if advised of the possibility
 * of such damage.
 */


public class Arrays implements StructureList {

    final int SIZE = 2;
    Client[] allClients;
    Client[] archiveClients;

    int numElements;
    int numArchiveElements;
    int numIndex;

    String clientNo;
    String name;
    String jobType;
    String staffName;

    boolean noClientDeleted = false;

    static Scanner input = new Scanner(System.in);

    public Arrays() // This is the constructer
    {
        allClients = new Client[SIZE];
        archiveClients = new Client[SIZE];
        numElements = 0;
        numArchiveElements = 0;
    }

    public void addClient() {// Add client details to the Array

        if (numElements > SIZE-1) {
            System.out.println("WARNING - Client list is full\n");
        } else {
            System.out.print("\nPlease enter assigned client number(ie: R001): ");
            clientNo = input.next();
          
            System.out.print("Please enter clients name - ");
            name = input.nextLine();
            while (!name.matches("[a-zA-z]+([ '-][a-zA-Z]+)*") || !name.contains(" ")) {
                System.out.print("Please input full name(ie: Joe Soap): ");
                name = input.nextLine();
            }
          
            System.out.print("Construction type for client number \"" + clientNo + "\"(ie: Planning, extension...): ");
            jobType = input.next();
          
            System.out.print("Please asign staff member for client number \" " + clientNo
                    + "\"- ");
          
            staffName = input.nextLine();

            while (!staffName.matches("[a-zA-z]+([ '-][a-zA-Z]+)*") || !staffName.contains(" ")) {
                System.out.print("Please input full name(ie: Joe Soap): ");
                staffName = input.nextLine();
            }

            allClients[numElements] = new Client(clientNo, name,
                    jobType, staffName);
            numElements++;
        }
    }

    public void deleteClient(String clientNo) {// Delete client details with a specific client number
        if (isEmpty());
        for (int i = 0; i < numElements; i++) {
            String compareNo = allClients[i].getClientNo();

            if (compareNo.equalsIgnoreCase(clientNo)) {
                int j = 0;
                archiveClients[j] = allClients[i];
                numArchiveElements += 1;
                j++;
                int index = i;
                for (i = index + 1; i < numElements; i++)
                    allClients[i - 1] = allClients[i];
                allClients[numElements - 1] = null;
                numElements = numElements - 1;

                System.out.print("You have deleted client # \"" + clientNo
                        + "\" from the system\n");
                noClientDeleted = true;
            }

        }
        if (!noClientDeleted) {
            System.out.print("\nWARNING - There is no client # \"" + clientNo
                    + "\" on the system\n");
        }

    }

    public int clientCount() {// Return client/job count
        return numElements;
    }

    public void reviseJobType(String clientNo) {// Revise job type for a specified client number
        if (isEmpty());
        for (int numIndex = 0; numIndex < numElements; numIndex++) {

            if (allClients[numIndex].getClientNo().equalsIgnoreCase(clientNo)) {
                System.out.print("Please asign a new job type for client # "
                        + clientNo + ": ");
                String revisedJobType = input.next();
                allClients[numIndex].setJobType(revisedJobType);
            }

        }
    }
  
    public void reviseStaffAssignment(String clientNo) {// Revise staff details for a specified client number
        if (isEmpty());
        for (int numIndex = 0; numIndex < numElements; numIndex++) {

            if (allClients[numIndex].getClientNo().equalsIgnoreCase(clientNo)) {
                System.out.print("Please asign staff member for client # "
                        + clientNo + " - ");
                String revisedStaffName = input.nextLine();
                while (!revisedStaffName.matches("[a-zA-z]+([ '-][a-zA-Z]+)*") || !revisedStaffName.contains(" ")) {
                    System.out.print("Please input full name(ie: Joe Soap): ");
                    revisedStaffName = input.nextLine();
                }
                allClients[numIndex].setStaffName(revisedStaffName);
            }

        }
    }

    public void jobTypeStats() {// Job type statistics printout

        int extensionCounter = 0;
        int planningCounter = 0;
        int onSiteCounter = 0;

        for (int numIndex = 0; numIndex < numElements; numIndex++) {
            if (allClients[numIndex].getJobType().equalsIgnoreCase(
                    "extension")) {
                extensionCounter++;
            } else if (allClients[numIndex].getJobType()
                    .equalsIgnoreCase("planning")) {
                planningCounter++;
            } else {
                onSiteCounter++;
            }

        }
        System.out.print("Statistic for each job type:\nExtensions: "
                + extensionCounter + "\nPlanning: " + planningCounter
                + "\nOn site: " + onSiteCounter + "\n");
    }

    public void findClient(String clientNo) {// Printout of client details with specified client number
        if (isEmpty())
            ;
        for (int numIndex = 0; numIndex < numElements; numIndex++) {

            if (allClients[numIndex].getClientNo().equalsIgnoreCase(clientNo)) {
                String returnClient = allClients[numIndex].toString();
                System.out.print(returnClient);

            }

        }
    }

    public void printClientList() {// Printout for full client list
        System.out.println("***Full Client List***\n");
        if (isEmpty())
            ;
        if (allClients.length != 0) {
            for (int i = 0; i < numElements; i++) {
                System.out.print(allClients[i]);
            }
        }
    }

    public void printClientListForJobType() {// Printout of clients for a specific job type


        int extensionCounter = 0;
        int planningCounter = 0;
        int onSiteCounter = 0;

        System.out.print("Please enter job type to display client details: ");
        String specificJobType = input.next();
        System.out.println("***Client list for specific job type***\n");
        if (isEmpty());
        for (int numIndex = 0; numIndex < numElements; numIndex++) {
            if (specificJobType.equalsIgnoreCase("extension")) {
                if (allClients[numIndex].getJobType()
                        .equalsIgnoreCase(specificJobType)) {
                    System.out.print(allClients[numIndex]);
                    extensionCounter++;
                }
                if (extensionCounter == 0) {
                    System.out
                            .print("\nWARNING - There are no clients in the system for "
                                    + specificJobType + "'s.\n");
                }
            } else if (specificJobType.equalsIgnoreCase("planning")) {
                if (allClients[numIndex].getJobType()
                        .equalsIgnoreCase(specificJobType)) {
                    System.out.print(allClients[numIndex]);
                    planningCounter++;
                }
                if (planningCounter == 0) {
                    System.out
                            .print("\nWARNING - There are no clients in the system for "
                                    + specificJobType + " permission.\n");
                }
            } else {
                if (allClients[numIndex].getJobType()
                        .equalsIgnoreCase("onsite")) {
                    System.out.print(allClients[numIndex]);
                    onSiteCounter++;
                }
                if (onSiteCounter == 0) {
                    System.out
                            .print("\nWARNING - There are no clients in the system for "
                                    + specificJobType + " drawings.\n");
                }
            }

        }

    }

    public void archivedClientList() {// Printout of archived clients
        System.out.println("***Archived Client List***\n");
      
        if (archiveClients.length != 0) {
            for (int i = 0; i < numArchiveElements; i++) {
                System.out.print(archiveClients[i]);
            }
        }
    }

    public boolean isEmpty() {
        if (numElements == 0) {
            System.out.print("WARNING - Client list is empty\n");
        }
        return false;
    }

}//End of code---------------------

LinkedList class (Data Structure 2): 
Download source code for 'LinkedList' here

// Start of code---------------------
import java.util.Scanner;

/* Usage notes:
 * Redistribution, alteration and use of this code with or without
 * modification, are permitted provided that the following conditions are met:
 * In no event shall the copyright owner be liable for any direct, indirect,
 * incidental, special, exemplary, or consequential damages arising in any
 * way out of the use of this software, even if advised of the possibility
 * of such damage.
 */


public class LinkedList implements StructureList {

    private int numElements;
    private Node head = null;
    // private Node archiveHead = null;

    String clientNo;
    String name;
    String jobType;
    String staffName;

    boolean noClientDeleted = false;

    static Scanner input = new Scanner(System.in);

    public LinkedList()
    {
        numElements = 0;
    }

    public void addClient() {// Add client details to the LinkedList
        System.out.print("\nPlease enter assigned client number(ie: R001): ");
        clientNo = input.next();
      
        System.out.print("Please enter clients name - ");
        name = input.nextLine();
        while (!name.matches("[a-zA-z]+([ '-][a-zA-Z]+)*") || !name.contains(" ")) {
            System.out.print("Please input full name(ie: Joe Soap): ");
            name = input.nextLine();
        }
      
        System.out.print("Job type for client number \"" + clientNo + "\"(ie: Planning, extension...): ");
        jobType = input.next();
      
        System.out.print("Please asign staff member for client number \" " + clientNo
                + "\"- ");
      
        staffName = input.nextLine();

        while (!staffName.matches("[a-zA-z]+([ '-][a-zA-Z]+)*") || !staffName.contains(" ")) {
            System.out.print("Please input full name(ie: Joe Soap): ");
            staffName = input.nextLine();
        }
        Client clientStats = new Client(clientNo, name, jobType,
                staffName);

        Node lastNode = getLastNode();
        if (lastNode == null) {
            head = new Node(clientStats);
        } else {
            lastNode.next = new Node(clientStats);
        }
        numElements++;
    }

    public void deleteClient(String clientNo) {// Delete client details with a specific client number
        if (isEmpty());
        Node previous = null;
        Node temp = head;

        try {
            if (temp.getClient().getClientNo().equalsIgnoreCase(clientNo)) {
                head = head.next;
                System.out.print("You have deleted client # \"" + clientNo + "\" from the system\n");
                numElements--;
                return;
            } else {
                while (temp.getNext() != null&& !temp.getClient().getClientNo().equalsIgnoreCase(clientNo)) {
                    previous = temp;
                    temp = temp.next;
                }
                previous.next = temp.next;
                System.out.print("You have deleted client # \"" + clientNo + "\" from the system\n");
                numElements--;
            }
        } catch (NullPointerException e) {
            System.out.print("There is no client # \"" + clientNo + "\" on the system\n");
        }
    }

    public int clientCount() {// Return client/job count
        return numElements;
    }

    public void reviseJobType(String clientNo) {// Revise staff details for a specified client number
      
        if (isEmpty());
        Node tmpNode = head;

        while (tmpNode != null) {
            if (tmpNode.getClient().getClientNo().equalsIgnoreCase(clientNo)) {
                System.out.print("Please asign a new job type for client no "
                        + clientNo + ": ");
                String revisedJobType = input.next();
                tmpNode.getClient().setJobType(revisedJobType);
            }
            tmpNode = tmpNode.next;

        }

    }
  
    public void reviseStaffAssignment(String clientNo) {// Revise staff details for a specified client number
      
        if (isEmpty());
        Node tmpNode = head;

        while (tmpNode != null) {
            if (tmpNode.getClient().getClientNo().equalsIgnoreCase(clientNo)) {
                System.out.print("Please asign staff member for client # "
                        + clientNo + " - ");
                String revisedStaffName = input.nextLine();
                while (!revisedStaffName.matches("[a-zA-z]+([ '-][a-zA-Z]+)*") || !revisedStaffName.contains(" ")) {
                    System.out.print("Please input full name(ie: Joe Soap): ");
                    revisedStaffName = input.nextLine();
                }
                tmpNode.getClient().setStaffName(revisedStaffName);
            }
            tmpNode = tmpNode.next;

        }

    }

    public void jobTypeStats() {// Job type statistics printout
        int extensionCounter = 0;
        int planningCounter = 0;
        int onSiteCounter = 0;

        Node tmpNode = head;
        while (tmpNode != null) {
            if (tmpNode.getClient().getJobType().equalsIgnoreCase("extension")) {
                extensionCounter++;
            } else if (tmpNode.getClient().getJobType()
                    .equalsIgnoreCase("planning")) {
                planningCounter++;
            } else {
                onSiteCounter++;
            }
            tmpNode = tmpNode.next;
        }
        System.out.print("Statistic for each job type:\nExtensions: "
                + extensionCounter + "\nPlanning: " + planningCounter
                + "\nOn site: " + onSiteCounter + "\n");
    }

    public void findClient(String clientNo) {// Printout of client details with specified client number
        if (isEmpty());
        Node tmpNode = head;

        while (tmpNode != null) {
            if (tmpNode.getClient().getClientNo().equalsIgnoreCase(clientNo)) {
                System.out.print(tmpNode.getClient());
            }
            tmpNode = tmpNode.next;

            // System.out.print("This name does not exist");
        }
    }

    public void printClientList() {// Printout for full client list

        System.out.println("***Full Client List***\n");
        if (isEmpty());

        Node tmpNode = head;
        while (tmpNode != null) {
            System.out.print(tmpNode.getClient());
            tmpNode = tmpNode.next;
        }

    }

    public void printClientListForJobType() {// Printout of clients for a specific job type

      

        int extensionCounter = 0;
        int planningCounter = 0;
        int onSiteCounter = 0;

        Node tmpNode = head;

        System.out.print("Please enter job type to display client details: ");
        String specificJobType = input.next();

        System.out.println("\n***Client list for specific job type***\n");
        if (isEmpty());
        if (specificJobType.equalsIgnoreCase("extension")) {

            while (tmpNode != null) {
                if (tmpNode.getClient().getJobType()
                        .equalsIgnoreCase("extension")) {
                    System.out.print(tmpNode.getClient());
                    extensionCounter++;
                }

                tmpNode = tmpNode.next;
            }

            if (extensionCounter == 0) {
                System.out
                        .print("WARNING - There are no clients in the system for "
                                + specificJobType + "'s.\n");
            }

        } else if (specificJobType.equals("planning")) {

            while (tmpNode != null) {
                if (tmpNode.getClient().getJobType()
                        .equalsIgnoreCase("planning")) {
                    System.out.print(tmpNode.getClient());
                    planningCounter++;
                }

                tmpNode = tmpNode.next;

            }
            if (planningCounter == 0) {
                System.out
                        .print("WARNING - There are no clients in the system for "
                                + specificJobType + " permission.\n");
            }

        } else {

            while (tmpNode != null) {

                if (tmpNode.getClient().getJobType().equalsIgnoreCase("onsite")) {
                    onSiteCounter++;

                }
                tmpNode = tmpNode.next;
            }
            if (onSiteCounter == 0) {
                System.out
                        .print("WARNING - There are no clients in the system for "
                                + specificJobType + " drawings.\n");

            }
        }

    }

    public void archivedClientList() {// Printout of archived clients
        System.out.println("***Archived Client List***\n");
        if (isEmpty());
    }

    public boolean isEmpty() {
        if (head == null) {
            System.out.print("WARNING - Client list is empty\n");
            return false;
        }
        return false;
    }

    //Internal Node class for the LinkedList
    class Node {
        Node next;
        // Node archiveNext;
        Client client;

        // Client archiveClient;

        public Node(Client client) {
            this.client = client;
            next = null;
            // archiveNext = null;
        }

        public Client getClient() {
            return client;
        }

        // public Client archiveGetClient() {
        // return archiveClient;
        // }

        public Node getNext() {
            return next;
        }
        // public Node archiveGetNext() {
        // return archiveNext;
        // }
      
    }
    private Node getLastNode() {
        if (head == null) {
            return null;
        }
        Node tmpNode = head;
        while (tmpNode.next != null) {
            tmpNode = tmpNode.next;
        }
        return tmpNode;
    }
}//End of code---------------------

Client class:
Download source code for 'Client' here

// Start of code---------------------

/* Usage notes:
 * Redistribution, alteration and use of this code with or without
 * modification, are permitted provided that the following conditions are met:
 * In no event shall the copyright owner be liable for any direct, indirect,
 * incidental, special, exemplary, or consequential damages arising in any
 * way out of the use of this software, even if advised of the possibility
 * of such damage.
 */


public class Client {

    private String clientNo;
    private String name;
    private String jobType;
    private String staffName;

    public Client(String clientNo, String name, String jobType,
            String staffName) {
        this.clientNo = clientNo;
        this.name = name;
        this.jobType = jobType;
        this.staffName = staffName;
    }

    public String getClientNo() {
        return clientNo;
    }

    public void setClientNo(String clientNo) {
        this.clientNo = clientNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJobType() {
        return jobType;
    }

    public void setJobType(String jobType) {
        this.jobType = jobType;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String toString() {

        return "Client No:" + getClientNo() + "\nClient Name:" + getName()
                + "\nConstruction type:" + getJobType()
                + "\nStaff assigned:" + getStaffName() + "\n------------\n";
    }

}//End of code---------------------

0 comments:

Post a Comment

Please feel free to leave comments or ask questions related to the tutorials.