Sha256: 3b87882c0d5d1aa671b4cf912566202afef1f3e40fd9d63025d2cf18edd03fd1

Contents?: true

Size: 852 Bytes

Versions: 7

Compression:

Stored size: 852 Bytes

Contents

require "active-fedora"
require "cul_hydra/om"
require 'uri'
require 'rdf'
module Cul
module Hydra
  module Models
    AGGREGATOR_TYPE = RDF::CUL.Aggregator
    RESOURCE_TYPE = RDF::CUL.Resource
    MEMBER_OF = RDF::CUL.memberOf
    MEMBER_SPARQL = <<-SPARQL
      SELECT ?pid WHERE { ?pid <http://purl.oclc.org/NET/CUL/memberOf> <info:fedora/%PID%> }
    SPARQL
    MEMBER_ITQL = <<-ITQL
      select $pid from <#ri> where $pid <http://purl.oclc.org/NET/CUL/memberOf> <info:fedora/%PID%>
    ITQL
    autoload :Aggregator, 'cul/hydra/models/aggregator'
    autoload :Common, 'cul/hydra/models/common'
    autoload :ImageResource, 'cul/hydra/models/image_resource'
    autoload :LinkableResources, 'cul/hydra/models/linkable_resources'
    autoload :RelsInt, 'cul/hydra/models/rels_int'
    autoload :Resource, 'cul/hydra/models/resource'
  end
end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cul_hydra-1.9.6 app/models/concerns/cul/hydra/models.rb
cul_hydra-1.9.5 app/models/concerns/cul/hydra/models.rb
cul_hydra-1.9.4 app/models/concerns/cul/hydra/models.rb
cul_hydra-1.9.3 app/models/concerns/cul/hydra/models.rb
cul_hydra-1.9.2 app/models/concerns/cul/hydra/models.rb
cul_hydra-1.9.1 app/models/concerns/cul/hydra/models.rb
cul_hydra-1.9.0 app/models/concerns/cul/hydra/models.rb