Package tools.descartes.dlim.impl
Class SequenceImpl
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,Function
,Sequence
An implementation of the model object '
Sequence'.
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 static final double
The default value of the 'Final Duration
' attribute.protected double
The cached value of the 'Final Duration
' attribute.protected static final double
The default value of the 'First Iteration End
' attribute.protected static final double
The default value of the 'First Iteration Start
' attribute.protected double
The cached value of the 'First Iteration End
' attribute.protected double
The cached value of the 'First Iteration Start
' attribute.protected static final double
The default value of the 'Loop Duration
' attribute.protected double
The cached value of the 'Loop Duration
' attribute.protected String
The cached value of the 'Name
' attribute.protected static final String
The default value of the 'Name
' attribute.protected ReferenceClockObject
The cached value of the 'Reference Clock
' containment reference.protected EList<TimeDependentFunctionContainer>
The cached value of the 'Sequence Function Containers
' containment reference list.protected static final int
The default value of the 'Terminate After Loops
' attribute.protected static final double
The default value of the 'Terminate After Time
' attribute.protected int
The cached value of the 'Terminate After Loops
' attribute.protected double
The cached value of the 'Terminate After 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 TypeMethodDescriptionbasicSetReferenceClock
(ReferenceClockObject newReferenceClock, NotificationChain msgs) boolean
durationDefined
(DiagnosticChain chain, Map<?, ?> context) Checks whether the Sequence's duration has been sufficiently defined.eGet
(int featureID, boolean resolve, boolean coreType) eInverseRemove
(InternalEObject otherEnd, int featureID, NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected EClass
void
eUnset
(int featureID) double
double
double
double
getName()
int
double
void
setFinalDuration
(double newFinalDuration) void
setFirstIterationEnd
(double newFirstIterationEnd) void
setFirstIterationStart
(double newFirstIterationStart) void
setLoopDuration
(double newLoopDuration) void
void
setReferenceClock
(ReferenceClockObject newReferenceClock) void
setTerminateAfterLoops
(int newTerminateAfterLoops) void
setTerminateAfterTime
(double newTerminateAfterTime) toString()
Methods inherited from class tools.descartes.dlim.impl.FunctionImpl
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
-
NAME_EDEFAULT
The default value of the 'Name
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
name
The cached value of the 'Name
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
TERMINATE_AFTER_TIME_EDEFAULT
protected static final double TERMINATE_AFTER_TIME_EDEFAULTThe default value of the 'Terminate After Time
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
terminateAfterTime
protected double terminateAfterTimeThe cached value of the 'Terminate After Time
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
referenceClock
The cached value of the 'Reference Clock
' containment reference.- See Also:
- Generated class or method.
- Ordered collection.
-
sequenceFunctionContainers
The cached value of the 'Sequence Function Containers
' containment reference list.- See Also:
- Generated class or method.
- Ordered collection.
-
TERMINATE_AFTER_LOOPS_EDEFAULT
protected static final int TERMINATE_AFTER_LOOPS_EDEFAULTThe default value of the 'Terminate After Loops
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
terminateAfterLoops
protected int terminateAfterLoopsThe cached value of the 'Terminate After Loops
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
FIRST_ITERATION_START_EDEFAULT
protected static final double FIRST_ITERATION_START_EDEFAULTThe default value of the 'First Iteration Start
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
firstIterationStart
protected double firstIterationStartThe cached value of the 'First Iteration Start
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
FIRST_ITERATION_END_EDEFAULT
protected static final double FIRST_ITERATION_END_EDEFAULTThe default value of the 'First Iteration End
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
firstIterationEnd
protected double firstIterationEndThe cached value of the 'First Iteration End
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
LOOP_DURATION_EDEFAULT
protected static final double LOOP_DURATION_EDEFAULTThe default value of the 'Loop Duration
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
loopDuration
protected double loopDurationThe cached value of the 'Loop Duration
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
FINAL_DURATION_EDEFAULT
protected static final double FINAL_DURATION_EDEFAULTThe default value of the 'Final Duration
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
finalDuration
protected double finalDurationThe cached value of the 'Final Duration
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Constructor Details
-
SequenceImpl
protected SequenceImpl()- Generated class or method.
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classFunctionImpl
- Generated class or method.
-
getName
-
setName
-
getTerminateAfterTime
public double getTerminateAfterTime()- Specified by:
getTerminateAfterTime
in interfaceSequence
- Returns:
- the value of the 'Terminate After Time' attribute.
- See Also:
- Generated class or method.
-
setTerminateAfterTime
public void setTerminateAfterTime(double newTerminateAfterTime) - Specified by:
setTerminateAfterTime
in interfaceSequence
- Parameters:
newTerminateAfterTime
- the new value of the 'Terminate After Time' attribute.- See Also:
- Generated class or method.
-
getReferenceClock
- Specified by:
getReferenceClock
in interfaceSequence
- Returns:
- the value of the 'Reference Clock' containment reference.
- See Also:
- Generated class or method.
-
basicSetReferenceClock
public NotificationChain basicSetReferenceClock(ReferenceClockObject newReferenceClock, NotificationChain msgs) - Generated class or method.
-
setReferenceClock
- Specified by:
setReferenceClock
in interfaceSequence
- Parameters:
newReferenceClock
- the new value of the 'Reference Clock' containment reference.- See Also:
- Generated class or method.
-
getSequenceFunctionContainers
- Specified by:
getSequenceFunctionContainers
in interfaceSequence
- Returns:
- the value of the 'Sequence Function Containers' containment reference list.
- See Also:
- Generated class or method.
-
getTerminateAfterLoops
public int getTerminateAfterLoops()- Specified by:
getTerminateAfterLoops
in interfaceSequence
- Returns:
- the value of the 'Terminate After Loops' attribute.
- See Also:
- Generated class or method.
-
setTerminateAfterLoops
public void setTerminateAfterLoops(int newTerminateAfterLoops) - Specified by:
setTerminateAfterLoops
in interfaceSequence
- Parameters:
newTerminateAfterLoops
- the new value of the 'Terminate After Loops' attribute.- See Also:
- Generated class or method.
-
getFirstIterationStart
public double getFirstIterationStart()- Specified by:
getFirstIterationStart
in interfaceSequence
- Returns:
- the value of the 'First Iteration Start' attribute.
- See Also:
- Generated class or method.
-
setFirstIterationStart
public void setFirstIterationStart(double newFirstIterationStart) - Specified by:
setFirstIterationStart
in interfaceSequence
- Parameters:
newFirstIterationStart
- the new value of the 'First Iteration Start' attribute.- See Also:
- Generated class or method.
-
getFirstIterationEnd
public double getFirstIterationEnd()- Specified by:
getFirstIterationEnd
in interfaceSequence
- Returns:
- the value of the 'First Iteration End' attribute.
- See Also:
- Generated class or method.
-
setFirstIterationEnd
public void setFirstIterationEnd(double newFirstIterationEnd) - Specified by:
setFirstIterationEnd
in interfaceSequence
- Parameters:
newFirstIterationEnd
- the new value of the 'First Iteration End' attribute.- See Also:
- Generated class or method.
-
getLoopDuration
public double getLoopDuration()- Specified by:
getLoopDuration
in interfaceSequence
- Returns:
- the value of the 'Loop Duration' attribute.
- See Also:
- Generated class or method.
-
setLoopDuration
public void setLoopDuration(double newLoopDuration) - Specified by:
setLoopDuration
in interfaceSequence
- Parameters:
newLoopDuration
- the new value of the 'Loop Duration' attribute.- See Also:
- Generated class or method.
-
getFinalDuration
public double getFinalDuration()- Specified by:
getFinalDuration
in interfaceSequence
- Returns:
- the value of the 'Final Duration' attribute.
- See Also:
- Generated class or method.
-
setFinalDuration
public void setFinalDuration(double newFinalDuration) - Specified by:
setFinalDuration
in interfaceSequence
- Parameters:
newFinalDuration
- the new value of the 'Final Duration' attribute.- See Also:
- Generated class or method.
-
durationDefined
Checks whether the Sequence's duration has been sufficiently defined. The duration is sufficiently defined if either Sequence.duration is > 0, or Sequence.loops >= 0. Returns a validation error otherwise.- Specified by:
durationDefined
in interfaceSequence
- Generated class or method.
- not
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - Overrides:
eInverseRemove
in classFunctionImpl
- Generated class or method.
-
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.
-