Class: IceGrid::ApplicationUpdateInfo
- Inherits:
-
Object
- Object
- IceGrid::ApplicationUpdateInfo
- Includes:
- Ice::Inspect_mixin
- Defined in:
- ruby/IceGrid/Admin.rb
Instance Attribute Summary collapse
-
#descriptor ⇒ Object
Returns the value of attribute descriptor.
-
#revision ⇒ Object
Returns the value of attribute revision.
-
#updateTime ⇒ Object
Returns the value of attribute updateTime.
-
#updateUser ⇒ Object
Returns the value of attribute updateUser.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(updateTime = 0, updateUser = '', revision = 0, descriptor = ::IceGrid::ApplicationUpdateDescriptor.new) ⇒ ApplicationUpdateInfo
constructor
A new instance of ApplicationUpdateInfo.
Methods included from Ice::Inspect_mixin
Constructor Details
#initialize(updateTime = 0, updateUser = '', revision = 0, descriptor = ::IceGrid::ApplicationUpdateDescriptor.new) ⇒ ApplicationUpdateInfo
Returns a new instance of ApplicationUpdateInfo.
405 406 407 408 409 410 |
# File 'ruby/IceGrid/Admin.rb', line 405 def initialize(updateTime=0, updateUser='', revision=0, descriptor=::IceGrid::ApplicationUpdateDescriptor.new) @updateTime = updateTime @updateUser = updateUser @revision = revision @descriptor = descriptor end |
Instance Attribute Details
#descriptor ⇒ Object
Returns the value of attribute descriptor.
434 435 436 |
# File 'ruby/IceGrid/Admin.rb', line 434 def descriptor @descriptor end |
#revision ⇒ Object
Returns the value of attribute revision.
434 435 436 |
# File 'ruby/IceGrid/Admin.rb', line 434 def revision @revision end |
#updateTime ⇒ Object
Returns the value of attribute updateTime.
434 435 436 |
# File 'ruby/IceGrid/Admin.rb', line 434 def updateTime @updateTime end |
#updateUser ⇒ Object
Returns the value of attribute updateUser.
434 435 436 |
# File 'ruby/IceGrid/Admin.rb', line 434 def updateUser @updateUser end |
Instance Method Details
#==(other) ⇒ Object
421 422 423 424 425 426 427 428 |
# File 'ruby/IceGrid/Admin.rb', line 421 def ==(other) return false if !other.is_a? ::IceGrid::ApplicationUpdateInfo or @updateTime != other.updateTime or @updateUser != other.updateUser or @revision != other.revision or @descriptor != other.descriptor true end |
#eql?(other) ⇒ Boolean
430 431 432 |
# File 'ruby/IceGrid/Admin.rb', line 430 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
412 413 414 415 416 417 418 419 |
# File 'ruby/IceGrid/Admin.rb', line 412 def hash _h = 0 _h = 5 * _h + @updateTime.hash _h = 5 * _h + @updateUser.hash _h = 5 * _h + @revision.hash _h = 5 * _h + @descriptor.hash _h % 0x7fffffff end |