NAME
DAIA::Item - Holds information about an item of a DAIA::Document
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 set message(s) with the
message
accessor, withaddMessage
, and withprovideMessage
. - fragment
-
Whether the item only contains a part of the document. this property will likely be renamed.
- 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.
-
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.
-
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 Voss <jakob.voss@gbv.de>
LICENSE
Copyright (C) 2009-2010 by Verbundzentrale Goettingen (VZG) and Jakob Voss
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 88:
You forgot a '=back' before '=head1'