Constraint


Overview

A constraint is a named boolean expression owned by a classifier. Constraints are defined by classifiers to be performed with respect to their instances and as such any occurrences of 'self' in a constraint will refer to the instance that is being checked.



Parents NamedElement ,Contained ,Object ,Element


Constructors
Constraint(name,body,reason) No Documentation
Constraint() No Documentation



Attributes
bodyOperationNo Documentation Specified
reasonOperationNo Documentation Specified
From NamedElement: name. From Contained: owner.



Operations
body():ElementNo Documentation Specified
init():ElementNo Documentation Specified
initBody():ElementNo Documentation Specified
initReason():ElementNo Documentation Specified
invoke(target:Element,pvar4:Seq(Element)):ElementNo Documentation Specified
reason():ElementNo Documentation Specified
From NamedElement: href, toString, setName, repopulate, pathSeq, path, name, getNamedElement. From Contained: owner, deleteRecursive, allOwners, addTo, setOwner, removeFromOwner. From Object: slotMissing, slotMissing, setProperty, setHotLoad, setDaemonsActive, setDaemons, set, renameSlot, removeStructuralFeature, removeDaemonsWithTarget, removeDaemonsWithId, removeDaemonNamed, removeDaemon, machineInit, initSlots, init, hotLoaded, hotLoad, hasSlot, hasProperty, getProperty, get, hasStructuralFeature, getStructuralFeatureNames, hasDaemonWithTarget, hasDaemonWithIdAndTarget, hasDaemonWithId, hasDaemonNamed, fire, destroyDaemon, daemonWithIdAndTarget, daemonWithId, daemonNamed, daemonsActive, daemons, allDaemonsWithTarget, allDaemonsWithId, compositeValues, allCompositeValuesAndSelf, allCompositeValues, addStructuralFeature, addPersistentDaemon, addMultiDaemon, addDaemon. From Element: pprint, pprint, pprint, writeXMLFile, writeXMLFile, writeXML, lift, toSnapshot, toSnapshot, allHTMLEntries, allHTMLPackages, toHTML, writeHTML, writeHTML, writeHTMLAllEntries, writeHTMLAllPackages, writeHTMLIndex, writeHTMLOverview, yield, toString, systemId, setOf, send, save2, save, removeDaemon, removeDaemon, println, print, oclIsKindOf, oclIsTypeOf, noOperationFound, isTypeOf, isReallyKindOf, init, init, of, isKindOf, addTo, checkConstraints, copy, deleteRecursive, die, edit, equals, error, ferror, hashCode.