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


Java AssociationDirection类代码示例

本文整理汇总了Java中org.eclipse.bpmn2.AssociationDirection的典型用法代码示例。如果您正苦于以下问题:Java AssociationDirection类的具体用法?Java AssociationDirection怎么用?Java AssociationDirection使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: eSet

import org.eclipse.bpmn2.AssociationDirection; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
	case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
		setAssociationDirection((AssociationDirection) newValue);
		return;
	case Bpmn2Package.ASSOCIATION__SOURCE_REF:
		setSourceRef((BaseElement) newValue);
		return;
	case Bpmn2Package.ASSOCIATION__TARGET_REF:
		setTargetRef((BaseElement) newValue);
		return;
	}
	super.eSet(featureID, newValue);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:AssociationImpl.java

示例2: eSet

import org.eclipse.bpmn2.AssociationDirection; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
    switch (featureID) {
    case Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION:
        setAssociationDirection((AssociationDirection) newValue);
        return;
    case Bpmn2Package.ASSOCIATION__SOURCE_REF:
        setSourceRef((BaseElement) newValue);
        return;
    case Bpmn2Package.ASSOCIATION__TARGET_REF:
        setTargetRef((BaseElement) newValue);
        return;
    }
    super.eSet(featureID, newValue);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:21,代码来源:AssociationImpl.java

示例3: setAssociationDirection

import org.eclipse.bpmn2.AssociationDirection; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setAssociationDirection(
		AssociationDirection newAssociationDirection) {
	AssociationDirection oldAssociationDirection = associationDirection;
	associationDirection = newAssociationDirection == null ? ASSOCIATION_DIRECTION_EDEFAULT
			: newAssociationDirection;
	if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET,
				Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION,
				oldAssociationDirection, associationDirection));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:16,代码来源:AssociationImpl.java

示例4: createAssociationDirectionFromString

import org.eclipse.bpmn2.AssociationDirection; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public AssociationDirection createAssociationDirectionFromString(
		EDataType eDataType, String initialValue) {
	AssociationDirection result = AssociationDirection.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

示例5: setAssociationDirection

import org.eclipse.bpmn2.AssociationDirection; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setAssociationDirection(AssociationDirection newAssociationDirection) {
    AssociationDirection oldAssociationDirection = associationDirection;
    associationDirection = newAssociationDirection == null ? ASSOCIATION_DIRECTION_EDEFAULT
            : newAssociationDirection;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET,
                Bpmn2Package.ASSOCIATION__ASSOCIATION_DIRECTION, oldAssociationDirection,
                associationDirection));
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:15,代码来源:AssociationImpl.java

示例6: getAssociationDirection

import org.eclipse.bpmn2.AssociationDirection; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public AssociationDirection getAssociationDirection() {
	return associationDirection;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:9,代码来源:AssociationImpl.java

示例7: getAssociationDirection

import org.eclipse.bpmn2.AssociationDirection; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public AssociationDirection getAssociationDirection() {
    return associationDirection;
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:9,代码来源:AssociationImpl.java


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