blob: a7d94bcc0b3f05f7b5cb0801691c2a82548cafe7 [file] [log] [blame]
/**
* Copyright (c) 2010, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
*
* Nicolas Guyomar (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.jee.ejbjar.EjbJar11.util;
import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.modisco.jee.ejbjar.EjbJar11.*;
/**
* <!-- begin-user-doc -->
* The <b>Switch</b> for the model's inheritance hierarchy.
* It supports the call {@link #doSwitch(EObject) doSwitch(object)}
* to invoke the <code>caseXXX</code> 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.
* <!-- end-user-doc -->
* @see org.eclipse.modisco.jee.ejbjar.EjbJar11.EjbJar11Package
* @generated
*/
public class EjbJar11Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static EjbJar11Package modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EjbJar11Switch() {
if (modelPackage == null) {
modelPackage = EjbJar11Package.eINSTANCE;
}
}
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
public T doSwitch(EObject theEObject) {
return doSwitch(theEObject.eClass(), theEObject);
}
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
protected T doSwitch(EClass theEClass, EObject theEObject) {
if (theEClass.eContainer() == modelPackage) {
return doSwitch(theEClass.getClassifierID(), theEObject);
}
else {
List<EClass> eSuperTypes = theEClass.getESuperTypes();
return
eSuperTypes.isEmpty() ?
defaultCase(theEObject) :
doSwitch(eSuperTypes.get(0), theEObject);
}
}
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case EjbJar11Package.ASSEMBLY_DESCRIPTOR_TYPE: {
AssemblyDescriptorType assemblyDescriptorType = (AssemblyDescriptorType)theEObject;
T result = caseAssemblyDescriptorType(assemblyDescriptorType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.CMP_FIELD_TYPE: {
CmpFieldType cmpFieldType = (CmpFieldType)theEObject;
T result = caseCmpFieldType(cmpFieldType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.CONTAINER_TRANSACTION_TYPE: {
ContainerTransactionType containerTransactionType = (ContainerTransactionType)theEObject;
T result = caseContainerTransactionType(containerTransactionType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.DESCRIPTION_TYPE: {
DescriptionType descriptionType = (DescriptionType)theEObject;
T result = caseDescriptionType(descriptionType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.DISPLAY_NAME_TYPE: {
DisplayNameType displayNameType = (DisplayNameType)theEObject;
T result = caseDisplayNameType(displayNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.DOCUMENT_ROOT: {
DocumentRoot documentRoot = (DocumentRoot)theEObject;
T result = caseDocumentRoot(documentRoot);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_CLASS_TYPE: {
EjbClassType ejbClassType = (EjbClassType)theEObject;
T result = caseEjbClassType(ejbClassType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_CLIENT_JAR_TYPE: {
EjbClientJarType ejbClientJarType = (EjbClientJarType)theEObject;
T result = caseEjbClientJarType(ejbClientJarType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_JAR_TYPE: {
EjbJarType ejbJarType = (EjbJarType)theEObject;
T result = caseEjbJarType(ejbJarType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_LINK_TYPE: {
EjbLinkType ejbLinkType = (EjbLinkType)theEObject;
T result = caseEjbLinkType(ejbLinkType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_NAME_TYPE: {
EjbNameType ejbNameType = (EjbNameType)theEObject;
T result = caseEjbNameType(ejbNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_REF_NAME_TYPE: {
EjbRefNameType ejbRefNameType = (EjbRefNameType)theEObject;
T result = caseEjbRefNameType(ejbRefNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_REF_TYPE: {
EjbRefType ejbRefType = (EjbRefType)theEObject;
T result = caseEjbRefType(ejbRefType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.EJB_REF_TYPE_TYPE: {
EjbRefTypeType ejbRefTypeType = (EjbRefTypeType)theEObject;
T result = caseEjbRefTypeType(ejbRefTypeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ENTERPRISE_BEANS_TYPE: {
EnterpriseBeansType enterpriseBeansType = (EnterpriseBeansType)theEObject;
T result = caseEnterpriseBeansType(enterpriseBeansType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ENTITY_TYPE: {
EntityType entityType = (EntityType)theEObject;
T result = caseEntityType(entityType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ENV_ENTRY_NAME_TYPE: {
EnvEntryNameType envEntryNameType = (EnvEntryNameType)theEObject;
T result = caseEnvEntryNameType(envEntryNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ENV_ENTRY_TYPE: {
EnvEntryType envEntryType = (EnvEntryType)theEObject;
T result = caseEnvEntryType(envEntryType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ENV_ENTRY_TYPE_TYPE: {
EnvEntryTypeType envEntryTypeType = (EnvEntryTypeType)theEObject;
T result = caseEnvEntryTypeType(envEntryTypeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ENV_ENTRY_VALUE_TYPE: {
EnvEntryValueType envEntryValueType = (EnvEntryValueType)theEObject;
T result = caseEnvEntryValueType(envEntryValueType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.FIELD_NAME_TYPE: {
FieldNameType fieldNameType = (FieldNameType)theEObject;
T result = caseFieldNameType(fieldNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.HOME_TYPE: {
HomeType homeType = (HomeType)theEObject;
T result = caseHomeType(homeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.LARGE_ICON_TYPE: {
LargeIconType largeIconType = (LargeIconType)theEObject;
T result = caseLargeIconType(largeIconType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.METHOD_INTF_TYPE: {
MethodIntfType methodIntfType = (MethodIntfType)theEObject;
T result = caseMethodIntfType(methodIntfType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.METHOD_NAME_TYPE: {
MethodNameType methodNameType = (MethodNameType)theEObject;
T result = caseMethodNameType(methodNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.METHOD_PARAMS_TYPE: {
MethodParamsType methodParamsType = (MethodParamsType)theEObject;
T result = caseMethodParamsType(methodParamsType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.METHOD_PARAM_TYPE: {
MethodParamType methodParamType = (MethodParamType)theEObject;
T result = caseMethodParamType(methodParamType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.METHOD_PERMISSION_TYPE: {
MethodPermissionType methodPermissionType = (MethodPermissionType)theEObject;
T result = caseMethodPermissionType(methodPermissionType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.METHOD_TYPE: {
MethodType methodType = (MethodType)theEObject;
T result = caseMethodType(methodType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.PERSISTENCE_TYPE_TYPE: {
PersistenceTypeType persistenceTypeType = (PersistenceTypeType)theEObject;
T result = casePersistenceTypeType(persistenceTypeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.PRIM_KEY_CLASS_TYPE: {
PrimKeyClassType primKeyClassType = (PrimKeyClassType)theEObject;
T result = casePrimKeyClassType(primKeyClassType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.PRIMKEY_FIELD_TYPE: {
PrimkeyFieldType primkeyFieldType = (PrimkeyFieldType)theEObject;
T result = casePrimkeyFieldType(primkeyFieldType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.REENTRANT_TYPE: {
ReentrantType reentrantType = (ReentrantType)theEObject;
T result = caseReentrantType(reentrantType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.REMOTE_TYPE: {
RemoteType remoteType = (RemoteType)theEObject;
T result = caseRemoteType(remoteType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.RES_AUTH_TYPE: {
ResAuthType resAuthType = (ResAuthType)theEObject;
T result = caseResAuthType(resAuthType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.RESOURCE_REF_TYPE: {
ResourceRefType resourceRefType = (ResourceRefType)theEObject;
T result = caseResourceRefType(resourceRefType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.RES_REF_NAME_TYPE: {
ResRefNameType resRefNameType = (ResRefNameType)theEObject;
T result = caseResRefNameType(resRefNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.RES_TYPE_TYPE: {
ResTypeType resTypeType = (ResTypeType)theEObject;
T result = caseResTypeType(resTypeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ROLE_LINK_TYPE: {
RoleLinkType roleLinkType = (RoleLinkType)theEObject;
T result = caseRoleLinkType(roleLinkType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.ROLE_NAME_TYPE: {
RoleNameType roleNameType = (RoleNameType)theEObject;
T result = caseRoleNameType(roleNameType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.SECURITY_ROLE_REF_TYPE: {
SecurityRoleRefType securityRoleRefType = (SecurityRoleRefType)theEObject;
T result = caseSecurityRoleRefType(securityRoleRefType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.SECURITY_ROLE_TYPE: {
SecurityRoleType securityRoleType = (SecurityRoleType)theEObject;
T result = caseSecurityRoleType(securityRoleType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.SESSION_TYPE: {
SessionType sessionType = (SessionType)theEObject;
T result = caseSessionType(sessionType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.SESSION_TYPE_TYPE: {
SessionTypeType sessionTypeType = (SessionTypeType)theEObject;
T result = caseSessionTypeType(sessionTypeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.SMALL_ICON_TYPE: {
SmallIconType smallIconType = (SmallIconType)theEObject;
T result = caseSmallIconType(smallIconType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.TRANSACTION_TYPE_TYPE: {
TransactionTypeType transactionTypeType = (TransactionTypeType)theEObject;
T result = caseTransactionTypeType(transactionTypeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
case EjbJar11Package.TRANS_ATTRIBUTE_TYPE: {
TransAttributeType transAttributeType = (TransAttributeType)theEObject;
T result = caseTransAttributeType(transAttributeType);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Assembly Descriptor Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Assembly Descriptor Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAssemblyDescriptorType(AssemblyDescriptorType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Cmp Field Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Cmp Field Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCmpFieldType(CmpFieldType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Container Transaction Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Container Transaction Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseContainerTransactionType(ContainerTransactionType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Description Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Description Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDescriptionType(DescriptionType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Display Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Display Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDisplayNameType(DisplayNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Document Root</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Document Root</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDocumentRoot(DocumentRoot object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Class Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Class Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbClassType(EjbClassType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Client Jar Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Client Jar Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbClientJarType(EjbClientJarType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Jar Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Jar Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbJarType(EjbJarType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Link Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Link Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbLinkType(EjbLinkType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbNameType(EjbNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Ref Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Ref Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbRefNameType(EjbRefNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Ref Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Ref Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbRefType(EjbRefType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Ejb Ref Type Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ejb Ref Type Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEjbRefTypeType(EjbRefTypeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Enterprise Beans Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Enterprise Beans Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEnterpriseBeansType(EnterpriseBeansType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Entity Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Entity Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEntityType(EntityType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Env Entry Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Env Entry Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEnvEntryNameType(EnvEntryNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Env Entry Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Env Entry Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEnvEntryType(EnvEntryType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Env Entry Type Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Env Entry Type Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEnvEntryTypeType(EnvEntryTypeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Env Entry Value Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Env Entry Value Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEnvEntryValueType(EnvEntryValueType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Field Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Field Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseFieldNameType(FieldNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Home Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Home Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseHomeType(HomeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Large Icon Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Large Icon Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseLargeIconType(LargeIconType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Method Intf Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Method Intf Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMethodIntfType(MethodIntfType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Method Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Method Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMethodNameType(MethodNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Method Params Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Method Params Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMethodParamsType(MethodParamsType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Method Param Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Method Param Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMethodParamType(MethodParamType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Method Permission Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Method Permission Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMethodPermissionType(MethodPermissionType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Method Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Method Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMethodType(MethodType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Persistence Type Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Persistence Type Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePersistenceTypeType(PersistenceTypeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Prim Key Class Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Prim Key Class Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePrimKeyClassType(PrimKeyClassType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Primkey Field Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Primkey Field Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePrimkeyFieldType(PrimkeyFieldType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Reentrant Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Reentrant Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseReentrantType(ReentrantType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Remote Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Remote Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteType(RemoteType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Res Auth Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Res Auth Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResAuthType(ResAuthType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Resource Ref Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Resource Ref Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResourceRefType(ResourceRefType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Res Ref Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Res Ref Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResRefNameType(ResRefNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Res Type Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Res Type Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseResTypeType(ResTypeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Role Link Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Role Link Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRoleLinkType(RoleLinkType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Role Name Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Role Name Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRoleNameType(RoleNameType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Security Role Ref Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Security Role Ref Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSecurityRoleRefType(SecurityRoleRefType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Security Role Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Security Role Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSecurityRoleType(SecurityRoleType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Session Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Session Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSessionType(SessionType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Session Type Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Session Type Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSessionTypeType(SessionTypeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Small Icon Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Small Icon Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSmallIconType(SmallIconType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Transaction Type Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Transaction Type Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTransactionTypeType(TransactionTypeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Trans Attribute Type</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Trans Attribute Type</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTransAttributeType(TransAttributeType object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
public T defaultCase(EObject object) {
return null;
}
} //EjbJar11Switch