001 //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/sos/ComponentMetadata.java $
002 /*---------------- FILE HEADER ------------------------------------------
003
004 This file is part of deegree.
005 Copyright (C) 2001-2006 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 Aennchenstraße 19
030 53177 Bonn
031 Germany
032 E-Mail: poth@lat-lon.de
033
034 Prof. Dr. Klaus Greve
035 lat/lon GmbH
036 Aennchenstraße 19
037 53177 Bonn
038 Germany
039 E-Mail: fitzke@lat-lon.de
040
041 ---------------------------------------------------------------------------*/
042 package org.deegree.ogcwebservices.sos;
043
044 import org.deegree.ogcwebservices.sos.sensorml.Classifier;
045 import org.deegree.ogcwebservices.sos.sensorml.ComponentDescription;
046 import org.deegree.ogcwebservices.sos.sensorml.EngineeringCRS;
047 import org.deegree.ogcwebservices.sos.sensorml.Identifier;
048 import org.deegree.ogcwebservices.sos.sensorml.LocationModel;
049
050 /**
051 * holds the metadata of a generic component; the necessary parts of the SensorML spec are
052 * implemented; please read the SensorML spec for more info
053 *
054 * @author <a href="mailto:mkulbe@lat-lon.de">Matthias Kulbe </a>
055 * @author last edited by: $Author: wanhoff $
056 *
057 * @version $Revision: 6267 $, $Date: 2007-03-20 11:38:11 +0100 (Di, 20 Mär 2007) $
058 */
059 public abstract class ComponentMetadata {
060
061 private Identifier[] identifiedAs = null;
062
063 private Classifier[] classifiedAs = null;
064
065 private EngineeringCRS hasCRS = null;
066
067 private LocationModel[] locatedUsing = null;
068
069 private ComponentDescription describedBy = null;
070
071 private String attachedTo = null;
072
073 /**
074 * Constructor
075 *
076 * @param identifiedAs
077 * @param classifiedAs
078 * @param hasCRS
079 * @param locatedUsing
080 * @param describedBy
081 * @param attachedTo
082 */
083 protected ComponentMetadata( Identifier[] identifiedAs, Classifier[] classifiedAs,
084 EngineeringCRS hasCRS, LocationModel[] locatedUsing,
085 ComponentDescription describedBy, String attachedTo ) {
086
087 this.identifiedAs = identifiedAs;
088 this.classifiedAs = classifiedAs;
089 this.hasCRS = hasCRS;
090 this.locatedUsing = locatedUsing;
091 this.describedBy = describedBy;
092 this.attachedTo = attachedTo;
093 }
094
095 /**
096 *
097 * @return attachedTo
098 */
099 public String getAttachedTo() {
100 return attachedTo;
101 }
102
103 /**
104 *
105 * @return classifiedAs
106 */
107 public Classifier[] getClassifiedAs() {
108 return classifiedAs;
109 }
110
111 /**
112 *
113 * @return describedBy
114 */
115 public ComponentDescription getDescribedBy() {
116 return describedBy;
117 }
118
119 /**
120 *
121 * @return hasCRS
122 */
123 public EngineeringCRS getHasCRS() {
124 return hasCRS;
125 }
126
127 /**
128 *
129 * @return identifiedAs
130 */
131 public Identifier[] getIdentifiedAs() {
132 return identifiedAs;
133 }
134
135 /**
136 *
137 * @return locatedUsing
138 */
139 public LocationModel[] getLocatedUsing() {
140 return locatedUsing;
141 }
142
143 }
144
145 /***************************************************************************************************
146 * <code>
147 Changes to this class. What the people have been up to:
148 $Log$
149 Revision 1.7 2007/02/12 11:50:11 wanhoff
150 fixed Javadoc @return tag and footer
151
152 Revision 1.6 2006/08/24 06:42:16 poth
153 File header corrected
154
155 Revision 1.5 2006/08/07 09:44:40 poth
156 never read variable removed
157
158 Revision 1.4 2006/07/12 14:46:18 poth
159 comment footer added
160
161 </code>
162 **************************************************************************************************/