Process Details

d
package com.thealgorithms.devutils.entities;

public class ProcessDetails {
    private String processId;
    private int arrivalTime;
    private int burstTime;
    private int waitingTime;
    private int turnAroundTime;
    private int priority;

    public ProcessDetails(final String processId, final int arrivalTime, final int burstTime, int priority) {
        this.processId = processId;
        this.arrivalTime = arrivalTime;
        this.burstTime = burstTime;
        this.priority = priority;
    }

    public ProcessDetails(final String processId, final int arrivalTime, final int burstTime) {
        this.processId = processId;
        this.arrivalTime = arrivalTime;
        this.burstTime = burstTime;
    }

    public String getProcessId() {
        return processId;
    }

    public int getArrivalTime() {
        return arrivalTime;
    }

    public int getBurstTime() {
        return burstTime;
    }

    public int getWaitingTime() {
        return waitingTime;
    }

    public int getTurnAroundTimeTime() {
        return turnAroundTime;
    }

    public int getPriority() {
        return priority;
    }

    public void setProcessId(final String processId) {
        this.processId = processId;
    }

    public void setArrivalTime(final int arrivalTime) {
        this.arrivalTime = arrivalTime;
    }

    public void setBurstTime(final int burstTime) {
        this.burstTime = burstTime;
    }

    public void setWaitingTime(final int waitingTime) {
        this.waitingTime = waitingTime;
    }

    public void setTurnAroundTimeTime(final int turnAroundTime) {
        this.turnAroundTime = turnAroundTime;
    }
}