All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.bpmn2.impl.Bpmn2FactoryImpl Maven / Gradle / Ivy

There is a newer version: 7.54.0.Final
Show newest version
/**
 * 
 * 
 * Copyright (c) 2010 SAP AG.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *    Reiner Hille-Doering (SAP AG) - initial API and implementation and/or initial documentation
 * 
 * 
 */
package org.eclipse.bpmn2.impl;

import org.eclipse.bpmn2.Activity;
import org.eclipse.bpmn2.AdHocOrdering;
import org.eclipse.bpmn2.AdHocSubProcess;
import org.eclipse.bpmn2.Artifact;
import org.eclipse.bpmn2.Assignment;
import org.eclipse.bpmn2.Association;
import org.eclipse.bpmn2.AssociationDirection;
import org.eclipse.bpmn2.Auditing;
import org.eclipse.bpmn2.BaseElement;
import org.eclipse.bpmn2.BoundaryEvent;
import org.eclipse.bpmn2.Bpmn2Factory;
import org.eclipse.bpmn2.Bpmn2Package;
import org.eclipse.bpmn2.BusinessRuleTask;
import org.eclipse.bpmn2.CallActivity;
import org.eclipse.bpmn2.CallChoreography;
import org.eclipse.bpmn2.CallConversation;
import org.eclipse.bpmn2.CallableElement;
import org.eclipse.bpmn2.CancelEventDefinition;
import org.eclipse.bpmn2.Category;
import org.eclipse.bpmn2.CategoryValue;
import org.eclipse.bpmn2.Choreography;
import org.eclipse.bpmn2.ChoreographyLoopType;
import org.eclipse.bpmn2.ChoreographyTask;
import org.eclipse.bpmn2.Collaboration;
import org.eclipse.bpmn2.CompensateEventDefinition;
import org.eclipse.bpmn2.ComplexBehaviorDefinition;
import org.eclipse.bpmn2.ComplexGateway;
import org.eclipse.bpmn2.ConditionalEventDefinition;
import org.eclipse.bpmn2.Conversation;
import org.eclipse.bpmn2.ConversationAssociation;
import org.eclipse.bpmn2.ConversationLink;
import org.eclipse.bpmn2.ConversationNode;
import org.eclipse.bpmn2.CorrelationKey;
import org.eclipse.bpmn2.CorrelationProperty;
import org.eclipse.bpmn2.CorrelationPropertyBinding;
import org.eclipse.bpmn2.CorrelationPropertyRetrievalExpression;
import org.eclipse.bpmn2.CorrelationSubscription;
import org.eclipse.bpmn2.DataAssociation;
import org.eclipse.bpmn2.DataInput;
import org.eclipse.bpmn2.DataInputAssociation;
import org.eclipse.bpmn2.DataObject;
import org.eclipse.bpmn2.DataObjectReference;
import org.eclipse.bpmn2.DataOutput;
import org.eclipse.bpmn2.DataOutputAssociation;
import org.eclipse.bpmn2.DataState;
import org.eclipse.bpmn2.DataStore;
import org.eclipse.bpmn2.DataStoreReference;
import org.eclipse.bpmn2.Definitions;
import org.eclipse.bpmn2.DocumentRoot;
import org.eclipse.bpmn2.Documentation;
import org.eclipse.bpmn2.EndEvent;
import org.eclipse.bpmn2.EndPoint;
import org.eclipse.bpmn2.ErrorEventDefinition;
import org.eclipse.bpmn2.Escalation;
import org.eclipse.bpmn2.EscalationEventDefinition;
import org.eclipse.bpmn2.EventBasedGateway;
import org.eclipse.bpmn2.EventBasedGatewayType;
import org.eclipse.bpmn2.EventDefinition;
import org.eclipse.bpmn2.EventSubprocess;
import org.eclipse.bpmn2.ExclusiveGateway;
import org.eclipse.bpmn2.Expression;
import org.eclipse.bpmn2.Extension;
import org.eclipse.bpmn2.ExtensionAttributeDefinition;
import org.eclipse.bpmn2.ExtensionAttributeValue;
import org.eclipse.bpmn2.ExtensionDefinition;
import org.eclipse.bpmn2.FormalExpression;
import org.eclipse.bpmn2.GatewayDirection;
import org.eclipse.bpmn2.GlobalBusinessRuleTask;
import org.eclipse.bpmn2.GlobalChoreographyTask;
import org.eclipse.bpmn2.GlobalConversation;
import org.eclipse.bpmn2.GlobalManualTask;
import org.eclipse.bpmn2.GlobalScriptTask;
import org.eclipse.bpmn2.GlobalTask;
import org.eclipse.bpmn2.GlobalUserTask;
import org.eclipse.bpmn2.Group;
import org.eclipse.bpmn2.HumanPerformer;
import org.eclipse.bpmn2.ImplicitThrowEvent;
import org.eclipse.bpmn2.Import;
import org.eclipse.bpmn2.InclusiveGateway;
import org.eclipse.bpmn2.InputOutputBinding;
import org.eclipse.bpmn2.InputOutputSpecification;
import org.eclipse.bpmn2.InputSet;
import org.eclipse.bpmn2.InteractionNode;
import org.eclipse.bpmn2.Interface;
import org.eclipse.bpmn2.IntermediateCatchEvent;
import org.eclipse.bpmn2.IntermediateThrowEvent;
import org.eclipse.bpmn2.ItemAwareElement;
import org.eclipse.bpmn2.ItemDefinition;
import org.eclipse.bpmn2.ItemKind;
import org.eclipse.bpmn2.Lane;
import org.eclipse.bpmn2.LaneSet;
import org.eclipse.bpmn2.LinkEventDefinition;
import org.eclipse.bpmn2.ManualTask;
import org.eclipse.bpmn2.Message;
import org.eclipse.bpmn2.MessageEventDefinition;
import org.eclipse.bpmn2.MessageFlow;
import org.eclipse.bpmn2.MessageFlowAssociation;
import org.eclipse.bpmn2.Monitoring;
import org.eclipse.bpmn2.MultiInstanceBehavior;
import org.eclipse.bpmn2.MultiInstanceLoopCharacteristics;
import org.eclipse.bpmn2.Operation;
import org.eclipse.bpmn2.OutputSet;
import org.eclipse.bpmn2.ParallelGateway;
import org.eclipse.bpmn2.Participant;
import org.eclipse.bpmn2.ParticipantAssociation;
import org.eclipse.bpmn2.ParticipantMultiplicity;
import org.eclipse.bpmn2.PartnerEntity;
import org.eclipse.bpmn2.PartnerRole;
import org.eclipse.bpmn2.Performer;
import org.eclipse.bpmn2.PotentialOwner;
import org.eclipse.bpmn2.ProcessType;
import org.eclipse.bpmn2.Property;
import org.eclipse.bpmn2.ReceiveTask;
import org.eclipse.bpmn2.Relationship;
import org.eclipse.bpmn2.RelationshipDirection;
import org.eclipse.bpmn2.Rendering;
import org.eclipse.bpmn2.Resource;
import org.eclipse.bpmn2.ResourceAssignmentExpression;
import org.eclipse.bpmn2.ResourceParameter;
import org.eclipse.bpmn2.ResourceParameterBinding;
import org.eclipse.bpmn2.ResourceRole;
import org.eclipse.bpmn2.RootElement;
import org.eclipse.bpmn2.ScriptTask;
import org.eclipse.bpmn2.SendTask;
import org.eclipse.bpmn2.SequenceFlow;
import org.eclipse.bpmn2.ServiceTask;
import org.eclipse.bpmn2.Signal;
import org.eclipse.bpmn2.SignalEventDefinition;
import org.eclipse.bpmn2.StandardLoopCharacteristics;
import org.eclipse.bpmn2.StartEvent;
import org.eclipse.bpmn2.SubChoreography;
import org.eclipse.bpmn2.SubConversation;
import org.eclipse.bpmn2.SubProcess;
import org.eclipse.bpmn2.Task;
import org.eclipse.bpmn2.TerminateEventDefinition;
import org.eclipse.bpmn2.TextAnnotation;
import org.eclipse.bpmn2.TimerEventDefinition;
import org.eclipse.bpmn2.Transaction;
import org.eclipse.bpmn2.UserTask;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;

