app/models/bplmodels/mods_desc_metadata.rb
#include Hydra::Datastream::CommonModsIndexMethods
# MODS XML constants.
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
def insert_rights(value=nil, type=nil, displayLabel=nil)
      access_index = self.mods(0).accessCondition.count
      self.mods(0).accessCondition(access_index, value) unless value.blank?
      self.mods(0).accessCondition(access_index).type_at = type unless type.blank?
      self.mods(0).accessCondition(access_index).displayLabel = displayLabel unless displayLabel.blank?
    end
def insert_rights ( value = nil , type = nil , displayLabel = nil ) access_index = self . mods ( 0 ) . accessCondition . count self . mods ( 0 ) . accessCondition ( access_index , value ) unless value . blank? self . mods ( 0 ) . accessCondition ( access_index ) . type_at = type unless type . blank? self . mods ( 0 ) . accessCondition ( access_index ) . displayLabel = displayLabel unless displayLabel . blank? end
include Hydra::Datastream::CommonModsIndexMethods
MODS XML constants.
include Hydra :: Datastream :: CommonModsIndexMethods MODS XML constants .
value
type
displayLabel