/** * * * * $Id$ */ package net.opengis.wfs; import java.net.URI; import javax.xml.namespace.QName; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; import org.opengis.filter.Filter; /** * * A representation of the model object 'Update Element Type'. * * *

* The following features are supported: *

*

* * @see net.opengis.wfs.WfsPackage#getUpdateElementType() * @model extendedMetaData="name='UpdateElementType' kind='elementOnly'" * @generated */ public interface UpdateElementType extends EObject { /** * Returns the value of the 'Property' containment reference list. * The list contents are of type {@link net.opengis.wfs.PropertyType}. * * * * * Changing or updating a feature instance means that * the current value of one or more properties of * the feature are replaced with new values. The Update * element contains one or more Property elements. A * Property element contains the name or a feature property * who's value is to be changed and the replacement value * for that property. * * @return the value of the 'Property' containment reference list. * @see net.opengis.wfs.WfsPackage#getUpdateElementType_Property() * @model type="net.opengis.wfs.PropertyType" containment="true" required="true" * extendedMetaData="kind='element' name='Property' namespace='##targetNamespace'" * @generated */ EList getProperty(); /** * Returns the value of the 'Filter' attribute. * * * * * The Filter element is used to constrain the scope * of the update operation to those features identified * by the filter. Feature instances can be specified * explicitly and individually using the identifier of * each feature instance OR a set of features to be * operated on can be identified by specifying spatial * and non-spatial constraints in the filter. * If no filter is specified then update operation * applies to all feature instances. * * * @return the value of the 'Filter' attribute. * @see #setFilter(Object) * @see net.opengis.wfs.WFSPackage#getUpdateElementType_Filter() * @model */ Filter getFilter(); /** * Sets the value of the '{@link net.opengis.wfs.UpdateElementType#getFilter Filter}' attribute. * * * @param value the new value of the 'Filter' attribute. * @see #getFilter() * @generated */ void setFilter(Filter value); /** * Returns the value of the 'Handle' attribute. * * * * * The handle attribute allows a client application * to assign a client-generated request identifier * to an Insert action. The handle is included to * facilitate error reporting. If an Update action * in a Transaction request fails, then a WFS may * include the handle in an exception report to localize * the error. If no handle is included of the offending * Insert element then a WFS may employee other means of * localizing the error (e.g. line number). * * @return the value of the 'Handle' attribute. * @see #setHandle(String) * @see net.opengis.wfs.WfsPackage#getUpdateElementType_Handle() * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='attribute' name='handle'" * @generated */ String getHandle(); /** * Sets the value of the '{@link net.opengis.wfs.UpdateElementType#getHandle Handle}' attribute. * * * @param value the new value of the 'Handle' attribute. * @see #getHandle() * @generated */ void setHandle(String value); /** * Returns the value of the 'Input Format' attribute. * The default value is "x-application/gml:3". * * * * * This inputFormat attribute is used to indicate * the format used to encode a feature instance in * an Insert element. The default value of * 'text/xml; subtype=gml/3.1.1' is used to indicate * that feature encoding is GML3. Another example * might be 'text/xml; subtype=gml/2.1.2' indicating * that the feature us encoded in GML2. A WFS must * declare in the capabilities document, using a * Parameter element, which version of GML it supports. * * @return the value of the 'Input Format' attribute. * @see #isSetInputFormat() * @see #unsetInputFormat() * @see #setInputFormat(String) * @see net.opengis.wfs.WfsPackage#getUpdateElementType_InputFormat() * @model default="x-application/gml:3" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='attribute' name='inputFormat'" * @generated */ String getInputFormat(); /** * Sets the value of the '{@link net.opengis.wfs.UpdateElementType#getInputFormat Input Format}' attribute. * * * @param value the new value of the 'Input Format' attribute. * @see #isSetInputFormat() * @see #unsetInputFormat() * @see #getInputFormat() * @generated */ void setInputFormat(String value); /** * Unsets the value of the '{@link net.opengis.wfs.UpdateElementType#getInputFormat Input Format}' attribute. * * * @see #isSetInputFormat() * @see #getInputFormat() * @see #setInputFormat(String) * @generated */ void unsetInputFormat(); /** * Returns whether the value of the '{@link net.opengis.wfs.UpdateElementType#getInputFormat Input Format}' attribute is set. * * * @return whether the value of the 'Input Format' attribute is set. * @see #unsetInputFormat() * @see #getInputFormat() * @see #setInputFormat(String) * @generated */ boolean isSetInputFormat(); /** * Returns the value of the 'Srs Name' attribute. * * * * * DO WE NEED THIS HERE? * * * @return the value of the 'Srs Name' attribute. * @see #setSrsName(String) * @see net.opengis.wfs.WFSPackage#getUpdateElementType_SrsName() * @model */ URI getSrsName(); /** * Sets the value of the '{@link net.opengis.wfs.UpdateElementType#getSrsName Srs Name}' attribute. * * * @param value the new value of the 'Srs Name' attribute. * @see #getSrsName() * @generated */ void setSrsName(URI value); /** * Returns the value of the 'Type Name' attribute. * * * * * The value of the typeName attribute is the name * of the feature type to be updated. The name * specified must be a valid type that belongs to * the feature content as defined by the GML * Application Schema. * * * @return the value of the 'Type Name' attribute. * @see #setTypeName(Object) * @see net.opengis.wfs.WFSPackage#getUpdateElementType_TypeName() * @model */ QName getTypeName(); /** * Sets the value of the '{@link net.opengis.wfs.UpdateElementType#getTypeName Type Name}' attribute. * * * @param value the new value of the 'Type Name' attribute. * @see #getTypeName() * @generated */ void setTypeName(QName value); } // UpdateElementType