The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Biblio::ILL::ISO::HistoryReport

VERSION

Version 0.02

DESCRIPTION

Biblio::ILL::ISO::HistoryReport is a derivation of Biblio::ILL::ISO::ILLASNtype.

USES

 Biblio::ILL::ISO::ILLString
 Biblio::ILL::ISO::ISODate
 Biblio::ILL::ISO::MostRecentService
 Biblio::ILL::ISO::SystemId
 Biblio::ILL::ISO::ShippedServiceType
 Biblio::ILL::ISO::TransactionResults

USED IN

 Biblio::ILL::ISO::StatusReport

FROM THE ASN DEFINITION

 History-Report ::= EXPLICIT SEQUENCE {
        date-requested  [0]     IMPLICIT ISO-Date OPTIONAL,
        author  [1]     ILL-String OPTIONAL,
        title   [2]     ILL-String OPTIONAL,
        author-of-article       [3]     ILL-String OPTIONAL,
        title-of-article        [4]     ILL-String OPTIONAL,
        date-of-last-transition         [5]     IMPLICIT ISO-Date,
        most-recent-service     [6]     IMPLICIT ENUMERATED {
                                iLL-REQUEST                     (1),
                                fORWARD                         (21),
                                fORWARD-NOTIFICATION            (2),
                                sHIPPED                         (3),
                                iLL-ANSWER                      (4),
                                cONDITIONAL-REPLY               (5),
                                cANCEL                          (6),
                                cANCEL-REPLY                    (7),
                                rECEIVED                        (8),
                                rECALL                          (9),
                                rETURNED                        (10),
                                cHECKED-IN                      (11),
                                rENEW-ANSWER                    (14),
                                lOST                            (15),
                                dAMAGED                         (16),
                                mESSAGE                         (17),
                                sTATUS-QUERY                    (18),
                                sTATUS-OR-ERROR-REPORT          (19),
                                eXPIRED                         (20)
                                }
        date-of-most-recent-service     [7]     IMPLICIT ISO-Date,
        initiator-of-most-recent-service        [8]     IMPLICIT System-Id,
        shipped-service-type    [9]     IMPLICIT Shipped-Service-Type OPTIONAL,
                -- If the information is available, i.e. if a SHIPPED or
                -- RECEIVED APDU has been sent or received, then the
                -- value in this parameter shall be supplied.
                -- Value must contain the most current information, e.g. if a
                -- requester has received a SHIPPED APDU and then
                -- invokes a RECEIVED.request, then the value from the
                -- RECEIVED.request is used
        transaction-results     [10]    IMPLICIT Transaction-Results OPTIONAL,
                -- If the information is available, i.e. if an ILL-ANWSER
                -- APDU has been sent or received, then the value in this
                -- parameter shall be supplied.
        most-recent-service-note        [11]    ILL-String OPTIONAL
                -- If the information is available, i.e. if a note has been
                -- supplied in the most recent service primitive, then the
                -- value in this parameter shall be supplied.
        }

METHODS

new( [...a whole bunch of parameters...] )

Creates a new HistoryReport object. Expects either no parameters, or date-of-last-transition (Biblio::ILL::ISO::ISODate or text string (YYYYMMDD)), most-recent-service (Biblio::ILL::ISO::MostRecentService), date-of-most-recent-service (Biblio::ILL::ISO::ISODate or text string (YYYYMMDD)), initiator-of-most-recent-service (Biblio::ILL::ISO::SystemId), (optionally) date-requested (Biblio::ILL::ISO::ISODate or text string (YYYYMMDD)), (optionally) author (Biblio::ILL::ISO::ILLString or text string), (optionally) title (Biblio::ILL::ISO::ILLString or text string), (optionally) author-of-article (Biblio::ILL::ISO::ILLString or text string), (optionally) title-of-article (Biblio::ILL::ISO::ILLString or text string), (optionally) shipped-service-type (Biblio::ILL::ISO::ShippedServiceType), (optionally) transaction-results (Biblio::ILL::ISO::TransactionResults), and (optionally) most-recent-service-note (Biblio::ILL::ISO::ILLString or text string)

 Pass empty strings ("") as placeholders.

set( [...a whole bunch of parameters...] )

Sets the object's date-of-last-transition (Biblio::ILL::ISO::ISODate or text string (YYYYMMDD)), most-recent-service (Biblio::ILL::ISO::MostRecentService), date-of-most-recent-service (Biblio::ILL::ISO::ISODate or text string (YYYYMMDD)), initiator-of-most-recent-service (Biblio::ILL::ISO::SystemId), (optionally) date-requested (Biblio::ILL::ISO::ISODate or text string (YYYYMMDD)), (optionally) author (Biblio::ILL::ISO::ILLString or text string), (optionally) title (Biblio::ILL::ISO::ILLString or text string), (optionally) author-of-article (Biblio::ILL::ISO::ILLString or text string), (optionally) title-of-article (Biblio::ILL::ISO::ILLString or text string), (optionally) shipped-service-type (Biblio::ILL::ISO::ShippedServiceType), (optionally) transaction-results (Biblio::ILL::ISO::TransactionResults), and (optionally) most-recent-service-note (Biblio::ILL::ISO::ILLString or text string)

 Pass empty strings ("") as placeholders.

from_asn($href)

Given a properly formatted hash, builds the object.

SEE ALSO

See the README for system design notes. See the parent class(es) for other available methods.

For more information on Interlibrary Loan standards (ISO 10160/10161), a good place to start is:

http://www.nlc-bnc.ca/iso/ill/main.htm

AUTHOR

David Christensen, <DChristensenSPAMLESS@westman.wave.ca>

COPYRIGHT AND LICENSE

Copyright 2003 by David Christensen

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