001    //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/ogcbase/ContactInformation.java $
002    /*----------------------------------------------------------------------------
003     This file is part of deegree, http://deegree.org/
004     Copyright (C) 2001-2009 by:
005       Department of Geography, University of Bonn
006     and
007       lat/lon GmbH
008    
009     This library is free software; you can redistribute it and/or modify it under
010     the terms of the GNU Lesser General Public License as published by the Free
011     Software Foundation; either version 2.1 of the License, or (at your option)
012     any later version.
013     This library is distributed in the hope that it will be useful, but WITHOUT
014     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
015     FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
016     details.
017     You should have received a copy of the GNU Lesser General Public License
018     along with this library; if not, write to the Free Software Foundation, Inc.,
019     59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020    
021     Contact information:
022    
023     lat/lon GmbH
024     Aennchenstr. 19, 53177 Bonn
025     Germany
026     http://lat-lon.de/
027    
028     Department of Geography, University of Bonn
029     Prof. Dr. Klaus Greve
030     Postfach 1147, 53001 Bonn
031     Germany
032     http://www.geographie.uni-bonn.de/deegree/
033    
034     e-mail: info@deegree.org
035    ----------------------------------------------------------------------------*/
036    package org.deegree.ogcbase;
037    
038    /**
039     * Identification of, and means of communication with a person and/or organization associated with
040     * the service/resource. based on ISO 19115.
041     *
042     * @author <a href="mailto:k.lupp@web.de">Katharina Lupp</a>
043     * @author <a href="mailto:mschneider@lat-lon.de">Markus Schneider</a>
044     * @version $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
045     * @since 1.0
046     */
047    
048    public class ContactInformation {
049    
050        private ContactAddress contactAddress = null;
051    
052        private ContactPersonPrimary contactPersonPrimary = null;
053    
054        private String contactElectronicMailAddress = null;
055    
056        private String contactFacsimileTelephone = null;
057    
058        private String contactPosition = null;
059    
060        private String contactVoiceTelephone = null;
061    
062        /**
063         * constructor initializing the class with ContactInformation Strings
064         *
065         * @param contactPosition
066         * @param contactVoiceTelephone
067         * @param contactFacsimileTelephone
068         * @param contactElectronicMailAddress
069         * @param contactPersonPrimary
070         * @param contactAddress
071         */
072        public ContactInformation( String contactPosition, String contactVoiceTelephone, String contactFacsimileTelephone,
073                                   String contactElectronicMailAddress, ContactPersonPrimary contactPersonPrimary,
074                                   ContactAddress contactAddress ) {
075            setContactPosition( contactPosition );
076            setContactVoiceTelephone( contactVoiceTelephone );
077            setContactFacsimileTelephone( contactFacsimileTelephone );
078            setContactElectronicMailAddress( contactElectronicMailAddress );
079            setContactPersonPrimary( contactPersonPrimary );
080            setContactAddress( contactAddress );
081        }
082    
083        /**
084         * returns a datastructure that contains the name of the contact person and the organization he
085         * works for.
086         *
087         * @return a datastructure that contains the name of the contact person and the organization he
088         *         works for.
089         */
090        public ContactPersonPrimary getContactPersonPrimary() {
091            return contactPersonPrimary;
092        }
093    
094        /**
095         * sets a datastructure that contains the name of the contact person and the organization he
096         * works for.
097         *
098         * @param contactPersonPrimary
099         */
100        public void setContactPersonPrimary( ContactPersonPrimary contactPersonPrimary ) {
101            this.contactPersonPrimary = contactPersonPrimary;
102        }
103    
104        /**
105         * returns the positon of the contact person within its organization
106         *
107         * @return the positon of the contact person within its organization
108         */
109        public String getContactPosition() {
110            return contactPosition;
111        }
112    
113        /**
114         * sets the positon of the contact person within its organization
115         *
116         * @param contactPosition
117         */
118        public void setContactPosition( String contactPosition ) {
119            this.contactPosition = contactPosition;
120        }
121    
122        /**
123         * returns the address where to reach to contact person
124         *
125         * @return the address where to reach to contact person
126         */
127        public ContactAddress getContactAddress() {
128            return contactAddress;
129        }
130    
131        /**
132         * sets the address where to reach to contact person
133         *
134         * @param contactAddress
135         */
136        public void setContactAddress( ContactAddress contactAddress ) {
137            this.contactAddress = contactAddress;
138        }
139    
140        /**
141         * returns the voice Telephone number of the contact person
142         *
143         * @return the voice Telephone number of the contact person
144         */
145        public String getContactVoiceTelephone() {
146            return contactVoiceTelephone;
147        }
148    
149        /**
150         * sets the voice Telephone number of the contact person
151         *
152         * @param contactVoiceTelephone
153         */
154        public void setContactVoiceTelephone( String contactVoiceTelephone ) {
155            this.contactVoiceTelephone = contactVoiceTelephone;
156        }
157    
158        /**
159         * returns the facsimile Telephone number of the contact person
160         *
161         * @return the facsimile Telephone number of the contact person
162         */
163        public String getContactFacsimileTelephone() {
164            return contactFacsimileTelephone;
165        }
166    
167        /**
168         * sets the facsimile Telephone number of the contact person
169         *
170         * @param contactFacsimileTelephone
171         */
172        public void setContactFacsimileTelephone( String contactFacsimileTelephone ) {
173            this.contactFacsimileTelephone = contactFacsimileTelephone;
174        }
175    
176        /**
177         * returns the email address of the contact person
178         *
179         * @return the email address of the contact person
180         */
181        public String getContactElectronicMailAddress() {
182            return contactElectronicMailAddress;
183        }
184    
185        /**
186         * sets the email address of the contact person
187         *
188         * @param contactElectronicMailAddress
189         */
190        public void setContactElectronicMailAddress( String contactElectronicMailAddress ) {
191            this.contactElectronicMailAddress = contactElectronicMailAddress;
192        }
193    
194    }