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


Java OutputSet类代码示例

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


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

示例1: eSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
	case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
		setInputDataRef((InputSet) newValue);
		return;
	case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
		setOperationRef((Operation) newValue);
		return;
	case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
		setOutputDataRef((OutputSet) newValue);
		return;
	}
	super.eSet(featureID, newValue);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:InputOutputBindingImpl.java

示例2: eUnset

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eUnset(int featureID) {
	switch (featureID) {
	case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
		setInputDataRef((InputSet) null);
		return;
	case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
		setOperationRef((Operation) null);
		return;
	case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
		setOutputDataRef((OutputSet) null);
		return;
	}
	super.eUnset(featureID);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:InputOutputBindingImpl.java

示例3: basicSetOutputSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetOutputSet(OutputSet newOutputSet,
		NotificationChain msgs) {
	OutputSet oldOutputSet = outputSet;
	outputSet = newOutputSet;
	if (eNotificationRequired()) {
		ENotificationImpl notification = new ENotificationImpl(this,
				Notification.SET, Bpmn2Package.CATCH_EVENT__OUTPUT_SET,
				oldOutputSet, newOutputSet);
		if (msgs == null)
			msgs = notification;
		else
			msgs.add(notification);
	}
	return msgs;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:CatchEventImpl.java

示例4: setOutputSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setOutputSet(OutputSet newOutputSet) {
	if (newOutputSet != outputSet) {
		NotificationChain msgs = null;
		if (outputSet != null)
			msgs = ((InternalEObject) outputSet).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE
							- Bpmn2Package.CATCH_EVENT__OUTPUT_SET, null,
					msgs);
		if (newOutputSet != null)
			msgs = ((InternalEObject) newOutputSet).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE
							- Bpmn2Package.CATCH_EVENT__OUTPUT_SET, null,
					msgs);
		msgs = basicSetOutputSet(newOutputSet, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET,
				Bpmn2Package.CATCH_EVENT__OUTPUT_SET, newOutputSet,
				newOutputSet));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:27,代码来源:CatchEventImpl.java

示例5: eUnset

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eUnset(int featureID) {
	switch (featureID) {
	case Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS:
		getDataOutputs().clear();
		return;
	case Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
		getDataOutputAssociation().clear();
		return;
	case Bpmn2Package.CATCH_EVENT__OUTPUT_SET:
		setOutputSet((OutputSet) null);
		return;
	case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS:
		getEventDefinitions().clear();
		return;
	case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITION_REFS:
		getEventDefinitionRefs().clear();
		return;
	case Bpmn2Package.CATCH_EVENT__PARALLEL_MULTIPLE:
		setParallelMultiple(PARALLEL_MULTIPLE_EDEFAULT);
		return;
	}
	super.eUnset(featureID);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:30,代码来源:CatchEventImpl.java

示例6: eSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
	case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS:
		getDataInputs().clear();
		getDataInputs().addAll((Collection<? extends DataInput>) newValue);
		return;
	case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS:
		getDataOutputs().clear();
		getDataOutputs()
				.addAll((Collection<? extends DataOutput>) newValue);
		return;
	case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS:
		getInputSets().clear();
		getInputSets().addAll((Collection<? extends InputSet>) newValue);
		return;
	case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS:
		getOutputSets().clear();
		getOutputSets().addAll((Collection<? extends OutputSet>) newValue);
		return;
	}
	super.eSet(featureID, newValue);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:30,代码来源:InputOutputSpecificationImpl.java

示例7: eSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
    switch (featureID) {
    case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
        setInputDataRef((InputSet) newValue);
        return;
    case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
        setOperationRef((Operation) newValue);
        return;
    case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
        setOutputDataRef((OutputSet) newValue);
        return;
    }
    super.eSet(featureID, newValue);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:21,代码来源:InputOutputBindingImpl.java

示例8: eUnset

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eUnset(int featureID) {
    switch (featureID) {
    case Bpmn2Package.INPUT_OUTPUT_BINDING__INPUT_DATA_REF:
        setInputDataRef((InputSet) null);
        return;
    case Bpmn2Package.INPUT_OUTPUT_BINDING__OPERATION_REF:
        setOperationRef((Operation) null);
        return;
    case Bpmn2Package.INPUT_OUTPUT_BINDING__OUTPUT_DATA_REF:
        setOutputDataRef((OutputSet) null);
        return;
    }
    super.eUnset(featureID);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:21,代码来源:InputOutputBindingImpl.java

示例9: setOutputSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setOutputSet(OutputSet newOutputSet) {
    if (newOutputSet != outputSet) {
        NotificationChain msgs = null;
        if (outputSet != null)
            msgs = ((InternalEObject) outputSet).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
                    - Bpmn2Package.CATCH_EVENT__OUTPUT_SET, null, msgs);
        if (newOutputSet != null)
            msgs = ((InternalEObject) newOutputSet).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
                    - Bpmn2Package.CATCH_EVENT__OUTPUT_SET, null, msgs);
        msgs = basicSetOutputSet(newOutputSet, msgs);
        if (msgs != null)
            msgs.dispatch();
    } else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET,
                Bpmn2Package.CATCH_EVENT__OUTPUT_SET, newOutputSet, newOutputSet));
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:22,代码来源:CatchEventImpl.java

