001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/model/metadata/iso19115/Date.java $
002    /*
003    ----------------    FILE HEADER  ------------------------------------------
004     
005    This file is part of deegree.
006    Copyright (C) 2001-2006 by:
007    EXSE, Department of Geography, University of Bonn
008    http://www.giub.uni-bonn.de/deegree/
009    lat/lon GmbH
010    http://www.lat-lon.de
011     
012    This library is free software; you can redistribute it and/or
013    modify it under the terms of the GNU Lesser General Public
014    License as published by the Free Software Foundation; either
015    version 2.1 of the License, or (at your option) any later version.
016     
017    This library is distributed in the hope that it will be useful,
018    but WITHOUT ANY WARRANTY; without even the implied warranty of
019    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
020    Lesser General Public License for more details.
021     
022    You should have received a copy of the GNU Lesser General Public
023    License along with this library; if not, write to the Free Software
024    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
025     
026    Contact:
027     
028    Andreas Poth
029    lat/lon GmbH
030    Aennchenstr. 19
031    53115 Bonn
032    Germany
033    E-Mail: poth@lat-lon.de
034     
035    Prof. Dr. Klaus Greve
036    Department of Geography
037    University of Bonn
038    Meckenheimer Allee 166
039    53115 Bonn
040    Germany
041    E-Mail: greve@giub.uni-bonn.de
042     
043     
044     ---------------------------------------------------------------------------*/ 
045    
046    package org.deegree.model.metadata.iso19115;
047    
048    
049    /**
050     * Date_Impl.java
051     *
052     * Created on 16. September 2002, 09:58
053     * <p>----------------------------------------------------------------------</p>
054     * @author <a href="mailto:schaefer@lat-lon.de">Axel Schaefer</a>
055     * @version $Revision: 6259 $ $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
056     */
057    
058    public class Date {
059        
060        private String datetype = null;
061    
062        /** Creates a new instance of Date_Impl */
063        public Date(String datetype) {
064            setDateType(datetype);
065        }
066    
067        /**
068         * returns the DateType attribute
069         * possible value are:<ul>
070         * <li>creation
071         * <li>publication
072         * <li>revision
073         * @return String
074         */
075        public String getDateType() {
076            return datetype;
077        }
078        
079        /**
080         * @see #getDateType()
081         */
082        public void setDateType(String datetype) {
083            this.datetype = datetype;
084        }
085    
086            
087            /**
088         * to String method
089         */
090            public String toString() {
091                    String ret = null;
092                    ret = "datetype = " + datetype + "\n";
093                    return ret;
094            }
095        
096        
097    
098    }
099    /* ********************************************************************
100    Changes to this class. What the people have been up to:
101    $Log$
102    Revision 1.5  2006/07/12 14:46:18  poth
103    comment footer added
104    
105    ********************************************************************** */