/* Generated from Java with JSweet 2.3.7 - http://www.jsweet.org */
import { NodeCompat } from '../compat/NodeCompat';
/**
 * Constructor.
 * @class
 * @author eric.wittmann@gmail.com
 */
var AbstractCommand = /** @class */ (function () {
    function AbstractCommand() {
    }
    /**
     * Returns true if the argument is either null or undefined.
     * @param {*} object
     * @return {boolean}
     */
    AbstractCommand.prototype.isNullOrUndefined = function (object) {
        return NodeCompat.isNullOrUndefined(object);
    };
    /**
     * @see io.apicurio.datamodels.cmd.ICommand#type()
     * @return {string}
     */
    AbstractCommand.prototype.type = function () {
        return /* getSimpleName */ (function (c) { return c["__class"] ? c["__class"].substring(c["__class"].lastIndexOf('.') + 1) : c["name"].substring(c["name"].lastIndexOf('.') + 1); })(this.constructor);
    };
    return AbstractCommand;
}());
export { AbstractCommand };
AbstractCommand["__class"] = "io.apicurio.datamodels.cmd.AbstractCommand";
AbstractCommand["__interfaces"] = ["io.apicurio.datamodels.cmd.ICommand"];
//# sourceMappingURL=AbstractCommand.js.map