001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: DifferenceQueryType.java 7988 2007-12-12 20:29:15Z aaime $
006: */package net.opengis.wfsv;
007:
008: import javax.xml.namespace.QName;
009:
010: import org.eclipse.emf.ecore.EObject;
011:
012: /**
013: * <!-- begin-user-doc -->
014: * A representation of the model object '<em><b>Difference Query Type</b></em>'.
015: * <!-- end-user-doc -->
016: *
017: * <p>
018: * The following features are supported:
019: * <ul>
020: * <li>{@link net.opengis.wfsv.DifferenceQueryType#getFilter <em>Filter</em>}</li>
021: * <li>{@link net.opengis.wfsv.DifferenceQueryType#getFromFeatureVersion <em>From Feature Version</em>}</li>
022: * <li>{@link net.opengis.wfsv.DifferenceQueryType#getSrsName <em>Srs Name</em>}</li>
023: * <li>{@link net.opengis.wfsv.DifferenceQueryType#getToFeatureVersion <em>To Feature Version</em>}</li>
024: * <li>{@link net.opengis.wfsv.DifferenceQueryType#getTypeName <em>Type Name</em>}</li>
025: * </ul>
026: * </p>
027: *
028: * @see net.opengis.wfsv.WfsvPackage#getDifferenceQueryType()
029: * @model extendedMetaData="name='DifferenceQueryType' kind='elementOnly'"
030: * @generated
031: */
032: public interface DifferenceQueryType extends EObject {
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 query.
040: * Spatial constrains use GML3 to specify the constraining geometry. A full description of
041: * the Filter element can be found in the Filter Encoding Implementation Specification.
042: *
043: * <!-- end-model-doc -->
044: * @return the value of the '<em>Filter</em>' attribute.
045: * @see #setFilter(Object)
046: * @see net.opengis.wfsv.WfsvPackage#getDifferenceQueryType_Filter()
047: * @model dataType="org.eclipse.emf.ecore.xml.type.AnySimpleType"
048: * extendedMetaData="kind='element' name='Filter' namespace='http://www.opengis.net/ogc'"
049: * @generated
050: */
051: Object getFilter();
052:
053: /**
054: * Sets the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getFilter <em>Filter</em>}' attribute.
055: * <!-- begin-user-doc -->
056: * <!-- end-user-doc -->
057: * @param value the new value of the '<em>Filter</em>' attribute.
058: * @see #getFilter()
059: * @generated
060: */
061: void setFilter(Object value);
062:
063: /**
064: * Returns the value of the '<em><b>From Feature Version</b></em>' attribute.
065: * The default value is <code>"FIRST"</code>.
066: * <!-- begin-user-doc -->
067: * <!-- end-user-doc -->
068: * <!-- begin-model-doc -->
069: *
070: * Same as featureVersion in QueryType, but this indicates a starting feature version for a
071: * difference and log operations.
072: *
073: * <!-- end-model-doc -->
074: * @return the value of the '<em>From Feature Version</em>' attribute.
075: * @see #isSetFromFeatureVersion()
076: * @see #unsetFromFeatureVersion()
077: * @see #setFromFeatureVersion(String)
078: * @see net.opengis.wfsv.WfsvPackage#getDifferenceQueryType_FromFeatureVersion()
079: * @model default="FIRST" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
080: * extendedMetaData="kind='attribute' name='fromFeatureVersion'"
081: * @generated
082: */
083: String getFromFeatureVersion();
084:
085: /**
086: * Sets the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getFromFeatureVersion <em>From Feature Version</em>}' attribute.
087: * <!-- begin-user-doc -->
088: * <!-- end-user-doc -->
089: * @param value the new value of the '<em>From Feature Version</em>' attribute.
090: * @see #isSetFromFeatureVersion()
091: * @see #unsetFromFeatureVersion()
092: * @see #getFromFeatureVersion()
093: * @generated
094: */
095: void setFromFeatureVersion(String value);
096:
097: /**
098: * Unsets the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getFromFeatureVersion <em>From Feature Version</em>}' attribute.
099: * <!-- begin-user-doc -->
100: * <!-- end-user-doc -->
101: * @see #isSetFromFeatureVersion()
102: * @see #getFromFeatureVersion()
103: * @see #setFromFeatureVersion(String)
104: * @generated
105: */
106: void unsetFromFeatureVersion();
107:
108: /**
109: * Returns whether the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getFromFeatureVersion <em>From Feature Version</em>}' attribute is set.
110: * <!-- begin-user-doc -->
111: * <!-- end-user-doc -->
112: * @return whether the value of the '<em>From Feature Version</em>' attribute is set.
113: * @see #unsetFromFeatureVersion()
114: * @see #getFromFeatureVersion()
115: * @see #setFromFeatureVersion(String)
116: * @generated
117: */
118: boolean isSetFromFeatureVersion();
119:
120: /**
121: * Returns the value of the '<em><b>Srs Name</b></em>' attribute.
122: * <!-- begin-user-doc -->
123: * <!-- end-user-doc -->
124: * <!-- begin-model-doc -->
125: *
126: * This attribute is used to specify a specific WFS-supported SRS that should be used for
127: * returned feature geometries. The value may be the WFS StorageSRS value,
128: * DefaultRetrievalSRS value, or one of AdditionalSRS values. If no srsName value is
129: * supplied, then the features will be returned using either the DefaultRetrievalSRS, if
130: * specified, and StorageSRS otherwise. For feature types with no spatial properties, this
131: * attribute must not be specified or ignored if it is specified.
132: *
133: * <!-- end-model-doc -->
134: * @return the value of the '<em>Srs Name</em>' attribute.
135: * @see #setSrsName(String)
136: * @see net.opengis.wfsv.WfsvPackage#getDifferenceQueryType_SrsName()
137: * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
138: * extendedMetaData="kind='attribute' name='srsName'"
139: * @generated
140: */
141: String getSrsName();
142:
143: /**
144: * Sets the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getSrsName <em>Srs Name</em>}' attribute.
145: * <!-- begin-user-doc -->
146: * <!-- end-user-doc -->
147: * @param value the new value of the '<em>Srs Name</em>' attribute.
148: * @see #getSrsName()
149: * @generated
150: */
151: void setSrsName(String value);
152:
153: /**
154: * Returns the value of the '<em><b>To Feature Version</b></em>' attribute.
155: * The default value is <code>"LAST"</code>.
156: * <!-- begin-user-doc -->
157: * <!-- end-user-doc -->
158: * <!-- begin-model-doc -->
159: *
160: * Same as featureVersion in QueryType, indicates the second version to be used for
161: * performing a difference of log operation.
162: *
163: * <!-- end-model-doc -->
164: * @return the value of the '<em>To Feature Version</em>' attribute.
165: * @see #isSetToFeatureVersion()
166: * @see #unsetToFeatureVersion()
167: * @see #setToFeatureVersion(String)
168: * @see net.opengis.wfsv.WfsvPackage#getDifferenceQueryType_ToFeatureVersion()
169: * @model default="LAST" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
170: * extendedMetaData="kind='attribute' name='toFeatureVersion'"
171: * @generated
172: */
173: String getToFeatureVersion();
174:
175: /**
176: * Sets the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getToFeatureVersion <em>To Feature Version</em>}' attribute.
177: * <!-- begin-user-doc -->
178: * <!-- end-user-doc -->
179: * @param value the new value of the '<em>To Feature Version</em>' attribute.
180: * @see #isSetToFeatureVersion()
181: * @see #unsetToFeatureVersion()
182: * @see #getToFeatureVersion()
183: * @generated
184: */
185: void setToFeatureVersion(String value);
186:
187: /**
188: * Unsets the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getToFeatureVersion <em>To Feature Version</em>}' attribute.
189: * <!-- begin-user-doc -->
190: * <!-- end-user-doc -->
191: * @see #isSetToFeatureVersion()
192: * @see #getToFeatureVersion()
193: * @see #setToFeatureVersion(String)
194: * @generated
195: */
196: void unsetToFeatureVersion();
197:
198: /**
199: * Returns whether the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getToFeatureVersion <em>To Feature Version</em>}' attribute is set.
200: * <!-- begin-user-doc -->
201: * <!-- end-user-doc -->
202: * @return whether the value of the '<em>To Feature Version</em>' attribute is set.
203: * @see #unsetToFeatureVersion()
204: * @see #getToFeatureVersion()
205: * @see #setToFeatureVersion(String)
206: * @generated
207: */
208: boolean isSetToFeatureVersion();
209:
210: /**
211: * Returns the value of the '<em><b>Type Name</b></em>' attribute.
212: * <!-- begin-user-doc -->
213: * <!-- end-user-doc -->
214: * <!-- begin-model-doc -->
215: *
216: * The typeName attribute is a single feature type name that indicates which type of feature
217: * instances should be included in the reponse set. The names must be a valid type that
218: * belong to this query's feature content as defined by the GML Application Schema.
219: *
220: * <!-- end-model-doc -->
221: * @return the value of the '<em>Type Name</em>' attribute.
222: * @see #setTypeName(QName)
223: * @see net.opengis.wfsv.WfsvPackage#getDifferenceQueryType_TypeName()
224: * @model dataType="org.eclipse.emf.ecore.xml.type.QName" required="true"
225: * extendedMetaData="kind='attribute' name='typeName'"
226: * @generated
227: */
228: QName getTypeName();
229:
230: /**
231: * Sets the value of the '{@link net.opengis.wfsv.DifferenceQueryType#getTypeName <em>Type Name</em>}' attribute.
232: * <!-- begin-user-doc -->
233: * <!-- end-user-doc -->
234: * @param value the new value of the '<em>Type Name</em>' attribute.
235: * @see #getTypeName()
236: * @generated
237: */
238: void setTypeName(QName value);
239:
240: } // DifferenceQueryType
|