Package


Overview

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.



Parents Class ,Resource ,Classifier ,NameSpace ,DocumentedElement ,NamedElement ,IndexedContainer ,Contained ,Container ,Object ,Element


Constructors



Attributes
associationsSet(Association)No Documentation Specified
classesSet(Class)No Documentation Specified
metaPackagePackageNo Documentation Specified
packagesSet(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):ClassifierNo Documentation Specified
addAssociation(a:Association):ElementNo Documentation Specified
addClass(c:Class):ElementNo Documentation Specified
addOperation(op:Element):ElementNo Documentation Specified
addPackage(p:Package):ElementNo 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):ElementNo Documentation Specified
deployInterfaceManifest(dir:String):ElementNo Documentation Specified
deployInterfaces(dir:String):ElementNo Documentation Specified
deployJava(root:String):ElementNo Documentation Specified
deployJava(root:String,pname:String):ElementNo Documentation Specified
deployJava():ElementNo Documentation Specified
deployJavaClasses(deployDir:String,pname:String):ElementNo Documentation Specified
deployJavaPackages(deployDir:Element,pname:Element):ElementNo Documentation Specified
deployManifest(dir:String):ElementNo 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):ElementNo Documentation Specified
deployXMLFactory():ElementNo Documentation Specified
deployXMLGrammar():ElementNo Documentation Specified
deployXOCL(dir:String):ElementNo Documentation Specified
importedContents():Set(Classifier)No Documentation Specified
init():ClassifierNo Documentation Specified
isMetaPackage():BooleanNo Documentation Specified
lift():PerformableNo Documentation Specified
metaPackage():PackageNo Documentation Specified
performDeployXOCLCheck():BooleanNo Documentation Specified
populate(sig:Signature):ElementNo Documentation Specified
remove(n:NamedElement):ClassifierNo Documentation Specified
removeAssociation(association:Element):ElementNo Documentation Specified
removeClass(class:Element):ElementNo Documentation Specified
removePackage(package:Element):ElementNo Documentation Specified
repopulate(namedElement:NamedElement):BooleanNo Documentation Specified
toHTMLDoc(fout:OutputChannel):ElementNo Documentation Specified
toWalker(out:OutputChannel):ElementNo Documentation Specified
toXMLGrammar():ElementNo Documentation Specified
writeEcore(path:String):ElementNo Documentation Specified
writeWalker(dir:String,name:String,extras:Seq(Classifier),package:Package):ElementNo Documentation Specified
writeWalker(file:String):ElementNo 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):ElementNo 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.