NAME

Biblio::ILL::ISO::ThirdPartyInfoType

VERSION

Version 0.01

DESCRIPTION

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

USES

Biblio::ILL::ISO::SystemAddress
Biblio::ILL::ISO::Preference
Biblio::ILL::ISO::SendToListTypeSequence
Biblio::ILL::ISO::AlreadyTriedListType

USED IN

Biblio::ILL::ISO::Request

FROM THE ASN DEFINITION

 Third-Party-Info-Type ::= SEQUENCE {
	permission-to-forward	[0]	IMPLICIT BOOLEAN, -- DEFAULT FALSE,
	permission-to-chain	[1]	IMPLICIT BOOLEAN, -- DEFAULT FALSE,
	permission-to-partition 	[2]	IMPLICIT BOOLEAN, -- DEFAULT FALSE,
	permission-to-change-send-to-list [3]	IMPLICIT BOOLEAN, -- DEFAULT FALSE,
	initial-requester-address 	[4]	IMPLICIT System-Address OPTIONAL,
		-- mandatory when initiating a FORWARD service or an
		-- ILL-REQUEST service for a partitioned ILL
		-- sub-transaction; optional otherwise
	preference	[5]	IMPLICIT ENUMERATED {
				ordered	(1),
				unordered	(2)
				} -- DEFAULT 2,
	send-to-list	[6]	IMPLICIT Send-To-List-Type OPTIONAL,
	already-tried-list	[7]	IMPLICIT Already-Tried-List-Type OPTIONAL
		-- mandatory when initiating a FORWARD service, or when
		-- initiating an ILL-REQUEST service for an ILL
		-- sub-transaction if the received ILL-REQUEST included an
		-- "already-tried-list"; optional otherwise
	}

METHODS

new( $forward, $chain, $partition, $change, $pref [,$refrequester [,$refsendto [,$refalreadytried]]]] )

Creates a new ThirdPartyInfoType object. 
Expects a can-forward flag ( 0|1 ),
a can-chain flag ( 0|1 ),
a can-partition flag ( 0|1 ),
a can-change flag ( 0|1 ),
a preference for ordered or unordered (Biblio::ILL::ISO::Preference),
(optionally) an initial-requester address (Biblio::ILL::ISO::SystemAddress), 
(optionally) a send-to list (Biblio::ILL::ISO::SendToListTypeSequence), and 
(optionally) an already-tried list (Biblio::ILL::ISO::AlreadyTriedListType).

set( $forward, $chain, $partition, $change, $pref [,$refrequester [,$refsendto [,$refalreadytried]]]] )

Sets the object's forward flag ( 0|1 ),
can-chain flag ( 0|1 ),
can-partition flag ( 0|1 ),
can-change flag ( 0|1 ),
preference for ordered or unordered (Biblio::ILL::ISO::Preference),
(optionally) initial-requester address (Biblio::ILL::ISO::SystemAddress), 
(optionally) send-to list (Biblio::ILL::ISO::SendToListTypeSequence), and 
(optionally) already-tried list (Biblio::ILL::ISO::AlreadyTriedListType).

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.