/**
*/
package net.certware.intent.state.stateSpecification.util;
import net.certware.intent.state.stateSpecification.*;
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;
/**
* <!-- 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 net.certware.intent.state.stateSpecification.StateSpecificationPackage
* @generated
*/
public class StateSpecificationAdapterFactory extends AdapterFactoryImpl
{
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected static StateSpecificationPackage modelPackage;
/**
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public StateSpecificationAdapterFactory()
{
if (modelPackage == null)
{
modelPackage = StateSpecificationPackage.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 StateSpecificationSwitch<Adapter> modelSwitch =
new StateSpecificationSwitch<Adapter>()
{
@Override
public Adapter caseSpecification(Specification object)
{
return createSpecificationAdapter();
}
@Override
public Adapter caseModeElementType(ModeElementType object)
{
return createModeElementTypeAdapter();
}
@Override
public Adapter caseComponent(Component object)
{
return createComponentAdapter();
}
@Override
public Adapter caseModeElement(ModeElement object)
{
return createModeElementAdapter();
}
@Override
public Adapter caseStateElement(StateElement object)
{
return createStateElementAdapter();
}
@Override
public Adapter caseStateVariable(StateVariable object)
{
return createStateVariableAdapter();
}
@Override
public Adapter caseState(State object)
{
return createStateAdapter();
}
@Override
public Adapter caseModeVariable(ModeVariable object)
{
return createModeVariableAdapter();
}
@Override
public Adapter caseMode(Mode object)
{
return createModeAdapter();
}
@Override
public Adapter caseDevice(Device object)
{
return createDeviceAdapter();
}
@Override
public Adapter caseDeviceInput(DeviceInput object)
{
return createDeviceInputAdapter();
}
@Override
public Adapter caseDeviceOutput(DeviceOutput object)
{
return createDeviceOutputAdapter();
}
@Override
public Adapter caseComponentInput(ComponentInput object)
{
return createComponentInputAdapter();
}
@Override
public Adapter caseComponentOutput(ComponentOutput object)
{
return createComponentOutputAdapter();
}
@Override
public Adapter caseBigUnitValue(BigUnitValue object)
{
return createBigUnitValueAdapter();
}
@Override
public Adapter caseStateValue(StateValue object)
{
return createStateValueAdapter();
}
@Override
public Adapter caseStateList(StateList object)
{
return createStateListAdapter();
}
@Override
public Adapter caseTrigger(Trigger object)
{
return createTriggerAdapter();
}
@Override
public Adapter caseTriggerTable(TriggerTable object)
{
return createTriggerTableAdapter();
}
@Override
public Adapter caseValueRange(ValueRange object)
{
return createValueRangeAdapter();
}
@Override
public Adapter caseValueList(ValueList object)
{
return createValueListAdapter();
}
@Override
public Adapter caseOutput(Output object)
{
return createOutputAdapter();
}
@Override
public Adapter caseInput(Input object)
{
return createInputAdapter();
}
@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 net.certware.intent.state.stateSpecification.Specification <em>Specification</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 net.certware.intent.state.stateSpecification.Specification
* @generated
*/
public Adapter createSpecificationAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.ModeElementType <em>Mode Element Type</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 net.certware.intent.state.stateSpecification.ModeElementType
* @generated
*/
public Adapter createModeElementTypeAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.Component <em>Component</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 net.certware.intent.state.stateSpecification.Component
* @generated
*/
public Adapter createComponentAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.ModeElement <em>Mode 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 net.certware.intent.state.stateSpecification.ModeElement
* @generated
*/
public Adapter createModeElementAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.StateElement <em>State 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 net.certware.intent.state.stateSpecification.StateElement
* @generated
*/
public Adapter createStateElementAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.StateVariable <em>State Variable</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 net.certware.intent.state.stateSpecification.StateVariable
* @generated
*/
public Adapter createStateVariableAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.State <em>State</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 net.certware.intent.state.stateSpecification.State
* @generated
*/
public Adapter createStateAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.ModeVariable <em>Mode Variable</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 net.certware.intent.state.stateSpecification.ModeVariable
* @generated
*/
public Adapter createModeVariableAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.Mode <em>Mode</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 net.certware.intent.state.stateSpecification.Mode
* @generated
*/
public Adapter createModeAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.Device <em>Device</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 net.certware.intent.state.stateSpecification.Device
* @generated
*/
public Adapter createDeviceAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.DeviceInput <em>Device Input</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 net.certware.intent.state.stateSpecification.DeviceInput
* @generated
*/
public Adapter createDeviceInputAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.DeviceOutput <em>Device Output</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 net.certware.intent.state.stateSpecification.DeviceOutput
* @generated
*/
public Adapter createDeviceOutputAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.ComponentInput <em>Component Input</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 net.certware.intent.state.stateSpecification.ComponentInput
* @generated
*/
public Adapter createComponentInputAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.ComponentOutput <em>Component Output</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 net.certware.intent.state.stateSpecification.ComponentOutput
* @generated
*/
public Adapter createComponentOutputAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.BigUnitValue <em>Big Unit Value</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 net.certware.intent.state.stateSpecification.BigUnitValue
* @generated
*/
public Adapter createBigUnitValueAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.StateValue <em>State Value</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 net.certware.intent.state.stateSpecification.StateValue
* @generated
*/
public Adapter createStateValueAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.StateList <em>State List</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 net.certware.intent.state.stateSpecification.StateList
* @generated
*/
public Adapter createStateListAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.Trigger <em>Trigger</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 net.certware.intent.state.stateSpecification.Trigger
* @generated
*/
public Adapter createTriggerAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.TriggerTable <em>Trigger Table</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 net.certware.intent.state.stateSpecification.TriggerTable
* @generated
*/
public Adapter createTriggerTableAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.ValueRange <em>Value Range</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 net.certware.intent.state.stateSpecification.ValueRange
* @generated
*/
public Adapter createValueRangeAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.ValueList <em>Value List</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 net.certware.intent.state.stateSpecification.ValueList
* @generated
*/
public Adapter createValueListAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.Output <em>Output</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 net.certware.intent.state.stateSpecification.Output
* @generated
*/
public Adapter createOutputAdapter()
{
return null;
}
/**
* Creates a new adapter for an object of class '{@link net.certware.intent.state.stateSpecification.Input <em>Input</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 net.certware.intent.state.stateSpecification.Input
* @generated
*/
public Adapter createInputAdapter()
{
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;
}
} //StateSpecificationAdapterFactory