/** * * * * $Id$ */ package net.opengis.wfs; import java.math.BigInteger; import org.eclipse.emf.common.util.EList; /** * * A representation of the model object 'Lock Feature Type'. * * * * * 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. * * *

* The following features are supported: *

*

* * @see net.opengis.wfs.WfsPackage#getLockFeatureType() * @model extendedMetaData="name='LockFeatureType' kind='elementOnly'" * @generated */ public interface LockFeatureType extends BaseRequestType { /** * Returns the value of the 'Lock' containment reference list. * The list contents are of type {@link net.opengis.wfs.LockType}. * * * * * The lock element is used to indicate which feature * instances of particular type are to be locked. * * @return the value of the 'Lock' containment reference list. * @see net.opengis.wfs.WfsPackage#getLockFeatureType_Lock() * @model type="net.opengis.wfs.LockType" containment="true" required="true" * extendedMetaData="kind='element' name='Lock' namespace='##targetNamespace'" * @generated */ EList getLock(); /** * Returns the value of the 'Expiry' attribute. * The default value is "5". * * * * * 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. * * @return the value of the 'Expiry' attribute. * @see #isSetExpiry() * @see #unsetExpiry() * @see #setExpiry(BigInteger) * @see net.opengis.wfs.WfsPackage#getLockFeatureType_Expiry() * @model default="5" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.PositiveInteger" * extendedMetaData="kind='attribute' name='expiry'" * @generated */ BigInteger getExpiry(); /** * Sets the value of the '{@link net.opengis.wfs.LockFeatureType#getExpiry Expiry}' attribute. * * * @param value the new value of the 'Expiry' attribute. * @see #isSetExpiry() * @see #unsetExpiry() * @see #getExpiry() * @generated */ void setExpiry(BigInteger value); /** * Unsets the value of the '{@link net.opengis.wfs.LockFeatureType#getExpiry Expiry}' attribute. * * * @see #isSetExpiry() * @see #getExpiry() * @see #setExpiry(BigInteger) * @generated */ void unsetExpiry(); /** * Returns whether the value of the '{@link net.opengis.wfs.LockFeatureType#getExpiry Expiry}' attribute is set. * * * @return whether the value of the 'Expiry' attribute is set. * @see #unsetExpiry() * @see #getExpiry() * @see #setExpiry(BigInteger) * @generated */ boolean isSetExpiry(); /** * Returns the value of the 'Lock Action' attribute. * The default value is "ALL". * The literals are from the enumeration {@link net.opengis.wfs.AllSomeType}. * * * * * 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. * * @return the value of the 'Lock Action' attribute. * @see net.opengis.wfs.AllSomeType * @see #isSetLockAction() * @see #unsetLockAction() * @see #setLockAction(AllSomeType) * @see net.opengis.wfs.WfsPackage#getLockFeatureType_LockAction() * @model default="ALL" unique="false" unsettable="true" * extendedMetaData="kind='attribute' name='lockAction'" * @generated */ AllSomeType getLockAction(); /** * Sets the value of the '{@link net.opengis.wfs.LockFeatureType#getLockAction Lock Action}' attribute. * * * @param value the new value of the 'Lock Action' attribute. * @see net.opengis.wfs.AllSomeType * @see #isSetLockAction() * @see #unsetLockAction() * @see #getLockAction() * @generated */ void setLockAction(AllSomeType value); /** * Unsets the value of the '{@link net.opengis.wfs.LockFeatureType#getLockAction Lock Action}' attribute. * * * @see #isSetLockAction() * @see #getLockAction() * @see #setLockAction(AllSomeType) * @generated */ void unsetLockAction(); /** * Returns whether the value of the '{@link net.opengis.wfs.LockFeatureType#getLockAction Lock Action}' attribute is set. * * * @return whether the value of the 'Lock Action' attribute is set. * @see #unsetLockAction() * @see #getLockAction() * @see #setLockAction(AllSomeType) * @generated */ boolean isSetLockAction(); } // LockFeatureType