This page is stable.
content model object in Fedora: cmodel:collection
The term "collection" in this page means "a group of objects that behave in the same way". Collections will differ quite a bit, so this content model should only serve as a guide. Some collections will need many more datastreams and methods than are shown here.
Collections may contain collections. The Hoagy Carmichael Collection contains several different types of media, each of which is treated as a sub-collection. Some projects, like Sound Directions and Eviada, work with many "field collections" from different donors. In these cases, the entire project is a collection, and each "field collection" is a sub-collection.
The "standard" collection disseminator (bdef:iudlCollection)
Every collection should subscribe to this disseminator, which operates on the relationships stored in Fedora's resource index.
listMembers(max, start) – Returns PIDs for members of this collection, in Sparql form. No more than max PIDs are returned, starting with the number start object in an ordered list.
getSize – Returns the number of objects currently in this collection, in Sparql form.
- Fedora resource index must be enabled
- Objects in Fedora must refer to their parent collection in the RELS-EXT datastream, using the fedora:isMemberOfCollection relationship
- When binding the disseminator to a collection object, only one binding is required: NULLBIND. This may be bound to any XML datastream, but preferably will be bound to the default DC datastream.