import org.eclipse.emf.ecore.impl.EFactoryImpl;

import org.eclipse.emf.ecore.plugin.EcorePlugin;

/**
 * 
 * An implementation of the model Factory.
 * 
 * @generated
 */
public class Bpmn2FactoryImpl extends EFactoryImpl implements Bpmn2Factory {
	/**
	 * Creates the default factory implementation.
	 * 
	 * 
	 * @generated
	 */
	public static Bpmn2Factory init() {
		try {
			Bpmn2Factory theBpmn2Factory = (Bpmn2Factory) EPackage.Registry.INSTANCE.getEFactory(Bpmn2Package.eNS_URI);
			if (theBpmn2Factory != null) {
				return theBpmn2Factory;
			}
		} catch (Exception exception) {
			EcorePlugin.INSTANCE.log(exception);
		}
		return new Bpmn2FactoryImpl();
	}

	/**
	 * Creates an instance of the factory.
	 * 
	 * 
	 * @generated
	 */
	public Bpmn2FactoryImpl() {
		super();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public EObject create(EClass eClass) {
		switch (eClass.getClassifierID()) {
		case Bpmn2Package.DOCUMENT_ROOT:
			return createDocumentRoot();
		case Bpmn2Package.ACTIVITY:
			return createActivity();
		case Bpmn2Package.AD_HOC_SUB_PROCESS:
			return createAdHocSubProcess();
		case Bpmn2Package.ARTIFACT:
			return createArtifact();
		case Bpmn2Package.ASSIGNMENT:
			return createAssignment();
		case Bpmn2Package.ASSOCIATION:
			return createAssociation();
		case Bpmn2Package.AUDITING:
			return createAuditing();
		case Bpmn2Package.BASE_ELEMENT:
			return createBaseElement();
		case Bpmn2Package.BOUNDARY_EVENT:
			return createBoundaryEvent();
		case Bpmn2Package.BUSINESS_RULE_TASK:
			return createBusinessRuleTask();
		case Bpmn2Package.CALL_ACTIVITY:
			return createCallActivity();
		case Bpmn2Package.CALL_CHOREOGRAPHY:
			return createCallChoreography();
		case Bpmn2Package.CALL_CONVERSATION:
			return createCallConversation();
		case Bpmn2Package.CALLABLE_ELEMENT:
			return createCallableElement();
		case Bpmn2Package.CANCEL_EVENT_DEFINITION:
			return createCancelEventDefinition();
		case Bpmn2Package.CATEGORY:
			return createCategory();
		case Bpmn2Package.CATEGORY_VALUE:
			return createCategoryValue();
		case Bpmn2Package.CHOREOGRAPHY:
			return createChoreography();
		case Bpmn2Package.CHOREOGRAPHY_TASK:
			return createChoreographyTask();
		case Bpmn2Package.COLLABORATION:
			return createCollaboration();
		case Bpmn2Package.COMPENSATE_EVENT_DEFINITION:
			return createCompensateEventDefinition();
		case Bpmn2Package.COMPLEX_BEHAVIOR_DEFINITION:
			return createComplexBehaviorDefinition();
		case Bpmn2Package.COMPLEX_GATEWAY:
			return createComplexGateway();
		case Bpmn2Package.CONDITIONAL_EVENT_DEFINITION:
			return createConditionalEventDefinition();
		case Bpmn2Package.CONVERSATION:
			return createConversation();
		case Bpmn2Package.CONVERSATION_ASSOCIATION:
			return createConversationAssociation();
		case Bpmn2Package.CONVERSATION_LINK:
			return createConversationLink();
		case Bpmn2Package.CONVERSATION_NODE:
			return createConversationNode();
		case Bpmn2Package.CORRELATION_KEY:
			return createCorrelationKey();
		case Bpmn2Package.CORRELATION_PROPERTY:
			return createCorrelationProperty();
		case Bpmn2Package.CORRELATION_PROPERTY_BINDING:
			return createCorrelationPropertyBinding();
		case Bpmn2Package.CORRELATION_PROPERTY_RETRIEVAL_EXPRESSION:
			return createCorrelationPropertyRetrievalExpression();
		case Bpmn2Package.CORRELATION_SUBSCRIPTION:
			return createCorrelationSubscription();
		case Bpmn2Package.DATA_ASSOCIATION:
			return createDataAssociation();
		case Bpmn2Package.DATA_INPUT:
			return createDataInput();
		case Bpmn2Package.DATA_INPUT_ASSOCIATION:
			return createDataInputAssociation();
		case Bpmn2Package.DATA_OBJECT:
			return createDataObject();
		case Bpmn2Package.DATA_OBJECT_REFERENCE:
			return createDataObjectReference();
		case Bpmn2Package.DATA_OUTPUT:
			return createDataOutput();
		case Bpmn2Package.DATA_OUTPUT_ASSOCIATION:
			return createDataOutputAssociation();
		case Bpmn2Package.DATA_STATE:
			return createDataState();
		case Bpmn2Package.DATA_STORE:
			return createDataStore();
		case Bpmn2Package.DATA_STORE_REFERENCE:
			return createDataStoreReference();
		case Bpmn2Package.DEFINITIONS:
			return createDefinitions();
		case Bpmn2Package.DOCUMENTATION:
			return createDocumentation();
		case Bpmn2Package.END_EVENT:
			return createEndEvent();
		case Bpmn2Package.END_POINT:
			return createEndPoint();
		case Bpmn2Package.ERROR:
			return createError();
		case Bpmn2Package.ERROR_EVENT_DEFINITION:
			return createErrorEventDefinition();
		case Bpmn2Package.ESCALATION:
			return createEscalation();
		case Bpmn2Package.ESCALATION_EVENT_DEFINITION:
			return createEscalationEventDefinition();
		case Bpmn2Package.EVENT_BASED_GATEWAY:
			return createEventBasedGateway();
		case Bpmn2Package.EVENT_DEFINITION:
			return createEventDefinition();
		case Bpmn2Package.EXCLUSIVE_GATEWAY:
			return createExclusiveGateway();
		case Bpmn2Package.EXPRESSION:
			return createExpression();
		case Bpmn2Package.EXTENSION:
			return createExtension();
		case Bpmn2Package.EXTENSION_ATTRIBUTE_DEFINITION:
			return createExtensionAttributeDefinition();
		case Bpmn2Package.EXTENSION_ATTRIBUTE_VALUE:
			return createExtensionAttributeValue();
		case Bpmn2Package.EXTENSION_DEFINITION:
			return createExtensionDefinition();
		case Bpmn2Package.FORMAL_EXPRESSION:
			return createFormalExpression();
		case Bpmn2Package.GLOBAL_BUSINESS_RULE_TASK:
			return createGlobalBusinessRuleTask();
		case Bpmn2Package.GLOBAL_CHOREOGRAPHY_TASK:
			return createGlobalChoreographyTask();
		case Bpmn2Package.GLOBAL_CONVERSATION:
			return createGlobalConversation();
		case Bpmn2Package.GLOBAL_MANUAL_TASK:
			return createGlobalManualTask();
		case Bpmn2Package.GLOBAL_SCRIPT_TASK:
			return createGlobalScriptTask();
		case Bpmn2Package.GLOBAL_TASK:
			return createGlobalTask();
		case Bpmn2Package.GLOBAL_USER_TASK:
			return createGlobalUserTask();
		case Bpmn2Package.GROUP:
			return createGroup();
		case Bpmn2Package.HUMAN_PERFORMER:
			return createHumanPerformer();
		case Bpmn2Package.IMPLICIT_THROW_EVENT:
			return createImplicitThrowEvent();
		case Bpmn2Package.IMPORT:
			return createImport();
		case Bpmn2Package.INCLUSIVE_GATEWAY:
			return createInclusiveGateway();
		case Bpmn2Package.INPUT_OUTPUT_BINDING:
			return createInputOutputBinding();
		case Bpmn2Package.INPUT_OUTPUT_SPECIFICATION:
			return createInputOutputSpecification();
		case Bpmn2Package.INPUT_SET:
			return createInputSet();
		case Bpmn2Package.INTERACTION_NODE:
			return createInteractionNode();
		case Bpmn2Package.INTERFACE:
			return createInterface();
		case Bpmn2Package.INTERMEDIATE_CATCH_EVENT:
			return createIntermediateCatchEvent();
		case Bpmn2Package.INTERMEDIATE_THROW_EVENT:
			return createIntermediateThrowEvent();
		case Bpmn2Package.ITEM_AWARE_ELEMENT:
			return createItemAwareElement();
		case Bpmn2Package.ITEM_DEFINITION:
			return createItemDefinition();
		case Bpmn2Package.LANE:
			return createLane();
		case Bpmn2Package.LANE_SET:
			return createLaneSet();
		case Bpmn2Package.LINK_EVENT_DEFINITION:
			return createLinkEventDefinition();
		case Bpmn2Package.MANUAL_TASK:
			return createManualTask();
		case Bpmn2Package.MESSAGE:
			return createMessage();
		case Bpmn2Package.MESSAGE_EVENT_DEFINITION:
			return createMessageEventDefinition();
		case Bpmn2Package.MESSAGE_FLOW:
			return createMessageFlow();
		case Bpmn2Package.MESSAGE_FLOW_ASSOCIATION:
			return createMessageFlowAssociation();
		case Bpmn2Package.MONITORING:
			return createMonitoring();
		case Bpmn2Package.MULTI_INSTANCE_LOOP_CHARACTERISTICS:
			return createMultiInstanceLoopCharacteristics();
		case Bpmn2Package.OPERATION:
			return createOperation();
		case Bpmn2Package.OUTPUT_SET:
			return createOutputSet();
		case Bpmn2Package.PARALLEL_GATEWAY:
			return createParallelGateway();
		case Bpmn2Package.PARTICIPANT:
			return createParticipant();
		case Bpmn2Package.PARTICIPANT_ASSOCIATION:
			return createParticipantAssociation();
		case Bpmn2Package.PARTICIPANT_MULTIPLICITY:
			return createParticipantMultiplicity();
		case Bpmn2Package.PARTNER_ENTITY:
			return createPartnerEntity();
		case Bpmn2Package.PARTNER_ROLE:
			return createPartnerRole();
		case Bpmn2Package.PERFORMER:
			return createPerformer();
		case Bpmn2Package.POTENTIAL_OWNER:
			return createPotentialOwner();
		case Bpmn2Package.PROCESS:
			return createProcess();
		case Bpmn2Package.PROPERTY:
			return createProperty();
		case Bpmn2Package.RECEIVE_TASK:
			return createReceiveTask();
		case Bpmn2Package.RELATIONSHIP:
			return createRelationship();
		case Bpmn2Package.RENDERING:
			return createRendering();
		case Bpmn2Package.RESOURCE:
			return createResource();
		case Bpmn2Package.RESOURCE_ASSIGNMENT_EXPRESSION:
			return createResourceAssignmentExpression();
		case Bpmn2Package.RESOURCE_PARAMETER:
			return createResourceParameter();
		case Bpmn2Package.RESOURCE_PARAMETER_BINDING:
			return createResourceParameterBinding();
		case Bpmn2Package.RESOURCE_ROLE:
			return createResourceRole();
		case Bpmn2Package.ROOT_ELEMENT:
			return createRootElement();
		case Bpmn2Package.SCRIPT_TASK:
			return createScriptTask();
		case Bpmn2Package.SEND_TASK:
			return createSendTask();
		case Bpmn2Package.SEQUENCE_FLOW:
			return createSequenceFlow();
		case Bpmn2Package.SERVICE_TASK:
			return createServiceTask();
		case Bpmn2Package.SIGNAL:
			return createSignal();
		case Bpmn2Package.SIGNAL_EVENT_DEFINITION:
			return createSignalEventDefinition();
		case Bpmn2Package.STANDARD_LOOP_CHARACTERISTICS:
			return createStandardLoopCharacteristics();
		case Bpmn2Package.START_EVENT:
			return createStartEvent();
		case Bpmn2Package.SUB_CHOREOGRAPHY:
			return createSubChoreography();
		case Bpmn2Package.SUB_CONVERSATION:
			return createSubConversation();
		case Bpmn2Package.SUB_PROCESS:
			return createSubProcess();
		case Bpmn2Package.TASK:
			return createTask();
		case Bpmn2Package.TERMINATE_EVENT_DEFINITION:
			return createTerminateEventDefinition();
		case Bpmn2Package.TEXT_ANNOTATION:
			return createTextAnnotation();
		case Bpmn2Package.TIMER_EVENT_DEFINITION:
			return createTimerEventDefinition();
		case Bpmn2Package.TRANSACTION:
			return createTransaction();
		case Bpmn2Package.USER_TASK:
			return createUserTask();
		case Bpmn2Package.EVENT_SUBPROCESS:
			return createEventSubprocess();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Object createFromString(EDataType eDataType, String initialValue) {
		switch (eDataType.getClassifierID()) {
		case Bpmn2Package.AD_HOC_ORDERING:
			return createAdHocOrderingFromString(eDataType, initialValue);
		case Bpmn2Package.ASSOCIATION_DIRECTION:
			return createAssociationDirectionFromString(eDataType, initialValue);
		case Bpmn2Package.CHOREOGRAPHY_LOOP_TYPE:
			return createChoreographyLoopTypeFromString(eDataType, initialValue);
		case Bpmn2Package.EVENT_BASED_GATEWAY_TYPE:
			return createEventBasedGatewayTypeFromString(eDataType, initialValue);
		case Bpmn2Package.GATEWAY_DIRECTION:
			return createGatewayDirectionFromString(eDataType, initialValue);
		case Bpmn2Package.ITEM_KIND:
			return createItemKindFromString(eDataType, initialValue);
		case Bpmn2Package.MULTI_INSTANCE_BEHAVIOR:
			return createMultiInstanceBehaviorFromString(eDataType, initialValue);
		case Bpmn2Package.PROCESS_TYPE:
			return createProcessTypeFromString(eDataType, initialValue);
		case Bpmn2Package.RELATIONSHIP_DIRECTION:
			return createRelationshipDirectionFromString(eDataType, initialValue);
		default:
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public String convertToString(EDataType eDataType, Object instanceValue) {
		switch (eDataType.getClassifierID()) {
		case Bpmn2Package.AD_HOC_ORDERING:
			return convertAdHocOrderingToString(eDataType, instanceValue);
		case Bpmn2Package.ASSOCIATION_DIRECTION:
			return convertAssociationDirectionToString(eDataType, instanceValue);
		case Bpmn2Package.CHOREOGRAPHY_LOOP_TYPE:
			return convertChoreographyLoopTypeToString(eDataType, instanceValue);
		case Bpmn2Package.EVENT_BASED_GATEWAY_TYPE:
			return convertEventBasedGatewayTypeToString(eDataType, instanceValue);
		case Bpmn2Package.GATEWAY_DIRECTION:
			return convertGatewayDirectionToString(eDataType, instanceValue);
		case Bpmn2Package.ITEM_KIND:
			return convertItemKindToString(eDataType, instanceValue);
		case Bpmn2Package.MULTI_INSTANCE_BEHAVIOR:
			return convertMultiInstanceBehaviorToString(eDataType, instanceValue);
		case Bpmn2Package.PROCESS_TYPE:
			return convertProcessTypeToString(eDataType, instanceValue);
		case Bpmn2Package.RELATIONSHIP_DIRECTION:
			return convertRelationshipDirectionToString(eDataType, instanceValue);
		default:
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
		}
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DocumentRoot createDocumentRoot() {
		DocumentRootImpl documentRoot = new DocumentRootImpl();
		return documentRoot;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Activity createActivity() {
		ActivityImpl activity = new ActivityImpl();
		return activity;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public AdHocSubProcess createAdHocSubProcess() {
		AdHocSubProcessImpl adHocSubProcess = new AdHocSubProcessImpl();
		return adHocSubProcess;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Artifact createArtifact() {
		ArtifactImpl artifact = new ArtifactImpl();
		return artifact;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Assignment createAssignment() {
		AssignmentImpl assignment = new AssignmentImpl();
		return assignment;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Association createAssociation() {
		AssociationImpl association = new AssociationImpl();
		return association;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Auditing createAuditing() {
		AuditingImpl auditing = new AuditingImpl();
		return auditing;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public BaseElement createBaseElement() {
		BaseElementImpl baseElement = new BaseElementImpl();
		return baseElement;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public BoundaryEvent createBoundaryEvent() {
		BoundaryEventImpl boundaryEvent = new BoundaryEventImpl();
		return boundaryEvent;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public BusinessRuleTask createBusinessRuleTask() {
		BusinessRuleTaskImpl businessRuleTask = new BusinessRuleTaskImpl();
		return businessRuleTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CallActivity createCallActivity() {
		CallActivityImpl callActivity = new CallActivityImpl();
		return callActivity;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CallChoreography createCallChoreography() {
		CallChoreographyImpl callChoreography = new CallChoreographyImpl();
		return callChoreography;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CallConversation createCallConversation() {
		CallConversationImpl callConversation = new CallConversationImpl();
		return callConversation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CallableElement createCallableElement() {
		CallableElementImpl callableElement = new CallableElementImpl();
		return callableElement;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CancelEventDefinition createCancelEventDefinition() {
		CancelEventDefinitionImpl cancelEventDefinition = new CancelEventDefinitionImpl();
		return cancelEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Category createCategory() {
		CategoryImpl category = new CategoryImpl();
		return category;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CategoryValue createCategoryValue() {
		CategoryValueImpl categoryValue = new CategoryValueImpl();
		return categoryValue;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Choreography createChoreography() {
		ChoreographyImpl choreography = new ChoreographyImpl();
		return choreography;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ChoreographyTask createChoreographyTask() {
		ChoreographyTaskImpl choreographyTask = new ChoreographyTaskImpl();
		return choreographyTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Collaboration createCollaboration() {
		CollaborationImpl collaboration = new CollaborationImpl();
		return collaboration;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CompensateEventDefinition createCompensateEventDefinition() {
		CompensateEventDefinitionImpl compensateEventDefinition = new CompensateEventDefinitionImpl();
		return compensateEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ComplexBehaviorDefinition createComplexBehaviorDefinition() {
		ComplexBehaviorDefinitionImpl complexBehaviorDefinition = new ComplexBehaviorDefinitionImpl();
		return complexBehaviorDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ComplexGateway createComplexGateway() {
		ComplexGatewayImpl complexGateway = new ComplexGatewayImpl();
		return complexGateway;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ConditionalEventDefinition createConditionalEventDefinition() {
		ConditionalEventDefinitionImpl conditionalEventDefinition = new ConditionalEventDefinitionImpl();
		return conditionalEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Conversation createConversation() {
		ConversationImpl conversation = new ConversationImpl();
		return conversation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ConversationAssociation createConversationAssociation() {
		ConversationAssociationImpl conversationAssociation = new ConversationAssociationImpl();
		return conversationAssociation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ConversationLink createConversationLink() {
		ConversationLinkImpl conversationLink = new ConversationLinkImpl();
		return conversationLink;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ConversationNode createConversationNode() {
		ConversationNodeImpl conversationNode = new ConversationNodeImpl();
		return conversationNode;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CorrelationKey createCorrelationKey() {
		CorrelationKeyImpl correlationKey = new CorrelationKeyImpl();
		return correlationKey;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CorrelationProperty createCorrelationProperty() {
		CorrelationPropertyImpl correlationProperty = new CorrelationPropertyImpl();
		return correlationProperty;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CorrelationPropertyBinding createCorrelationPropertyBinding() {
		CorrelationPropertyBindingImpl correlationPropertyBinding = new CorrelationPropertyBindingImpl();
		return correlationPropertyBinding;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CorrelationPropertyRetrievalExpression createCorrelationPropertyRetrievalExpression() {
		CorrelationPropertyRetrievalExpressionImpl correlationPropertyRetrievalExpression = new CorrelationPropertyRetrievalExpressionImpl();
		return correlationPropertyRetrievalExpression;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public CorrelationSubscription createCorrelationSubscription() {
		CorrelationSubscriptionImpl correlationSubscription = new CorrelationSubscriptionImpl();
		return correlationSubscription;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataAssociation createDataAssociation() {
		DataAssociationImpl dataAssociation = new DataAssociationImpl();
		return dataAssociation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataInput createDataInput() {
		DataInputImpl dataInput = new DataInputImpl();
		return dataInput;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataInputAssociation createDataInputAssociation() {
		DataInputAssociationImpl dataInputAssociation = new DataInputAssociationImpl();
		return dataInputAssociation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataObject createDataObject() {
		DataObjectImpl dataObject = new DataObjectImpl();
		return dataObject;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataObjectReference createDataObjectReference() {
		DataObjectReferenceImpl dataObjectReference = new DataObjectReferenceImpl();
		return dataObjectReference;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataOutput createDataOutput() {
		DataOutputImpl dataOutput = new DataOutputImpl();
		return dataOutput;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataOutputAssociation createDataOutputAssociation() {
		DataOutputAssociationImpl dataOutputAssociation = new DataOutputAssociationImpl();
		return dataOutputAssociation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataState createDataState() {
		DataStateImpl dataState = new DataStateImpl();
		return dataState;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataStore createDataStore() {
		DataStoreImpl dataStore = new DataStoreImpl();
		return dataStore;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public DataStoreReference createDataStoreReference() {
		DataStoreReferenceImpl dataStoreReference = new DataStoreReferenceImpl();
		return dataStoreReference;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Definitions createDefinitions() {
		DefinitionsImpl definitions = new DefinitionsImpl();
		return definitions;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Documentation createDocumentation() {
		DocumentationImpl documentation = new DocumentationImpl();
		return documentation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public EndEvent createEndEvent() {
		EndEventImpl endEvent = new EndEventImpl();
		return endEvent;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public EndPoint createEndPoint() {
		EndPointImpl endPoint = new EndPointImpl();
		return endPoint;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public org.eclipse.bpmn2.Error createError() {
		ErrorImpl error = new ErrorImpl();
		return error;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ErrorEventDefinition createErrorEventDefinition() {
		ErrorEventDefinitionImpl errorEventDefinition = new ErrorEventDefinitionImpl();
		return errorEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Escalation createEscalation() {
		EscalationImpl escalation = new EscalationImpl();
		return escalation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public EscalationEventDefinition createEscalationEventDefinition() {
		EscalationEventDefinitionImpl escalationEventDefinition = new EscalationEventDefinitionImpl();
		return escalationEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public EventBasedGateway createEventBasedGateway() {
		EventBasedGatewayImpl eventBasedGateway = new EventBasedGatewayImpl();
		return eventBasedGateway;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public EventDefinition createEventDefinition() {
		EventDefinitionImpl eventDefinition = new EventDefinitionImpl();
		return eventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ExclusiveGateway createExclusiveGateway() {
		ExclusiveGatewayImpl exclusiveGateway = new ExclusiveGatewayImpl();
		return exclusiveGateway;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Expression createExpression() {
		ExpressionImpl expression = new ExpressionImpl();
		return expression;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Extension createExtension() {
		ExtensionImpl extension = new ExtensionImpl();
		return extension;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ExtensionAttributeDefinition createExtensionAttributeDefinition() {
		ExtensionAttributeDefinitionImpl extensionAttributeDefinition = new ExtensionAttributeDefinitionImpl();
		return extensionAttributeDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ExtensionAttributeValue createExtensionAttributeValue() {
		ExtensionAttributeValueImpl extensionAttributeValue = new ExtensionAttributeValueImpl();
		return extensionAttributeValue;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ExtensionDefinition createExtensionDefinition() {
		ExtensionDefinitionImpl extensionDefinition = new ExtensionDefinitionImpl();
		return extensionDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public FormalExpression createFormalExpression() {
		FormalExpressionImpl formalExpression = new FormalExpressionImpl();
		return formalExpression;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public GlobalBusinessRuleTask createGlobalBusinessRuleTask() {
		GlobalBusinessRuleTaskImpl globalBusinessRuleTask = new GlobalBusinessRuleTaskImpl();
		return globalBusinessRuleTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public GlobalChoreographyTask createGlobalChoreographyTask() {
		GlobalChoreographyTaskImpl globalChoreographyTask = new GlobalChoreographyTaskImpl();
		return globalChoreographyTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public GlobalConversation createGlobalConversation() {
		GlobalConversationImpl globalConversation = new GlobalConversationImpl();
		return globalConversation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public GlobalManualTask createGlobalManualTask() {
		GlobalManualTaskImpl globalManualTask = new GlobalManualTaskImpl();
		return globalManualTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public GlobalScriptTask createGlobalScriptTask() {
		GlobalScriptTaskImpl globalScriptTask = new GlobalScriptTaskImpl();
		return globalScriptTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public GlobalTask createGlobalTask() {
		GlobalTaskImpl globalTask = new GlobalTaskImpl();
		return globalTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public GlobalUserTask createGlobalUserTask() {
		GlobalUserTaskImpl globalUserTask = new GlobalUserTaskImpl();
		return globalUserTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Group createGroup() {
		GroupImpl group = new GroupImpl();
		return group;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public HumanPerformer createHumanPerformer() {
		HumanPerformerImpl humanPerformer = new HumanPerformerImpl();
		return humanPerformer;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ImplicitThrowEvent createImplicitThrowEvent() {
		ImplicitThrowEventImpl implicitThrowEvent = new ImplicitThrowEventImpl();
		return implicitThrowEvent;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Import createImport() {
		ImportImpl import_ = new ImportImpl();
		return import_;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public InclusiveGateway createInclusiveGateway() {
		InclusiveGatewayImpl inclusiveGateway = new InclusiveGatewayImpl();
		return inclusiveGateway;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public InputOutputBinding createInputOutputBinding() {
		InputOutputBindingImpl inputOutputBinding = new InputOutputBindingImpl();
		return inputOutputBinding;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public InputOutputSpecification createInputOutputSpecification() {
		InputOutputSpecificationImpl inputOutputSpecification = new InputOutputSpecificationImpl();
		return inputOutputSpecification;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public InputSet createInputSet() {
		InputSetImpl inputSet = new InputSetImpl();
		return inputSet;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public InteractionNode createInteractionNode() {
		InteractionNodeImpl interactionNode = new InteractionNodeImpl();
		return interactionNode;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Interface createInterface() {
		InterfaceImpl interface_ = new InterfaceImpl();
		return interface_;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public IntermediateCatchEvent createIntermediateCatchEvent() {
		IntermediateCatchEventImpl intermediateCatchEvent = new IntermediateCatchEventImpl();
		return intermediateCatchEvent;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public IntermediateThrowEvent createIntermediateThrowEvent() {
		IntermediateThrowEventImpl intermediateThrowEvent = new IntermediateThrowEventImpl();
		return intermediateThrowEvent;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ItemAwareElement createItemAwareElement() {
		ItemAwareElementImpl itemAwareElement = new ItemAwareElementImpl();
		return itemAwareElement;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ItemDefinition createItemDefinition() {
		ItemDefinitionImpl itemDefinition = new ItemDefinitionImpl();
		return itemDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Lane createLane() {
		LaneImpl lane = new LaneImpl();
		return lane;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public LaneSet createLaneSet() {
		LaneSetImpl laneSet = new LaneSetImpl();
		return laneSet;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public LinkEventDefinition createLinkEventDefinition() {
		LinkEventDefinitionImpl linkEventDefinition = new LinkEventDefinitionImpl();
		return linkEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ManualTask createManualTask() {
		ManualTaskImpl manualTask = new ManualTaskImpl();
		return manualTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Message createMessage() {
		MessageImpl message = new MessageImpl();
		return message;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public MessageEventDefinition createMessageEventDefinition() {
		MessageEventDefinitionImpl messageEventDefinition = new MessageEventDefinitionImpl();
		return messageEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public MessageFlow createMessageFlow() {
		MessageFlowImpl messageFlow = new MessageFlowImpl();
		return messageFlow;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public MessageFlowAssociation createMessageFlowAssociation() {
		MessageFlowAssociationImpl messageFlowAssociation = new MessageFlowAssociationImpl();
		return messageFlowAssociation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Monitoring createMonitoring() {
		MonitoringImpl monitoring = new MonitoringImpl();
		return monitoring;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public MultiInstanceLoopCharacteristics createMultiInstanceLoopCharacteristics() {
		MultiInstanceLoopCharacteristicsImpl multiInstanceLoopCharacteristics = new MultiInstanceLoopCharacteristicsImpl();
		return multiInstanceLoopCharacteristics;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Operation createOperation() {
		OperationImpl operation = new OperationImpl();
		return operation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public OutputSet createOutputSet() {
		OutputSetImpl outputSet = new OutputSetImpl();
		return outputSet;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ParallelGateway createParallelGateway() {
		ParallelGatewayImpl parallelGateway = new ParallelGatewayImpl();
		return parallelGateway;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Participant createParticipant() {
		ParticipantImpl participant = new ParticipantImpl();
		return participant;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ParticipantAssociation createParticipantAssociation() {
		ParticipantAssociationImpl participantAssociation = new ParticipantAssociationImpl();
		return participantAssociation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ParticipantMultiplicity createParticipantMultiplicity() {
		ParticipantMultiplicityImpl participantMultiplicity = new ParticipantMultiplicityImpl();
		return participantMultiplicity;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public PartnerEntity createPartnerEntity() {
		PartnerEntityImpl partnerEntity = new PartnerEntityImpl();
		return partnerEntity;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public PartnerRole createPartnerRole() {
		PartnerRoleImpl partnerRole = new PartnerRoleImpl();
		return partnerRole;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Performer createPerformer() {
		PerformerImpl performer = new PerformerImpl();
		return performer;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public PotentialOwner createPotentialOwner() {
		PotentialOwnerImpl potentialOwner = new PotentialOwnerImpl();
		return potentialOwner;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public org.eclipse.bpmn2.Process createProcess() {
		ProcessImpl process = new ProcessImpl();
		return process;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Property createProperty() {
		PropertyImpl property = new PropertyImpl();
		return property;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ReceiveTask createReceiveTask() {
		ReceiveTaskImpl receiveTask = new ReceiveTaskImpl();
		return receiveTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Relationship createRelationship() {
		RelationshipImpl relationship = new RelationshipImpl();
		return relationship;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Rendering createRendering() {
		RenderingImpl rendering = new RenderingImpl();
		return rendering;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Resource createResource() {
		ResourceImpl resource = new ResourceImpl();
		return resource;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ResourceAssignmentExpression createResourceAssignmentExpression() {
		ResourceAssignmentExpressionImpl resourceAssignmentExpression = new ResourceAssignmentExpressionImpl();
		return resourceAssignmentExpression;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ResourceParameter createResourceParameter() {
		ResourceParameterImpl resourceParameter = new ResourceParameterImpl();
		return resourceParameter;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ResourceParameterBinding createResourceParameterBinding() {
		ResourceParameterBindingImpl resourceParameterBinding = new ResourceParameterBindingImpl();
		return resourceParameterBinding;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ResourceRole createResourceRole() {
		ResourceRoleImpl resourceRole = new ResourceRoleImpl();
		return resourceRole;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public RootElement createRootElement() {
		RootElementImpl rootElement = new RootElementImpl();
		return rootElement;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ScriptTask createScriptTask() {
		ScriptTaskImpl scriptTask = new ScriptTaskImpl();
		return scriptTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public SendTask createSendTask() {
		SendTaskImpl sendTask = new SendTaskImpl();
		return sendTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public SequenceFlow createSequenceFlow() {
		SequenceFlowImpl sequenceFlow = new SequenceFlowImpl();
		return sequenceFlow;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public ServiceTask createServiceTask() {
		ServiceTaskImpl serviceTask = new ServiceTaskImpl();
		return serviceTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Signal createSignal() {
		SignalImpl signal = new SignalImpl();
		return signal;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public SignalEventDefinition createSignalEventDefinition() {
		SignalEventDefinitionImpl signalEventDefinition = new SignalEventDefinitionImpl();
		return signalEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public StandardLoopCharacteristics createStandardLoopCharacteristics() {
		StandardLoopCharacteristicsImpl standardLoopCharacteristics = new StandardLoopCharacteristicsImpl();
		return standardLoopCharacteristics;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public StartEvent createStartEvent() {
		StartEventImpl startEvent = new StartEventImpl();
		return startEvent;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public SubChoreography createSubChoreography() {
		SubChoreographyImpl subChoreography = new SubChoreographyImpl();
		return subChoreography;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public SubConversation createSubConversation() {
		SubConversationImpl subConversation = new SubConversationImpl();
		return subConversation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public SubProcess createSubProcess() {
		SubProcessImpl subProcess = new SubProcessImpl();
		return subProcess;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Task createTask() {
		TaskImpl task = new TaskImpl();
		return task;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public TerminateEventDefinition createTerminateEventDefinition() {
		TerminateEventDefinitionImpl terminateEventDefinition = new TerminateEventDefinitionImpl();
		return terminateEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public TextAnnotation createTextAnnotation() {
		TextAnnotationImpl textAnnotation = new TextAnnotationImpl();
		return textAnnotation;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public TimerEventDefinition createTimerEventDefinition() {
		TimerEventDefinitionImpl timerEventDefinition = new TimerEventDefinitionImpl();
		return timerEventDefinition;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Transaction createTransaction() {
		TransactionImpl transaction = new TransactionImpl();
		return transaction;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public UserTask createUserTask() {
		UserTaskImpl userTask = new UserTaskImpl();
		return userTask;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public EventSubprocess createEventSubprocess() {
		EventSubprocessImpl eventSubprocess = new EventSubprocessImpl();
		return eventSubprocess;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public AdHocOrdering createAdHocOrderingFromString(EDataType eDataType, String initialValue) {
		AdHocOrdering result = AdHocOrdering.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException(
					"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertAdHocOrderingToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @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;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertAssociationDirectionToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public ChoreographyLoopType createChoreographyLoopTypeFromString(EDataType eDataType, String initialValue) {
		ChoreographyLoopType result = ChoreographyLoopType.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException(
					"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertChoreographyLoopTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public EventBasedGatewayType createEventBasedGatewayTypeFromString(EDataType eDataType, String initialValue) {
		EventBasedGatewayType result = EventBasedGatewayType.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException(
					"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertEventBasedGatewayTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @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;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertGatewayDirectionToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public ItemKind createItemKindFromString(EDataType eDataType, String initialValue) {
		ItemKind result = ItemKind.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException(
					"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertItemKindToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public MultiInstanceBehavior createMultiInstanceBehaviorFromString(EDataType eDataType, String initialValue) {
		MultiInstanceBehavior result = MultiInstanceBehavior.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException(
					"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertMultiInstanceBehaviorToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public ProcessType createProcessTypeFromString(EDataType eDataType, String initialValue) {
		ProcessType result = ProcessType.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException(
					"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertProcessTypeToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public RelationshipDirection createRelationshipDirectionFromString(EDataType eDataType, String initialValue) {
		RelationshipDirection result = RelationshipDirection.get(initialValue);
		if (result == null)
			throw new IllegalArgumentException(
					"The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
		return result;
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	public String convertRelationshipDirectionToString(EDataType eDataType, Object instanceValue) {
		return instanceValue == null ? null : instanceValue.toString();
	}

	/**
	 * 
	 * 
	 * @generated
	 */
	@Override
	public Bpmn2Package getBpmn2Package() {
		return (Bpmn2Package) getEPackage();
	}

	/**
	 * 
	 * 
	 * @deprecated
	 * @generated
	 */
	@Deprecated
	public static Bpmn2Package getPackage() {
		return Bpmn2Package.eINSTANCE;
	}

} //Bpmn2FactoryImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy