Trace.java

57 lines | 1.124 kB Blame History Raw Download
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufrgs.inf.prosoft.trace;

import java.util.List;

/**
 *
 * @author romulo
 */
public class Trace {

    private final List<String> m;
    private final Return r;
    private final String n;
    private final List<Parameter> p;
    private final long s;
    private final long e;

    public Trace(List<String> modifiers, Return returnValue, String name, List<Parameter> parameters, long startTime, long endTime) {
        this.m = modifiers;
        this.r = returnValue;
        this.n = name;
        this.p = parameters;
        this.s = startTime;
        this.e = endTime;
    }

    public List<String> getModifiers() {
        return m;
    }

    public Return getReturnValue() {
        return r;
    }

    public String getName() {
        return n;
    }

    public List<Parameter> getParameters() {
        return p;
    }

    public long getStartTime() {
        return s;
    }

    public long getEndTime() {
        return e;
    }

}