Module: Cul::Hydra::Models::RelsInt

Extended by:
ActiveSupport::Concern
Included in:
GenericResource
Defined in:
app/models/concerns/cul/hydra/models/rels_int.rb

Instance Method Summary collapse

Instance Method Details

#rels_intObject



10
11
12
13
14
15
16
# File 'app/models/concerns/cul/hydra/models/rels_int.rb', line 10

def rels_int
  if !datastreams.has_key?("RELS-INT")
    ds = Cul::Hydra::Datastreams::RelsInt.new(@inner_object, "RELS-INT")
    add_datastream(ds)
  end
  return datastreams["RELS-INT"]
end