示例10: eUnset

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eUnset(int featureID) {
    switch (featureID) {
    case Bpmn2Package.CATCH_EVENT__DATA_OUTPUTS:
        getDataOutputs().clear();
        return;
    case Bpmn2Package.CATCH_EVENT__DATA_OUTPUT_ASSOCIATION:
        getDataOutputAssociation().clear();
        return;
    case Bpmn2Package.CATCH_EVENT__OUTPUT_SET:
        setOutputSet((OutputSet) null);
        return;
    case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITIONS:
        getEventDefinitions().clear();
        return;
    case Bpmn2Package.CATCH_EVENT__EVENT_DEFINITION_REFS:
        getEventDefinitionRefs().clear();
        return;
    case Bpmn2Package.CATCH_EVENT__PARALLEL_MULTIPLE:
        setParallelMultiple(PARALLEL_MULTIPLE_EDEFAULT);
        return;
    }
    super.eUnset(featureID);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:30,代码来源:CatchEventImpl.java

示例11: eSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
    switch (featureID) {
    case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_OPTIONAL:
        getOutputSetWithOptional().clear();
        getOutputSetWithOptional().addAll((Collection<? extends OutputSet>) newValue);
        return;
    case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_WITH_WHILE_EXECUTING:
        getOutputSetWithWhileExecuting().clear();
        getOutputSetWithWhileExecuting().addAll((Collection<? extends OutputSet>) newValue);
        return;
    case Bpmn2Package.DATA_OUTPUT__OUTPUT_SET_REFS:
        getOutputSetRefs().clear();
        getOutputSetRefs().addAll((Collection<? extends OutputSet>) newValue);
        return;
    case Bpmn2Package.DATA_OUTPUT__IS_COLLECTION:
        setIsCollection((Boolean) newValue);
        return;
    case Bpmn2Package.DATA_OUTPUT__NAME:
        setName((String) newValue);
        return;
    }
    super.eSet(featureID, newValue);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:31,代码来源:DataOutputImpl.java

示例12: eSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
    switch (featureID) {
    case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_INPUTS:
        getDataInputs().clear();
        getDataInputs().addAll((Collection<? extends DataInput>) newValue);
        return;
    case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__DATA_OUTPUTS:
        getDataOutputs().clear();
        getDataOutputs().addAll((Collection<? extends DataOutput>) newValue);
        return;
    case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__INPUT_SETS:
        getInputSets().clear();
        getInputSets().addAll((Collection<? extends InputSet>) newValue);
        return;
    case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION__OUTPUT_SETS:
        getOutputSets().clear();
        getOutputSets().addAll((Collection<? extends OutputSet>) newValue);
        return;
    }
    super.eSet(featureID, newValue);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:29,代码来源:InputOutputSpecificationImpl.java

示例13: marshallDataOutputSet

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
private String marshallDataOutputSet(Activity activity,
                                     Map<String, Object> properties,
                                     List<String> disallowedNames) {
    if (activity.getIoSpecification() != null) {
        List<OutputSet> outputSetList = activity.getIoSpecification().getOutputSets();
        StringBuilder dataOutBuffer = new StringBuilder();
        for (OutputSet outset : outputSetList) {
            List<DataOutput> dataOutputList = outset.getDataOutputRefs();
            marshallItemAwareElements(activity,
                                      dataOutputList,
                                      dataOutBuffer,
                                      disallowedNames);
        }
        if (dataOutBuffer.length() > 0) {
            dataOutBuffer.setLength(dataOutBuffer.length() - 1);
        }
        String dataoutputset = dataOutBuffer.toString();
        properties.put(DATAOUTPUTSET,
                       dataoutputset);
        return dataoutputset;
    } else {
        return null;
    }
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:25,代码来源:Bpmn2JsonMarshaller.java

示例14: getText

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * This returns the label text for the adapted class.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public String getText(Object object) {
	String label = ((OutputSet) object).getName();
	return label == null || label.length() == 0 ? getString("_UI_OutputSet_type")
			: getString("_UI_OutputSet_type") + " " + label;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:13,代码来源:OutputSetItemProvider.java

示例15: notifyChanged

import org.eclipse.bpmn2.OutputSet; //导入依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged(Notification notification) {
	updateChildren(notification);

	switch (notification.getFeatureID(OutputSet.class)) {
	case Bpmn2Package.OUTPUT_SET__NAME:
		fireNotifyChanged(new ViewerNotification(notification,
				notification.getNotifier(), false, true));
		return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:20,代码来源:OutputSetItemProvider.java


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