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

org.nasdanika.models.rules.java.util.JavaSwitch Maven / Gradle / Ivy

/**
 */
package org.nasdanika.models.rules.java.util;

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

import org.eclipse.emf.ecore.util.Switch;

import org.nasdanika.common.Adaptable;

import org.nasdanika.drawio.model.SemanticElement;

import org.nasdanika.graph.model.Connection;
import org.nasdanika.graph.model.ConnectionSource;
import org.nasdanika.graph.model.ConnectionTarget;
import org.nasdanika.graph.model.DocumentedNamedConnectionSource;
import org.nasdanika.graph.model.DocumentedNamedConnectionTarget;
import org.nasdanika.graph.model.DocumentedNamedGraphElement;
import org.nasdanika.graph.model.GraphElement;

import org.nasdanika.models.architecture.ArchitectureDescriptionElement;
import org.nasdanika.models.architecture.ArchitectureElement;
import org.nasdanika.models.architecture.Node;
import org.nasdanika.models.architecture.RelationshipSource;
import org.nasdanika.models.architecture.RelationshipTarget;
import org.nasdanika.models.architecture.Undergoer;

import org.nasdanika.models.rules.Action;

import org.nasdanika.models.rules.java.*;

import org.nasdanika.ncore.Documented;
import org.nasdanika.ncore.DocumentedNamedElement;
import org.nasdanika.ncore.DocumentedNamedStringIdentity;
import org.nasdanika.ncore.ModelElement;
import org.nasdanika.ncore.NamedElement;
import org.nasdanika.ncore.Period;
import org.nasdanika.ncore.StringIdentity;

import org.nasdanika.persistence.Marked;

/**
 * 
 * The Switch for the model's inheritance hierarchy.
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
 * to invoke the caseXXX method for each class of the model,
 * starting with the actual class of the object
 * and proceeding up the inheritance hierarchy
 * until a non-null result is returned,
 * which is the result of the switch.
 * 
 * @see org.nasdanika.models.rules.java.JavaPackage
 * @generated
 */
public class JavaSwitch extends Switch {
	/**
	 * The cached model package
	 * 
	 * 
	 * @generated
	 */
	protected static JavaPackage modelPackage;

	/**
	 * Creates an instance of the switch.
	 * 
	 * 
	 * @generated
	 */
	public JavaSwitch() {
		if (modelPackage == null) {
			modelPackage = JavaPackage.eINSTANCE;
		}
	}

	/**
	 * Checks whether this is a switch for the given package.
	 * 
	 * 
	 * @param ePackage the package in question.
	 * @return whether this is a switch for the given package.
	 * @generated
	 */
	@Override
	protected boolean isSwitchFor(EPackage ePackage) {
		return ePackage == modelPackage;
	}

