001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: LockFeatureResponseType.java 7522 2007-09-12 22:00:10Z saul.farber $
006: */package net.opengis.wfs;
007:
008: import org.eclipse.emf.ecore.EObject;
009:
010: /**
011: * <!-- begin-user-doc -->
012: * A representation of the model object '<em><b>Lock Feature Response Type</b></em>'.
013: * <!-- end-user-doc -->
014: *
015: * <!-- begin-model-doc -->
016: *
017: * The LockFeatureResponseType is used to define an
018: * element to contains the response to a LockFeature
019: * operation.
020: * <!-- end-model-doc -->
021: *
022: * <p>
023: * The following features are supported:
024: * <ul>
025: * <li>{@link net.opengis.wfs.LockFeatureResponseType#getLockId <em>Lock Id</em>}</li>
026: * <li>{@link net.opengis.wfs.LockFeatureResponseType#getFeaturesLocked <em>Features Locked</em>}</li>
027: * <li>{@link net.opengis.wfs.LockFeatureResponseType#getFeaturesNotLocked <em>Features Not Locked</em>}</li>
028: * </ul>
029: * </p>
030: *
031: * @see net.opengis.wfs.WfsPackage#getLockFeatureResponseType()
032: * @model extendedMetaData="name='LockFeatureResponseType' kind='elementOnly'"
033: * @generated
034: */
035: public interface LockFeatureResponseType extends EObject {
036: /**
037: * Returns the value of the '<em><b>Lock Id</b></em>' attribute.
038: * <!-- begin-user-doc -->
039: * <!-- end-user-doc -->
040: * <!-- begin-model-doc -->
041: *
042: * The LockFeatureResponse includes a LockId element
043: * that contains a lock identifier. The lock identifier
044: * can be used by a client, in subsequent operations, to
045: * operate upon the locked feature instances.
046: * <!-- end-model-doc -->
047: * @return the value of the '<em>Lock Id</em>' attribute.
048: * @see #setLockId(String)
049: * @see net.opengis.wfs.WfsPackage#getLockFeatureResponseType_LockId()
050: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
051: * extendedMetaData="kind='element' name='LockId' namespace='##targetNamespace'"
052: * @generated
053: */
054: String getLockId();
055:
056: /**
057: * Sets the value of the '{@link net.opengis.wfs.LockFeatureResponseType#getLockId <em>Lock Id</em>}' attribute.
058: * <!-- begin-user-doc -->
059: * <!-- end-user-doc -->
060: * @param value the new value of the '<em>Lock Id</em>' attribute.
061: * @see #getLockId()
062: * @generated
063: */
064: void setLockId(String value);
065:
066: /**
067: * Returns the value of the '<em><b>Features Locked</b></em>' containment reference.
068: * <!-- begin-user-doc -->
069: * <!-- end-user-doc -->
070: * <!-- begin-model-doc -->
071: *
072: * The LockFeature or GetFeatureWithLock operations
073: * identify and attempt to lock a set of feature
074: * instances that satisfy the constraints specified
075: * in the request. In the event that the lockAction
076: * attribute (on the LockFeature or GetFeatureWithLock
077: * elements) is set to SOME, a Web Feature Service will
078: * attempt to lock as many of the feature instances from
079: * the result set as possible.
080: *
081: * The FeaturesLocked element contains list of ogc:FeatureId
082: * elements enumerating the feature instances that a WFS
083: * actually managed to lock.
084: * <!-- end-model-doc -->
085: * @return the value of the '<em>Features Locked</em>' containment reference.
086: * @see #setFeaturesLocked(FeaturesLockedType)
087: * @see net.opengis.wfs.WfsPackage#getLockFeatureResponseType_FeaturesLocked()
088: * @model containment="true"
089: * extendedMetaData="kind='element' name='FeaturesLocked' namespace='##targetNamespace'"
090: * @generated
091: */
092: FeaturesLockedType getFeaturesLocked();
093:
094: /**
095: * Sets the value of the '{@link net.opengis.wfs.LockFeatureResponseType#getFeaturesLocked <em>Features Locked</em>}' containment reference.
096: * <!-- begin-user-doc -->
097: * <!-- end-user-doc -->
098: * @param value the new value of the '<em>Features Locked</em>' containment reference.
099: * @see #getFeaturesLocked()
100: * @generated
101: */
102: void setFeaturesLocked(FeaturesLockedType value);
103:
104: /**
105: * Returns the value of the '<em><b>Features Not Locked</b></em>' containment reference.
106: * <!-- begin-user-doc -->
107: * <!-- end-user-doc -->
108: * <!-- begin-model-doc -->
109: *
110: * In contrast to the FeaturesLocked element, the
111: * FeaturesNotLocked element contains a list of
112: * ogc:Filter elements identifying feature instances
113: * that a WFS did not manage to lock because they were
114: * already locked by another process.
115: * <!-- end-model-doc -->
116: * @return the value of the '<em>Features Not Locked</em>' containment reference.
117: * @see #setFeaturesNotLocked(FeaturesNotLockedType)
118: * @see net.opengis.wfs.WfsPackage#getLockFeatureResponseType_FeaturesNotLocked()
119: * @model containment="true"
120: * extendedMetaData="kind='element' name='FeaturesNotLocked' namespace='##targetNamespace'"
121: * @generated
122: */
123: FeaturesNotLockedType getFeaturesNotLocked();
124:
125: /**
126: * Sets the value of the '{@link net.opengis.wfs.LockFeatureResponseType#getFeaturesNotLocked <em>Features Not Locked</em>}' containment reference.
127: * <!-- begin-user-doc -->
128: * <!-- end-user-doc -->
129: * @param value the new value of the '<em>Features Not Locked</em>' containment reference.
130: * @see #getFeaturesNotLocked()
131: * @generated
132: */
133: void setFeaturesNotLocked(FeaturesNotLockedType value);
134:
135: } // LockFeatureResponseType
|