Class: Quark::MdkProtocol::OperationalEnvironment

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

Constant Summary

Constants included from DatawireQuarkCore::Static

DatawireQuarkCore::Static::Unassigned

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Constructor Details

#initializeOperationalEnvironment

Returns a new instance of OperationalEnvironment.



300
301
302
303
304
305
# File 'lib/mdk_protocol.rb', line 300

def initialize()
    
    super()

    nil
end

Instance Attribute Details

#fallbackNameObject

Returns the value of attribute fallbackName.



293
294
295
# File 'lib/mdk_protocol.rb', line 293

def fallbackName
  @fallbackName
end

#nameObject

Returns the value of attribute name.



293
294
295
# File 'lib/mdk_protocol.rb', line 293

def name
  @name
end

Instance Method Details

#__init_fields__Object



358
359
360
361
362
363
364
365
# File 'lib/mdk_protocol.rb', line 358

def __init_fields__()
    
    super
    self.name = "sandbox"
    self.fallbackName = nil

    nil
end

#_getClassObject



326
327
328
329
330
331
# File 'lib/mdk_protocol.rb', line 326

def _getClass()
    
    return "mdk_protocol.OperationalEnvironment"

    nil
end

#_getField(name) ⇒ Object



333
334
335
336
337
338
339
340
341
342
343
344
# File 'lib/mdk_protocol.rb', line 333

def _getField(name)
    
    if ((name) == ("name"))
        return (self).name
    end
    if ((name) == ("fallbackName"))
        return (self).fallbackName
    end
    return nil

    nil
end

#_setField(name, value) ⇒ Object



346
347
348
349
350
351
352
353
354
355
356
# File 'lib/mdk_protocol.rb', line 346

def _setField(name, value)
    
    if ((name) == ("name"))
        (self).name = ::DatawireQuarkCore.cast(value) { ::String }
    end
    if ((name) == ("fallbackName"))
        (self).fallbackName = ::DatawireQuarkCore.cast(value) { ::String }
    end

    nil
end

#getFallbackObject

Return the fallback Environment, or null if there isn’t one.



313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/mdk_protocol.rb', line 313

def getFallback()
    
    if (((self).fallbackName) == (nil))
        return ::DatawireQuarkCore.cast(nil) { ::Quark.mdk_protocol.OperationalEnvironment }
    end
    result = ::Quark.mdk_protocol.OperationalEnvironment.new()
    (result).name = (self).fallbackName
    (result).fallbackName = ::DatawireQuarkCore.cast(nil) { ::String }
    return result

    nil
end