TreeJob.java 507 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
package mvd.jester.model;

public class TreeJob {
    private long wcet;
    private final Job job;

    public TreeJob(Job job) {
        this.wcet = job.getWcet();
        this.job = job;
    }

    /**
     * @return the job
     */
    public Job getJob() {
        return job;
    }

    /**
     * @return the wcet
     */
    public long getWcet() {
        return wcet;
    }

    /**
     * @param wcet the wcet to set
     */
    public void setWcet(long wcet) {
        this.wcet = wcet;
    }
}