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

NAME

Biblio::ILL::ISO::ErrorReport

VERSION

Version 0.02

DESCRIPTION

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

USES

 Biblio::ILL::ISO::ILLString
 Biblio::ILL::ISO::ReportSource
 Biblio::ILL::ISO::UserErrorReport
 Biblio::ILL::ISO::ProviderErrorReport

USED IN

 Biblio::ILL::ISO::StatusOrErrorReport

FROM THE ASN DEFINITION

 Error-Report ::= EXPLICIT SEQUENCE {
        correlation-information [0]     ILL-String,
        report-source   [1]     IMPLICIT Report-Source,
        user-error-report       [2]     User-Error-Report OPTIONAL,
                -- mandatory if report-source is "user"; not present otherwise
        provider-error-report   [3]     Provider-Error-Report OPTIONAL
                -- mandatory if report-source is "provider"; not
                -- present otherwise
        }

METHODS

new( $correlation_info, $report_source, $report)

Creates a new ErrorReport object. Expects either no parameters or correlation-information (Biblio::ILL::ISO::ILLString or text string), report-source (Biblio::ILL::ISO::ReportSource or text string), and either a Biblio::ILL::ISO::UserErrorReport or a Biblio::ILL::ISO::ProviderErrorReport.

set( $correlation_info, $report_source, $report)

Sets the object's correlation-information (Biblio::ILL::ISO::ILLString or text string), report-source (Biblio::ILL::ISO::ReportSource or text string), and either a Biblio::ILL::ISO::UserErrorReport or a Biblio::ILL::ISO::ProviderErrorReport.

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.