/**
*
*
*
* $Id$
*/
package net.opengis.wfs;
import org.eclipse.emf.ecore.EObject;
/**
*
* A representation of the model object 'Action Type'.
*
*
*
* The following features are supported:
*
* - {@link net.opengis.wfs.ActionType#getMessage Message}
* - {@link net.opengis.wfs.ActionType#getCode Code}
* - {@link net.opengis.wfs.ActionType#getLocator Locator}
*
*
*
* @see net.opengis.wfs.WfsPackage#getActionType()
* @model extendedMetaData="name='ActionType' kind='elementOnly'"
* @generated
*/
public interface ActionType extends EObject {
/**
* Returns the value of the 'Message' attribute.
*
*
*
*
* If an action fails, the message element may be used
* to supply an exception message.
*
* @return the value of the 'Message' attribute.
* @see #setMessage(String)
* @see net.opengis.wfs.WfsPackage#getActionType_Message()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='element' name='Message' namespace='##targetNamespace'"
* @generated
*/
String getMessage();
/**
* Sets the value of the '{@link net.opengis.wfs.ActionType#getMessage Message}' attribute.
*
*
* @param value the new value of the 'Message' attribute.
* @see #getMessage()
* @generated
*/
void setMessage(String value);
/**
* Returns the value of the 'Code' attribute.
*
*
*
*
* The code attribute may be used to specify an
* exception code indicating why an action failed.
*
* @return the value of the 'Code' attribute.
* @see #setCode(String)
* @see net.opengis.wfs.WfsPackage#getActionType_Code()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='code'"
* @generated
*/
String getCode();
/**
* Sets the value of the '{@link net.opengis.wfs.ActionType#getCode Code}' attribute.
*
*
* @param value the new value of the 'Code' attribute.
* @see #getCode()
* @generated
*/
void setCode(String value);
/**
* Returns the value of the 'Locator' attribute.
*
*
*
*
* The locator attribute is used to locate an action
* within a <Transaction> element. The value
* of the locator attribute is either a string that
* is equal to the value of the handle attribute
* specified on an <Insert>, <Update>
* or <Delete> action. If a value is not
* specified for the handle attribute then a WFS
* may employ some other means of locating the
* action. For example, the value of the locator
* attribute may be an integer indicating the order
* of the action (i.e. 1=First action, 2=Second action,
* etc.).
*
* @return the value of the 'Locator' attribute.
* @see #setLocator(String)
* @see net.opengis.wfs.WfsPackage#getActionType_Locator()
* @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
* extendedMetaData="kind='attribute' name='locator'"
* @generated
*/
String getLocator();
/**
* Sets the value of the '{@link net.opengis.wfs.ActionType#getLocator Locator}' attribute.
*
*
* @param value the new value of the 'Locator' attribute.
* @see #getLocator()
* @generated
*/
void setLocator(String value);
} // ActionType