1 # ---------------------------------------------------------------
2 # Copyright © 2014 Jason J.A. Stephenson <jason@sigio.com>
4 # This file is part of NCIPServer.
6 # NCIPServer is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # NCIPServer is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with NCIPServer. If not, see <http://www.gnu.org/licenses/>.
18 # ---------------------------------------------------------------
19 package NCIP::User::AddressInformation;
21 use parent qw(Class::Accessor);
25 AddressInformation - A user's Address Information
35 Either one of PhysicalAddress or ElectronicAddress must be defined,
36 and they are mutually exclusive, i.e. if one has a value defined, the
37 other must be undefined.
39 =head2 UserAddressRoleType
41 A text string to indicate the role of the address.
43 =head2 PhysicalAddress
45 A physical address stored in a NCIP::StructuredAddress.
47 =head2 ElectronicAddress
49 An electronic address or phone number stored in a
50 NCIP::ElectronicAddress.
54 NCIP::User::AddressInformation->mk_accessors(
55 qw(UserAddressRoleType PhysicalAddress ElectronicAddress)