org.nasdanika.models.architecture.util.ArchitectureSwitch Maven / Gradle / Ivy
/**
*/
package org.nasdanika.models.architecture.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.DocumentedNamedConnection;
import org.nasdanika.graph.model.DocumentedNamedConnectionSource;
import org.nasdanika.graph.model.DocumentedNamedConnectionTarget;
import org.nasdanika.graph.model.DocumentedNamedGraph;
import org.nasdanika.graph.model.DocumentedNamedGraphElement;
import org.nasdanika.graph.model.DocumentedNamedTunnel;
import org.nasdanika.graph.model.Graph;
import org.nasdanika.graph.model.GraphElement;
import org.nasdanika.models.architecture.*;
import org.nasdanika.models.party.Party;
import org.nasdanika.models.party.Person;
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.architecture.ArchitecturePackage
* @generated
*/
public class ArchitectureSwitch extends Switch {
/**
* The cached model package
*
*
* @generated
*/
protected static ArchitecturePackage modelPackage;
/**
* Creates an instance of the switch.
*
*
* @generated
*/
public ArchitectureSwitch() {
if (modelPackage == null) {
modelPackage = ArchitecturePackage.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 T1 doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case ArchitecturePackage.ARCHITECTURE_ELEMENT: {
ArchitectureElement architectureElement = (ArchitectureElement)theEObject;
T1 result = caseArchitectureElement(architectureElement);
if (result == null) result = caseDocumentedNamedElement(architectureElement);
if (result == null) result = casePeriod(architectureElement);
if (result == null) result = caseNamedElement(architectureElement);
if (result == null) result = caseDocumented(architectureElement);
if (result == null) result = caseModelElement(architectureElement);
if (result == null) result = caseMarked(architectureElement);
if (result == null) result = caseAdaptable(architectureElement);
if (result == null) result = caseIMarked(architectureElement);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.ACTOR: {
Actor actor = (Actor)theEObject;
T1 result = caseActor(actor);
if (result == null) result = caseArchitectureElement(actor);
if (result == null) result = caseStringIdentity(actor);
if (result == null) result = caseDocumentedNamedElement(actor);
if (result == null) result = casePeriod(actor);
if (result == null) result = caseNamedElement(actor);
if (result == null) result = caseDocumented(actor);
if (result == null) result = caseModelElement(actor);
if (result == null) result = caseMarked(actor);
if (result == null) result = caseAdaptable(actor);
if (result == null) result = caseIMarked(actor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.PARTY_ACTOR: {
PartyActor partyActor = (PartyActor)theEObject;
T1 result = casePartyActor(partyActor);
if (result == null) result = caseActor(partyActor);
if (result == null) result = caseParty(partyActor);
if (result == null) result = caseArchitectureElement(partyActor);
if (result == null) result = caseDocumentedNamedStringIdentity(partyActor);
if (result == null) result = caseDocumentedNamedElement(partyActor);
if (result == null) result = casePeriod(partyActor);
if (result == null) result = caseStringIdentity(partyActor);
if (result == null) result = caseNamedElement(partyActor);
if (result == null) result = caseDocumented(partyActor);
if (result == null) result = caseModelElement(partyActor);
if (result == null) result = caseMarked(partyActor);
if (result == null) result = caseAdaptable(partyActor);
if (result == null) result = caseIMarked(partyActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.PERSON_ACTOR: {
PersonActor personActor = (PersonActor)theEObject;
T1 result = casePersonActor(personActor);
if (result == null) result = casePartyActor(personActor);
if (result == null) result = casePerson(personActor);
if (result == null) result = caseActor(personActor);
if (result == null) result = caseParty(personActor);
if (result == null) result = caseArchitectureElement(personActor);
if (result == null) result = caseDocumentedNamedStringIdentity(personActor);
if (result == null) result = caseDocumentedNamedElement(personActor);
if (result == null) result = casePeriod(personActor);
if (result == null) result = caseStringIdentity(personActor);
if (result == null) result = caseNamedElement(personActor);
if (result == null) result = caseDocumented(personActor);
if (result == null) result = caseModelElement(personActor);
if (result == null) result = caseMarked(personActor);
if (result == null) result = caseAdaptable(personActor);
if (result == null) result = caseIMarked(personActor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.ROLE: {
Role role = (Role)theEObject;
T1 result = caseRole(role);
if (result == null) result = caseArchitectureElement(role);
if (result == null) result = caseStringIdentity(role);
if (result == null) result = caseDocumentedNamedElement(role);
if (result == null) result = casePeriod(role);
if (result == null) result = caseNamedElement(role);
if (result == null) result = caseDocumented(role);
if (result == null) result = caseModelElement(role);
if (result == null) result = caseMarked(role);
if (result == null) result = caseAdaptable(role);
if (result == null) result = caseIMarked(role);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.UNDERGOER: {
Undergoer undergoer = (Undergoer)theEObject;
T1 result = caseUndergoer(undergoer);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.ARCHITECTURE_DESCRIPTION_ELEMENT: {
ArchitectureDescriptionElement architectureDescriptionElement = (ArchitectureDescriptionElement)theEObject;
T1 result = caseArchitectureDescriptionElement(architectureDescriptionElement);
if (result == null) result = caseDocumentedNamedGraphElement(architectureDescriptionElement);
if (result == null) result = caseArchitectureElement(architectureDescriptionElement);
if (result == null) result = caseUndergoer(architectureDescriptionElement);
if (result == null) result = caseGraphElement(architectureDescriptionElement);
if (result == null) result = caseDocumentedNamedStringIdentity(architectureDescriptionElement);
if (result == null) result = casePeriod(architectureDescriptionElement);
if (result == null) result = caseStringIdentity(architectureDescriptionElement);
if (result == null) result = caseSemanticElement(architectureDescriptionElement);
if (result == null) result = caseDocumentedNamedElement(architectureDescriptionElement);
if (result == null) result = caseNamedElement(architectureDescriptionElement);
if (result == null) result = caseDocumented(architectureDescriptionElement);
if (result == null) result = caseModelElement(architectureDescriptionElement);
if (result == null) result = caseMarked(architectureDescriptionElement);
if (result == null) result = caseAdaptable(architectureDescriptionElement);
if (result == null) result = caseIMarked(architectureDescriptionElement);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.ARCHITECTURE_DESCRIPTION: {
ArchitectureDescription architectureDescription = (ArchitectureDescription)theEObject;
T1 result = caseArchitectureDescription(architectureDescription);
if (result == null) result = caseDocumentedNamedGraph(architectureDescription);
if (result == null) result = caseArchitectureElement(architectureDescription);
if (result == null) result = caseUndergoer(architectureDescription);
if (result == null) result = caseGraph(architectureDescription);
if (result == null) result = caseDocumentedNamedElement(architectureDescription);
if (result == null) result = casePeriod(architectureDescription);
if (result == null) result = caseNamedElement(architectureDescription);
if (result == null) result = caseDocumented(architectureDescription);
if (result == null) result = caseModelElement(architectureDescription);
if (result == null) result = caseMarked(architectureDescription);
if (result == null) result = caseAdaptable(architectureDescription);
if (result == null) result = caseIMarked(architectureDescription);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.DOMAIN: {
Domain domain = (Domain)theEObject;
T1 result = caseDomain(domain);
if (result == null) result = caseArchitectureDescriptionElement(domain);
if (result == null) result = caseArchitectureDescription(domain);
if (result == null) result = caseDocumentedNamedGraphElement(domain);
if (result == null) result = caseArchitectureElement(domain);
if (result == null) result = caseUndergoer(domain);
if (result == null) result = caseDocumentedNamedGraph(domain);
if (result == null) result = caseGraphElement(domain);
if (result == null) result = caseDocumentedNamedStringIdentity(domain);
if (result == null) result = casePeriod(domain);
if (result == null) result = caseGraph(domain);
if (result == null) result = caseStringIdentity(domain);
if (result == null) result = caseSemanticElement(domain);
if (result == null) result = caseDocumentedNamedElement(domain);
if (result == null) result = caseNamedElement(domain);
if (result == null) result = caseDocumented(domain);
if (result == null) result = caseModelElement(domain);
if (result == null) result = caseMarked(domain);
if (result == null) result = caseAdaptable(domain);
if (result == null) result = caseIMarked(domain);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.RELATIONSHIP_TARGET: {
RelationshipTarget relationshipTarget = (RelationshipTarget)theEObject;
T1 result = caseRelationshipTarget(relationshipTarget);
if (result == null) result = caseArchitectureDescriptionElement(relationshipTarget);
if (result == null) result = caseDocumentedNamedConnectionTarget(relationshipTarget);
if (result == null) result = caseDocumentedNamedGraphElement(relationshipTarget);
if (result == null) result = caseArchitectureElement(relationshipTarget);
if (result == null) result = caseUndergoer(relationshipTarget);
if (result == null) result = caseConnectionTarget(relationshipTarget);
if (result == null) result = caseGraphElement(relationshipTarget);
if (result == null) result = caseDocumentedNamedStringIdentity(relationshipTarget);
if (result == null) result = casePeriod(relationshipTarget);
if (result == null) result = caseStringIdentity(relationshipTarget);
if (result == null) result = caseSemanticElement(relationshipTarget);
if (result == null) result = caseDocumentedNamedElement(relationshipTarget);
if (result == null) result = caseNamedElement(relationshipTarget);
if (result == null) result = caseDocumented(relationshipTarget);
if (result == null) result = caseModelElement(relationshipTarget);
if (result == null) result = caseMarked(relationshipTarget);
if (result == null) result = caseAdaptable(relationshipTarget);
if (result == null) result = caseIMarked(relationshipTarget);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.COMPOSITE_RELATIONSHIP_TARGET: {
CompositeRelationshipTarget compositeRelationshipTarget = (CompositeRelationshipTarget)theEObject;
T1 result = caseCompositeRelationshipTarget(compositeRelationshipTarget);
if (result == null) result = caseDomain(compositeRelationshipTarget);
if (result == null) result = caseRelationshipTarget(compositeRelationshipTarget);
if (result == null) result = caseArchitectureDescriptionElement(compositeRelationshipTarget);
if (result == null) result = caseArchitectureDescription(compositeRelationshipTarget);
if (result == null) result = caseDocumentedNamedConnectionTarget(compositeRelationshipTarget);
if (result == null) result = caseDocumentedNamedGraphElement(compositeRelationshipTarget);
if (result == null) result = caseArchitectureElement(compositeRelationshipTarget);
if (result == null) result = caseUndergoer(compositeRelationshipTarget);
if (result == null) result = caseDocumentedNamedGraph(compositeRelationshipTarget);
if (result == null) result = caseConnectionTarget(compositeRelationshipTarget);
if (result == null) result = caseGraphElement(compositeRelationshipTarget);
if (result == null) result = caseDocumentedNamedStringIdentity(compositeRelationshipTarget);
if (result == null) result = casePeriod(compositeRelationshipTarget);
if (result == null) result = caseGraph(compositeRelationshipTarget);
if (result == null) result = caseStringIdentity(compositeRelationshipTarget);
if (result == null) result = caseSemanticElement(compositeRelationshipTarget);
if (result == null) result = caseDocumentedNamedElement(compositeRelationshipTarget);
if (result == null) result = caseNamedElement(compositeRelationshipTarget);
if (result == null) result = caseDocumented(compositeRelationshipTarget);
if (result == null) result = caseModelElement(compositeRelationshipTarget);
if (result == null) result = caseMarked(compositeRelationshipTarget);
if (result == null) result = caseAdaptable(compositeRelationshipTarget);
if (result == null) result = caseIMarked(compositeRelationshipTarget);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.RELATIONSHIP: {
Relationship relationship = (Relationship)theEObject;
T1 result = caseRelationship(relationship);
if (result == null) result = caseDocumentedNamedConnection(relationship);
if (result == null) result = caseArchitectureElement(relationship);
if (result == null) result = caseUndergoer(relationship);
if (result == null) result = caseConnection(relationship);
if (result == null) result = caseDocumentedNamedStringIdentity(relationship);
if (result == null) result = casePeriod(relationship);
if (result == null) result = caseStringIdentity(relationship);
if (result == null) result = caseDocumentedNamedElement(relationship);
if (result == null) result = caseNamedElement(relationship);
if (result == null) result = caseDocumented(relationship);
if (result == null) result = caseModelElement(relationship);
if (result == null) result = caseMarked(relationship);
if (result == null) result = caseAdaptable(relationship);
if (result == null) result = caseIMarked(relationship);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.RELATIONSHIP_SOURCE: {
RelationshipSource relationshipSource = (RelationshipSource)theEObject;
T1 result = caseRelationshipSource(relationshipSource);
if (result == null) result = caseDocumentedNamedConnectionSource(relationshipSource);
if (result == null) result = caseArchitectureDescriptionElement(relationshipSource);
if (result == null) result = caseDocumentedNamedGraphElement(relationshipSource);
if (result == null) result = caseConnectionSource(relationshipSource);
if (result == null) result = caseArchitectureElement(relationshipSource);
if (result == null) result = caseUndergoer(relationshipSource);
if (result == null) result = caseGraphElement(relationshipSource);
if (result == null) result = caseDocumentedNamedStringIdentity(relationshipSource);
if (result == null) result = casePeriod(relationshipSource);
if (result == null) result = caseStringIdentity(relationshipSource);
if (result == null) result = caseSemanticElement(relationshipSource);
if (result == null) result = caseDocumentedNamedElement(relationshipSource);
if (result == null) result = caseNamedElement(relationshipSource);
if (result == null) result = caseDocumented(relationshipSource);
if (result == null) result = caseModelElement(relationshipSource);
if (result == null) result = caseMarked(relationshipSource);
if (result == null) result = caseAdaptable(relationshipSource);
if (result == null) result = caseIMarked(relationshipSource);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.COMPOSITE_RELATIONSHIP_SOURCE: {
CompositeRelationshipSource compositeRelationshipSource = (CompositeRelationshipSource)theEObject;
T1 result = caseCompositeRelationshipSource(compositeRelationshipSource);
if (result == null) result = caseDomain(compositeRelationshipSource);
if (result == null) result = caseRelationshipSource(compositeRelationshipSource);
if (result == null) result = caseArchitectureDescriptionElement(compositeRelationshipSource);
if (result == null) result = caseArchitectureDescription(compositeRelationshipSource);
if (result == null) result = caseDocumentedNamedConnectionSource(compositeRelationshipSource);
if (result == null) result = caseDocumentedNamedGraphElement(compositeRelationshipSource);
if (result == null) result = caseArchitectureElement(compositeRelationshipSource);
if (result == null) result = caseUndergoer(compositeRelationshipSource);
if (result == null) result = caseDocumentedNamedGraph(compositeRelationshipSource);
if (result == null) result = caseConnectionSource(compositeRelationshipSource);
if (result == null) result = caseGraphElement(compositeRelationshipSource);
if (result == null) result = caseDocumentedNamedStringIdentity(compositeRelationshipSource);
if (result == null) result = casePeriod(compositeRelationshipSource);
if (result == null) result = caseGraph(compositeRelationshipSource);
if (result == null) result = caseStringIdentity(compositeRelationshipSource);
if (result == null) result = caseSemanticElement(compositeRelationshipSource);
if (result == null) result = caseDocumentedNamedElement(compositeRelationshipSource);
if (result == null) result = caseNamedElement(compositeRelationshipSource);
if (result == null) result = caseDocumented(compositeRelationshipSource);
if (result == null) result = caseModelElement(compositeRelationshipSource);
if (result == null) result = caseMarked(compositeRelationshipSource);
if (result == null) result = caseAdaptable(compositeRelationshipSource);
if (result == null) result = caseIMarked(compositeRelationshipSource);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.NODE: {
Node node = (Node)theEObject;
T1 result = caseNode(node);
if (result == null) result = caseRelationshipSource(node);
if (result == null) result = caseRelationshipTarget(node);
if (result == null) result = caseDocumentedNamedConnectionSource(node);
if (result == null) result = caseArchitectureDescriptionElement(node);
if (result == null) result = caseDocumentedNamedConnectionTarget(node);
if (result == null) result = caseDocumentedNamedGraphElement(node);
if (result == null) result = caseConnectionSource(node);
if (result == null) result = caseArchitectureElement(node);
if (result == null) result = caseUndergoer(node);
if (result == null) result = caseConnectionTarget(node);
if (result == null) result = caseGraphElement(node);
if (result == null) result = caseDocumentedNamedStringIdentity(node);
if (result == null) result = casePeriod(node);
if (result == null) result = caseStringIdentity(node);
if (result == null) result = caseSemanticElement(node);
if (result == null) result = caseDocumentedNamedElement(node);
if (result == null) result = caseNamedElement(node);
if (result == null) result = caseDocumented(node);
if (result == null) result = caseModelElement(node);
if (result == null) result = caseMarked(node);
if (result == null) result = caseAdaptable(node);
if (result == null) result = caseIMarked(node);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.COMPOSITE_NODE: {
CompositeNode compositeNode = (CompositeNode)theEObject;
T1 result = caseCompositeNode(compositeNode);
if (result == null) result = caseDomain(compositeNode);
if (result == null) result = caseNode(compositeNode);
if (result == null) result = caseArchitectureDescription(compositeNode);
if (result == null) result = caseRelationshipSource(compositeNode);
if (result == null) result = caseRelationshipTarget(compositeNode);
if (result == null) result = caseArchitectureDescriptionElement(compositeNode);
if (result == null) result = caseArchitectureElement(compositeNode);
if (result == null) result = caseUndergoer(compositeNode);
if (result == null) result = caseDocumentedNamedGraph(compositeNode);
if (result == null) result = caseDocumentedNamedConnectionSource(compositeNode);
if (result == null) result = caseDocumentedNamedConnectionTarget(compositeNode);
if (result == null) result = caseDocumentedNamedGraphElement(compositeNode);
if (result == null) result = caseDocumentedNamedStringIdentity(compositeNode);
if (result == null) result = casePeriod(compositeNode);
if (result == null) result = caseGraph(compositeNode);
if (result == null) result = caseConnectionSource(compositeNode);
if (result == null) result = caseConnectionTarget(compositeNode);
if (result == null) result = caseGraphElement(compositeNode);
if (result == null) result = caseStringIdentity(compositeNode);
if (result == null) result = caseSemanticElement(compositeNode);
if (result == null) result = caseDocumentedNamedElement(compositeNode);
if (result == null) result = caseNamedElement(compositeNode);
if (result == null) result = caseDocumented(compositeNode);
if (result == null) result = caseModelElement(compositeNode);
if (result == null) result = caseMarked(compositeNode);
if (result == null) result = caseAdaptable(compositeNode);
if (result == null) result = caseIMarked(compositeNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ArchitecturePackage.TUNNEL: {
Tunnel tunnel = (Tunnel)theEObject;
T1 result = caseTunnel(tunnel);
if (result == null) result = caseDocumentedNamedTunnel(tunnel);
if (result == null) result = caseRelationship(tunnel);
if (result == null) result = caseModel_Tunnel(tunnel);
if (result == null) result = caseDocumentedNamedConnection(tunnel);
if (result == null) result = caseArchitectureElement(tunnel);
if (result == null) result = caseUndergoer(tunnel);
if (result == null) result = caseConnection(tunnel);
if (result == null) result = caseDocumentedNamedStringIdentity(tunnel);
if (result == null) result = casePeriod(tunnel);
if (result == null) result = caseStringIdentity(tunnel);
if (result == null) result = caseDocumentedNamedElement(tunnel);
if (result == null) result = caseNamedElement(tunnel);
if (result == null) result = caseDocumented(tunnel);
if (result == null) result = caseModelElement(tunnel);
if (result == null) result = caseMarked(tunnel);
if (result == null) result = caseAdaptable(tunnel);
if (result == null) result = caseIMarked(tunnel);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* 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 T1 caseArchitectureElement(ArchitectureElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Actor'.
*
* 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 'Actor'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseActor(Actor object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Party Actor'.
*
* 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 'Party Actor'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 casePartyActor(PartyActor object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Person Actor'.
*
* 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 'Person Actor'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 casePersonActor(PersonActor object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Role'.
*
* 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 'Role'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseRole(Role 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 T1 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 T1 caseArchitectureDescriptionElement(ArchitectureDescriptionElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Description'.
*
* 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'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseArchitectureDescription(ArchitectureDescription object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Domain'.
*
* 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 'Domain'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseDomain(Domain 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 T1 caseRelationshipTarget(RelationshipTarget object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Composite 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 'Composite Relationship Target'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseCompositeRelationshipTarget(CompositeRelationshipTarget object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Relationship'.
*
* 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'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseRelationship(Relationship 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 T1 caseRelationshipSource(RelationshipSource object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Composite 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 'Composite Relationship Source'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseCompositeRelationshipSource(CompositeRelationshipSource 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 T1 caseNode(Node object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Composite 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 'Composite Node'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseCompositeNode(CompositeNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Tunnel'.
*
* 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 'Tunnel'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseTunnel(Tunnel 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 T1 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 T1 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 T1 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 T1 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 T1 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 T1 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 T1 caseDocumentedNamedElement(DocumentedNamedElement 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 T1 casePeriod(Period 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 T1 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 T1 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 T1 caseGraphElement(GraphElement 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 T1 caseDocumentedNamedStringIdentity(DocumentedNamedStringIdentity object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Party'.
*
* 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 'Party'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseParty(Party object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Person'.
*
* 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 'Person'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 casePerson(Person 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 T1 caseDocumentedNamedGraphElement(DocumentedNamedGraphElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Graph'.
*
* 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'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseGraph(Graph object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Documented Named Graph'.
*
* 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'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T1 caseDocumentedNamedGraph(DocumentedNamedGraph 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 > T1 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 > T1 caseDocumentedNamedConnectionTarget(DocumentedNamedConnectionTarget object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Connection'.
*
* 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'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public > T1 caseConnection(Connection object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Documented Named Connection'.
*
* 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'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public > T1 caseDocumentedNamedConnection(DocumentedNamedConnection 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 > T1 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 > T1 caseDocumentedNamedConnectionSource(DocumentedNamedConnectionSource object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Tunnel'.
*
* 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 'Tunnel'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public , C extends Connection>> T1 caseModel_Tunnel(org.nasdanika.graph.model.Tunnel object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Documented Named Tunnel'.
*
* 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 Tunnel'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public , C extends Connection>> T1 caseDocumentedNamedTunnel(DocumentedNamedTunnel 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 T1 defaultCase(EObject object) {
return null;
}
} //ArchitectureSwitch