01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.data.wfs;
17:
18: import org.geotools.filter.FidFilter;
19:
20: /**
21: * DOCUMENT ME!
22: *
23: * @author dzwiers
24: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/wfs/src/main/java/org/geotools/data/wfs/LockResult.java $
25: */
26: public class LockResult {
27: protected String lockId;
28: protected FidFilter supported;
29: protected FidFilter notSupported;
30:
31: private LockResult() {
32: // should not be used
33: }
34:
35: /**
36: *
37: * @param lockId
38: * @param supported
39: * @param notSupported
40: */
41: public LockResult(String lockId, FidFilter supported,
42: FidFilter notSupported) {
43: this .lockId = lockId;
44: this .supported = supported;
45: this .notSupported = notSupported;
46: }
47:
48: /**
49: * DOCUMENT ME!
50: *
51: * @return Returns the lockId.
52: */
53: public String getLockId() {
54: return lockId;
55: }
56:
57: /**
58: * DOCUMENT ME!
59: *
60: * @return Returns the notSupported.
61: */
62: public FidFilter getNotSupported() {
63: return notSupported;
64: }
65:
66: /**
67: * DOCUMENT ME!
68: *
69: * @return Returns the supported.
70: */
71: public FidFilter getSupported() {
72: return supported;
73: }
74: }
|