package jxl.biff;

import jxl.read.biff.Record;

/* JADX INFO: loaded from: classes.dex */
public abstract class RecordData {
    private int code;
    private Record record;

    protected RecordData(Record record) {
        this.record = record;
        this.code = record.getCode();
    }

    protected final int getCode() {
        return this.code;
    }

    protected Record getRecord() {
        return this.record;
    }

    protected RecordData(Type type) {
        this.code = type.value;
    }
}
