The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Biblio::ILL::ISO::ProviderErrorReport

VERSION

Version 0.01

DESCRIPTION

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

USES

 Biblio::ILL::ISO::ILLASNtype;
 Biblio::ILL::ISO::GeneralProblem;
 Biblio::ILL::ISO::TransactionIdProblem;
 Biblio::ILL::ISO::StateTransitionProhibited;

USED IN

 Biblio::ILL::ISO::ErrorReport

FROM THE ASN DEFINITION

 Provider-Error-Report ::= CHOICE {
        general-problem                 [0]     IMPLICIT General-Problem,
        transaction-id-problem          [1]     IMPLICIT Transaction-Id-Problem,
        state-transition-prohibited     [2]     IMPLICIT State-Transition-Prohibited
        }

METHODS

new( [$general_problem | $transaction_id_problem | $state_transition_prohibited] )

Creates a new ProviderErrorReport object. Expects one of a general-problem (Biblio::ILL::ISO::GeneralProblem), a transaction-id-problem (Biblio::ILL::ISO::TransactionIdProblem), or a state-transition-prohibited (Biblio::ILL::ISO::StateTransitionProhibited).

set( [$general_problem | $transaction_id_problem | $state_transition_prohibited] )

 Sets the object's "problem" type.
 Expects one of:
 general-problem (Biblio::ILL::ISO::GeneralProblem),
 transaction-id-problem (Biblio::ILL::ISO::TransactionIdProblem), or
 state-transition-prohibited (Biblio::ILL::ISO::StateTransitionProhibited).

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.