Class: Quark::DatawireMdkMd::QuarkPromiseValue

Inherits:
Object
  • Object
show all
Extended by:
DatawireQuarkCore::Static
Defined in:
lib/datawire_mdk_md.rb

Constant Summary

Constants included from DatawireQuarkCore::Static

DatawireQuarkCore::Static::Unassigned

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Constructor Details

#initializeQuarkPromiseValue

Returns a new instance of QuarkPromiseValue.



27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
# File 'lib/datawire_mdk_md.rb', line 27189

def initialize()
    
    super("quark.PromiseValue")
    (self).name = "quark.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([])
    (self).parents = ::DatawireQuarkCore::List.new(["quark.Object"])

    nil
end

Instance Method Details

#__init_fields__Object



27239
27240
27241
27242
27243
27244
# File 'lib/datawire_mdk_md.rb', line 27239

def __init_fields__()
    
    super

    nil
end

#_getClassObject



27218
27219
27220
27221
27222
27223
# File 'lib/datawire_mdk_md.rb', line 27218

def _getClass()
    
    return ::DatawireQuarkCore.cast(nil) { ::String }

    nil
end

#_getField(name) ⇒ Object



27225
27226
27227
27228
27229
27230
# File 'lib/datawire_mdk_md.rb', line 27225

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



27232
27233
27234
27235
27236
27237
# File 'lib/datawire_mdk_md.rb', line 27232

def _setField(name, value)
    
    nil

    nil
end

#construct(args) ⇒ Object



27204
27205
27206
27207
27208
27209
# File 'lib/datawire_mdk_md.rb', line 27204

def construct(args)
    
    return ::Quark.quark.PromiseValue.new((args)[0], ::DatawireQuarkCore.cast((args)[1]) { ::Quark.quark.error.Error }, ::DatawireQuarkCore.cast((args)[2]) { ::Object })

    nil
end

#isAbstractObject



27211
27212
27213
27214
27215
27216
# File 'lib/datawire_mdk_md.rb', line 27211

def isAbstract()
    
    return false

    nil
end