org.eclipse.uml2
Interface TimeExpression

All Superinterfaces:
Element, EModelElement, EObject, NamedElement, Notifier, ParameterableElement, TemplateableElement, TypedElement, ValueSpecification

public interface TimeExpression
extends ValueSpecification

A representation of the model object 'Time Expression'. A TimeExpression defines a value specification that represent a time value.

The following features are supported:

See Also:
UML2Package.getTimeExpression()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 NamedElement getEvent()
          Returns the value of the 'Event' reference
 boolean isFirstTime()
          Returns the value of the 'First Time' attribute.
 void setEvent(NamedElement value)
          Sets the value of the 'Event' reference
 void setFirstTime(boolean value)
          Sets the value of the 'First Time' attribute
 
Methods inherited from interface org.eclipse.uml2.ValueSpecification
booleanValue, integerValue, isComputable, isNull, stringValue, unlimitedValue
 
Methods inherited from interface org.eclipse.uml2.TypedElement
getType, setType
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwnedElements, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, 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, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

isFirstTime

public boolean isFirstTime()
Returns the value of the 'First Time' attribute. The default value is "True".

If the meaning of the 'First Time' attribute isn't clear, there really should be more of a description here...

True if the TimeExpression describes the first point in time of the NamedElement referenced by event, in cases where the NamedElement describes something which extends in time. False if the TimeExpression describes the last point in time for the referenced NamedElement.

Returns:
the value of the 'First Time' attribute.
See Also:
setFirstTime(boolean), UML2Package.getTimeExpression_FirstTime()

setFirstTime

public void setFirstTime(boolean value)
Sets the value of the 'First Time' attribute.

Parameters:
value - the new value of the 'First Time' attribute.
See Also:
isFirstTime()

getEvent

public NamedElement getEvent()
Returns the value of the 'Event' reference.

If the meaning of the 'Event' reference isn't clear, there really should be more of a description here...

Refers to the specification of the event occurrence that the TimeExpression describes

Returns:
the value of the 'Event' reference.
See Also:
setEvent(NamedElement), UML2Package.getTimeExpression_Event()

setEvent

public void setEvent(NamedElement value)
Sets the value of the 'Event' reference.

Parameters:
value - the new value of the 'Event' reference.
See Also:
getEvent()

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.