Class: IceGrid::ApplicationInfo
- Inherits:
-
Object
- Object
- IceGrid::ApplicationInfo
- Defined in:
- lib/IceGrid/Admin.rb
Instance Attribute Summary collapse
-
#createTime ⇒ Object
Returns the value of attribute createTime.
-
#createUser ⇒ Object
Returns the value of attribute createUser.
-
#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.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
- #==(other) ⇒ Object
- #eql?(other) ⇒ Boolean
- #hash ⇒ Object
-
#initialize(uuid = '', createTime = 0, createUser = '', updateTime = 0, updateUser = '', revision = 0, descriptor = ::IceGrid::ApplicationDescriptor.new) ⇒ ApplicationInfo
constructor
A new instance of ApplicationInfo.
- #inspect ⇒ Object
Constructor Details
#initialize(uuid = '', createTime = 0, createUser = '', updateTime = 0, updateUser = '', revision = 0, descriptor = ::IceGrid::ApplicationDescriptor.new) ⇒ ApplicationInfo
Returns a new instance of ApplicationInfo.
385 386 387 388 389 390 391 392 393 |
# File 'lib/IceGrid/Admin.rb', line 385 def initialize(uuid='', createTime=0, createUser='', updateTime=0, updateUser='', revision=0, descriptor=::IceGrid::ApplicationDescriptor.new) @uuid = uuid @createTime = createTime @createUser = createUser @updateTime = updateTime @updateUser = updateUser @revision = revision @descriptor = descriptor end |
Instance Attribute Details
#createTime ⇒ Object
Returns the value of attribute createTime.
427 428 429 |
# File 'lib/IceGrid/Admin.rb', line 427 def createTime @createTime end |
#createUser ⇒ Object
Returns the value of attribute createUser.
427 428 429 |
# File 'lib/IceGrid/Admin.rb', line 427 def createUser @createUser end |
#descriptor ⇒ Object
Returns the value of attribute descriptor.
427 428 429 |
# File 'lib/IceGrid/Admin.rb', line 427 def descriptor @descriptor end |
#revision ⇒ Object
Returns the value of attribute revision.
427 428 429 |
# File 'lib/IceGrid/Admin.rb', line 427 def revision @revision end |
#updateTime ⇒ Object
Returns the value of attribute updateTime.
427 428 429 |
# File 'lib/IceGrid/Admin.rb', line 427 def updateTime @updateTime end |
#updateUser ⇒ Object
Returns the value of attribute updateUser.
427 428 429 |
# File 'lib/IceGrid/Admin.rb', line 427 def updateUser @updateUser end |
#uuid ⇒ Object
Returns the value of attribute uuid.
427 428 429 |
# File 'lib/IceGrid/Admin.rb', line 427 def uuid @uuid end |
Instance Method Details
#==(other) ⇒ Object
407 408 409 410 411 412 413 414 415 416 417 |
# File 'lib/IceGrid/Admin.rb', line 407 def ==(other) return false if !other.is_a? ::IceGrid::ApplicationInfo or @uuid != other.uuid or @createTime != other.createTime or @createUser != other.createUser or @updateTime != other.updateTime or @updateUser != other.updateUser or @revision != other.revision or @descriptor != other.descriptor true end |
#eql?(other) ⇒ Boolean
419 420 421 |
# File 'lib/IceGrid/Admin.rb', line 419 def eql?(other) return other.class == self.class && other == self end |
#hash ⇒ Object
395 396 397 398 399 400 401 402 403 404 405 |
# File 'lib/IceGrid/Admin.rb', line 395 def hash _h = 0 _h = 5 * _h + @uuid.hash _h = 5 * _h + @createTime.hash _h = 5 * _h + @createUser.hash _h = 5 * _h + @updateTime.hash _h = 5 * _h + @updateUser.hash _h = 5 * _h + @revision.hash _h = 5 * _h + @descriptor.hash _h % 0x7fffffff end |
#inspect ⇒ Object
423 424 425 |
# File 'lib/IceGrid/Admin.rb', line 423 def inspect ::Ice::__stringify(self, T_ApplicationInfo) end |