Package com.sodius.mdw.metamodel.uml21
Interface TimeExpression
-
- All Superinterfaces:
Comparable<Object>
,Element
,org.eclipse.emf.ecore.EModelElement
,org.eclipse.emf.ecore.EObject
,MDWEObject
,MDWObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,TypedElement
,ValueSpecification
public interface TimeExpression extends ValueSpecification
A representation of the model object 'Time Expression'. A time expression defines a value specification that represents a time value.The following features are supported:
- See Also:
UMLPackage.getTimeExpression()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueSpecification
getExpr()
Returns the value of the 'Expr' reference.Observation
getObservation(String name)
Retrieves the firstObservation
with the specified 'Name' from the ' Observation' reference list.Observation
getObservation(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstObservation
with the specified 'Name' from the ' Observation' reference list.MDWEList<Observation>
getObservations()
Returns the value of the 'Observation' reference list.void
setExpr(ValueSpecification value)
Sets the value of the 'Expr
' reference.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
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.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.TypedElement
getType, setType
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ValueSpecification
booleanValue, integerValue, isComputable, isNull, stringValue, unlimitedValue
-
-
-
-
Method Detail
-
getExpr
ValueSpecification getExpr()
Returns the value of the 'Expr' reference. The value of the time expression.- Returns:
- the value of the 'Expr' reference.
- See Also:
setExpr(ValueSpecification)
,UMLPackage.getTimeExpression_Expr()
-
setExpr
void setExpr(ValueSpecification value)
Sets the value of the 'Expr
' reference.- Parameters:
value
- the new value of the 'Expr' reference.- See Also:
getExpr()
-
getObservations
MDWEList<Observation> getObservations()
Returns the value of the 'Observation' reference list. The list contents are of typeObservation
. Refers to the time and duration observations that are involved in expr.- Returns:
- the value of the 'Observation' reference list.
- See Also:
UMLPackage.getTimeExpression_Observation()
-
getObservation
Observation getObservation(String name)
Retrieves the firstObservation
with the specified 'Name' from the ' Observation' reference list.- Parameters:
name
- The 'Name' of theObservation
to retrieve, ornull
.- Returns:
- The first
Observation
with the specified 'Name', ornull
. - See Also:
getObservations()
-
getObservation
Observation getObservation(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstObservation
with the specified 'Name' from the ' Observation' reference list.- Parameters:
name
- The 'Name' of theObservation
to retrieve, ornull
.ignoreCase
- Whether to ignore case inString
comparisons.eClass
- The Ecore class of theObservation
to retrieve, ornull
.- Returns:
- The first
Observation
with the specified 'Name', ornull
. - See Also:
getObservations()
-
-