XMF supports name spaces that contain collections of named elements. The
XCore class Package is used to structure collections of class and sub-package
definitions. XMF-Mosaic is structured as a tree of packages containing
definitions of all aspects of the system (including XCore). The root name
space is called Root; all XMF classes can be referenced via Root. Unlike
UML and MOF, XCore packages are subclasses of Class. They can therefore be
instantiated and can have operations, attributes and constraints.
| Constructors |
| Attributes | ||
| associations | Set(Association) | No Documentation Specified |
| classes | Set(Class) | No Documentation Specified |
| metaPackage | Package | No Documentation Specified |
| packages | Set(Package) | No Documentation Specified |
| From Class: attributes, isAbstract, constructors. From Resource: resourceName. From Classifier: grammar, parents, operations, constraints, default, isFinal. From NameSpace: bindings, imports. From DocumentedElement: documentation. From NamedElement: name. From IndexedContainer: contents. From Contained: owner. | ||
| Operations | |
| add(n:NamedElement):Classifier | No Documentation Specified |
| addAssociation(a:Association):Element | No Documentation Specified |
| addClass(c:Class):Element | No Documentation Specified |
| addOperation(op:Element):Element | No Documentation Specified |
| addPackage(p:Package):Element | No Documentation Specified |
| allClasses():Set(Class) | No Documentation Specified |
| allContents():Set(Classifier) | Packages are containers with parents and therefore inherit the contents of their parents. |
| allPackages():Set(Package) | No Documentation Specified |
| availableContents():Set(Classifier) | This is the union of allContents and importedContents. |
| availableContents(type:Classifier):Set(Classifier) | No Documentation Specified |
| defaultParents():Set(Classifier) | No Documentation Specified |
| dependencies():Set(Element) | No Documentation Specified |
| deployEcore(out:Element,path:String):Element | No Documentation Specified |
| deployInterfaceManifest(dir:String):Element | No Documentation Specified |
| deployInterfaces(dir:String):Element | No Documentation Specified |
| deployJava(root:String):Element | No Documentation Specified |
| deployJava(root:String,pname:String):Element | No Documentation Specified |
| deployJava():Element | No Documentation Specified |
| deployJavaClasses(deployDir:String,pname:String):Element | No Documentation Specified |
| deployJavaPackages(deployDir:Element,pname:Element):Element | No Documentation Specified |
| deployManifest(dir:String):Element | No Documentation Specified |
| deployWalker():Element | Deploys a walker for the classes in the package. The walker is a new class added to the package. Create an instance of the class and then use the deploy operation to supply an instance of a class in the package. The deployed walker is a skeleton that requires you to modify the source code to perform appropriate actions as it walks the structure. |
| deployXMLFactory(dir:String,pname:String,cname:String):Element | No Documentation Specified |
| deployXMLFactory():Element | No Documentation Specified |
| deployXMLGrammar():Element | No Documentation Specified |
| deployXOCL(dir:String):Element | No Documentation Specified |
| importedContents():Set(Classifier) | No Documentation Specified |
| init():Classifier | No Documentation Specified |
| isMetaPackage():Boolean | No Documentation Specified |
| lift():Performable | No Documentation Specified |
| metaPackage():Package | No Documentation Specified |
| performDeployXOCLCheck():Boolean | No Documentation Specified |
| populate(sig:Signature):Element | No Documentation Specified |
| remove(n:NamedElement):Classifier | No Documentation Specified |
| removeAssociation(association:Element):Element | No Documentation Specified |
| removeClass(class:Element):Element | No Documentation Specified |
| removePackage(package:Element):Element | No Documentation Specified |
| repopulate(namedElement:NamedElement):Boolean | No Documentation Specified |
| toHTMLDoc(fout:OutputChannel):Element | No Documentation Specified |
| toWalker(out:OutputChannel):Element | No Documentation Specified |
| toXMLGrammar():Element | No Documentation Specified |
| writeEcore(path:String):Element | No Documentation Specified |
| writeWalker(dir:String,name:String,extras:Seq(Classifier),package:Package):Element | No Documentation Specified |
| writeWalker(file:String):Element | No Documentation Specified |
| writeXML(out:OutputChannel):Element | Write the receiver in XML format to the supplied output channel. Name spaces not contained by the receiver are encoded as name space references in the output. |
| writeXMLFactory(out:OutputChannel,pname:String,cname:String):Element | No Documentation Specified |
| From Class: eCoreRef, eCoreParents, deployEcore, deployXOCL, writeXMLFactoryMethodBodyUpdatePossibleRef, writeXMLFactoryMethodBodyUpdateDataTypeSlot, writeXMLFactoryMethodBodyUpdateCollection, writeXMLFactoryMethodBodyUpdates, writeXMLFactoryMethodBody, writeXMLFactoryMethodArgs, writeXMLFactoryMethod, matchXMLComplexAttributes, toXMLClause, javaAttributes, deployJavaImplementsHook, deployJavaHook, deployJavaSerializer, deployJava, lift, toHTMLDoc, toHTMLDoc, populate, VMNew, setInstanceSlot, repopulate, removeConstructor, removeAttribute, remove, new, init, hasInstanceSlot, hasAttribute, getInstanceSlot, getConstructor, getAttribute, dependencies, deleteRecursive, defaultParents, allConstructors, allAttributes, addOperation, addConstructor, addAttribute, add. From Resource: setResourceName, resourceName. From Classifier: javaTypeName, grammar, addGrammar, add, target, shadowOperation, sendInstance, repopulate, removeParent, removeOperation, getOperation, classify, checkParents, availableParents, allParents, allOperations, allConstraints, addParent, addOperation, hasOperation, add, addConstraint, default, defaultParents, dependencies, getConstraint, getOperation, inheritsFrom, initialized, init, initConstraints, initOperations, initParents, invoke, mapType, new, new, remove, removeConstraint. From NameSpace: writeEcore, lift, allHTMLEntries, allHTMLPackages, toHTML, toHTMLDoc, resolveNameClash, remove, putElement, newName, names, nameChanged, initBindings, init, init, getInstantiableClasses, getContents, define, getElement, hasElement, add, addBinding, hasBinding, removeBinding, redefine. From DocumentedElement: setDoc, doc, ensureDoc. From NamedElement: href, toString, setName, repopulate, pathSeq, path, name, getNamedElement. From IndexedContainer: removeContentDaemon, indices, initContents, index, init, contents, contentDaemons, addContentDaemon, add, add, remove. From Contained: owner, deleteRecursive, allOwners, addTo, setOwner, removeFromOwner. From Container: untraceAll, traceAll, removeContentDaemon, remove, initContents, init, includes, deleteRecursive, contentsThat, contentsOf, contents, contentDaemons, checkConstraints, checkConstraints, allContentsThat, allContentsOf, allContents, addContentDaemon, add. 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. | |