blob: 83eacf49876b40c8643e3e54b59e7e09560c850a [file] [log] [blame]
/**
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
* generated from AuthoritarionDSL.xcore
*
*
*/
package org.eclipse.osbp.xtext.authorizationdsl.util;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver;
import org.eclipse.osbp.dsl.semantic.common.types.LPackage;
import org.eclipse.osbp.xtext.authorizationdsl.*;
/**
* <!-- begin-user-doc -->
* The <b>Adapter Factory</b> for the model.
* It provides an adapter <code>createXXX</code> method for each class of the model.
* <!-- end-user-doc -->
* @see org.eclipse.osbp.xtext.authorizationdsl.AuthorizationDSLPackage
* @generated
*/
public class AuthorizationDSLAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static AuthorizationDSLPackage modelPackage;
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public AuthorizationDSLAdapterFactory() {
if (modelPackage == null) {
modelPackage = AuthorizationDSLPackage.eINSTANCE;
}
}
/**
* Returns whether this factory is applicable for the type of the object.
* <!-- begin-user-doc -->
* This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
* <!-- end-user-doc -->
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@Override
public boolean isFactoryForType(Object object) {
if (object == modelPackage) {
return true;
}
if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
}
/**
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected AuthorizationDSLSwitch<Adapter> modelSwitch =
new AuthorizationDSLSwitch<Adapter>() {
@Override
public Adapter caseAuthorizationModel(AuthorizationModel object) {
return createAuthorizationModelAdapter();
}
@Override
public Adapter caseAuthorizationLazyResolver(AuthorizationLazyResolver object) {
return createAuthorizationLazyResolverAdapter();
}
@Override
public Adapter caseAuthorizationPackage(AuthorizationPackage object) {
return createAuthorizationPackageAdapter();
}
@Override
public Adapter caseAuthorizationBase(AuthorizationBase object) {
return createAuthorizationBaseAdapter();
}
@Override
public Adapter caseRole(Role object) {
return createRoleAdapter();
}
@Override
public Adapter caseRoleElement(RoleElement object) {
return createRoleElementAdapter();
}
@Override
public Adapter caseRoleEntity(RoleEntity object) {
return createRoleEntityAdapter();
}
@Override
public Adapter caseRoleBean(RoleBean object) {
return createRoleBeanAdapter();
}
@Override
public Adapter caseRoleDto(RoleDto object) {
return createRoleDtoAdapter();
}
@Override
public Adapter caseRoleBlipAllUserTasks(RoleBlipAllUserTasks object) {
return createRoleBlipAllUserTasksAdapter();
}
@Override
public Adapter caseRoleBlipUserTask(RoleBlipUserTask object) {
return createRoleBlipUserTaskAdapter();
}
@Override
public Adapter caseRoleBlipProcess(RoleBlipProcess object) {
return createRoleBlipProcessAdapter();
}
@Override
public Adapter caseRoleEntityFeature(RoleEntityFeature object) {
return createRoleEntityFeatureAdapter();
}
@Override
public Adapter caseRoleEntityAttribute(RoleEntityAttribute object) {
return createRoleEntityAttributeAdapter();
}
@Override
public Adapter caseRoleEntityReference(RoleEntityReference object) {
return createRoleEntityReferenceAdapter();
}
@Override
public Adapter caseRoleBeanFeature(RoleBeanFeature object) {
return createRoleBeanFeatureAdapter();
}
@Override
public Adapter caseRoleBeanAttribute(RoleBeanAttribute object) {
return createRoleBeanAttributeAdapter();
}
@Override
public Adapter caseRoleBeanReference(RoleBeanReference object) {
return createRoleBeanReferenceAdapter();
}
@Override
public Adapter caseRoleDtoFeature(RoleDtoFeature object) {
return createRoleDtoFeatureAdapter();
}
@Override
public Adapter caseRoleDtoAttribute(RoleDtoAttribute object) {
return createRoleDtoAttributeAdapter();
}
@Override
public Adapter caseRoleDtoReference(RoleDtoReference object) {
return createRoleDtoReferenceAdapter();
}
@Override
public Adapter caseLLazyResolver(LLazyResolver object) {
return createLLazyResolverAdapter();
}
@Override
public Adapter caseLPackage(LPackage object) {
return createLPackageAdapter();
}
@Override
public Adapter defaultCase(EObject object) {
return createEObjectAdapter();
}
};
/**
* Creates an adapter for the <code>target</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@Override
public Adapter createAdapter(Notifier target) {
return modelSwitch.doSwitch((EObject)target);
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.AuthorizationModel <em>Authorization Model</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.AuthorizationModel
* @generated
*/
public Adapter createAuthorizationModelAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.AuthorizationLazyResolver <em>Authorization Lazy Resolver</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.AuthorizationLazyResolver
* @generated
*/
public Adapter createAuthorizationLazyResolverAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.AuthorizationPackage <em>Authorization Package</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.AuthorizationPackage
* @generated
*/
public Adapter createAuthorizationPackageAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.AuthorizationBase <em>Authorization Base</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.AuthorizationBase
* @generated
*/
public Adapter createAuthorizationBaseAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.Role <em>Role</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.Role
* @generated
*/
public Adapter createRoleAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleElement <em>Role Element</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleElement
* @generated
*/
public Adapter createRoleElementAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleEntity <em>Role Entity</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleEntity
* @generated
*/
public Adapter createRoleEntityAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleBean <em>Role Bean</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleBean
* @generated
*/
public Adapter createRoleBeanAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleDto <em>Role Dto</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleDto
* @generated
*/
public Adapter createRoleDtoAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleBlipAllUserTasks <em>Role Blip All User Tasks</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleBlipAllUserTasks
* @generated
*/
public Adapter createRoleBlipAllUserTasksAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleBlipUserTask <em>Role Blip User Task</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleBlipUserTask
* @generated
*/
public Adapter createRoleBlipUserTaskAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleBlipProcess <em>Role Blip Process</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleBlipProcess
* @generated
*/
public Adapter createRoleBlipProcessAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleEntityFeature <em>Role Entity Feature</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleEntityFeature
* @generated
*/
public Adapter createRoleEntityFeatureAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleEntityAttribute <em>Role Entity Attribute</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleEntityAttribute
* @generated
*/
public Adapter createRoleEntityAttributeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleEntityReference <em>Role Entity Reference</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleEntityReference
* @generated
*/
public Adapter createRoleEntityReferenceAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleBeanFeature <em>Role Bean Feature</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleBeanFeature
* @generated
*/
public Adapter createRoleBeanFeatureAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleBeanAttribute <em>Role Bean Attribute</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleBeanAttribute
* @generated
*/
public Adapter createRoleBeanAttributeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleBeanReference <em>Role Bean Reference</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleBeanReference
* @generated
*/
public Adapter createRoleBeanReferenceAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleDtoFeature <em>Role Dto Feature</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleDtoFeature
* @generated
*/
public Adapter createRoleDtoFeatureAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleDtoAttribute <em>Role Dto Attribute</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleDtoAttribute
* @generated
*/
public Adapter createRoleDtoAttributeAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.xtext.authorizationdsl.RoleDtoReference <em>Role Dto Reference</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.xtext.authorizationdsl.RoleDtoReference
* @generated
*/
public Adapter createRoleDtoReferenceAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver <em>LLazy Resolver</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.dsl.semantic.common.types.LLazyResolver
* @generated
*/
public Adapter createLLazyResolverAdapter() {
return null;
}
/**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.dsl.semantic.common.types.LPackage <em>LPackage</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
* it's useful to ignore a case when inheritance will catch all the cases anyway.
* <!-- end-user-doc -->
* @return the new adapter.
* @see org.eclipse.osbp.dsl.semantic.common.types.LPackage
* @generated
*/
public Adapter createLPackageAdapter() {
return null;
}
/**
* Creates a new adapter for the default case.
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
* @return the new adapter.
* @generated
*/
public Adapter createEObjectAdapter() {
return null;
}
} //AuthorizationDSLAdapterFactory