Class: Quark::DatawireMdkMd::MdkRuntimePromisePromiseValue
Constant Summary
DatawireQuarkCore::Static::Unassigned
Instance Method Summary
collapse
_lazy_statics, static, unlazy_statics
Constructor Details
Returns a new instance of MdkRuntimePromisePromiseValue.
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
|
# File 'lib/datawire_mdk_md.rb', line 31889
def initialize()
super("mdk_runtime.promise.PromiseValue")
(self).name = "mdk_runtime.promise.PromiseValue"
(self).parameters = ::DatawireQuarkCore::List.new([])
(self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("quark.Object", "_successResult"), ::Quark.quark.reflect.Field.new("quark.error.Error", "_failureResult"), ::Quark.quark.reflect.Field.new("quark.bool", "_hasValue")])
(self).methods = ::DatawireQuarkCore::List.new([::Quark.datawire_mdk_md.mdk_runtime_promise_PromiseValue_hasValue_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_PromiseValue_isError_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_PromiseValue_getValue_Method.new()])
(self).parents = ::DatawireQuarkCore::List.new(["quark.Object"])
nil
end
|
Instance Method Details
#__init_fields__ ⇒ Object
31939
31940
31941
31942
31943
31944
|
# File 'lib/datawire_mdk_md.rb', line 31939
def __init_fields__()
super
nil
end
|
#_getClass ⇒ Object
31918
31919
31920
31921
31922
31923
|
# File 'lib/datawire_mdk_md.rb', line 31918
def _getClass()
return ::DatawireQuarkCore.cast(nil) { ::String }
nil
end
|
#_getField(name) ⇒ Object
31925
31926
31927
31928
31929
31930
|
# File 'lib/datawire_mdk_md.rb', line 31925
def _getField(name)
return nil
nil
end
|
#_setField(name, value) ⇒ Object
31932
31933
31934
31935
31936
31937
|
# File 'lib/datawire_mdk_md.rb', line 31932
def _setField(name, value)
nil
nil
end
|
#construct(args) ⇒ Object
31904
31905
31906
31907
31908
31909
|
# File 'lib/datawire_mdk_md.rb', line 31904
def construct(args)
return ::Quark.mdk_runtime.promise.PromiseValue.new((args)[0], ::DatawireQuarkCore.cast((args)[1]) { ::Quark.quark.error.Error }, ::DatawireQuarkCore.cast((args)[2]) { ::Object })
nil
end
|
#isAbstract ⇒ Object
31911
31912
31913
31914
31915
31916
|
# File 'lib/datawire_mdk_md.rb', line 31911
def isAbstract()
return false
nil
end
|