Package tools.descartes.dlim.util
Class DlimAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
tools.descartes.dlim.util.DlimAdapterFactory
- All Implemented Interfaces:
AdapterFactory
- Direct Known Subclasses:
DlimItemProviderAdapterFactory
The Adapter Factory for the model. It provides
an adapter
createXXX
method for each class of the model. - See Also:
- Generated class or method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static DlimPackage
The cached model package.protected DlimSwitch<Adapter>
The switch that delegates to thecreateXXX
methods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a new adapter for an object of class 'Absolute Sin
'.Creates a new adapter for an object of class 'Absolute Value Function
'.createAdapter
(Notifier target) Creates an adapter for thetarget
.Creates a new adapter for an object of class 'Arrival Rates From File
'.Creates a new adapter for an object of class 'Burst
'.Creates a new adapter for an object of class 'Combinator
'.Creates a new adapter for an object of class 'Constant
'.Creates a new adapter for the default case.Creates a new adapter for an object of class 'Exponential Increase And Decline
'.Creates a new adapter for an object of class 'Exponential Increase Logarithmic Decline
'.Creates a new adapter for an object of class 'Exponential Trend
'.Creates a new adapter for an object of class 'Function
'.Creates a new adapter for an object of class 'Linear Increase And Decline
'.Creates a new adapter for an object of class 'Linear Trend
'.Creates a new adapter for an object of class 'Logarithmic Trend
'.Creates a new adapter for an object of class 'Noise
'.Creates a new adapter for an object of class 'Normal Noise
'.Creates a new adapter for an object of class 'Polynomial
'.Creates a new adapter for an object of class 'Polynomial Factor
'.Creates a new adapter for an object of class 'Reference Clock Object
'.Creates a new adapter for an object of class 'Seasonal
'.Creates a new adapter for an object of class 'Sequence
'.Creates a new adapter for an object of class 'Sin
'.Creates a new adapter for an object of class 'Sin Trend
'.Creates a new adapter for an object of class 'Time Dependent Function Container
'.Creates a new adapter for an object of class 'Trend
'.Creates a new adapter for an object of class 'Uniform Noise
'.Creates a new adapter for an object of class 'Univariate Function
'.boolean
isFactoryForType
(Object object) Returns whether this factory is applicable for the type of the object.Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
-
Field Details
-
modelPackage
The cached model package.- Generated class or method.
-
modelSwitch
The switch that delegates to thecreateXXX
methods.- Generated class or method.
-
-
Constructor Details
-
DlimAdapterFactory
public DlimAdapterFactory()Creates an instance of the adapter factory.- Generated class or method.
-
-
Method Details
-
isFactoryForType
Returns whether this factory is applicable for the type of the object. This implementation returnstrue
if the object is either the model's package or is an instance object of the model.- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in classAdapterFactoryImpl
- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
createAdapter
Creates an adapter for thetarget
.- Overrides:
createAdapter
in classAdapterFactoryImpl
- Parameters:
target
- the object to adapt.- Returns:
- the adapter for the
target
. - Generated class or method.
-
createSequenceAdapter
Creates a new adapter for an object of class 'Sequence
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCombinatorAdapter
Creates a new adapter for an object of class 'Combinator
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTimeDependentFunctionContainerAdapter
Creates a new adapter for an object of class 'Time Dependent Function Container
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createFunctionAdapter
Creates a new adapter for an object of class 'Function
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSeasonalAdapter
Creates a new adapter for an object of class 'Seasonal
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNoiseAdapter
Creates a new adapter for an object of class 'Noise
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUniformNoiseAdapter
Creates a new adapter for an object of class 'Uniform Noise
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNormalNoiseAdapter
Creates a new adapter for an object of class 'Normal Noise
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBurstAdapter
Creates a new adapter for an object of class 'Burst
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTrendAdapter
Creates a new adapter for an object of class 'Trend
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createConstantAdapter
Creates a new adapter for an object of class 'Constant
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSinAdapter
Creates a new adapter for an object of class 'Sin
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialIncreaseAndDeclineAdapter
Creates a new adapter for an object of class 'Exponential Increase And Decline
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialIncreaseLogarithmicDeclineAdapter
Creates a new adapter for an object of class 'Exponential Increase Logarithmic Decline
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLinearIncreaseAndDeclineAdapter
Creates a new adapter for an object of class 'Linear Increase And Decline
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAbsoluteSinAdapter
Creates a new adapter for an object of class 'Absolute Sin
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLinearTrendAdapter
Creates a new adapter for an object of class 'Linear Trend
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialTrendAdapter
Creates a new adapter for an object of class 'Exponential Trend
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLogarithmicTrendAdapter
Creates a new adapter for an object of class 'Logarithmic Trend
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSinTrendAdapter
Creates a new adapter for an object of class 'Sin Trend
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createReferenceClockObjectAdapter
Creates a new adapter for an object of class 'Reference Clock Object
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createArrivalRatesFromFileAdapter
Creates a new adapter for an object of class 'Arrival Rates From File
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAbsoluteValueFunctionAdapter
Creates a new adapter for an object of class 'Absolute Value Function
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUnivariateFunctionAdapter
Creates a new adapter for an object of class 'Univariate Function
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPolynomialAdapter
Creates a new adapter for an object of class 'Polynomial
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPolynomialFactorAdapter
Creates a new adapter for an object of class 'Polynomial Factor
'. 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.- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createEObjectAdapter
Creates a new adapter for the default case. This default implementation returns null.- Returns:
- the new adapter.
- Generated class or method.
-