blob: 775518ae10c016a81c84df406b46659f215c5f2d [file] [log] [blame]
/**
* *******************************************************************************
* Copyright (c) 2018 Agence spatiale canadienne / Canadian Space Agency
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Regent L'Archeveque - initial API and implementation
*
* SPDX-License-Identifier: EPL-1.0
* *******************************************************************************
*/
package org.eclipse.apogy.core.environment.earth.orbit.planner.util;
import java.util.Map;
import org.eclipse.apogy.common.emf.Described;
import org.eclipse.apogy.common.emf.Named;
import org.eclipse.apogy.common.emf.NamedDescribedElement;
import org.eclipse.apogy.common.emf.TimeInterval;
import org.eclipse.apogy.common.processors.Monitorable;
import org.eclipse.apogy.common.processors.Processor;
import org.eclipse.apogy.core.environment.earth.orbit.EarthOrbitTool;
import org.eclipse.apogy.core.environment.earth.orbit.VisibilityPass;
import org.eclipse.apogy.core.environment.earth.orbit.planner.*;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
/**
* <!-- 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.apogy.core.environment.earth.orbit.planner.ApogyCoreEnvironmentEarthOrbitPlannerPackage
* @generated
*/
public class ApogyCoreEnvironmentEarthOrbitPlannerSwitch<T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static ApogyCoreEnvironmentEarthOrbitPlannerPackage modelPackage;
/**
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ApogyCoreEnvironmentEarthOrbitPlannerSwitch() {
if (modelPackage == null) {
modelPackage = ApogyCoreEnvironmentEarthOrbitPlannerPackage.eINSTANCE;
}
}
/**
* Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @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 <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
*/
@Override
protected T doSwitch(int classifierID, EObject theEObject) {
switch (classifierID) {
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.APOGY_CORE_ENVIRONMENT_EARTH_ORBIT_PLANNER_FACADE: {
ApogyCoreEnvironmentEarthOrbitPlannerFacade apogyCoreEnvironmentEarthOrbitPlannerFacade = (ApogyCoreEnvironmentEarthOrbitPlannerFacade)theEObject;
T result = caseApogyCoreEnvironmentEarthOrbitPlannerFacade(apogyCoreEnvironmentEarthOrbitPlannerFacade);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.OBSERVATION_ANALYSIS_PLANNER_TOOL: {
ObservationAnalysisPlannerTool observationAnalysisPlannerTool = (ObservationAnalysisPlannerTool)theEObject;
T result = caseObservationAnalysisPlannerTool(observationAnalysisPlannerTool);
if (result == null) result = caseEarthOrbitTool(observationAnalysisPlannerTool);
if (result == null) result = caseNamedDescribedElement(observationAnalysisPlannerTool);
if (result == null) result = caseNamed(observationAnalysisPlannerTool);
if (result == null) result = caseDescribed(observationAnalysisPlannerTool);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.OBSERVATION_ANALYSIS_PLANNER: {
ObservationAnalysisPlanner observationAnalysisPlanner = (ObservationAnalysisPlanner)theEObject;
T result = caseObservationAnalysisPlanner(observationAnalysisPlanner);
if (result == null) result = caseNamedDescribedElement(observationAnalysisPlanner);
if (result == null) result = caseNamed(observationAnalysisPlanner);
if (result == null) result = caseDescribed(observationAnalysisPlanner);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.OBSERVATION_ANALYSIS_PLANNER_NODE: {
ObservationAnalysisPlannerNode observationAnalysisPlannerNode = (ObservationAnalysisPlannerNode)theEObject;
T result = caseObservationAnalysisPlannerNode(observationAnalysisPlannerNode);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.OBSERVATION_ANALYSIS_PLAN_GENERATOR: {
ObservationAnalysisPlanGenerator observationAnalysisPlanGenerator = (ObservationAnalysisPlanGenerator)theEObject;
T result = caseObservationAnalysisPlanGenerator(observationAnalysisPlanGenerator);
if (result == null) result = caseProcessor(observationAnalysisPlanGenerator);
if (result == null) result = caseNamedDescribedElement(observationAnalysisPlanGenerator);
if (result == null) result = caseMonitorable(observationAnalysisPlanGenerator);
if (result == null) result = caseNamed(observationAnalysisPlanGenerator);
if (result == null) result = caseDescribed(observationAnalysisPlanGenerator);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.OBSERVATION_ANALYSIS_PLAN_COSTS_PROCESSOR: {
ObservationAnalysisPlanCostsProcessor observationAnalysisPlanCostsProcessor = (ObservationAnalysisPlanCostsProcessor)theEObject;
T result = caseObservationAnalysisPlanCostsProcessor(observationAnalysisPlanCostsProcessor);
if (result == null) result = caseProcessor(observationAnalysisPlanCostsProcessor);
if (result == null) result = caseNamedDescribedElement(observationAnalysisPlanCostsProcessor);
if (result == null) result = caseMonitorable(observationAnalysisPlanCostsProcessor);
if (result == null) result = caseNamed(observationAnalysisPlanCostsProcessor);
if (result == null) result = caseDescribed(observationAnalysisPlanCostsProcessor);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.ABSTRACT_OBSERVATION_PLAN_EXPORTER: {
AbstractObservationPlanExporter abstractObservationPlanExporter = (AbstractObservationPlanExporter)theEObject;
T result = caseAbstractObservationPlanExporter(abstractObservationPlanExporter);
if (result == null) result = caseNamedDescribedElement(abstractObservationPlanExporter);
if (result == null) result = caseNamed(abstractObservationPlanExporter);
if (result == null) result = caseDescribed(abstractObservationPlanExporter);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.DEFAULT_OBSERVATION_PLAN_EXPORTER: {
DefaultObservationPlanExporter defaultObservationPlanExporter = (DefaultObservationPlanExporter)theEObject;
T result = caseDefaultObservationPlanExporter(defaultObservationPlanExporter);
if (result == null) result = caseAbstractObservationPlanExporter(defaultObservationPlanExporter);
if (result == null) result = caseNamedDescribedElement(defaultObservationPlanExporter);
if (result == null) result = caseNamed(defaultObservationPlanExporter);
if (result == null) result = caseDescribed(defaultObservationPlanExporter);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.ABSTRACT_COST_FUNCTION: {
AbstractCostFunction abstractCostFunction = (AbstractCostFunction)theEObject;
T result = caseAbstractCostFunction(abstractCostFunction);
if (result == null) result = caseNamedDescribedElement(abstractCostFunction);
if (result == null) result = caseNamed(abstractCostFunction);
if (result == null) result = caseDescribed(abstractCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.COST_FUNCTION_STATE: {
CostFunctionState costFunctionState = (CostFunctionState)theEObject;
T result = caseCostFunctionState(costFunctionState);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.ABSTRACT_STATELESS_COST_FUNCTION: {
AbstractStatelessCostFunction abstractStatelessCostFunction = (AbstractStatelessCostFunction)theEObject;
T result = caseAbstractStatelessCostFunction(abstractStatelessCostFunction);
if (result == null) result = caseAbstractCostFunction(abstractStatelessCostFunction);
if (result == null) result = caseNamedDescribedElement(abstractStatelessCostFunction);
if (result == null) result = caseNamed(abstractStatelessCostFunction);
if (result == null) result = caseDescribed(abstractStatelessCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.ABSTRACT_STATEFUL_COST_FUNCTION: {
AbstractStatefulCostFunction<?> abstractStatefulCostFunction = (AbstractStatefulCostFunction<?>)theEObject;
T result = caseAbstractStatefulCostFunction(abstractStatefulCostFunction);
if (result == null) result = caseAbstractCostFunction(abstractStatefulCostFunction);
if (result == null) result = caseNamedDescribedElement(abstractStatefulCostFunction);
if (result == null) result = caseNamed(abstractStatefulCostFunction);
if (result == null) result = caseDescribed(abstractStatefulCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.OBSERVATION_ANALYSIS_PLANNER_RESULT: {
ObservationAnalysisPlannerResult observationAnalysisPlannerResult = (ObservationAnalysisPlannerResult)theEObject;
T result = caseObservationAnalysisPlannerResult(observationAnalysisPlannerResult);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.STATELESS_COSTS_MAP_ENTRY: {
@SuppressWarnings("unchecked") Map.Entry<VisibilityPass, StatelessCostFunctionMap> statelessCostsMapEntry = (Map.Entry<VisibilityPass, StatelessCostFunctionMap>)theEObject;
T result = caseStatelessCostsMapEntry(statelessCostsMapEntry);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.STATELESS_COST_FUNCTION_MAP: {
StatelessCostFunctionMap statelessCostFunctionMap = (StatelessCostFunctionMap)theEObject;
T result = caseStatelessCostFunctionMap(statelessCostFunctionMap);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.STATELESS_COST_FUNCTION_MAP_ENTRY: {
@SuppressWarnings("unchecked") Map.Entry<AbstractStatelessCostFunction, Double> statelessCostFunctionMapEntry = (Map.Entry<AbstractStatelessCostFunction, Double>)theEObject;
T result = caseStatelessCostFunctionMapEntry(statelessCostFunctionMapEntry);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.STATEFUL_COST_FUNCTION_MAP_ENTRY: {
@SuppressWarnings("unchecked") Map.Entry<AbstractStatefulCostFunction<CostFunctionState>, StatefulCostFunctionMapEntryValue> statefulCostFunctionMapEntry = (Map.Entry<AbstractStatefulCostFunction<CostFunctionState>, StatefulCostFunctionMapEntryValue>)theEObject;
T result = caseStatefulCostFunctionMapEntry(statefulCostFunctionMapEntry);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.STATEFUL_COST_FUNCTION_MAP_ENTRY_VALUE: {
StatefulCostFunctionMapEntryValue statefulCostFunctionMapEntryValue = (StatefulCostFunctionMapEntryValue)theEObject;
T result = caseStatefulCostFunctionMapEntryValue(statefulCostFunctionMapEntryValue);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.ECLIPSE_COST_FUNCTION: {
EclipseCostFunction eclipseCostFunction = (EclipseCostFunction)theEObject;
T result = caseEclipseCostFunction(eclipseCostFunction);
if (result == null) result = caseAbstractStatelessCostFunction(eclipseCostFunction);
if (result == null) result = caseAbstractCostFunction(eclipseCostFunction);
if (result == null) result = caseNamedDescribedElement(eclipseCostFunction);
if (result == null) result = caseNamed(eclipseCostFunction);
if (result == null) result = caseDescribed(eclipseCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.TIME_INTERVAL_COST_FUNCTION: {
TimeIntervalCostFunction timeIntervalCostFunction = (TimeIntervalCostFunction)theEObject;
T result = caseTimeIntervalCostFunction(timeIntervalCostFunction);
if (result == null) result = caseAbstractStatefulCostFunction(timeIntervalCostFunction);
if (result == null) result = caseTimeInterval(timeIntervalCostFunction);
if (result == null) result = caseAbstractCostFunction(timeIntervalCostFunction);
if (result == null) result = caseNamedDescribedElement(timeIntervalCostFunction);
if (result == null) result = caseNamed(timeIntervalCostFunction);
if (result == null) result = caseDescribed(timeIntervalCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.SIMPLE_RESOURCE_COST_FUNCTION: {
SimpleResourceCostFunction simpleResourceCostFunction = (SimpleResourceCostFunction)theEObject;
T result = caseSimpleResourceCostFunction(simpleResourceCostFunction);
if (result == null) result = caseAbstractStatefulCostFunction(simpleResourceCostFunction);
if (result == null) result = caseAbstractCostFunction(simpleResourceCostFunction);
if (result == null) result = caseNamedDescribedElement(simpleResourceCostFunction);
if (result == null) result = caseNamed(simpleResourceCostFunction);
if (result == null) result = caseDescribed(simpleResourceCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.SIMPLE_RESOURCE_COST_FUNCTION_STATE: {
SimpleResourceCostFunctionState simpleResourceCostFunctionState = (SimpleResourceCostFunctionState)theEObject;
T result = caseSimpleResourceCostFunctionState(simpleResourceCostFunctionState);
if (result == null) result = caseCostFunctionState(simpleResourceCostFunctionState);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.MINIMUM_TIME_SPAM_COST_FUNCTION: {
MinimumTimeSpamCostFunction minimumTimeSpamCostFunction = (MinimumTimeSpamCostFunction)theEObject;
T result = caseMinimumTimeSpamCostFunction(minimumTimeSpamCostFunction);
if (result == null) result = caseAbstractStatefulCostFunction(minimumTimeSpamCostFunction);
if (result == null) result = caseAbstractCostFunction(minimumTimeSpamCostFunction);
if (result == null) result = caseNamedDescribedElement(minimumTimeSpamCostFunction);
if (result == null) result = caseNamed(minimumTimeSpamCostFunction);
if (result == null) result = caseDescribed(minimumTimeSpamCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
case ApogyCoreEnvironmentEarthOrbitPlannerPackage.CROSSTRACK_ANGLE_COST_FUNCTION: {
CrosstrackAngleCostFunction crosstrackAngleCostFunction = (CrosstrackAngleCostFunction)theEObject;
T result = caseCrosstrackAngleCostFunction(crosstrackAngleCostFunction);
if (result == null) result = caseAbstractStatelessCostFunction(crosstrackAngleCostFunction);
if (result == null) result = caseAbstractCostFunction(crosstrackAngleCostFunction);
if (result == null) result = caseNamedDescribedElement(crosstrackAngleCostFunction);
if (result == null) result = caseNamed(crosstrackAngleCostFunction);
if (result == null) result = caseDescribed(crosstrackAngleCostFunction);
if (result == null) result = defaultCase(theEObject);
return result;
}
default: return defaultCase(theEObject);
}
}
/**
* Returns the result of interpreting the object as an instance of '<em>Facade</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>Facade</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseApogyCoreEnvironmentEarthOrbitPlannerFacade(ApogyCoreEnvironmentEarthOrbitPlannerFacade object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Observation Analysis Planner Tool</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>Observation Analysis Planner Tool</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObservationAnalysisPlannerTool(ObservationAnalysisPlannerTool object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Observation Analysis Planner</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>Observation Analysis Planner</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObservationAnalysisPlanner(ObservationAnalysisPlanner object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Observation Analysis Planner Node</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>Observation Analysis Planner Node</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObservationAnalysisPlannerNode(ObservationAnalysisPlannerNode object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Observation Analysis Plan Generator</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>Observation Analysis Plan Generator</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObservationAnalysisPlanGenerator(ObservationAnalysisPlanGenerator object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Observation Analysis Plan Costs Processor</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>Observation Analysis Plan Costs Processor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObservationAnalysisPlanCostsProcessor(ObservationAnalysisPlanCostsProcessor object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Observation Plan Exporter</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>Abstract Observation Plan Exporter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractObservationPlanExporter(AbstractObservationPlanExporter object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Default Observation Plan Exporter</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>Default Observation Plan Exporter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDefaultObservationPlanExporter(DefaultObservationPlanExporter object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Cost Function</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>Abstract Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractCostFunction(AbstractCostFunction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Cost Function State</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>Cost Function State</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCostFunctionState(CostFunctionState object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Stateless Cost Function</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>Abstract Stateless Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseAbstractStatelessCostFunction(AbstractStatelessCostFunction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Abstract Stateful Cost Function</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>Abstract Stateful Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <State extends CostFunctionState> T caseAbstractStatefulCostFunction(AbstractStatefulCostFunction<State> object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Observation Analysis Planner Result</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>Observation Analysis Planner Result</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseObservationAnalysisPlannerResult(ObservationAnalysisPlannerResult object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Stateless Costs Map Entry</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>Stateless Costs Map Entry</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStatelessCostsMapEntry(Map.Entry<VisibilityPass, StatelessCostFunctionMap> object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Stateless Cost Function Map</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>Stateless Cost Function Map</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStatelessCostFunctionMap(StatelessCostFunctionMap object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Stateless Cost Function Map Entry</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>Stateless Cost Function Map Entry</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStatelessCostFunctionMapEntry(Map.Entry<AbstractStatelessCostFunction, Double> object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Stateful Cost Function Map Entry</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>Stateful Cost Function Map Entry</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStatefulCostFunctionMapEntry(Map.Entry<AbstractStatefulCostFunction<CostFunctionState>, StatefulCostFunctionMapEntryValue> object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Stateful Cost Function Map Entry Value</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>Stateful Cost Function Map Entry Value</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseStatefulCostFunctionMapEntryValue(StatefulCostFunctionMapEntryValue object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Eclipse Cost Function</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>Eclipse Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEclipseCostFunction(EclipseCostFunction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Time Interval Cost Function</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>Time Interval Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTimeIntervalCostFunction(TimeIntervalCostFunction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Simple Resource Cost Function</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>Simple Resource Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSimpleResourceCostFunction(SimpleResourceCostFunction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Simple Resource Cost Function State</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>Simple Resource Cost Function State</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseSimpleResourceCostFunctionState(SimpleResourceCostFunctionState object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Minimum Time Spam Cost Function</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>Minimum Time Spam Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMinimumTimeSpamCostFunction(MinimumTimeSpamCostFunction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Crosstrack Angle Cost Function</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>Crosstrack Angle Cost Function</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCrosstrackAngleCostFunction(CrosstrackAngleCostFunction object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Named</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>Named</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamed(Named object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Described</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>Described</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseDescribed(Described object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Named Described Element</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>Named Described Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseNamedDescribedElement(NamedDescribedElement object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Earth Orbit Tool</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>Earth Orbit Tool</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseEarthOrbitTool(EarthOrbitTool object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Monitorable</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>Monitorable</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseMonitorable(Monitorable object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Processor</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>Processor</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public <I, O> T caseProcessor(Processor<I, O> object) {
return null;
}
/**
* Returns the result of interpreting the object as an instance of '<em>Time Interval</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>Time Interval</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseTimeInterval(TimeInterval 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
*/
@Override
public T defaultCase(EObject object) {
return null;
}
} //ApogyCoreEnvironmentEarthOrbitPlannerSwitch