//$Header: /home/deegree/jail/deegreerepository/deegree/src/org/deegree/ogcwebservices/wfs/operation/FeatureWithLockResult.java,v 1.12 2006/10/12 16:24:00 mschneider Exp $ /*---------------- FILE HEADER ------------------------------------------ This file is part of deegree. Copyright (C) 2001-2006 by: Department of Geography, University of Bonn http://www.giub.uni-bonn.de/deegree/ lat/lon GmbH http://www.lat-lon.de This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact: Andreas Poth lat/lon GmbH Aennchenstraße 19 53177 Bonn Germany E-Mail: poth@lat-lon.de Prof. Dr. Klaus Greve Department of Geography University of Bonn Meckenheimer Allee 166 53115 Bonn Germany E-Mail: greve@giub.uni-bonn.de ---------------------------------------------------------------------------*/ package org.deegree.ogcwebservices.wfs.operation; import org.deegree.model.feature.FeatureCollection; import org.deegree.ogcwebservices.AbstractOGCWebServiceRequest; /** * Represents the response to a {@link GetFeatureWithLock} request. * <p> * For the {@link GetFeatureWithLock request}, a WFS must generate a result that includes the lock * identifier. * * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a> * @author last edited by: $Author: mschneider $ * * @version $Revision: 1.12 $, $Date: 2006/10/12 16:24:00 $ */ public class FeatureWithLockResult extends FeatureResult { private String lockId; /** * Creates a new instance of <code>FeatureWithLockResult</code>. * * @param request * @param lockId * @param featureCollection */ FeatureWithLockResult( AbstractOGCWebServiceRequest request, String lockId, FeatureCollection featureCollection ) { super( request, featureCollection ); this.lockId = lockId; } /** * Returns the lock id. * * @return the lock id */ public String getLockId() { return this.lockId; } /** * Returns a string representation of the object. * * @return a string representation of the object. */ @Override public String toString() { String ret = this.getClass().getName() + ":\n"; ret += super.toString(); ret += ( "lockId: " + lockId + "\n" ); return ret; } } /* ******************************************************************** * Changes to this class. What the people haven been up to: * * $Log: FeatureWithLockResult.java,v $ * Revision 1.12 2006/10/12 16:24:00 mschneider * Javadoc + compiler warning fixes. * * Revision 1.11 2006/10/09 12:47:11 poth * bug fix - extending DefaultOGCWebServiceResponse * * Revision 1.10 2006/06/07 17:17:01 mschneider * Fixed header + footer. * * Revision 1.9 2006/04/06 20:25:28 poth * *** empty log message *** * * Revision 1.8 2006/04/04 20:39:43 poth * *** empty log message *** * * Revision 1.7 2006/03/30 21:20:27 poth * *** empty log message *** * * Revision 1.6 2005/11/22 18:08:04 deshmukh * Transaction WFS.. work in progress * Revision 1.5 2005/08/26 21:11:29 poth no message * * Revision 1.3 2005/04/06 12:02:08 poth no message * * Revision 1.2 2005/04/06 10:58:15 poth no message * * Revision 1.1 2005/04/05 08:03:28 poth no message * * Revision 1.2 2005/02/03 21:35:08 poth no message * * Revision 1.1 2005/01/26 20:10:05 poth no message * * Revision 1.2 2005/01/18 22:08:55 poth no message * * Revision 1.3 2004/06/21 08:05:49 ap no message * * Revision 1.2 2004/06/07 15:12:04 tf import organised Revision 1.1 2004/06/07 13:38:34 tf code * adapted to wfs1 refactoring * * Revision 1.3 2004/03/12 15:56:49 poth no message * * Revision 1.2 2003/04/07 07:26:55 poth no message * * Revision 1.1.1.1 2002/09/25 16:01:26 poth no message * * Revision 1.5 2002/08/09 15:36:30 ap no message * * Revision 1.4 2002/07/04 14:55:07 ap no message * * Revision 1.3 2002/04/26 09:05:36 ap no message * * Revision 1.1 2002/04/04 16:17:15 ap no message * ********************************************************************** */