001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: DeleteElementType.java 7522 2007-09-12 22:00:10Z saul.farber $
006: */package net.opengis.wfs;
007:
008: import javax.xml.namespace.QName;
009:
010: import org.eclipse.emf.ecore.EObject;
011:
012: import org.opengis.filter.Filter;
013:
014: /**
015: * <!-- begin-user-doc -->
016: * A representation of the model object '<em><b>Delete Element Type</b></em>'.
017: * <!-- end-user-doc -->
018: *
019: * <p>
020: * The following features are supported:
021: * <ul>
022: * <li>{@link net.opengis.wfs.DeleteElementType#getFilter <em>Filter</em>}</li>
023: * <li>{@link net.opengis.wfs.DeleteElementType#getHandle <em>Handle</em>}</li>
024: * <li>{@link net.opengis.wfs.DeleteElementType#getTypeName <em>Type Name</em>}</li>
025: * </ul>
026: * </p>
027: *
028: * @see net.opengis.wfs.WfsPackage#getDeleteElementType()
029: * @model extendedMetaData="name='DeleteElementType' kind='elementOnly'"
030: * @generated
031: */
032: public interface DeleteElementType 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 constrain the scope
040: * of the delete operation to those features identified
041: * by the filter. Feature instances can be specified
042: * explicitly and individually using the identifier of
043: * each feature instance OR a set of features to be
044: * operated on can be identified by specifying spatial
045: * and non-spatial constraints in the filter.
046: * If no filter is specified then an exception should
047: * be raised since it is unlikely that a client application
048: * intends to delete all feature instances.
049: *
050: * <!-- end-model-doc -->
051: * @return the value of the '<em>Filter</em>' attribute.
052: * @see #setFilter(Object)
053: * @see net.opengis.wfs.WFSPackage#getDeleteElementType_Filter()
054: * @model
055: */
056: Filter getFilter();
057:
058: /**
059: * Sets the value of the '{@link net.opengis.wfs.DeleteElementType#getFilter <em>Filter</em>}' attribute.
060: * <!-- begin-user-doc -->
061: * <!-- end-user-doc -->
062: * @param value the new value of the '<em>Filter</em>' attribute.
063: * @see #getFilter()
064: * @generated
065: */
066: void setFilter(Filter value);
067:
068: /**
069: * Returns the value of the '<em><b>Handle</b></em>' attribute.
070: * <!-- begin-user-doc -->
071: * <!-- end-user-doc -->
072: * <!-- begin-model-doc -->
073: *
074: * The handle attribute allows a client application
075: * to assign a client-generated request identifier
076: * to an Insert action. The handle is included to
077: * facilitate error reporting. If a Delete action
078: * in a Transaction request fails, then a WFS may
079: * include the handle in an exception report to localize
080: * the error. If no handle is included of the offending
081: * Insert element then a WFS may employee other means of
082: * localizing the error (e.g. line number).
083: * <!-- end-model-doc -->
084: * @return the value of the '<em>Handle</em>' attribute.
085: * @see #setHandle(String)
086: * @see net.opengis.wfs.WfsPackage#getDeleteElementType_Handle()
087: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
088: * extendedMetaData="kind='attribute' name='handle'"
089: * @generated
090: */
091: String getHandle();
092:
093: /**
094: * Sets the value of the '{@link net.opengis.wfs.DeleteElementType#getHandle <em>Handle</em>}' attribute.
095: * <!-- begin-user-doc -->
096: * <!-- end-user-doc -->
097: * @param value the new value of the '<em>Handle</em>' attribute.
098: * @see #getHandle()
099: * @generated
100: */
101: void setHandle(String value);
102:
103: /**
104: * Returns the value of the '<em><b>Type Name</b></em>' attribute.
105: * <!-- begin-user-doc -->
106: * <!-- end-user-doc -->
107: * <!-- begin-model-doc -->
108: *
109: * The value of the typeName attribute is the name
110: * of the feature type to be updated. The name
111: * specified must be a valid type that belongs to
112: * the feature content as defined by the GML
113: * Application Schema.
114: *
115: * <!-- end-model-doc -->
116: * @return the value of the '<em>Type Name</em>' attribute.
117: * @see #setTypeName(Object)
118: * @see net.opengis.wfs.WFSPackage#getDeleteElementType_TypeName()
119: * @model
120: */
121: QName getTypeName();
122:
123: /**
124: * Sets the value of the '{@link net.opengis.wfs.DeleteElementType#getTypeName <em>Type Name</em>}' attribute.
125: * <!-- begin-user-doc -->
126: * <!-- end-user-doc -->
127: * @param value the new value of the '<em>Type Name</em>' attribute.
128: * @see #getTypeName()
129: * @generated
130: */
131: void setTypeName(QName value);
132:
133: } // DeleteElementType
|