
org.bimserver.models.log.util.LogSwitch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PluginBase Show documentation
Show all versions of PluginBase Show documentation
Base project for BIMserver plugin development. Some plugins mights also need the Shared library
/**
* Copyright (C) 2009-2014 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package org.bimserver.models.log.util;
import org.bimserver.models.log.CheckoutRelated;
import org.bimserver.models.log.DatabaseCreated;
import org.bimserver.models.log.Download;
import org.bimserver.models.log.ExtendedDataAddedToProject;
import org.bimserver.models.log.ExtendedDataAddedToRevision;
import org.bimserver.models.log.GeoTagUpdated;
import org.bimserver.models.log.LogAction;
import org.bimserver.models.log.LogPackage;
import org.bimserver.models.log.NewCheckoutAdded;
import org.bimserver.models.log.NewObjectIDMUploaded;
import org.bimserver.models.log.NewProjectAdded;
import org.bimserver.models.log.NewRevisionAdded;
import org.bimserver.models.log.NewUserAdded;
import org.bimserver.models.log.PasswordChanged;
import org.bimserver.models.log.PasswordReset;
import org.bimserver.models.log.ProjectDeleted;
import org.bimserver.models.log.ProjectRelated;
import org.bimserver.models.log.ProjectUndeleted;
import org.bimserver.models.log.ProjectUpdated;
import org.bimserver.models.log.RemoteServiceCalled;
import org.bimserver.models.log.RevisionBranched;
import org.bimserver.models.log.RevisionRelated;
import org.bimserver.models.log.RevisionUpdated;
import org.bimserver.models.log.ServerLog;
import org.bimserver.models.log.ServerStarted;
import org.bimserver.models.log.SettingsSaved;
import org.bimserver.models.log.UserAddedToProject;
import org.bimserver.models.log.UserChanged;
import org.bimserver.models.log.UserDeleted;
import org.bimserver.models.log.UserRelated;
import org.bimserver.models.log.UserRemovedFromProject;
import org.bimserver.models.log.UserUndeleted;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
*
* 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.bimserver.models.log.LogPackage
* @generated
*/
public class LogSwitch extends Switch {
/**
* The cached model package
*
*
* @generated
*/
protected static LogPackage modelPackage;
/**
* Creates an instance of the switch.
*
*
* @generated
*/
public LogSwitch() {
if (modelPackage == null) {
modelPackage = LogPackage.eINSTANCE;
}
}
/**
* Checks whether this is a switch for the given package.
*
*
* @param ePackage the package in question.
* @return whether this is a switch for the given package.
* @generated
*/
@Override
protected boolean isSwitchFor(EPackage ePackage) {
return ePackage == modelPackage;
}
/**
* Calls caseXXX
for each class of the model until one returns a non null result; it yields that result.
*
*
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case LogPackage.LOG_ACTION: {
LogAction logAction = (LogAction) theEObject;
T result = caseLogAction(logAction);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.SERVER_LOG: {
ServerLog serverLog = (ServerLog) theEObject;
T result = caseServerLog(serverLog);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.PROJECT_RELATED: {
ProjectRelated projectRelated = (ProjectRelated) theEObject;
T result = caseProjectRelated(projectRelated);
if (result == null)
result = caseLogAction(projectRelated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.CHECKOUT_RELATED: {
CheckoutRelated checkoutRelated = (CheckoutRelated) theEObject;
T result = caseCheckoutRelated(checkoutRelated);
if (result == null)
result = caseLogAction(checkoutRelated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.REVISION_RELATED: {
RevisionRelated revisionRelated = (RevisionRelated) theEObject;
T result = caseRevisionRelated(revisionRelated);
if (result == null)
result = caseLogAction(revisionRelated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.USER_RELATED: {
UserRelated userRelated = (UserRelated) theEObject;
T result = caseUserRelated(userRelated);
if (result == null)
result = caseLogAction(userRelated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.NEW_USER_ADDED: {
NewUserAdded newUserAdded = (NewUserAdded) theEObject;
T result = caseNewUserAdded(newUserAdded);
if (result == null)
result = caseUserRelated(newUserAdded);
if (result == null)
result = caseLogAction(newUserAdded);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.NEW_PROJECT_ADDED: {
NewProjectAdded newProjectAdded = (NewProjectAdded) theEObject;
T result = caseNewProjectAdded(newProjectAdded);
if (result == null)
result = caseProjectRelated(newProjectAdded);
if (result == null)
result = caseLogAction(newProjectAdded);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.REVISION_BRANCHED: {
RevisionBranched revisionBranched = (RevisionBranched) theEObject;
T result = caseRevisionBranched(revisionBranched);
if (result == null)
result = caseLogAction(revisionBranched);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.NEW_REVISION_ADDED: {
NewRevisionAdded newRevisionAdded = (NewRevisionAdded) theEObject;
T result = caseNewRevisionAdded(newRevisionAdded);
if (result == null)
result = caseRevisionRelated(newRevisionAdded);
if (result == null)
result = caseLogAction(newRevisionAdded);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.NEW_CHECKOUT_ADDED: {
NewCheckoutAdded newCheckoutAdded = (NewCheckoutAdded) theEObject;
T result = caseNewCheckoutAdded(newCheckoutAdded);
if (result == null)
result = caseCheckoutRelated(newCheckoutAdded);
if (result == null)
result = caseLogAction(newCheckoutAdded);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.SETTINGS_SAVED: {
SettingsSaved settingsSaved = (SettingsSaved) theEObject;
T result = caseSettingsSaved(settingsSaved);
if (result == null)
result = caseLogAction(settingsSaved);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.USER_ADDED_TO_PROJECT: {
UserAddedToProject userAddedToProject = (UserAddedToProject) theEObject;
T result = caseUserAddedToProject(userAddedToProject);
if (result == null)
result = caseUserRelated(userAddedToProject);
if (result == null)
result = caseLogAction(userAddedToProject);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.NEW_OBJECT_IDM_UPLOADED: {
NewObjectIDMUploaded newObjectIDMUploaded = (NewObjectIDMUploaded) theEObject;
T result = caseNewObjectIDMUploaded(newObjectIDMUploaded);
if (result == null)
result = caseLogAction(newObjectIDMUploaded);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.DOWNLOAD: {
Download download = (Download) theEObject;
T result = caseDownload(download);
if (result == null)
result = caseLogAction(download);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.USER_REMOVED_FROM_PROJECT: {
UserRemovedFromProject userRemovedFromProject = (UserRemovedFromProject) theEObject;
T result = caseUserRemovedFromProject(userRemovedFromProject);
if (result == null)
result = caseUserRelated(userRemovedFromProject);
if (result == null)
result = caseLogAction(userRemovedFromProject);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.PROJECT_DELETED: {
ProjectDeleted projectDeleted = (ProjectDeleted) theEObject;
T result = caseProjectDeleted(projectDeleted);
if (result == null)
result = caseProjectRelated(projectDeleted);
if (result == null)
result = caseLogAction(projectDeleted);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.USER_DELETED: {
UserDeleted userDeleted = (UserDeleted) theEObject;
T result = caseUserDeleted(userDeleted);
if (result == null)
result = caseUserRelated(userDeleted);
if (result == null)
result = caseLogAction(userDeleted);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.PASSWORD_RESET: {
PasswordReset passwordReset = (PasswordReset) theEObject;
T result = casePasswordReset(passwordReset);
if (result == null)
result = caseUserRelated(passwordReset);
if (result == null)
result = caseLogAction(passwordReset);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.DATABASE_CREATED: {
DatabaseCreated databaseCreated = (DatabaseCreated) theEObject;
T result = caseDatabaseCreated(databaseCreated);
if (result == null)
result = caseLogAction(databaseCreated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.SERVER_STARTED: {
ServerStarted serverStarted = (ServerStarted) theEObject;
T result = caseServerStarted(serverStarted);
if (result == null)
result = caseLogAction(serverStarted);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.PROJECT_UPDATED: {
ProjectUpdated projectUpdated = (ProjectUpdated) theEObject;
T result = caseProjectUpdated(projectUpdated);
if (result == null)
result = caseProjectRelated(projectUpdated);
if (result == null)
result = caseLogAction(projectUpdated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.USER_UNDELETED: {
UserUndeleted userUndeleted = (UserUndeleted) theEObject;
T result = caseUserUndeleted(userUndeleted);
if (result == null)
result = caseUserRelated(userUndeleted);
if (result == null)
result = caseLogAction(userUndeleted);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.PROJECT_UNDELETED: {
ProjectUndeleted projectUndeleted = (ProjectUndeleted) theEObject;
T result = caseProjectUndeleted(projectUndeleted);
if (result == null)
result = caseProjectRelated(projectUndeleted);
if (result == null)
result = caseLogAction(projectUndeleted);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.REVISION_UPDATED: {
RevisionUpdated revisionUpdated = (RevisionUpdated) theEObject;
T result = caseRevisionUpdated(revisionUpdated);
if (result == null)
result = caseRevisionRelated(revisionUpdated);
if (result == null)
result = caseLogAction(revisionUpdated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.GEO_TAG_UPDATED: {
GeoTagUpdated geoTagUpdated = (GeoTagUpdated) theEObject;
T result = caseGeoTagUpdated(geoTagUpdated);
if (result == null)
result = caseLogAction(geoTagUpdated);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.PASSWORD_CHANGED: {
PasswordChanged passwordChanged = (PasswordChanged) theEObject;
T result = casePasswordChanged(passwordChanged);
if (result == null)
result = caseUserRelated(passwordChanged);
if (result == null)
result = caseLogAction(passwordChanged);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.USER_CHANGED: {
UserChanged userChanged = (UserChanged) theEObject;
T result = caseUserChanged(userChanged);
if (result == null)
result = caseUserRelated(userChanged);
if (result == null)
result = caseLogAction(userChanged);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.EXTENDED_DATA_ADDED_TO_REVISION: {
ExtendedDataAddedToRevision extendedDataAddedToRevision = (ExtendedDataAddedToRevision) theEObject;
T result = caseExtendedDataAddedToRevision(extendedDataAddedToRevision);
if (result == null)
result = caseLogAction(extendedDataAddedToRevision);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.EXTENDED_DATA_ADDED_TO_PROJECT: {
ExtendedDataAddedToProject extendedDataAddedToProject = (ExtendedDataAddedToProject) theEObject;
T result = caseExtendedDataAddedToProject(extendedDataAddedToProject);
if (result == null)
result = caseLogAction(extendedDataAddedToProject);
if (result == null)
result = defaultCase(theEObject);
return result;
}
case LogPackage.REMOTE_SERVICE_CALLED: {
RemoteServiceCalled remoteServiceCalled = (RemoteServiceCalled) theEObject;
T result = caseRemoteServiceCalled(remoteServiceCalled);
if (result == null)
result = caseLogAction(remoteServiceCalled);
if (result == null)
result = defaultCase(theEObject);
return result;
}
default:
return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of 'Action'.
*
* This implementation returns null;
* returning a non-null result will terminate the switch.
*
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of 'Action'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseLogAction(LogAction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Server Log'.
*
* 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 'Server Log'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseServerLog(ServerLog object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Project Related'.
*
* 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 'Project Related'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseProjectRelated(ProjectRelated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Checkout Related'.
*
* 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 'Checkout Related'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCheckoutRelated(CheckoutRelated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Revision Related'.
*
* 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 'Revision Related'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRevisionRelated(RevisionRelated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'User Related'.
*
* 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 'User Related'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUserRelated(UserRelated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'New User Added'.
*
* 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 'New User Added'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNewUserAdded(NewUserAdded object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'New Project Added'.
*
* 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 'New Project Added'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNewProjectAdded(NewProjectAdded object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Revision Branched'.
*
* 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 'Revision Branched'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRevisionBranched(RevisionBranched object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'New Revision Added'.
*
* 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 'New Revision Added'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNewRevisionAdded(NewRevisionAdded object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'New Checkout Added'.
*
* 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 'New Checkout Added'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNewCheckoutAdded(NewCheckoutAdded object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Settings Saved'.
*
* 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 'Settings Saved'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSettingsSaved(SettingsSaved object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'User Added To Project'.
*
* 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 'User Added To Project'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUserAddedToProject(UserAddedToProject object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'New Object IDM Uploaded'.
*
* 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 'New Object IDM Uploaded'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNewObjectIDMUploaded(NewObjectIDMUploaded object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Download'.
*
* 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 'Download'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDownload(Download object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'User Removed From Project'.
*
* 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 'User Removed From Project'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUserRemovedFromProject(UserRemovedFromProject object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Project Deleted'.
*
* 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 'Project Deleted'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseProjectDeleted(ProjectDeleted object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'User Deleted'.
*
* 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 'User Deleted'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUserDeleted(UserDeleted object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Password Reset'.
*
* 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 'Password Reset'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePasswordReset(PasswordReset object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Database Created'.
*
* 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 'Database Created'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDatabaseCreated(DatabaseCreated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Server Started'.
*
* 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 'Server Started'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseServerStarted(ServerStarted object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Project Updated'.
*
* 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 'Project Updated'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseProjectUpdated(ProjectUpdated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'User Undeleted'.
*
* 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 'User Undeleted'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUserUndeleted(UserUndeleted object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Project Undeleted'.
*
* 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 'Project Undeleted'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseProjectUndeleted(ProjectUndeleted object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Revision Updated'.
*
* 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 'Revision Updated'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRevisionUpdated(RevisionUpdated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Geo Tag Updated'.
*
* 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 'Geo Tag Updated'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseGeoTagUpdated(GeoTagUpdated object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Password Changed'.
*
* 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 'Password Changed'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T casePasswordChanged(PasswordChanged object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'User Changed'.
*
* 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 'User Changed'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseUserChanged(UserChanged object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Extended Data Added To Revision'.
*
* 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 'Extended Data Added To Revision'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseExtendedDataAddedToRevision(ExtendedDataAddedToRevision object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Extended Data Added To Project'.
*
* 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 'Extended Data Added To Project'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseExtendedDataAddedToProject(ExtendedDataAddedToProject object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'Remote Service Called'.
*
* 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 'Remote Service Called'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseRemoteServiceCalled(RemoteServiceCalled object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of 'EObject'.
*
* This implementation returns null;
* returning a non-null result will terminate the switch, but this is the last case anyway.
*
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of 'EObject'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated
*/
@Override
public T defaultCase(EObject object) {
return null;
}
} //LogSwitch
© 2015 - 2025 Weber Informatics LLC | Privacy Policy