Object.java

31 lines | 581 B 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;

/**
 *
 * @author romulo
 */
public abstract class Object {

    private final String t;
    private final java.lang.Object d;

    public Object(String type, java.lang.Object data) {
        this.t = type;
        this.d = data;
    }

    public String getType() {
        return t;
    }

    public java.lang.Object getData() {
        return d;
    }

}