A name space is a container of named elements. A name space defines two
operations 'getElement/1' and 'hasElement/1' that are used to get an element
by name and check for an element by name. Typically a name space will contain
different categories of elements in which case the name space will place
the contained elements in its contents table and in a type specific collection.
For example, a class is a container for operations, attributes and constraints.
Each of these elements are placed in the contents table for the class and in
a slot containing a collection with the names 'operations', 'attributes';
and 'constraints' respectively. The special syntax '::' is used to invoke the
'getElement/1' operation on a name space.
Constructors |
Attributes | ||
bindings | Set(Bind) | No Documentation Specified |
imports | Seq(NameSpace) | No Documentation Specified |
From IndexedContainer: contents. From NamedElement: name. From DocumentedElement: documentation. From Contained: owner. |
Operations | |
add(element:Element):Element | No Documentation Specified |
addBinding(binding:Bind):Element | No Documentation Specified |
allHTMLEntries():Seq(NamedElement) | No Documentation Specified |
allHTMLPackages():Seq(NamedElement) | No Documentation Specified |
define(element:Element,nameSpace:Element,isForward:Element):Element | No Documentation Specified |
getContents(name:Element):Element | No Documentation Specified |
getElement(name:String):Contained | No Documentation Specified |
getInstantiableClasses():Element | No Documentation Specified |
hasBinding(name:String):Boolean | No Documentation Specified |
hasElement(name:String):Boolean | No Documentation Specified |
init(args:Element):Element | No Documentation Specified |
init():Element | No Documentation Specified |
initBindings():Element | No Documentation Specified |
lift():Element | No Documentation Specified |
nameChanged(namedElement:Element,newName:Element,oldName:Element):Element | No Documentation Specified |
names():Set(String) | No Documentation Specified |
newName(root:String):String | No Documentation Specified |
putElement(name:String,value:Element):Element | No Documentation Specified |
redefine(newElement:Element):Element | No Documentation Specified |
remove(element:Element):Element | No Documentation Specified |
removeBinding(name:String):Element | No Documentation Specified |
resolveNameClash(name:Element,collection:Element):Element | No Documentation Specified |
toHTML(root:String):Element | No Documentation Specified |
toHTMLDoc(fout:OutputChannel):Element | No Documentation Specified |
writeEcore(path:String):Element | No Documentation Specified |
From IndexedContainer: removeContentDaemon, indices, initContents, index, init, contents, contentDaemons, addContentDaemon, add, add, remove. From NamedElement: href, toString, setName, repopulate, pathSeq, path, name, getNamedElement. From DocumentedElement: setDoc, doc, ensureDoc. From Container: untraceAll, traceAll, removeContentDaemon, remove, initContents, init, includes, deleteRecursive, contentsThat, contentsOf, contents, contentDaemons, checkConstraints, checkConstraints, allContentsThat, allContentsOf, allContents, addContentDaemon, add. 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. |