app/models/bplmodels/mods_desc_metadata.rb
def insert_date_copyright(dateStarted=nil, dateEnding=nil, dateQualifier=nil)
      #begin
      if self.find_by_terms(:origin_info) != nil && self.find_by_terms(:origin_info).slice(0) != nil
        add_child_node(self.find_by_terms(:origin_info).slice(0), :date_copyright_partial, dateStarted, dateEnding, dateQualifier)
      else
        add_child_node(ng_xml.root, :date_copyright, dateStarted, dateEnding, dateQualifier)
      end


    end
#include Hydra::Datastream::CommonModsIndexMethods
# MODS XML constants.
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
def insert_date_copyright(dateStarted=nil, dateEnding=nil, dateQualifier=nil)
      if self.find_by_terms(:origin_info) != nil && self.find_by_terms(:origin_info).slice(0) != nil
        add_child_node(self.find_by_terms(:origin_info).slice(0), :date_copyright_partial, dateStarted, dateEnding, dateQualifier)
      else
        add_child_node(ng_xml.root, :date_copyright, dateStarted, dateEnding, dateQualifier)
      end
    end
def insert_date_copyright ( dateStarted = nil , dateEnding = nil , dateQualifier = nil ) if self . find_by_terms ( :origin_info ) != nil && self . find_by_terms ( :origin_info ) . slice ( 0 ) != nil add_child_node ( self . find_by_terms ( :origin_info ) . slice ( 0 ) , :date_copyright_partial , dateStarted , dateEnding , dateQualifier ) else add_child_node ( ng_xml . root , :date_copyright , dateStarted , dateEnding , dateQualifier ) end end
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
#begin
dateStarted
dateEnding
dateQualifier