当前位置: 首页>>代码示例>>Java>>正文


Java Bpmn2Package.SEQUENCE_FLOW__TARGET_REF属性代码示例

本文整理汇总了Java中org.eclipse.bpmn2.Bpmn2Package.SEQUENCE_FLOW__TARGET_REF属性的典型用法代码示例。如果您正苦于以下问题:Java Bpmn2Package.SEQUENCE_FLOW__TARGET_REF属性的具体用法?Java Bpmn2Package.SEQUENCE_FLOW__TARGET_REF怎么用?Java Bpmn2Package.SEQUENCE_FLOW__TARGET_REF使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.eclipse.bpmn2.Bpmn2Package的用法示例。


在下文中一共展示了Bpmn2Package.SEQUENCE_FLOW__TARGET_REF属性的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: basicSetTargetRef

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetTargetRef(FlowNode newTargetRef,
		NotificationChain msgs) {
	FlowNode oldTargetRef = targetRef;
	targetRef = newTargetRef;
	if (eNotificationRequired()) {
		ENotificationImpl notification = new ENotificationImpl(this,
				Notification.SET, Bpmn2Package.SEQUENCE_FLOW__TARGET_REF,
				oldTargetRef, newTargetRef);
		if (msgs == null)
			msgs = notification;
		else
			msgs.add(notification);
	}
	return msgs;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:20,代码来源:SequenceFlowImpl.java

示例2: eInverseAdd

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd,
		int featureID, NotificationChain msgs) {
	switch (featureID) {
	case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
		if (sourceRef != null)
			msgs = ((InternalEObject) sourceRef).eInverseRemove(this,
					Bpmn2Package.FLOW_NODE__OUTGOING, FlowNode.class, msgs);
		return basicSetSourceRef((FlowNode) otherEnd, msgs);
	case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
		if (targetRef != null)
			msgs = ((InternalEObject) targetRef).eInverseRemove(this,
					Bpmn2Package.FLOW_NODE__INCOMING, FlowNode.class, msgs);
		return basicSetTargetRef((FlowNode) otherEnd, msgs);
	}
	return super.eInverseAdd(otherEnd, featureID, msgs);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:22,代码来源:SequenceFlowImpl.java

示例3: eInverseRemove

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
		int featureID, NotificationChain msgs) {
	switch (featureID) {
	case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
		return basicSetConditionExpression(null, msgs);
	case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
		return basicSetSourceRef(null, msgs);
	case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
		return basicSetTargetRef(null, msgs);
	case Bpmn2Package.SEQUENCE_FLOW__EXECUTION_LISTENERS:
		return ((InternalEList<?>) getExecutionListeners()).basicRemove(
				otherEnd, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:SequenceFlowImpl.java

示例4: eGet

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
	switch (featureID) {
	case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
		return getConditionExpression();
	case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
		return isIsImmediate();
	case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
		return getSourceRef();
	case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
		return getTargetRef();
	case Bpmn2Package.SEQUENCE_FLOW__EXECUTION_LISTENERS:
		return getExecutionListeners();
	}
	return super.eGet(featureID, resolve, coreType);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:SequenceFlowImpl.java

示例5: eSet

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
	case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
		setConditionExpression((FormalExpression) newValue);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
		setIsImmediate((Boolean) newValue);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
		setSourceRef((FlowNode) newValue);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
		setTargetRef((FlowNode) newValue);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__EXECUTION_LISTENERS:
		getExecutionListeners().clear();
		getExecutionListeners().addAll(
				(Collection<? extends ActivitiListener>) newValue);
		return;
	}
	super.eSet(featureID, newValue);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:29,代码来源:SequenceFlowImpl.java

示例6: eUnset

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eUnset(int featureID) {
	switch (featureID) {
	case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
		setConditionExpression((FormalExpression) null);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
		setIsImmediate(IS_IMMEDIATE_EDEFAULT);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
		setSourceRef((FlowNode) null);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
		setTargetRef((FlowNode) null);
		return;
	case Bpmn2Package.SEQUENCE_FLOW__EXECUTION_LISTENERS:
		getExecutionListeners().clear();
		return;
	}
	super.eUnset(featureID);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:26,代码来源:SequenceFlowImpl.java

示例7: eIsSet

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public boolean eIsSet(int featureID) {
	switch (featureID) {
	case Bpmn2Package.SEQUENCE_FLOW__CONDITION_EXPRESSION:
		return conditionExpression != null;
	case Bpmn2Package.SEQUENCE_FLOW__IS_IMMEDIATE:
		return isImmediate != IS_IMMEDIATE_EDEFAULT;
	case Bpmn2Package.SEQUENCE_FLOW__SOURCE_REF:
		return sourceRef != null;
	case Bpmn2Package.SEQUENCE_FLOW__TARGET_REF:
		return targetRef != null;
	case Bpmn2Package.SEQUENCE_FLOW__EXECUTION_LISTENERS:
		return executionListeners != null && !executionListeners.isEmpty();
	}
	return super.eIsSet(featureID);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:SequenceFlowImpl.java

示例8: getIncoming

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public List<SequenceFlow> getIncoming() {
	if (incoming == null) {
		incoming = new EObjectWithInverseEList<SequenceFlow>(
				SequenceFlow.class, this, Bpmn2Package.FLOW_NODE__INCOMING,
				Bpmn2Package.SEQUENCE_FLOW__TARGET_REF);
	}
	return incoming;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:13,代码来源:FlowNodeImpl.java


注:本文中的org.eclipse.bpmn2.Bpmn2Package.SEQUENCE_FLOW__TARGET_REF属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。