mdk_runtime.promise._ChainPromise Maven / Gradle / Ivy
/* Quark 1.0.452 run at 2016-11-10 18:39:58.222591 */
package mdk_runtime.promise;
public class _ChainPromise implements quark.UnaryCallable, io.datawire.quark.runtime.QObject {
public static quark.reflect.Class mdk_runtime_promise__ChainPromise_ref = datawire_mdk_md.Root.mdk_runtime_promise__ChainPromise_md;
public Promise _next;
public _ChainPromise(Promise next) {
(this)._next = next;
}
public Object call(Object arg) {
Functions._fullfilPromise((this)._next, arg);
return null;
}
public String _getClass() {
return "mdk_runtime.promise._ChainPromise";
}
public Object _getField(String name) {
if ((name)==("_next") || ((Object)(name) != null && ((Object) (name)).equals("_next"))) {
return (this)._next;
}
return null;
}
public void _setField(String name, Object value) {
if ((name)==("_next") || ((Object)(name) != null && ((Object) (name)).equals("_next"))) {
(this)._next = (Promise) (value);
}
}
}