Sha256: 65e9f4b303ca11c20589f795d926cae3709656d2ab3812ad634d75292e31e5fb

Contents?: true

Size: 767 Bytes

Versions: 14

Compression:

Stored size: 767 Bytes

Contents

module Ddr::Batch

  class BatchObjectDatastream < ActiveRecord::Base

    belongs_to :batch_object, :inverse_of => :batch_object_datastreams

    OPERATION_ADD = "ADD" # add this datastream to the object -- considered an error if datastream already exists
    OPERATION_ADDUPDATE = "ADDUPDATE" # add this datastream to or update this datastream in the object
    OPERATION_UPDATE = "UPDATE" # update this datastream in the object -- considered an error if datastream does not already exist
    OPERATION_DELETE = "DELETE" # delete this datastream from the object -- considered an error if datastream does not exist

    PAYLOAD_TYPE_BYTES = "BYTES"
    PAYLOAD_TYPE_FILENAME = "FILENAME"

    PAYLOAD_TYPES = [ PAYLOAD_TYPE_BYTES, PAYLOAD_TYPE_FILENAME ]
  end

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ddr-batch-1.7.2 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.7.1 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.7.0 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.6.1 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.6.0 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.6.0.rc1 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.5.1 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.5.0 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.5.0.rc1 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.4.1 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.4.0 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.4.0.rc1 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.3.0 app/models/ddr/batch/batch_object_datastream.rb
ddr-batch-1.3.0.rc1 app/models/ddr/batch/batch_object_datastream.rb