app/models/ddr/batch/batch_object_datastream.rb in ddr-batch-2.0.0.beta.4 vs app/models/ddr/batch/batch_object_datastream.rb in ddr-batch-2.0.0.beta.5
- old
+ new
@@ -3,10 +3,10 @@
class BatchObjectDatastream < ActiveRecord::Base
belongs_to :batch_object, :inverse_of => :batch_object_datastreams
DATASTREAMS = [ Ddr::Models::File::CONTENT,
- Ddr::Models::File::DESC_METADATA,
+ Ddr::Models::Metadata::DESC_METADATA,
Ddr::Models::File::STRUCT_METADATA ]
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