David A. Christensen > Biblio-ILL-ISO-0.06 > Biblio::ILL::ISO::DeliveryAddress

Download:
Biblio-ILL-ISO-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.01   Source  

NAME ^

Biblio::ILL::ISO::DeliveryAddress

VERSION ^

Version 0.01

DESCRIPTION ^

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

USES ^

 Biblio::ILL::ISO::PostalAddress
 Biblio::ILL::ISO::SystemAddress

USED IN ^

 Biblio::ILL::ISO::Request

FROM THE ASN DEFINITION ^

 Delivery-Address ::= SEQUENCE {
        postal-address          [0]     IMPLICIT Postal-Address OPTIONAL,
        electronic-address      [1]     IMPLICIT System-Address OPTIONAL
        }

METHODS ^

^

new( $address [, $another_address] )

Creates a new DeliveryAddress object. Expects an address (either a Biblio::ILL::ISO::PostalAddress or a Biblio::ILL::ISO::SystemAddress), and (optionally) another address (either a Biblio::ILL::ISO::PostalAddress or a Biblio::ILL::ISO::SystemAddress).

^

set_postal_address($iname,$pname,$extended,$street,$box,$city,$region,$country,$postcode)

Sets the object's postal-address. Expects an institution name (text string), a person name (text string), an "extended address" (text string), a street-and-number (text string), a post office box (text string), a city (text string), a region (text string), a country (text string), and a postal code (text string).

Strangely, *all* parameters are optional. Pass empty strings ("") for NULL values.

^

set_postal_address_by_obj($postal_address)

 Sets the object's postal-address.
 Expects a valid Biblio::ILL::ISO::PostalAddress.

^

set_electronic_address($id, $addr)

 Sets the objects electronic-address (a Biblio::ILL::ISO::SystemAddress).
 Expects an ID (text string), and
 an address (text string).

^

set_electronic_address_by_obj($system_address)

 Sets the object's electronic-address.
 Expects a valid Biblio::ILL::ISO::SystemAddress.

^

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.