當前位置: 首頁>>代碼示例>>Java>>正文


Java GatewayDirection類代碼示例

本文整理匯總了Java中org.eclipse.bpmn2.GatewayDirection的典型用法代碼示例。如果您正苦於以下問題:Java GatewayDirection類的具體用法?Java GatewayDirection怎麽用?Java GatewayDirection使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


GatewayDirection類屬於org.eclipse.bpmn2包,在下文中一共展示了GatewayDirection類的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: setGatewayDirection

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setGatewayDirection(GatewayDirection newGatewayDirection) {
	GatewayDirection oldGatewayDirection = gatewayDirection;
	gatewayDirection = newGatewayDirection == null ? GATEWAY_DIRECTION_EDEFAULT
			: newGatewayDirection;
	if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET,
				Bpmn2Package.GATEWAY__GATEWAY_DIRECTION,
				oldGatewayDirection, gatewayDirection));
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:15,代碼來源:GatewayImpl.java

示例2: eSet

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
	case Bpmn2Package.GATEWAY__GATEWAY_DIRECTION:
		setGatewayDirection((GatewayDirection) newValue);
		return;
	}
	super.eSet(featureID, newValue);
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:15,代碼來源:GatewayImpl.java

示例3: createGatewayDirectionFromString

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public GatewayDirection createGatewayDirectionFromString(
		EDataType eDataType, String initialValue) {
	GatewayDirection result = GatewayDirection.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue
				+ "' is not a valid enumerator of '" + eDataType.getName()
				+ "'");
	return result;
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:15,代碼來源:Bpmn2FactoryImpl.java

示例4: setGatewayDirection

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setGatewayDirection(GatewayDirection newGatewayDirection) {
    GatewayDirection oldGatewayDirection = gatewayDirection;
    gatewayDirection = newGatewayDirection == null ? GATEWAY_DIRECTION_EDEFAULT
            : newGatewayDirection;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET,
                Bpmn2Package.GATEWAY__GATEWAY_DIRECTION, oldGatewayDirection, gatewayDirection));
}
 
開發者ID:fixteam,項目名稱:fixflow,代碼行數:14,代碼來源:GatewayImpl.java

示例5: eSet

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
    switch (featureID) {
    case Bpmn2Package.GATEWAY__GATEWAY_DIRECTION:
        setGatewayDirection((GatewayDirection) newValue);
        return;
    }
    super.eSet(featureID, newValue);
}
 
開發者ID:fixteam,項目名稱:fixflow,代碼行數:15,代碼來源:GatewayImpl.java

示例6: convertJsonToElement

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
protected FlowElement convertJsonToElement(JsonNode elementNode, JsonNode modelNode, Map<String, JsonNode> shapeMap) {
  ParallelGateway gateway = Bpmn2Factory.eINSTANCE.createParallelGateway();// ParallelGateway();
  String direction = getPropertyValueAsString(PROPERTY_GATEWAT_DIRECTION, elementNode);
  if(StringUtil.isNotEmpty(direction)){
  	GatewayDirection gatewayDirection = GatewayDirection.getByName(direction);
  	gateway.setGatewayDirection(gatewayDirection);
  }
  return gateway;
}
 
開發者ID:fixteam,項目名稱:fixflow,代碼行數:10,代碼來源:ParallelGatewayJsonConverter.java

示例7: getGatewayDirection

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public GatewayDirection getGatewayDirection() {
	return gatewayDirection;
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:9,代碼來源:GatewayImpl.java

示例8: getGatewayDirection

import org.eclipse.bpmn2.GatewayDirection; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public GatewayDirection getGatewayDirection() {
    return gatewayDirection;
}
 
開發者ID:fixteam,項目名稱:fixflow,代碼行數:9,代碼來源:GatewayImpl.java


注:本文中的org.eclipse.bpmn2.GatewayDirection類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。