Class: Dor::Services::Client::ObjectVersion::VersionStatus

Inherits:
Struct
  • Object
show all
Defined in:
lib/dor/services/client/object_version.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#accessioningObject

Returns the value of attribute accessioning

Returns:

  • (Object)

    the current value of accessioning



16
17
18
# File 'lib/dor/services/client/object_version.rb', line 16

def accessioning
  @accessioning
end

#assemblingObject

Returns the value of attribute assembling

Returns:

  • (Object)

    the current value of assembling



16
17
18
# File 'lib/dor/services/client/object_version.rb', line 16

def assembling
  @assembling
end

#closeableObject

Returns the value of attribute closeable

Returns:

  • (Object)

    the current value of closeable



16
17
18
# File 'lib/dor/services/client/object_version.rb', line 16

def closeable
  @closeable
end

#openObject

Returns the value of attribute open

Returns:

  • (Object)

    the current value of open



16
17
18
# File 'lib/dor/services/client/object_version.rb', line 16

def open
  @open
end

#openableObject

Returns the value of attribute openable

Returns:

  • (Object)

    the current value of openable



16
17
18
# File 'lib/dor/services/client/object_version.rb', line 16

def openable
  @openable
end

#versionIdObject Also known as: version

Returns the value of attribute versionId

Returns:

  • (Object)

    the current value of versionId



16
17
18
# File 'lib/dor/services/client/object_version.rb', line 16

def versionId
  @versionId
end

Instance Method Details

#accessioning?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/dor/services/client/object_version.rb', line 31

def accessioning?
  accessioning
end

#assembling?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/dor/services/client/object_version.rb', line 27

def assembling?
  assembling
end

#closeable?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/dor/services/client/object_version.rb', line 39

def closeable?
  closeable
end

#closed?Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/dor/services/client/object_version.rb', line 35

def closed?
  !open
end

#open?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/dor/services/client/object_version.rb', line 19

def open?
  open
end

#openable?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/dor/services/client/object_version.rb', line 23

def openable?
  openable
end