public class LockFeatureTypeBinding extends AbstractComplexEMFBinding
<xsd:complexType name="LockFeatureType">
<xsd:annotation>
<xsd:documentation>
This type defines the LockFeature operation. The LockFeature
element contains one or more Lock elements that define which
features of a particular type should be locked. A lock
identifier (lockId) is returned to the client application which
can be used by subsequent operations to reference the locked
features.
</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="wfs:BaseRequestType">
<xsd:sequence>
<xsd:element maxOccurs="unbounded" name="Lock" type="wfs:LockType">
<xsd:annotation>
<xsd:documentation>
The lock element is used to indicate which feature
instances of particular type are to be locked.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute default="5" name="expiry"
type="xsd:positiveInteger" use="optional">
<xsd:annotation>
<xsd:documentation>
The expiry attribute is used to set the length
of time (expressed in minutes) that features will
remain locked as a result of a LockFeature
request. After the expiry period elapses, the
locked resources must be released. If the
expiry attribute is not set, then the default
value of 5 minutes will be enforced.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute default="ALL" name="lockAction"
type="wfs:AllSomeType" use="optional">
<xsd:annotation>
<xsd:documentation>
The lockAction attribute is used to indicate what
a Web Feature Service should do when it encounters
a feature instance that has already been locked by
another client application.
Valid values are ALL or SOME.
ALL means that the Web Feature Service must acquire
locks on all the requested feature instances. If it
cannot acquire those locks then the request should
fail. In this instance, all locks acquired by the
operation should be released.
SOME means that the Web Feature Service should lock
as many of the requested features as it can.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
Constructor and Description |
---|
LockFeatureTypeBinding(WfsFactory factory) |
Modifier and Type | Method and Description |
---|---|
QName |
getTarget() |
Class |
getType() |
Object |
parse(ElementInstance instance,
Node node,
Object value) |
createEObject, getProperty, setProperty
encode, getExecutionMode, getProperties, initialize, initializeChildContext
public QName getTarget()
public Class getType()
getType
in interface Binding
getType
in class AbstractComplexEMFBinding
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
parse
in interface ComplexBinding
parse
in class AbstractComplexEMFBinding
instance
- The element being parsed.node
- The node in the parse tree representing the element being parsed.value
- The result of the parse from another strategy in the type hierarchy. Could be
null if this is the first strategy being executed.Exception
- Strategy objects should not attempt to handle any exceptions.Copyright © 1996–2023 Geotools. All rights reserved.