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