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::RequesterOptionalMessageType

VERSION

Version 0.01

DESCRIPTION

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

USES

 Biblio::ILL::ISO::RequesterSHIPPED
 Biblio::ILL::ISO::RequesterCHECKEDIN

USED IN

 Biblio::ILL::ISO::Request

FROM THE ASN DEFINITION

 Requester-Optional-Messages-Type ::= SEQUENCE {
        can-send-RECEIVED       [0]     IMPLICIT BOOLEAN,
        can-send-RETURNED       [1]     IMPLICIT BOOLEAN,
        requester-SHIPPED       [2]     IMPLICIT ENUMERATED {
                                requires        (1),
                                desires         (2),
                                neither (3)
                                }
        requester-CHECKED-IN    [3]     IMPLICIT ENUMERATED {
                                requires        (1),
                                desires         (2),
                                neither         (3)
                                }
        }

METHODS

new( $can_send_received, $can_send_shipped, $requester_shipped, $requester_checked_in )

 Creates a new RequesterOptionalMessageType object. 
 Expects a can-send-RECEIVED flag ( 0|1 ),
 a can-send-RETURNED flag ( 0|1 ), 
 a requester-SHIPPED string (a valid Biblio::ILL::ISO::RequesterSHIPPED enumerated value), and 
 a requester-CHECKED-IN string (a valid Biblio::ILL::ISO::RequesterCHECKEDIN enumerated value).

set( $can_send_received, $can_send_shipped, $requester_shipped, $requester_checked_in )

 Sets the object's can-send-RECEIVED flag ( 0|1 ),
 can-send-RETURNED flag ( 0|1 ), 
 requester-SHIPPED string (a valid Biblio::ILL::ISO::RequesterSHIPPED enumerated value), and 
 requester-CHECKED-IN string (a valid Biblio::ILL::ISO::RequesterCHECKEDIN enumerated value).

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.