org.eclipse.uml2.uml
Interface ChangeEvent
- All Superinterfaces:
- Element, EModelElement, EObject, Event, NamedElement, Notifier, PackageableElement, ParameterableElement
- public interface ChangeEvent
- extends Event
A representation of the model object 'Change Event'.
A change event models a change in the system configuration that makes a condition true.
The following features are supported:
- See Also:
UMLPackage.getChangeEvent()
Methods inherited from interface org.eclipse.uml2.uml.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.uml2.uml.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.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getChangeExpression
public ValueSpecification getChangeExpression()
- Returns the value of the 'Change Expression' containment reference.
A Boolean-valued expression that will result in a change event whenever its value changes from false to true.
- Returns:
- the value of the 'Change Expression' containment reference.
- See Also:
ChangeEvent.setChangeExpression(ValueSpecification)
,
UMLPackage.getChangeEvent_ChangeExpression()
setChangeExpression
public void setChangeExpression(ValueSpecification value)
- Sets the value of the '
Change Expression
' containment reference.
- Parameters:
value
- the new value of the 'Change Expression' containment reference.- See Also:
ChangeEvent.getChangeExpression()
createChangeExpression
public ValueSpecification createChangeExpression(String name,
Type type,
EClass eClass)
- Creates a new
ValueSpecification
, with the specified 'Name', and 'Type', and sets the 'Change Expression' containment reference.
- Parameters:
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.
- Returns:
- The new
ValueSpecification
. - See Also:
ChangeEvent.getChangeExpression()