A container has a slot 'contents' that is a table. The table maintains the
contained elements indexed by keys. By default the leys for the elements in
the table are the elements themselves, but sub-classes of container will
modify this feature accordingly. Container provides operations for accessing
and managing its contents.
Constructors |
Attributes | ||
Operations | |
add(element:Element):Container | No Documentation Specified |
addContentDaemon(actionSource:Element,daemon:Operation):Container | No Documentation Specified |
allContents():Set(Element) | Returns all the contents of the receiver and all the contents of all containers that it contains. |
allContentsOf(type:Classifier):Set(Element) | Returns all the contents of the receiver and all the contents of all containers that it contains. The elements are filtered by the classifier suppplied as an argument. |
allContentsThat(predicate:Operation):Set(Element) | Returns all the contents of the receiver and all the contents of all containers that it contains. The elements are filtered using the supplied predicate. |
checkConstraints(contents:Element):Element | No Documentation Specified |
checkConstraints():Element | No Documentation Specified |
contentDaemons():Seq(Operation) | No Documentation Specified |
contents():Collection(Element) | No Documentation Specified |
contentsOf(type:Classifier):Set(Element) | Returns a set of contained elements of the supplied type. |
contentsThat(predicate:Operation):Set(Element) | Returns a set of contained elements that satisfy the supplied predicate. |
deleteRecursive():Element | No Documentation Specified |
includes(element:Element):Element | No Documentation Specified |
init():Element | No Documentation Specified |
initContents():Element | No Documentation Specified |
remove(element:Element):Container | No Documentation Specified |
removeContentDaemon(daemon:Operation):Container | No Documentation Specified |
traceAll():Element | Causes all the operations transitively contained in the receiver to be traced. |
untraceAll():Element | Causes all the operations transitively contained in the receiver to be untraced. |
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. |