Package tools.descartes.dlim.impl
Class TimeDependentFunctionContainerImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
tools.descartes.dlim.impl.TimeDependentFunctionContainerImpl
- All Implemented Interfaces:
Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,TimeDependentFunctionContainer
public class TimeDependentFunctionContainerImpl
extends MinimalEObjectImpl.Container
implements TimeDependentFunctionContainer
An implementation of the model object '
Time Dependent Function Container'.
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 'Duration
' attribute.protected static final double
The default value of the '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 Function
The cached value of the 'Function
' containment reference.protected String
The cached value of the 'Name
' attribute.protected static final String
The default value of the 'Name
' attribute.protected static final ClockType
The default value of the 'Point Of Reference Clock Type
' attribute.protected ReferenceClockObject
The cached value of the 'Point Of Reference Clock Object
' reference.protected ClockType
The cached value of the 'Point Of Reference Clock Type
' attribute.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 TypeMethodDescriptionbasicSetFunction
(Function newFunction, NotificationChain msgs) boolean
durationGreaterZero
(DiagnosticChain chain, Map<?, ?> context) Returns a validation error if the Element's duration is <= 0.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
getName()
boolean
referenceClockInTreeNode
(DiagnosticChain chain, Map<?, ?> context) Checks whether the referenceClock referenced in this Element will be running at the time this Element is being executed.void
setDuration
(double newDuration) void
setFirstIterationEnd
(double newFirstIterationEnd) void
setFirstIterationStart
(double newFirstIterationStart) void
setFunction
(Function newFunction) void
void
setPointOfReferenceClockObject
(ReferenceClockObject newPointOfReferenceClockObject) void
setPointOfReferenceClockType
(ClockType newPointOfReferenceClockType) toString()
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 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.
-
DURATION_EDEFAULT
protected static final double DURATION_EDEFAULTThe default value of the 'Duration
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
duration
protected double durationThe cached value of the 'Duration
' 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.
-
function
The cached value of the 'Function
' containment reference.- See Also:
- Generated class or method.
- Ordered collection.
-
pointOfReferenceClockObject
The cached value of the 'Point Of Reference Clock Object
' reference.- See Also:
- Generated class or method.
- Ordered collection.
-
POINT_OF_REFERENCE_CLOCK_TYPE_EDEFAULT
The default value of the 'Point Of Reference Clock Type
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
pointOfReferenceClockType
The cached value of the 'Point Of Reference Clock Type
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Constructor Details
-
TimeDependentFunctionContainerImpl
protected TimeDependentFunctionContainerImpl()- Generated class or method.
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classBasicEObjectImpl
- Generated class or method.
-
getName
- Specified by:
getName
in interfaceTimeDependentFunctionContainer
- Returns:
- the value of the 'Name' attribute.
- See Also:
- Generated class or method.
-
setName
- Specified by:
setName
in interfaceTimeDependentFunctionContainer
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
- Generated class or method.
-
getDuration
public double getDuration()- Specified by:
getDuration
in interfaceTimeDependentFunctionContainer
- Returns:
- the value of the 'Duration' attribute.
- See Also:
- Generated class or method.
-
setDuration
public void setDuration(double newDuration) - Specified by:
setDuration
in interfaceTimeDependentFunctionContainer
- Parameters:
newDuration
- the new value of the 'Duration' attribute.- See Also:
- Generated class or method.
-
getFirstIterationStart
public double getFirstIterationStart()- Specified by:
getFirstIterationStart
in interfaceTimeDependentFunctionContainer
- 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 interfaceTimeDependentFunctionContainer
- 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 interfaceTimeDependentFunctionContainer
- 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 interfaceTimeDependentFunctionContainer
- Parameters:
newFirstIterationEnd
- the new value of the 'First Iteration End' attribute.- See Also:
- Generated class or method.
-
getFunction
- Specified by:
getFunction
in interfaceTimeDependentFunctionContainer
- Returns:
- the value of the 'Function' containment reference.
- See Also:
- Generated class or method.
-
basicSetFunction
- Generated class or method.
-
setFunction
- Specified by:
setFunction
in interfaceTimeDependentFunctionContainer
- Parameters:
newFunction
- the new value of the 'Function' containment reference.- See Also:
- Generated class or method.
-
getPointOfReferenceClockObject
- Specified by:
getPointOfReferenceClockObject
in interfaceTimeDependentFunctionContainer
- Returns:
- the value of the 'Point Of Reference Clock Object' reference.
- See Also:
- Generated class or method.
-
basicGetPointOfReferenceClockObject
- Generated class or method.
-
setPointOfReferenceClockObject
- Specified by:
setPointOfReferenceClockObject
in interfaceTimeDependentFunctionContainer
- Parameters:
newPointOfReferenceClockObject
- the new value of the 'Point Of Reference Clock Object' reference.- See Also:
- Generated class or method.
-
getPointOfReferenceClockType
- Specified by:
getPointOfReferenceClockType
in interfaceTimeDependentFunctionContainer
- Returns:
- the value of the 'Point Of Reference Clock Type' attribute.
- See Also:
- Generated class or method.
-
setPointOfReferenceClockType
- Specified by:
setPointOfReferenceClockType
in interfaceTimeDependentFunctionContainer
- Parameters:
newPointOfReferenceClockType
- the new value of the 'Point Of Reference Clock Type' attribute.- See Also:
- Generated class or method.
-
durationGreaterZero
Returns a validation error if the Element's duration is <= 0.- Specified by:
durationGreaterZero
in interfaceTimeDependentFunctionContainer
- Generated class or method.
- not
-
referenceClockInTreeNode
Checks whether the referenceClock referenced in this Element will be running at the time this Element is being executed.- Specified by:
referenceClockInTreeNode
in interfaceTimeDependentFunctionContainer
- Generated class or method.
- not
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated class or method.
-
eGet
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classBasicEObjectImpl
- Generated class or method.
-
eSet
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classBasicEObjectImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classBasicEObjectImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classBasicEObjectImpl
- 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.
-