|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Duration'. A duration defines a value specification that specifies the temporal distance between two time expressions that specify time instants.
The following features are supported:
UML2Package.getDuration()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
NamedElement |
getEvent(String unqualifiedName)
Retrieves the NamedElement with the specified name from the 'Event' reference list |
org.eclipse.emf.common.util.EList |
getEvents()
Returns the value of the 'Event' reference list. |
boolean |
isFirstTime()
Returns the value of the 'First Time' attribute. |
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 |
public static final String copyright
Method Detail |
public boolean isFirstTime()
"True"
.
If the meaning of the 'First Time' attribute isn't clear, there really should be more of a description here...
If the duration is between times of two NamedElements, there are two Boolean attributes, one for the start of the duration and one for the end of the duration. For each of these it holds that firstTime is true if the time information is associated with the first point in time of the NamedElement referenced by event, and false if it represents the last point in time of the NamedElement. If there is only one NamedElement referenced by event, then this attribute is irrelevant. The default value is true.
setFirstTime(boolean)
,
UML2Package.getDuration_FirstTime()
public void setFirstTime(boolean value)
First Time
' attribute.
value
- the new value of the 'First Time' attribute.isFirstTime()
public org.eclipse.emf.common.util.EList getEvents()
NamedElement
.
If the meaning of the 'Event' reference list isn't clear, there really should be more of a description here...
Refers to the specification(s) that describes the starting TimeExpression and the ending TimeExpression of the Duration. If only one NamedElement is referenced, the duration is from the first point in time of that NamedElement until the last point in time of that NamedElement.
UML2Package.getDuration_Event()
public NamedElement getEvent(String unqualifiedName)
NamedElement
with the specified name from the 'Event' reference list.
unqualifiedName
- The unqualified name of the NamedElement
to retrieve.
NamedElement
with the specified name, or null
.getEvents()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |