/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2002-2008, Open Source Geospatial Foundation (OSGeo)
*
* 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;
* version 2.1 of the License.
*
* 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.
*/
package org.geotools.wfs.bindings;
import javax.xml.namespace.QName;
import net.opengis.wfs.LockType;
import net.opengis.wfs.WfsFactory;
import org.geotools.wfs.WFS;
import org.geotools.xml.AbstractComplexEMFBinding;
/**
* Binding object for the type http://www.opengis.net/wfs:LockType.
*
* <p>
* <pre>
* <code>
* <xsd:complexType name="LockType">
* <xsd:annotation>
* <xsd:documentation>
* This type defines the Lock element. The Lock element
* defines a locking operation on feature instances of
* a single type. An OGC Filter is used to constrain the
* scope of the operation. Features to be locked can be
* identified individually by using their feature identifier
* or they can be locked by satisfying the spatial and
* non-spatial constraints defined in the filter.
* </xsd:documentation>
* </xsd:annotation>
* <xsd:sequence>
* <xsd:element maxOccurs="1" minOccurs="0" ref="ogc:Filter"/>
* </xsd:sequence>
* <xsd:attribute name="handle" type="xsd:string" use="optional">
* <xsd:annotation>
* <xsd:documentation>
* The handle attribute allows a client application
* to assign a client-generated request identifier
* to a Lock action. The handle is included to
* facilitate error reporting. If one of a set of
* Lock actions failed while processing a LockFeature
* request, a WFS may report the handle in an exception
* report to localize the error. If a handle is not
* present then a WFS may employ some other means of
* localizing the error (e.g. line number).
* </xsd:documentation>
* </xsd:annotation>
* </xsd:attribute>
* <xsd:attribute name="typeName" type="xsd:QName" use="required">
* <xsd:annotation>
* <xsd:documentation>
* The value of the typeName attribute is the name
* of the feature type to be updated. The name
* specified must be a valid type that belongs to
* the feature content as defined by the GML
* Application Schema.
* </xsd:documentation>
* </xsd:annotation>
* </xsd:attribute>
* </xsd:complexType>
*
* </code>
* </pre>
* </p>
*
* @generated
*
* @source $URL$
*/
public class LockTypeBinding extends AbstractComplexEMFBinding {
public LockTypeBinding(WfsFactory factory) {
super(factory);
}
/**
* @generated
*/
public QName getTarget() {
return WFS.LockType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated modifiable
*/
public Class getType() {
return LockType.class;
}
}