Package org.eclipse.papyrus.sysml.portandflows

Examples of org.eclipse.papyrus.sysml.portandflows.FlowDirection


   * <!-- begin-user-doc --> <!-- end-user-doc -->
   *
   * @generated
   */
  public FlowDirection createFlowDirectionFromString(EDataType eDataType, String initialValue) {
    FlowDirection result = FlowDirection.get(initialValue);
    if(result == null)
      throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
    return result;
  }
View Full Code Here


   * <!-- begin-user-doc --> <!-- end-user-doc -->
   *
   * @generated
   */
  public void setDirection(FlowDirection newDirection) {
    FlowDirection oldDirection = direction;
    direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
    if(eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_PROPERTY__DIRECTION, oldDirection, direction));
  }
View Full Code Here

   * <!-- begin-user-doc --> <!-- end-user-doc -->
   *
   * @generated
   */
  public void setDirection(FlowDirection newDirection) {
    FlowDirection oldDirection = direction;
    direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
    if(eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, PortandflowsPackage.FLOW_PORT__DIRECTION, oldDirection, direction));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.papyrus.sysml.portandflows.FlowDirection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.