	/**
	 * Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
	 * 
	 * 
	 * @return the first non-null result returned by a caseXXX call.
	 * @generated
	 */
	@Override
	protected T doSwitch(int classifierID, EObject theEObject) {
		switch (classifierID) {
			case JavaPackage.COMPILATION_UNIT_ACTION: {
				CompilationUnitAction compilationUnitAction = (CompilationUnitAction)theEObject;
				T result = caseCompilationUnitAction(compilationUnitAction);
				if (result == null) result = caseAction(compilationUnitAction);
				if (result == null) result = caseNode(compilationUnitAction);
				if (result == null) result = caseRelationshipSource(compilationUnitAction);
				if (result == null) result = caseRelationshipTarget(compilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionSource(compilationUnitAction);
				if (result == null) result = caseArchitectureDescriptionElement(compilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionTarget(compilationUnitAction);
				if (result == null) result = caseDocumentedNamedGraphElement(compilationUnitAction);
				if (result == null) result = caseConnectionSource(compilationUnitAction);
				if (result == null) result = caseArchitectureElement(compilationUnitAction);
				if (result == null) result = caseUndergoer(compilationUnitAction);
				if (result == null) result = caseConnectionTarget(compilationUnitAction);
				if (result == null) result = caseGraphElement(compilationUnitAction);
				if (result == null) result = caseDocumentedNamedStringIdentity(compilationUnitAction);
				if (result == null) result = casePeriod(compilationUnitAction);
				if (result == null) result = caseStringIdentity(compilationUnitAction);
				if (result == null) result = caseSemanticElement(compilationUnitAction);
				if (result == null) result = caseDocumentedNamedElement(compilationUnitAction);
				if (result == null) result = caseNamedElement(compilationUnitAction);
				if (result == null) result = caseDocumented(compilationUnitAction);
				if (result == null) result = caseModelElement(compilationUnitAction);
				if (result == null) result = caseMarked(compilationUnitAction);
				if (result == null) result = caseAdaptable(compilationUnitAction);
				if (result == null) result = caseIMarked(compilationUnitAction);
				if (result == null) result = defaultCase(theEObject);
				return result;
			}
			case JavaPackage.CREATE_COMPILATION_UNIT_ACTION: {
				CreateCompilationUnitAction createCompilationUnitAction = (CreateCompilationUnitAction)theEObject;
				T result = caseCreateCompilationUnitAction(createCompilationUnitAction);
				if (result == null) result = caseCompilationUnitAction(createCompilationUnitAction);
				if (result == null) result = caseAction(createCompilationUnitAction);
				if (result == null) result = caseNode(createCompilationUnitAction);
				if (result == null) result = caseRelationshipSource(createCompilationUnitAction);
				if (result == null) result = caseRelationshipTarget(createCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionSource(createCompilationUnitAction);
				if (result == null) result = caseArchitectureDescriptionElement(createCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionTarget(createCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedGraphElement(createCompilationUnitAction);
				if (result == null) result = caseConnectionSource(createCompilationUnitAction);
				if (result == null) result = caseArchitectureElement(createCompilationUnitAction);
				if (result == null) result = caseUndergoer(createCompilationUnitAction);
				if (result == null) result = caseConnectionTarget(createCompilationUnitAction);
				if (result == null) result = caseGraphElement(createCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedStringIdentity(createCompilationUnitAction);
				if (result == null) result = casePeriod(createCompilationUnitAction);
				if (result == null) result = caseStringIdentity(createCompilationUnitAction);
				if (result == null) result = caseSemanticElement(createCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedElement(createCompilationUnitAction);
				if (result == null) result = caseNamedElement(createCompilationUnitAction);
				if (result == null) result = caseDocumented(createCompilationUnitAction);
				if (result == null) result = caseModelElement(createCompilationUnitAction);
				if (result == null) result = caseMarked(createCompilationUnitAction);
				if (result == null) result = caseAdaptable(createCompilationUnitAction);
				if (result == null) result = caseIMarked(createCompilationUnitAction);
				if (result == null) result = defaultCase(theEObject);
				return result;
			}
			case JavaPackage.DELETE_COMPILATION_UNIT_ACTION: {
				DeleteCompilationUnitAction deleteCompilationUnitAction = (DeleteCompilationUnitAction)theEObject;
				T result = caseDeleteCompilationUnitAction(deleteCompilationUnitAction);
				if (result == null) result = caseCompilationUnitAction(deleteCompilationUnitAction);
				if (result == null) result = caseAction(deleteCompilationUnitAction);
				if (result == null) result = caseNode(deleteCompilationUnitAction);
				if (result == null) result = caseRelationshipSource(deleteCompilationUnitAction);
				if (result == null) result = caseRelationshipTarget(deleteCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionSource(deleteCompilationUnitAction);
				if (result == null) result = caseArchitectureDescriptionElement(deleteCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionTarget(deleteCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedGraphElement(deleteCompilationUnitAction);
				if (result == null) result = caseConnectionSource(deleteCompilationUnitAction);
				if (result == null) result = caseArchitectureElement(deleteCompilationUnitAction);
				if (result == null) result = caseUndergoer(deleteCompilationUnitAction);
				if (result == null) result = caseConnectionTarget(deleteCompilationUnitAction);
				if (result == null) result = caseGraphElement(deleteCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedStringIdentity(deleteCompilationUnitAction);
				if (result == null) result = casePeriod(deleteCompilationUnitAction);
				if (result == null) result = caseStringIdentity(deleteCompilationUnitAction);
				if (result == null) result = caseSemanticElement(deleteCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedElement(deleteCompilationUnitAction);
				if (result == null) result = caseNamedElement(deleteCompilationUnitAction);
				if (result == null) result = caseDocumented(deleteCompilationUnitAction);
				if (result == null) result = caseModelElement(deleteCompilationUnitAction);
				if (result == null) result = caseMarked(deleteCompilationUnitAction);
				if (result == null) result = caseAdaptable(deleteCompilationUnitAction);
				if (result == null) result = caseIMarked(deleteCompilationUnitAction);
				if (result == null) result = defaultCase(theEObject);
				return result;
			}
			case JavaPackage.UPDATE_COMPILATION_UNIT_ACTION: {
				UpdateCompilationUnitAction updateCompilationUnitAction = (UpdateCompilationUnitAction)theEObject;
				T result = caseUpdateCompilationUnitAction(updateCompilationUnitAction);
				if (result == null) result = caseCompilationUnitAction(updateCompilationUnitAction);
				if (result == null) result = caseAction(updateCompilationUnitAction);
				if (result == null) result = caseNode(updateCompilationUnitAction);
				if (result == null) result = caseRelationshipSource(updateCompilationUnitAction);
				if (result == null) result = caseRelationshipTarget(updateCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionSource(updateCompilationUnitAction);
				if (result == null) result = caseArchitectureDescriptionElement(updateCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedConnectionTarget(updateCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedGraphElement(updateCompilationUnitAction);
				if (result == null) result = caseConnectionSource(updateCompilationUnitAction);
				if (result == null) result = caseArchitectureElement(updateCompilationUnitAction);
				if (result == null) result = caseUndergoer(updateCompilationUnitAction);
				if (result == null) result = caseConnectionTarget(updateCompilationUnitAction);
				if (result == null) result = caseGraphElement(updateCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedStringIdentity(updateCompilationUnitAction);
				if (result == null) result = casePeriod(updateCompilationUnitAction);
				if (result == null) result = caseStringIdentity(updateCompilationUnitAction);
				if (result == null) result = caseSemanticElement(updateCompilationUnitAction);
				if (result == null) result = caseDocumentedNamedElement(updateCompilationUnitAction);
				if (result == null) result = caseNamedElement(updateCompilationUnitAction);
				if (result == null) result = caseDocumented(updateCompilationUnitAction);
				if (result == null) result = caseModelElement(updateCompilationUnitAction);
				if (result == null) result = caseMarked(updateCompilationUnitAction);
				if (result == null) result = caseAdaptable(updateCompilationUnitAction);
				if (result == null) result = caseIMarked(updateCompilationUnitAction);
				if (result == null) result = defaultCase(theEObject);
				return result;
			}
			default: return defaultCase(theEObject);
		}
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Compilation Unit Action'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Compilation Unit Action'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseCompilationUnitAction(CompilationUnitAction object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Create Compilation Unit Action'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Create Compilation Unit Action'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseCreateCompilationUnitAction(CreateCompilationUnitAction object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Delete Compilation Unit Action'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Delete Compilation Unit Action'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseDeleteCompilationUnitAction(DeleteCompilationUnitAction object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Update Compilation Unit Action'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Update Compilation Unit Action'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseUpdateCompilationUnitAction(UpdateCompilationUnitAction object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'String Identity'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'String Identity'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseStringIdentity(StringIdentity object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Semantic Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Semantic Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseSemanticElement(SemanticElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Graph Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Graph Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseGraphElement(GraphElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'IMarked'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'IMarked'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseIMarked(Marked object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Marked'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Marked'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseMarked(org.nasdanika.ncore.Marked object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Adaptable'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Adaptable'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseAdaptable(Adaptable object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Model Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Model Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseModelElement(ModelElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Named Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Named Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseNamedElement(NamedElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Documented'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Documented'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseDocumented(Documented object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Documented Named Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Documented Named Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseDocumentedNamedElement(DocumentedNamedElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Documented Named String Identity'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Documented Named String Identity'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseDocumentedNamedStringIdentity(DocumentedNamedStringIdentity object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Documented Named Graph Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Documented Named Graph Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseDocumentedNamedGraphElement(DocumentedNamedGraphElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Connection Source'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Connection Source'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public > T caseConnectionSource(ConnectionSource object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Documented Named Connection Source'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Documented Named Connection Source'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public > T caseDocumentedNamedConnectionSource(DocumentedNamedConnectionSource object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Period'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Period'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T casePeriod(Period object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseArchitectureElement(ArchitectureElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Undergoer'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Undergoer'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseUndergoer(Undergoer object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Description Element'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Description Element'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseArchitectureDescriptionElement(ArchitectureDescriptionElement object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Relationship Source'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Relationship Source'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseRelationshipSource(RelationshipSource object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Connection Target'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Connection Target'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public > T caseConnectionTarget(ConnectionTarget object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Documented Named Connection Target'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Documented Named Connection Target'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public > T caseDocumentedNamedConnectionTarget(DocumentedNamedConnectionTarget object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Relationship Target'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Relationship Target'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseRelationshipTarget(RelationshipTarget object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Node'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Node'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseNode(Node object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'Action'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'Action'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
	 * @generated
	 */
	public T caseAction(Action object) {
		return null;
	}

	/**
	 * Returns the result of interpreting the object as an instance of 'EObject'.
	 * 
	 * This implementation returns null;
	 * returning a non-null result will terminate the switch, but this is the last case anyway.
	 * 
	 * @param object the target of the switch.
	 * @return the result of interpreting the object as an instance of 'EObject'.
	 * @see #doSwitch(org.eclipse.emf.ecore.EObject)
	 * @generated
	 */
	@Override
	public T defaultCase(EObject object) {
		return null;
	}

} //JavaSwitch




© 2015 - 2024 Weber Informatics LLC | Privacy Policy