001/*
002 * To change this license header, choose License Headers in Project Properties.
003 * To change this template file, choose Tools | Templates
004 * and open the template in the editor.
005 */
006package gwt.material.design.jscore.client.api.db;
007
008import gwt.material.design.jscore.client.api.core.Event;
009import jsinterop.annotations.JsProperty;
010import jsinterop.annotations.JsType;
011
012/**
013 *
014 * @author Cristian Rinaldi <crinaldi@santafe.gov.ar>
015 * @param <T>
016 */
017
018@JsType(isNative = true)
019public class IDBVersionChangeEvent<T extends IDBOpenDBRequest> extends Event<T>{
020    
021    @JsProperty
022    public native int getOldVersion();
023    
024    @JsProperty
025    public native int getNewVersion();
026    
027}