/** * * * * $Id$ */ package net.opengis.wfsv; import javax.xml.namespace.QName; import net.opengis.wfs.NativeType; /** * * A representation of the model object 'Rollback Type'. * * *

* The following features are supported: *

*

* * @see net.opengis.wfsv.WfsvPackage#getRollbackType() * @model extendedMetaData="name='RollbackType' kind='elementOnly'" * @generated */ public interface RollbackType extends NativeType { /** * Returns the value of the 'Filter' attribute. * * * * * The Filter element is used to define spatial and/or non-spatial constraints on * query. Spatial constrains use GML3 to specify the constraining geometry. A full * description of the Filter element can be found in the Filter Encoding Implementation * Specification. * * * @return the value of the 'Filter' attribute. * @see #setFilter(Object) * @see net.opengis.wfsv.WfsvPackage#getRollbackType_Filter() * @model dataType="org.eclipse.emf.ecore.xml.type.AnySimpleType" * extendedMetaData="kind='element' name='Filter' namespace='http://www.opengis.net/ogc'" * @generated */ Object getFilter(); /** * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getFilter Filter}' attribute. * * * @param value the new value of the 'Filter' attribute. * @see #getFilter() * @generated */ void setFilter(Object 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 a Rollback action in a Transaction request fails, then a Versioning WFS may include * the handle in an exception report to localize the error. If no handle is included of * the offending Rollback 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.wfsv.WfsvPackage#getRollbackType_Handle() * @model dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='attribute' name='handle'" * @generated */ String getHandle(); /** * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getHandle Handle}' attribute. * * * @param value the new value of the 'Handle' attribute. * @see #getHandle() * @generated */ void setHandle(String value); /** * Returns the value of the 'To Feature Version' attribute. * The default value is "FIRST". * * * * * Same as featureVersion in QueryType. Rollback will restore the "toFeatureVersion" * feature state, removing all changes occurred between "toFeatureVersion" and current * * * @return the value of the 'To Feature Version' attribute. * @see #isSetToFeatureVersion() * @see #unsetToFeatureVersion() * @see #setToFeatureVersion(String) * @see net.opengis.wfsv.WfsvPackage#getRollbackType_ToFeatureVersion() * @model default="FIRST" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='attribute' name='toFeatureVersion'" * @generated */ String getToFeatureVersion(); /** * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getToFeatureVersion To Feature Version}' attribute. * * * @param value the new value of the 'To Feature Version' attribute. * @see #isSetToFeatureVersion() * @see #unsetToFeatureVersion() * @see #getToFeatureVersion() * @generated */ void setToFeatureVersion(String value); /** * Unsets the value of the '{@link net.opengis.wfsv.RollbackType#getToFeatureVersion To Feature Version}' attribute. * * * @see #isSetToFeatureVersion() * @see #getToFeatureVersion() * @see #setToFeatureVersion(String) * @generated */ void unsetToFeatureVersion(); /** * Returns whether the value of the '{@link net.opengis.wfsv.RollbackType#getToFeatureVersion To Feature Version}' attribute is set. * * * @return whether the value of the 'To Feature Version' attribute is set. * @see #unsetToFeatureVersion() * @see #getToFeatureVersion() * @see #setToFeatureVersion(String) * @generated */ boolean isSetToFeatureVersion(); /** * Returns the value of the 'Type Name' attribute. * * * * * The typeName attribute is a single feature type name that indicates which type of * feature instances should be included in the reponse set. The names must be a valid * type that belong to this query's feature content as defined by the GML Application * Schema. * * * @return the value of the 'Type Name' attribute. * @see #setTypeName(QName) * @see net.opengis.wfsv.WfsvPackage#getRollbackType_TypeName() * @model dataType="org.eclipse.emf.ecore.xml.type.QName" required="true" * extendedMetaData="kind='attribute' name='typeName'" * @generated */ QName getTypeName(); /** * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getTypeName Type Name}' attribute. * * * @param value the new value of the 'Type Name' attribute. * @see #getTypeName() * @generated */ void setTypeName(QName value); /** * Returns the value of the 'User' attribute. * The default value is "". * * * * * User id to be used in addition to the filter in order to isolate the features to be * rolled back. Only the features modified by the specified user between * fromFeatureVersion and the current version will be subjected to roll back. * * * @return the value of the 'User' attribute. * @see #isSetUser() * @see #unsetUser() * @see #setUser(String) * @see net.opengis.wfsv.WfsvPackage#getRollbackType_User() * @model default="" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" * extendedMetaData="kind='attribute' name='user'" * @generated */ String getUser(); /** * Sets the value of the '{@link net.opengis.wfsv.RollbackType#getUser User}' attribute. * * * @param value the new value of the 'User' attribute. * @see #isSetUser() * @see #unsetUser() * @see #getUser() * @generated */ void setUser(String value); /** * Unsets the value of the '{@link net.opengis.wfsv.RollbackType#getUser User}' attribute. * * * @see #isSetUser() * @see #getUser() * @see #setUser(String) * @generated */ void unsetUser(); /** * Returns whether the value of the '{@link net.opengis.wfsv.RollbackType#getUser User}' attribute is set. * * * @return whether the value of the 'User' attribute is set. * @see #unsetUser() * @see #getUser() * @see #setUser(String) * @generated */ boolean isSetUser(); } // RollbackType