001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: GetFeatureWithLockType.java 7522 2007-09-12 22:00:10Z saul.farber $
006: */package net.opengis.wfs;
007:
008: import java.math.BigInteger;
009:
010: import org.eclipse.emf.common.util.EList;
011:
012: /**
013: * <!-- begin-user-doc -->
014: * A representation of the model object '<em><b>Get Feature With Lock Type</b></em>'.
015: * <!-- end-user-doc -->
016: *
017: * <!-- begin-model-doc -->
018: *
019: * A GetFeatureWithLock request operates identically to a
020: * GetFeature request expect that it attempts to lock the
021: * feature instances in the result set and includes a lock
022: * identifier in its response to a client. A lock identifier
023: * is an identifier generated by a Web Feature Service that
024: * a client application can use, in subsequent operations,
025: * to reference the locked set of feature instances.
026: * <!-- end-model-doc -->
027: *
028: * <p>
029: * The following features are supported:
030: * <ul>
031: * <li>{@link net.opengis.wfs.GetFeatureWithLockType#getExpiry <em>Expiry</em>}</li>
032: * </ul>
033: * </p>
034: *
035: * @see net.opengis.wfs.WfsPackage#getGetFeatureWithLockType()
036: * @model extendedMetaData="name='GetFeatureWithLockType' kind='elementOnly'"
037: * @generated
038: */
039: public interface GetFeatureWithLockType extends GetFeatureType {
040:
041: /**
042: * Returns the value of the '<em><b>Expiry</b></em>' attribute.
043: * The default value is <code>"5"</code>.
044: * <!-- begin-user-doc -->
045: * <!-- end-user-doc -->
046: * <!-- begin-model-doc -->
047: *
048: * The expiry attribute is used to set the length
049: * of time (expressed in minutes) that features will
050: * remain locked as a result of a GetFeatureWithLock
051: * request. After the expiry period elapses, the
052: * locked resources must be released. If the
053: * expiry attribute is not set, then the default
054: * value of 5 minutes will be enforced.
055: * <!-- end-model-doc -->
056: * @return the value of the '<em>Expiry</em>' attribute.
057: * @see #isSetExpiry()
058: * @see #unsetExpiry()
059: * @see #setExpiry(BigInteger)
060: * @see net.opengis.wfs.WfsPackage#getGetFeatureWithLockType_Expiry()
061: * @model default="5" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.PositiveInteger"
062: * extendedMetaData="kind='attribute' name='expiry'"
063: * @generated
064: */
065: BigInteger getExpiry();
066:
067: /**
068: * Sets the value of the '{@link net.opengis.wfs.GetFeatureWithLockType#getExpiry <em>Expiry</em>}' attribute.
069: * <!-- begin-user-doc -->
070: * <!-- end-user-doc -->
071: * @param value the new value of the '<em>Expiry</em>' attribute.
072: * @see #isSetExpiry()
073: * @see #unsetExpiry()
074: * @see #getExpiry()
075: * @generated
076: */
077: void setExpiry(BigInteger value);
078:
079: /**
080: * Unsets the value of the '{@link net.opengis.wfs.GetFeatureWithLockType#getExpiry <em>Expiry</em>}' attribute.
081: * <!-- begin-user-doc -->
082: * <!-- end-user-doc -->
083: * @see #isSetExpiry()
084: * @see #getExpiry()
085: * @see #setExpiry(BigInteger)
086: * @generated
087: */
088: void unsetExpiry();
089:
090: /**
091: * Returns whether the value of the '{@link net.opengis.wfs.GetFeatureWithLockType#getExpiry <em>Expiry</em>}' attribute is set.
092: * <!-- begin-user-doc -->
093: * <!-- end-user-doc -->
094: * @return whether the value of the '<em>Expiry</em>' attribute is set.
095: * @see #unsetExpiry()
096: * @see #getExpiry()
097: * @see #setExpiry(BigInteger)
098: * @generated
099: */
100: boolean isSetExpiry();
101:
102: } // GetFeatureWithLockType
|