001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id: ActionType.java 7522 2007-09-12 22:00:10Z saul.farber $
006: */package net.opengis.wfs;
007:
008: import org.eclipse.emf.ecore.EObject;
009:
010: /**
011: * <!-- begin-user-doc -->
012: * A representation of the model object '<em><b>Action Type</b></em>'.
013: * <!-- end-user-doc -->
014: *
015: * <p>
016: * The following features are supported:
017: * <ul>
018: * <li>{@link net.opengis.wfs.ActionType#getMessage <em>Message</em>}</li>
019: * <li>{@link net.opengis.wfs.ActionType#getCode <em>Code</em>}</li>
020: * <li>{@link net.opengis.wfs.ActionType#getLocator <em>Locator</em>}</li>
021: * </ul>
022: * </p>
023: *
024: * @see net.opengis.wfs.WfsPackage#getActionType()
025: * @model extendedMetaData="name='ActionType' kind='elementOnly'"
026: * @generated
027: */
028: public interface ActionType extends EObject {
029: /**
030: * Returns the value of the '<em><b>Message</b></em>' attribute.
031: * <!-- begin-user-doc -->
032: * <!-- end-user-doc -->
033: * <!-- begin-model-doc -->
034: *
035: * If an action fails, the message element may be used
036: * to supply an exception message.
037: * <!-- end-model-doc -->
038: * @return the value of the '<em>Message</em>' attribute.
039: * @see #setMessage(String)
040: * @see net.opengis.wfs.WfsPackage#getActionType_Message()
041: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
042: * extendedMetaData="kind='element' name='Message' namespace='##targetNamespace'"
043: * @generated
044: */
045: String getMessage();
046:
047: /**
048: * Sets the value of the '{@link net.opengis.wfs.ActionType#getMessage <em>Message</em>}' attribute.
049: * <!-- begin-user-doc -->
050: * <!-- end-user-doc -->
051: * @param value the new value of the '<em>Message</em>' attribute.
052: * @see #getMessage()
053: * @generated
054: */
055: void setMessage(String value);
056:
057: /**
058: * Returns the value of the '<em><b>Code</b></em>' attribute.
059: * <!-- begin-user-doc -->
060: * <!-- end-user-doc -->
061: * <!-- begin-model-doc -->
062: *
063: * The code attribute may be used to specify an
064: * exception code indicating why an action failed.
065: * <!-- end-model-doc -->
066: * @return the value of the '<em>Code</em>' attribute.
067: * @see #setCode(String)
068: * @see net.opengis.wfs.WfsPackage#getActionType_Code()
069: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
070: * extendedMetaData="kind='attribute' name='code'"
071: * @generated
072: */
073: String getCode();
074:
075: /**
076: * Sets the value of the '{@link net.opengis.wfs.ActionType#getCode <em>Code</em>}' attribute.
077: * <!-- begin-user-doc -->
078: * <!-- end-user-doc -->
079: * @param value the new value of the '<em>Code</em>' attribute.
080: * @see #getCode()
081: * @generated
082: */
083: void setCode(String value);
084:
085: /**
086: * Returns the value of the '<em><b>Locator</b></em>' attribute.
087: * <!-- begin-user-doc -->
088: * <!-- end-user-doc -->
089: * <!-- begin-model-doc -->
090: *
091: * The locator attribute is used to locate an action
092: * within a <Transaction> element. The value
093: * of the locator attribute is either a string that
094: * is equal to the value of the handle attribute
095: * specified on an <Insert>, <Update>
096: * or <Delete> action. If a value is not
097: * specified for the handle attribute then a WFS
098: * may employ some other means of locating the
099: * action. For example, the value of the locator
100: * attribute may be an integer indicating the order
101: * of the action (i.e. 1=First action, 2=Second action,
102: * etc.).
103: * <!-- end-model-doc -->
104: * @return the value of the '<em>Locator</em>' attribute.
105: * @see #setLocator(String)
106: * @see net.opengis.wfs.WfsPackage#getActionType_Locator()
107: * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
108: * extendedMetaData="kind='attribute' name='locator'"
109: * @generated
110: */
111: String getLocator();
112:
113: /**
114: * Sets the value of the '{@link net.opengis.wfs.ActionType#getLocator <em>Locator</em>}' attribute.
115: * <!-- begin-user-doc -->
116: * <!-- end-user-doc -->
117: * @param value the new value of the '<em>Locator</em>' attribute.
118: * @see #getLocator()
119: * @generated
120: */
121: void setLocator(String value);
122:
123: } // ActionType
|