Package tools.descartes.dlim.impl
Class BurstImpl
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Burst
,Function
- Direct Known Subclasses:
ExponentialIncreaseAndDeclineImpl
,ExponentialIncreaseLogarithmicDeclineImpl
,LinearIncreaseAndDeclineImpl
An implementation of the model object '
Burst'.
The following features are implemented:
- Generated class or method.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double
The cached value of the 'Base
' attribute.protected static final double
The default value of the 'Base
' attribute.protected double
The cached value of the 'Peak
' attribute.protected static final double
The default value of the 'Peak
' attribute.protected static final double
The default value of the 'Peak Time
' attribute.protected double
The cached value of the 'Peak Time
' attribute.Fields inherited from class tools.descartes.dlim.impl.FunctionImpl
combine
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) void
protected EClass
void
eUnset
(int featureID) double
getBase()
double
getPeak()
double
boolean
peakTimeGreaterZero
(DiagnosticChain chain, Map<?, ?> context) Returns a validation error if the Burst's peakTime is <= 0;void
setBase
(double newBase) void
setPeak
(double newPeak) void
setPeakTime
(double newPeakTime) toString()
Methods inherited from class tools.descartes.dlim.impl.FunctionImpl
eInverseRemove, getCombine
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface tools.descartes.dlim.Function
getCombine
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
PEAK_EDEFAULT
protected static final double PEAK_EDEFAULTThe default value of the 'Peak
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
peak
protected double peakThe cached value of the 'Peak
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
BASE_EDEFAULT
protected static final double BASE_EDEFAULTThe default value of the 'Base
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
base
protected double baseThe cached value of the 'Base
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
PEAK_TIME_EDEFAULT
protected static final double PEAK_TIME_EDEFAULTThe default value of the 'Peak Time
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
peakTime
protected double peakTimeThe cached value of the 'Peak Time
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Constructor Details
-
BurstImpl
protected BurstImpl()- Generated class or method.
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classFunctionImpl
- Generated class or method.
-
getPeak
public double getPeak() -
setPeak
public void setPeak(double newPeak) -
getBase
public double getBase() -
setBase
public void setBase(double newBase) -
getPeakTime
public double getPeakTime()- Specified by:
getPeakTime
in interfaceBurst
- Returns:
- the value of the 'Peak Time' attribute.
- See Also:
- Generated class or method.
-
setPeakTime
public void setPeakTime(double newPeakTime) - Specified by:
setPeakTime
in interfaceBurst
- Parameters:
newPeakTime
- the new value of the 'Peak Time' attribute.- See Also:
- Generated class or method.
-
peakTimeGreaterZero
Returns a validation error if the Burst's peakTime is <= 0;- Specified by:
peakTimeGreaterZero
in interfaceBurst
- Generated class or method.
- not
-
eGet
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classFunctionImpl
- Generated class or method.
-
eSet
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classFunctionImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classFunctionImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classFunctionImpl
- Generated class or method.
-
eInvoke
- Specified by:
eInvoke
in interfaceInternalEObject
- Overrides:
eInvoke
in classBasicEObjectImpl
- Throws:
InvocationTargetException
- Generated class or method.
-
toString
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-