|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeExpression
A representation of the model object 'Time Expression'. A TimeExpression is a ValueSpecification that represents a time value.
From package UML::Values.
The following features are supported:
UMLPackage.getTimeExpression()
Field Summary |
---|
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
ValueSpecification |
createExpr(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new ValueSpecification , with the specified 'Name', and 'Type', and sets the 'Expr' containment reference |
ValueSpecification |
getExpr()
Returns the value of the 'Expr' containment reference. |
Observation |
getObservation(java.lang.String name)
Retrieves the first Observation with the specified 'Name' from the 'Observation' reference list |
Observation |
getObservation(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first Observation with the specified 'Name' from the 'Observation' reference list |
org.eclipse.emf.common.util.EList<Observation> |
getObservations()
Returns the value of the 'Observation' reference list. |
void |
setExpr(ValueSpecification value)
Sets the value of the ' Expr ' containment reference |
boolean |
validateNoExprRequiresObservation(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
If a TimeExpression has no expr, then it must have a single observation that is a TimeObservation. |
Methods inherited from interface org.eclipse.uml2.uml.ValueSpecification |
---|
booleanValue, integerValue, isComputable, isNull, realValue, stringValue, unlimitedValue |
Methods inherited from interface org.eclipse.uml2.uml.PackageableElement |
---|
validateNamespaceNeedsVisibility |
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
Methods inherited from interface org.eclipse.uml2.uml.TypedElement |
---|
getType, setType |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
---|
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, 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.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 org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
ValueSpecification getExpr()
This feature subsets the following features:
A ValueSpecification that evaluates to the value of the TimeExpression.From package UML::Values.
setExpr(ValueSpecification)
,
UMLPackage.getTimeExpression_Expr()
void setExpr(ValueSpecification value)
Expr
' containment reference.
value
- the new value of the 'Expr' containment reference.getExpr()
ValueSpecification createExpr(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type', and sets the 'Expr' containment reference.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.
ValueSpecification
.getExpr()
org.eclipse.emf.common.util.EList<Observation> getObservations()
Observation
.
Refers to the Observations that are involved in the computation of the TimeExpression value.
From package UML::Values.
UMLPackage.getTimeExpression_Observation()
Observation getObservation(java.lang.String name)
Observation
with the specified 'Name' from the 'Observation' reference list.
name
- The 'Name' of the Observation
to retrieve, or null
.
Observation
with the specified 'Name', or null
.getObservations()
Observation getObservation(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Observation
with the specified 'Name' from the 'Observation' reference list.
name
- The 'Name' of the Observation
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Observation
to retrieve, or null
.
Observation
with the specified 'Name', or null
.getObservations()
boolean validateNoExprRequiresObservation(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
|
Copyright 2003, 2014 IBM Corporation, CEA, and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |