Interface IntervalConstraint
- All Superinterfaces:
AbstractConstraint
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,Notifier
,PolicyConstraint
,TemporalConstraint
- All Known Implementing Classes:
IntervalConstraintImpl
A representation of the model object 'Interval Constraint'.
The IntervalConstraint identifies fixed intervals in which a policy enacts adjustments. Contrary to the CooldownConstraint, the IntervalConstraint predefines the enactment of the policy in time.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the 'Interval Duration' attribute.double
Returns the value of the 'Offset' attribute.boolean
isRepeat()
Returns the value of the 'Repeat' attribute.void
setIntervalDuration
(double value) Sets the value of the 'Interval Duration
' attribute.void
setOffset
(double value) Sets the value of the 'Offset
' attribute.void
setRepeat
(boolean value) Sets the value of the 'Repeat
' attribute.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getOffset
double getOffset()Returns the value of the 'Offset' attribute. The offset determines a period of time from which the interval constraint should begin.- Returns:
- the value of the 'Offset' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setOffset
void setOffset(double value) Sets the value of the 'Offset
' attribute.- Parameters:
value
- the new value of the 'Offset' attribute.- See Also:
- Generated class or method.
-
getIntervalDuration
double getIntervalDuration()Returns the value of the 'Interval Duration' attribute. The duration in which no enactment by the policy occurs.- Returns:
- the value of the 'Interval Duration' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setIntervalDuration
void setIntervalDuration(double value) Sets the value of the 'Interval Duration
' attribute.- Parameters:
value
- the new value of the 'Interval Duration' attribute.- See Also:
- Generated class or method.
-
isRepeat
boolean isRepeat()Returns the value of the 'Repeat' attribute. The default value is"false"
. The repeat property determines whether the interval constraint should repeat throughout the simulation or is applied once, which is the default case (false).- Returns:
- the value of the 'Repeat' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="false"
-
setRepeat
void setRepeat(boolean value) Sets the value of the 'Repeat
' attribute.- Parameters:
value
- the new value of the 'Repeat' attribute.- See Also:
- Generated class or method.
-