/**
*
*
*
* $Id$
*/
package net.opengis.wfs;
import org.eclipse.emf.ecore.EObject;
/**
*
* A representation of the model object 'Transaction Response Type'.
*
*
*
*
* The response for a transaction request that was successfully
* completed. If the transaction failed for any reason, an
* exception report is returned instead.
*
*
*
* The following features are supported:
*
* - {@link net.opengis.wfs.TransactionResponseType#getTransactionSummary Transaction Summary}
* - {@link net.opengis.wfs.TransactionResponseType#getTransactionResults Transaction Results}
* - {@link net.opengis.wfs.TransactionResponseType#getInsertResults Insert Results}
* - {@link net.opengis.wfs.TransactionResponseType#getVersion Version}
*
*
*
* @see net.opengis.wfs.WfsPackage#getTransactionResponseType()
* @model extendedMetaData="name='TransactionResponseType' kind='elementOnly'"
* @generated
*/
public interface TransactionResponseType extends EObject {
/**
* Returns the value of the 'Transaction Summary' containment reference.
*
*
*
*
* The TransactionSummary element is used to summarize
* the number of feature instances affected by the
* transaction.
*
* @return the value of the 'Transaction Summary' containment reference.
* @see #setTransactionSummary(TransactionSummaryType)
* @see net.opengis.wfs.WfsPackage#getTransactionResponseType_TransactionSummary()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='TransactionSummary' namespace='##targetNamespace'"
* @generated
*/
TransactionSummaryType getTransactionSummary();
/**
* Sets the value of the '{@link net.opengis.wfs.TransactionResponseType#getTransactionSummary Transaction Summary}' containment reference.
*
*
* @param value the new value of the 'Transaction Summary' containment reference.
* @see #getTransactionSummary()
* @generated
*/
void setTransactionSummary(TransactionSummaryType value);
/**
* Returns the value of the 'Transaction Results' containment reference.
*
*
*
*
* For systems that do not support atomic transactions,
* the TransactionResults element may be used to report
* exception codes and messages for all actions of a
* transaction that failed to execute successfully.
*
* @return the value of the 'Transaction Results' containment reference.
* @see #setTransactionResults(TransactionResultsType)
* @see net.opengis.wfs.WfsPackage#getTransactionResponseType_TransactionResults()
* @model containment="true"
* extendedMetaData="kind='element' name='TransactionResults' namespace='##targetNamespace'"
* @generated
*/
TransactionResultsType getTransactionResults();
/**
* Sets the value of the '{@link net.opengis.wfs.TransactionResponseType#getTransactionResults Transaction Results}' containment reference.
*
*
* @param value the new value of the 'Transaction Results' containment reference.
* @see #getTransactionResults()
* @generated
*/
void setTransactionResults(TransactionResultsType value);
/**
* Returns the value of the 'Insert Results' containment reference.
*
*
*
*
* A transaction is a collection of Insert,Update and Delete
* actions. The Update and Delete actions modify features
* that already exist. The Insert action, however, creates
* new features. The InsertResults element is used to
* report the identifiers of the newly created features.
*
* @return the value of the 'Insert Results' containment reference.
* @see #setInsertResults(InsertResultsType)
* @see net.opengis.wfs.WfsPackage#getTransactionResponseType_InsertResults()
* @model containment="true" required="true"
* extendedMetaData="kind='element' name='InsertResults' namespace='##targetNamespace'"
* @generated
*/
InsertResultsType getInsertResults();
/**
* Sets the value of the '{@link net.opengis.wfs.TransactionResponseType#getInsertResults Insert Results}' containment reference.
*
*
* @param value the new value of the 'Insert Results' containment reference.
* @see #getInsertResults()
* @generated
*/
void setInsertResults(InsertResultsType value);
/**
* Returns the value of the 'Version' attribute.
* The default value is "1.1.0"
.
*
*
*
*
* The version attribute contains the version of the request
* that generated this response. So a V1.1.0 transaction
* request generates a V1.1.0 transaction response.
*
* @return the value of the 'Version' attribute.
* @see #isSetVersion()
* @see #unsetVersion()
* @see #setVersion(String)
* @see net.opengis.wfs.WfsPackage#getTransactionResponseType_Version()
* @model default="1.1.0" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* extendedMetaData="kind='attribute' name='version'"
* @generated
*/
String getVersion();
/**
* Sets the value of the '{@link net.opengis.wfs.TransactionResponseType#getVersion Version}' attribute.
*
*
* @param value the new value of the 'Version' attribute.
* @see #isSetVersion()
* @see #unsetVersion()
* @see #getVersion()
* @generated
*/
void setVersion(String value);
/**
* Unsets the value of the '{@link net.opengis.wfs.TransactionResponseType#getVersion Version}' attribute.
*
*
* @see #isSetVersion()
* @see #getVersion()
* @see #setVersion(String)
* @generated
*/
void unsetVersion();
/**
* Returns whether the value of the '{@link net.opengis.wfs.TransactionResponseType#getVersion Version}' attribute is set.
*
*
* @return whether the value of the 'Version' attribute is set.
* @see #unsetVersion()
* @see #getVersion()
* @see #setVersion(String)
* @generated
*/
boolean isSetVersion();
} // TransactionResponseType