001: /**
002: * <copyright>
003: * </copyright>
004: *
005: * $Id$
006: */package newprocess;
007:
008: /**
009: * <!-- begin-user-doc -->
010: * A representation of the model object '<em><b>Async Activity</b></em>'.
011: * <!-- end-user-doc -->
012: *
013: * <p>
014: * The following features are supported:
015: * <ul>
016: * <li>{@link newprocess.AsyncActivity#isOptional <em>Optional</em>}</li>
017: * <li>{@link newprocess.AsyncActivity#getTimeout <em>Timeout</em>}</li>
018: * <li>{@link newprocess.AsyncActivity#getActor <em>Actor</em>}</li>
019: * <li>{@link newprocess.AsyncActivity#getHasPostcondition <em>Has Postcondition</em>}</li>
020: * <li>{@link newprocess.AsyncActivity#getHasPrecondition <em>Has Precondition</em>}</li>
021: * <li>{@link newprocess.AsyncActivity#isReentrant <em>Reentrant</em>}</li>
022: * </ul>
023: * </p>
024: *
025: * @see newprocess.NewprocessPackage#getAsyncActivity()
026: * @model
027: * @generated
028: */
029: public interface AsyncActivity extends Element {
030: /**
031: * Returns the value of the '<em><b>Optional</b></em>' attribute.
032: * <!-- begin-user-doc -->
033: * <p>
034: * If the meaning of the '<em>Optional</em>' attribute isn't clear,
035: * there really should be more of a description here...
036: * </p>
037: * <!-- end-user-doc -->
038: * @return the value of the '<em>Optional</em>' attribute.
039: * @see #setOptional(boolean)
040: * @see newprocess.NewprocessPackage#getAsyncActivity_Optional()
041: * @model
042: * @generated
043: */
044: boolean isOptional();
045:
046: /**
047: * Sets the value of the '{@link newprocess.AsyncActivity#isOptional <em>Optional</em>}' attribute.
048: * <!-- begin-user-doc -->
049: * <!-- end-user-doc -->
050: * @param value the new value of the '<em>Optional</em>' attribute.
051: * @see #isOptional()
052: * @generated
053: */
054: void setOptional(boolean value);
055:
056: /**
057: * Returns the value of the '<em><b>Timeout</b></em>' attribute.
058: * The default value is <code>"86400"</code>.
059: * <!-- begin-user-doc -->
060: * <p>
061: * If the meaning of the '<em>Timeout</em>' attribute isn't clear,
062: * there really should be more of a description here...
063: * </p>
064: * <!-- end-user-doc -->
065: * @return the value of the '<em>Timeout</em>' attribute.
066: * @see #setTimeout(int)
067: * @see newprocess.NewprocessPackage#getAsyncActivity_Timeout()
068: * @model default="86400"
069: * @generated
070: */
071: int getTimeout();
072:
073: /**
074: * Sets the value of the '{@link newprocess.AsyncActivity#getTimeout <em>Timeout</em>}' attribute.
075: * <!-- begin-user-doc -->
076: * <!-- end-user-doc -->
077: * @param value the new value of the '<em>Timeout</em>' attribute.
078: * @see #getTimeout()
079: * @generated
080: */
081: void setTimeout(int value);
082:
083: /**
084: * Returns the value of the '<em><b>Actor</b></em>' reference.
085: * <!-- begin-user-doc -->
086: * <p>
087: * If the meaning of the '<em>Actor</em>' reference isn't clear,
088: * there really should be more of a description here...
089: * </p>
090: * <!-- end-user-doc -->
091: * @return the value of the '<em>Actor</em>' reference.
092: * @see #setActor(Actor)
093: * @see newprocess.NewprocessPackage#getAsyncActivity_Actor()
094: * @model
095: * @generated
096: */
097: Actor getActor();
098:
099: /**
100: * Sets the value of the '{@link newprocess.AsyncActivity#getActor <em>Actor</em>}' reference.
101: * <!-- begin-user-doc -->
102: * <!-- end-user-doc -->
103: * @param value the new value of the '<em>Actor</em>' reference.
104: * @see #getActor()
105: * @generated
106: */
107: void setActor(Actor value);
108:
109: /**
110: * Returns the value of the '<em><b>Has Postcondition</b></em>' containment reference.
111: * <!-- begin-user-doc -->
112: * <p>
113: * If the meaning of the '<em>Has Postcondition</em>' containment reference isn't clear,
114: * there really should be more of a description here...
115: * </p>
116: * <!-- end-user-doc -->
117: * @return the value of the '<em>Has Postcondition</em>' containment reference.
118: * @see #setHasPostcondition(Expression)
119: * @see newprocess.NewprocessPackage#getAsyncActivity_HasPostcondition()
120: * @model containment="true"
121: * @generated
122: */
123: Expression getHasPostcondition();
124:
125: /**
126: * Sets the value of the '{@link newprocess.AsyncActivity#getHasPostcondition <em>Has Postcondition</em>}' containment reference.
127: * <!-- begin-user-doc -->
128: * <!-- end-user-doc -->
129: * @param value the new value of the '<em>Has Postcondition</em>' containment reference.
130: * @see #getHasPostcondition()
131: * @generated
132: */
133: void setHasPostcondition(Expression value);
134:
135: /**
136: * Returns the value of the '<em><b>Has Precondition</b></em>' containment reference.
137: * <!-- begin-user-doc -->
138: * <p>
139: * If the meaning of the '<em>Has Precondition</em>' containment reference isn't clear,
140: * there really should be more of a description here...
141: * </p>
142: * <!-- end-user-doc -->
143: * @return the value of the '<em>Has Precondition</em>' containment reference.
144: * @see #setHasPrecondition(Expression)
145: * @see newprocess.NewprocessPackage#getAsyncActivity_HasPrecondition()
146: * @model containment="true"
147: * @generated
148: */
149: Expression getHasPrecondition();
150:
151: /**
152: * Sets the value of the '{@link newprocess.AsyncActivity#getHasPrecondition <em>Has Precondition</em>}' containment reference.
153: * <!-- begin-user-doc -->
154: * <!-- end-user-doc -->
155: * @param value the new value of the '<em>Has Precondition</em>' containment reference.
156: * @see #getHasPrecondition()
157: * @generated
158: */
159: void setHasPrecondition(Expression value);
160:
161: /**
162: * Returns the value of the '<em><b>Reentrant</b></em>' attribute.
163: * <!-- begin-user-doc -->
164: * <p>
165: * If the meaning of the '<em>Reentrant</em>' attribute isn't clear,
166: * there really should be more of a description here...
167: * </p>
168: * <!-- end-user-doc -->
169: * @return the value of the '<em>Reentrant</em>' attribute.
170: * @see #setReentrant(boolean)
171: * @see newprocess.NewprocessPackage#getAsyncActivity_Reentrant()
172: * @model
173: * @generated
174: */
175: boolean isReentrant();
176:
177: /**
178: * Sets the value of the '{@link newprocess.AsyncActivity#isReentrant <em>Reentrant</em>}' attribute.
179: * <!-- begin-user-doc -->
180: * <!-- end-user-doc -->
181: * @param value the new value of the '<em>Reentrant</em>' attribute.
182: * @see #isReentrant()
183: * @generated
184: */
185: void setReentrant(boolean value);
186:
187: /**
188: * <!-- begin-user-doc -->
189: * <!-- end-user-doc -->
190: * @model
191: * @generated
192: */
193: void performUpdate();
194:
195: } // AsyncActivity
|