001 //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/owscommon_new/Metadata.java $
002 /*---------------- FILE HEADER ------------------------------------------
003 This file is part of deegree.
004 Copyright (C) 2001-2006 by:
005 Department of Geography, University of Bonn
006 http://www.giub.uni-bonn.de/deegree/
007 lat/lon GmbH
008 http://www.lat-lon.de
009 This library is free software; you can redistribute it and/or
010 modify it under the terms of the GNU Lesser General Public
011 License as published by the Free Software Foundation; either
012 version 2.1 of the License, or (at your option) any later version.
013 This library is distributed in the hope that it will be useful,
014 but WITHOUT ANY WARRANTY; without even the implied warranty of
015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016 Lesser General Public License for more details.
017 You should have received a copy of the GNU Lesser General Public
018 License along with this library; if not, write to the Free Software
019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020 Contact:
021 Andreas Poth
022 lat/lon GmbH
023 Aennchenstraße 19
024 53177 Bonn
025 Germany
026 E-Mail: poth@lat-lon.de
027 Jens Fitzke
028 lat/lon GmbH
029 Aennchenstraße 19
030 53177 Bonn
031 Germany
032 E-Mail: jens.fitzke@uni-bonn.de
033 ---------------------------------------------------------------------------*/
034 package org.deegree.owscommon_new;
035
036 import java.net.URI;
037
038 import org.deegree.datatypes.xlink.SimpleLink;
039
040 /**
041 * <code>Metadata</code> encapsulates generic meta data according to the OWS common
042 * specification 1.0.0.
043 *
044 * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
045 * @author last edited by: $Author: bezema $
046 *
047 * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
048 *
049 * @since 2.0
050 */
051
052 public class Metadata {
053
054 private SimpleLink link;
055
056 private URI about;
057
058 // not sure if this makes actual sense
059 private Object metadata;
060
061 /**
062 * Standard constructor that initializes all encapsulated data.
063 *
064 * @param link
065 * @param about
066 * @param metadata
067 */
068 public Metadata( SimpleLink link, URI about, Object metadata ) {
069 this.link = link;
070 this.about = about;
071 this.metadata = metadata;
072 }
073
074 /**
075 * @return Returns the about.
076 */
077 public URI getAbout() {
078 return about;
079 }
080
081 /**
082 * @return Returns the link.
083 */
084 public SimpleLink getLink() {
085 return link;
086 }
087
088 /**
089 * @return Returns the metadata.
090 */
091 public Object getMetadata() {
092 return metadata;
093 }
094
095 }
096
097
098 /* ********************************************************************
099 Changes to this class. What the people have been up to:
100 $Log$
101 Revision 1.2 2006/08/24 06:43:04 poth
102 File header corrected
103
104 Revision 1.1 2006/08/23 07:10:22 schmitz
105 Renamed the owscommon_neu package to owscommon_new.
106
107 Revision 1.1 2006/08/08 10:21:52 schmitz
108 Parser is finished, as well as the iso XMLFactory.
109
110
111
112 ********************************************************************** */