001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: RollbackType.java 7988 2007-12-12 20:29:15Z aaime $
006: */package net.opengis.wfsv;
007:
008: import javax.xml.namespace.QName;
009:
010: import net.opengis.wfs.NativeType;
011:
012: /**
013: * <!-- begin-user-doc -->
014: * A representation of the model object '<em><b>Rollback Type</b></em>'.
015: * <!-- end-user-doc -->
016: *
017: * <p>
018: * The following features are supported:
019: * <ul>
020: * <li>{@link net.opengis.wfsv.RollbackType#getFilter <em>Filter</em>}</li>
021: * <li>{@link net.opengis.wfsv.RollbackType#getHandle <em>Handle</em>}</li>
022: * <li>{@link net.opengis.wfsv.RollbackType#getToFeatureVersion <em>To Feature Version</em>}</li>
023: * <li>{@link net.opengis.wfsv.RollbackType#getTypeName <em>Type Name</em>}</li>
024: * <li>{@link net.opengis.wfsv.RollbackType#getUser <em>User</em>}</li>
025: * </ul>
026: * </p>
027: *
028: * @see net.opengis.wfsv.WfsvPackage#getRollbackType()
029: * @model extendedMetaData="name='RollbackType' kind='elementOnly'"
030: * @generated
031: */
032: public interface RollbackType extends NativeType {
033: /**
034: * Returns the value of the '<em><b>Filter</b></em>' attribute.
035: * <!-- begin-user-doc -->
036: * <!-- end-user-doc -->
037: * <!-- begin-model-doc -->
038: *
039: * The Filter element is used to define spatial and/or non-spatial constraints on
040: * query. Spatial constrains use GML3 to specify the constraining geometry. A full
041: * description of the Filter element can be found in the Filter Encoding Implementation
042: * Specification.
043: *
044: * <!-- end-model-doc -->
045: * @return the value of the '<em>Filter</em>' attribute.
046: * @see #setFilter(Object)
047: * @see net.opengis.wfsv.WfsvPackage#getRollbackType_Filter()
048: * @model dataType="org.eclipse.emf.ecore.xml.type.AnySimpleType"
049: * extendedMetaData="kind='element' name='Filter' namespace='http://www.opengis.net/ogc'"
050: * @generated
051: */
052: Object getFilter();
053:
054: /**
055: * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getFilter <em>Filter</em>}' attribute.
056: * <!-- begin-user-doc -->
057: * <!-- end-user-doc -->
058: * @param value the new value of the '<em>Filter</em>' attribute.
059: * @see #getFilter()
060: * @generated
061: */
062: void setFilter(Object value);
063:
064: /**
065: * Returns the value of the '<em><b>Handle</b></em>' attribute.
066: * <!-- begin-user-doc -->
067: * <!-- end-user-doc -->
068: * <!-- begin-model-doc -->
069: *
070: * The handle attribute allows a client application to assign a client-generated request
071: * identifier to an Insert action. The handle is included to facilitate error reporting.
072: * If a Rollback action in a Transaction request fails, then a Versioning WFS may include
073: * the handle in an exception report to localize the error. If no handle is included of
074: * the offending Rollback element then a WFS may employee other means of localizing the
075: * error (e.g. line number).
076: *
077: * <!-- end-model-doc -->
078: * @return the value of the '<em>Handle</em>' attribute.
079: * @see #setHandle(String)
080: * @see net.opengis.wfsv.WfsvPackage#getRollbackType_Handle()
081: * @model dataType="org.eclipse.emf.ecore.xml.type.String"
082: * extendedMetaData="kind='attribute' name='handle'"
083: * @generated
084: */
085: String getHandle();
086:
087: /**
088: * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getHandle <em>Handle</em>}' attribute.
089: * <!-- begin-user-doc -->
090: * <!-- end-user-doc -->
091: * @param value the new value of the '<em>Handle</em>' attribute.
092: * @see #getHandle()
093: * @generated
094: */
095: void setHandle(String value);
096:
097: /**
098: * Returns the value of the '<em><b>To Feature Version</b></em>' attribute.
099: * The default value is <code>"FIRST"</code>.
100: * <!-- begin-user-doc -->
101: * <!-- end-user-doc -->
102: * <!-- begin-model-doc -->
103: *
104: * Same as featureVersion in QueryType. Rollback will restore the "toFeatureVersion"
105: * feature state, removing all changes occurred between "toFeatureVersion" and current
106: *
107: * <!-- end-model-doc -->
108: * @return the value of the '<em>To Feature Version</em>' attribute.
109: * @see #isSetToFeatureVersion()
110: * @see #unsetToFeatureVersion()
111: * @see #setToFeatureVersion(String)
112: * @see net.opengis.wfsv.WfsvPackage#getRollbackType_ToFeatureVersion()
113: * @model default="FIRST" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
114: * extendedMetaData="kind='attribute' name='toFeatureVersion'"
115: * @generated
116: */
117: String getToFeatureVersion();
118:
119: /**
120: * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getToFeatureVersion <em>To Feature Version</em>}' attribute.
121: * <!-- begin-user-doc -->
122: * <!-- end-user-doc -->
123: * @param value the new value of the '<em>To Feature Version</em>' attribute.
124: * @see #isSetToFeatureVersion()
125: * @see #unsetToFeatureVersion()
126: * @see #getToFeatureVersion()
127: * @generated
128: */
129: void setToFeatureVersion(String value);
130:
131: /**
132: * Unsets the value of the '{@link net.opengis.wfsv.RollbackType#getToFeatureVersion <em>To Feature Version</em>}' attribute.
133: * <!-- begin-user-doc -->
134: * <!-- end-user-doc -->
135: * @see #isSetToFeatureVersion()
136: * @see #getToFeatureVersion()
137: * @see #setToFeatureVersion(String)
138: * @generated
139: */
140: void unsetToFeatureVersion();
141:
142: /**
143: * Returns whether the value of the '{@link net.opengis.wfsv.RollbackType#getToFeatureVersion <em>To Feature Version</em>}' attribute is set.
144: * <!-- begin-user-doc -->
145: * <!-- end-user-doc -->
146: * @return whether the value of the '<em>To Feature Version</em>' attribute is set.
147: * @see #unsetToFeatureVersion()
148: * @see #getToFeatureVersion()
149: * @see #setToFeatureVersion(String)
150: * @generated
151: */
152: boolean isSetToFeatureVersion();
153:
154: /**
155: * Returns the value of the '<em><b>Type Name</b></em>' attribute.
156: * <!-- begin-user-doc -->
157: * <!-- end-user-doc -->
158: * <!-- begin-model-doc -->
159: *
160: * The typeName attribute is a single feature type name that indicates which type of
161: * feature instances should be included in the reponse set. The names must be a valid
162: * type that belong to this query's feature content as defined by the GML Application
163: * Schema.
164: *
165: * <!-- end-model-doc -->
166: * @return the value of the '<em>Type Name</em>' attribute.
167: * @see #setTypeName(QName)
168: * @see net.opengis.wfsv.WfsvPackage#getRollbackType_TypeName()
169: * @model dataType="org.eclipse.emf.ecore.xml.type.QName" required="true"
170: * extendedMetaData="kind='attribute' name='typeName'"
171: * @generated
172: */
173: QName getTypeName();
174:
175: /**
176: * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getTypeName <em>Type Name</em>}' attribute.
177: * <!-- begin-user-doc -->
178: * <!-- end-user-doc -->
179: * @param value the new value of the '<em>Type Name</em>' attribute.
180: * @see #getTypeName()
181: * @generated
182: */
183: void setTypeName(QName value);
184:
185: /**
186: * Returns the value of the '<em><b>User</b></em>' attribute.
187: * The default value is <code>""</code>.
188: * <!-- begin-user-doc -->
189: * <!-- end-user-doc -->
190: * <!-- begin-model-doc -->
191: *
192: * User id to be used in addition to the filter in order to isolate the features to be
193: * rolled back. Only the features modified by the specified user between
194: * fromFeatureVersion and the current version will be subjected to roll back.
195: *
196: * <!-- end-model-doc -->
197: * @return the value of the '<em>User</em>' attribute.
198: * @see #isSetUser()
199: * @see #unsetUser()
200: * @see #setUser(String)
201: * @see net.opengis.wfsv.WfsvPackage#getRollbackType_User()
202: * @model default="" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
203: * extendedMetaData="kind='attribute' name='user'"
204: * @generated
205: */
206: String getUser();
207:
208: /**
209: * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getUser <em>User</em>}' attribute.
210: * <!-- begin-user-doc -->
211: * <!-- end-user-doc -->
212: * @param value the new value of the '<em>User</em>' attribute.
213: * @see #isSetUser()
214: * @see #unsetUser()
215: * @see #getUser()
216: * @generated
217: */
218: void setUser(String value);
219:
220: /**
221: * Unsets the value of the '{@link net.opengis.wfsv.RollbackType#getUser <em>User</em>}' attribute.
222: * <!-- begin-user-doc -->
223: * <!-- end-user-doc -->
224: * @see #isSetUser()
225: * @see #getUser()
226: * @see #setUser(String)
227: * @generated
228: */
229: void unsetUser();
230:
231: /**
232: * Returns whether the value of the '{@link net.opengis.wfsv.RollbackType#getUser <em>User</em>}' attribute is set.
233: * <!-- begin-user-doc -->
234: * <!-- end-user-doc -->
235: * @return whether the value of the '<em>User</em>' attribute is set.
236: * @see #unsetUser()
237: * @see #getUser()
238: * @see #setUser(String)
239: * @generated
240: */
241: boolean isSetUser();
242:
243: } // RollbackType
|