NAME
Biblio::ILL::ISO::SearchType
VERSION
Version 0.02
DESCRIPTION
Biblio::ILL::ISO::SearchType is a derivation of Biblio::ILL::ISO::ILLASNtype.
USES
Biblio::ILL::ISO::ILLString;
Biblio::ILL::ISO::ISODate;
Biblio::ILL::ISO::ExpiryFlag;
USED IN
Biblio::ILL::ISO::Request
FROM THE ASN DEFINITION
Search-Type ::= SEQUENCE {
level-of-service [0] ILL-String OPTIONAL, -- (SIZE (1))
need-before-date [1] IMPLICIT ISO-Date OPTIONAL,
expiry-flag [2] IMPLICIT ENUMERATED {
need-Before-Date (1),
other-Date (2),
no-Expiry (3)
} -- DEFAULT 3,
-- value of "need-Before-Date" indicates that
-- need-before-date also specifies transaction expiry
-- date
expiry-date [3] IMPLICIT ISO-Date OPTIONAL
-- alternative expiry date can be used only when expiry-flag
-- is set to "Other-Date"
}
METHODS
new( $expiry [,$service_level] [,$need_before] [,$expiry_date] )
Creates a new SearchType object. Expects an expiry-flag string (text string, valid Biblio::ILL::ISO::ExpiryFlag enumerated value), (optionally) a service-level (text string), (optionally) a need-before-date (Biblio::ILL::ISO::ISODate), and (optionally) an expiry-date (Biblio::ILL::ISO::ISODate).
set( $expiry [,$service_level] [,$need_before] [,$expiry_date] )
Sets the object's expiry-flag (text string, valid Biblio::ILL::ISO::ExpiryFlag enumerated value), (optionally) service-level (text string), (optionally) need-before-date (Biblio::ILL::ISO::ISODate), and (optionally) expiry-date (Biblio::ILL::ISO::ISODate).
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.
from_asn($href)
Given a properly formatted hash, builds the object.