Class: Opencdd::Entity::VersionHistory::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/opencdd/entity/version_history.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#change_request_idObject

Returns the value of attribute change_request_id

Returns:

  • (Object)

    the current value of change_request_id



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def change_request_id
  @change_request_id
end

#is_currentObject

Returns the value of attribute is_current

Returns:

  • (Object)

    the current value of is_current



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def is_current
  @is_current
end

#revisionObject

Returns the value of attribute revision

Returns:

  • (Object)

    the current value of revision



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def revision
  @revision
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def status
  @status
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def timestamp
  @timestamp
end

#unidObject

Returns the value of attribute unid

Returns:

  • (Object)

    the current value of unid



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def unid
  @unid
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def user
  @user
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



16
17
18
# File 'lib/opencdd/entity/version_history.rb', line 16

def version
  @version
end

Instance Method Details

#current?Boolean

Returns:

  • (Boolean)


21
# File 'lib/opencdd/entity/version_history.rb', line 21

def current? = !!is_current