SyncActivity.java :  » Workflow-Engines » osbl-1_0 » newprocess » Java Open Source

Java Open Source » Workflow Engines » osbl 1_0 
osbl 1_0 » newprocess » SyncActivity.java
/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package newprocess;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Sync Activity</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link newprocess.SyncActivity#getTrials <em>Trials</em>}</li>
 *   <li>{@link newprocess.SyncActivity#getRetryDelay <em>Retry Delay</em>}</li>
 *   <li>{@link newprocess.SyncActivity#getHasPostcondition <em>Has Postcondition</em>}</li>
 *   <li>{@link newprocess.SyncActivity#getHasPrecondition <em>Has Precondition</em>}</li>
 *   <li>{@link newprocess.SyncActivity#isReentrant <em>Reentrant</em>}</li>
 * </ul>
 * </p>
 *
 * @see newprocess.NewprocessPackage#getSyncActivity()
 * @model
 * @generated
 */
public interface SyncActivity extends Element {
  /**
   * Returns the value of the '<em><b>Trials</b></em>' attribute.
   * The default value is <code>"3"</code>.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Trials</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Trials</em>' attribute.
   * @see #setTrials(int)
   * @see newprocess.NewprocessPackage#getSyncActivity_Trials()
   * @model default="3"
   * @generated
   */
  int getTrials();

  /**
   * Sets the value of the '{@link newprocess.SyncActivity#getTrials <em>Trials</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Trials</em>' attribute.
   * @see #getTrials()
   * @generated
   */
  void setTrials(int value);

  /**
   * Returns the value of the '<em><b>Retry Delay</b></em>' attribute.
   * The default value is <code>"3600"</code>.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Retry Delay</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Retry Delay</em>' attribute.
   * @see #setRetryDelay(int)
   * @see newprocess.NewprocessPackage#getSyncActivity_RetryDelay()
   * @model default="3600"
   * @generated
   */
  int getRetryDelay();

  /**
   * Sets the value of the '{@link newprocess.SyncActivity#getRetryDelay <em>Retry Delay</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Retry Delay</em>' attribute.
   * @see #getRetryDelay()
   * @generated
   */
  void setRetryDelay(int value);

  /**
   * Returns the value of the '<em><b>Has Postcondition</b></em>' containment reference.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Has Postcondition</em>' containment reference isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Has Postcondition</em>' containment reference.
   * @see #setHasPostcondition(Expression)
   * @see newprocess.NewprocessPackage#getSyncActivity_HasPostcondition()
   * @model containment="true"
   * @generated
   */
  Expression getHasPostcondition();

  /**
   * Sets the value of the '{@link newprocess.SyncActivity#getHasPostcondition <em>Has Postcondition</em>}' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Has Postcondition</em>' containment reference.
   * @see #getHasPostcondition()
   * @generated
   */
  void setHasPostcondition(Expression value);

  /**
   * Returns the value of the '<em><b>Has Precondition</b></em>' containment reference.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Has Precondition</em>' containment reference isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Has Precondition</em>' containment reference.
   * @see #setHasPrecondition(Expression)
   * @see newprocess.NewprocessPackage#getSyncActivity_HasPrecondition()
   * @model containment="true"
   * @generated
   */
  Expression getHasPrecondition();

  /**
   * Sets the value of the '{@link newprocess.SyncActivity#getHasPrecondition <em>Has Precondition</em>}' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Has Precondition</em>' containment reference.
   * @see #getHasPrecondition()
   * @generated
   */
  void setHasPrecondition(Expression value);

  /**
   * Returns the value of the '<em><b>Reentrant</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Reentrant</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Reentrant</em>' attribute.
   * @see #setReentrant(boolean)
   * @see newprocess.NewprocessPackage#getSyncActivity_Reentrant()
   * @model
   * @generated
   */
  boolean isReentrant();

  /**
   * Sets the value of the '{@link newprocess.SyncActivity#isReentrant <em>Reentrant</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Reentrant</em>' attribute.
   * @see #isReentrant()
   * @generated
   */
  void setReentrant(boolean value);

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @model
   * @generated
   */
  void performUpdate();

} // SyncActivity
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.