Jakob Voß > DAIA > DAIA::Item

Download:
DAIA-0.43.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.43   Source  

NAME ^

DAIA::Item - Holds information about an item of a DAIA::Document

VERSION ^

version 0.43

PROPERTIES ^

id

The unique identifier of this item (optional). Must be an URI if given.

href

A link to the item or to additional information about it.

message

An optional list of DAIA::Message objects. You can get/set message(s) with the message accessor.

part

Set to narrower if the item only contains a part of the document or to broader if the item contains more than the document.

label

A label that helps to identify and/or find the item (signature etc.).

department

A DAIA::Department object with an administrative sub-entitity of the institution that is connected to this item (for instance the holding library branch).

storage

A DAIA::Storage object with the physical location of the item (stacks, floor etc.).

available

An optional list of DAIA::Available objects with available services that can be performed with this item.

unavailable

An optional list of DAIA::Unavailable objects with unavailable services that can (currently or in general) not be performed with this item.

METHODS ^

Standard methods

DAIA::Item provides the standard methods and accessor methods for its properties as listed above.

Additional appender methods

addMessage ( $message | ... )

Add a given or a new DAIA::Message.

addAvailable ( $available | ... )

Add a given or a new DAIA::Available.

addUnavailable ( $unavailable | ... )

Add a given or a new DAIA::Unavailable.

addAvailability ( $availability | ... )

Add a given or a new DAIA::Availability.

addService ( $availability | ... )

Add a given or a new DAIA::Availability (alias for addAvailability).

Additional query methods

services ( [ @services ] )

Returns a (possibly empty) hash of services mapped to lists of DAIA::Availability objects for the given services. If you provide a list of wanted services (each specified by its URI or by its short name), you only get those services.

AUTHOR ^

Jakob Voß

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: