Class: Annotations2triannon::IIIFCollection

Inherits:
Resource
  • Object
show all
Defined in:
lib/annotations2triannon/iiif_collection.rb

Instance Attribute Summary collapse

Attributes inherited from Resource

#iri

Instance Method Summary collapse

Methods inherited from Resource

#as_jsonld, http_head_request, #id, #initialize, #iri_type?, #iri_types, #provenance, #query_predicate_objects, #query_predicate_subjects, #rdf, #rdf_expand_blank_nodes, #rdf_find_object, #rdf_find_subject, #rdf_insert, #rdf_insert_contributor, #rdf_insert_creator, #rdf_insert_editor, #rdf_insert_exampleOfWork, #rdf_insert_foafFocus, #rdf_insert_name, #rdf_insert_sameAs, #rdf_insert_seeAlso, #rdf_insert_type, #rdf_now, #rdf_type_agent, #rdf_type_concept, #rdf_type_organization, #rdf_type_person, #rdf_uri, #rdf_valid?, #resolve_url, #same_as_org_graph, #same_as_org_query, #to_jsonld, #to_ttl

Constructor Details

This class inherits a constructor from Annotations2triannon::Resource

Instance Attribute Details

#iiif_manifestsObject (readonly)

Returns the value of attribute iiif_manifests.



7
8
9
# File 'lib/annotations2triannon/iiif_collection.rb', line 7

def iiif_manifests
  @iiif_manifests
end

#manifestsObject (readonly)

Returns the value of attribute manifests.



6
7
8
# File 'lib/annotations2triannon/iiif_collection.rb', line 6

def manifests
  @manifests
end

#sc_manifestsObject (readonly)

Returns the value of attribute sc_manifests.



8
9
10
# File 'lib/annotations2triannon/iiif_collection.rb', line 8

def sc_manifests
  @sc_manifests
end

Instance Method Details

#collection?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/annotations2triannon/iiif_collection.rb', line 10

def collection?
  iri_type? RDF::Vocab::IIIF.Collection
end