Container


Overview

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.



Parents Object ,Element


Constructors



Attributes



Operations
add(element:Element):ContainerNo Documentation Specified
addContentDaemon(actionSource:Element,daemon:Operation):ContainerNo 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):ElementNo Documentation Specified
checkConstraints():ElementNo 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():ElementNo Documentation Specified
includes(element:Element):ElementNo Documentation Specified
init():ElementNo Documentation Specified
initContents():ElementNo Documentation Specified
remove(element:Element):ContainerNo Documentation Specified
removeContentDaemon(daemon:Operation):ContainerNo 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.