Interface Duration
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,TypedElement
,ValueSpecification
public interface Duration extends ValueSpecification
A representation of the model object 'Duration'.A Duration is a ValueSpecification that specifies the temporal distance between two time instants.
The following features are supported:
- See Also:
UMLPackage.getDuration()
- Model:
- annotation="MOF package='commonbehaviors.mdsimpletime'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<DurationInterval>
get_durationIntervalOfMax()
Returns the value of the 'duration Interval Of Max' reference list.java.util.Collection<DurationInterval>
get_durationIntervalOfMin()
Returns the value of the 'duration Interval Of Min' reference list.ValueSpecification
getExpr()
Returns the value of the 'Expr' containment reference.java.util.Collection<Observation>
getObservation()
Returns the value of the 'Observation' reference list.boolean
has_durationIntervalOfMax()
boolean
has_durationIntervalOfMin()
boolean
hasObservation()
void
setExpr(ValueSpecification value)
Sets the value of the 'Expr
' containment reference.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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 com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
-
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.TypedElement
getType, setType
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.ValueSpecification
get_activityEdgeOfGuard, get_activityEdgeOfWeight, get_changeEventOfChangeExpression, get_durationOfExpr, get_interactionConstraintOfMaxint, get_interactionConstraintOfMinint, get_interactionUseOfArgument, get_interactionUseOfReturnValue, get_intervalOfMax, get_intervalOfMin, get_joinNodeOfJoinSpec, get_lifelineOfSelector, get_messageOfArgument, get_messageOfTarget, get_objectNodeOfUpperBound, get_timeExpressionOfExpr, get_valuePinOfValue, get_valueSpecificationActionOfValue, getExpression, getOwningConstraint, getOwningInstanceSpec, getOwningLower, getOwningParameter, getOwningProperty, getOwningSlot, getOwningUpper, has_intervalOfMax, has_intervalOfMin, set_activityEdgeOfGuard, set_activityEdgeOfWeight, set_changeEventOfChangeExpression, set_durationOfExpr, set_interactionConstraintOfMaxint, set_interactionConstraintOfMinint, set_interactionUseOfArgument, set_interactionUseOfReturnValue, set_joinNodeOfJoinSpec, set_lifelineOfSelector, set_messageOfArgument, set_messageOfTarget, set_objectNodeOfUpperBound, set_timeExpressionOfExpr, set_valuePinOfValue, set_valueSpecificationActionOfValue, setExpression, setOwningConstraint, setOwningInstanceSpec, setOwningLower, setOwningParameter, setOwningProperty, setOwningSlot, setOwningUpper
-
-
-
-
Method Detail
-
getExpr
@CheckForNull ValueSpecification getExpr()
Returns the value of the 'Expr' containment reference. It is bidirectional and its opposite is 'duration Of Expr
'. A ValueSpecification that evaluates to the value of the Duration.- Returns:
- the value of the 'Expr' containment reference.
- See Also:
setExpr(ValueSpecification)
,UMLPackage.getDuration_Expr()
,ValueSpecification.get_durationOfExpr()
- Model:
- opposite="_durationOfExpr" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setExpr
void setExpr(@CheckForNull ValueSpecification value)
Sets the value of the 'Expr
' containment reference.- Parameters:
value
- the new value of the 'Expr' containment reference.- See Also:
getExpr()
- Generated:
-
getObservation
java.util.Collection<Observation> getObservation()
Returns the value of the 'Observation' reference list. The list contents are of typeObservation
. It is bidirectional and its opposite is 'duration Of Observation
'. Refers to the Observations that are involved in the computation of the Duration value- Returns:
- the value of the 'Observation' reference list.
- See Also:
UMLPackage.getDuration_Observation()
,Observation.get_durationOfObservation()
- Model:
- opposite="_durationOfObservation" ordered="false"
- Generated:
-
get_durationIntervalOfMax
java.util.Collection<DurationInterval> get_durationIntervalOfMax()
Returns the value of the 'duration Interval Of Max' reference list. The list contents are of typeDurationInterval
. It is bidirectional and its opposite is 'Max
'.If the meaning of the 'duration Interval Of Max' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'duration Interval Of Max' reference list.
- See Also:
UMLPackage.getDuration__durationIntervalOfMax()
,DurationInterval.getMax()
- Model:
- opposite="max" volatile="true" ordered="false"
- Generated:
-
get_durationIntervalOfMin
java.util.Collection<DurationInterval> get_durationIntervalOfMin()
Returns the value of the 'duration Interval Of Min' reference list. The list contents are of typeDurationInterval
. It is bidirectional and its opposite is 'Min
'.If the meaning of the 'duration Interval Of Min' reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'duration Interval Of Min' reference list.
- See Also:
UMLPackage.getDuration__durationIntervalOfMin()
,DurationInterval.getMin()
- Model:
- opposite="min" volatile="true" ordered="false"
- Generated:
-
hasObservation
boolean hasObservation() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_durationIntervalOfMax
boolean has_durationIntervalOfMax() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_durationIntervalOfMin
boolean has_durationIntervalOfMin() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-