Attribute


Overview

An attribute is a structural feature of a class. It defines the name and type of a slot of the instances of the class. When the class is instantiated, a new object is created and a slot is added for each attribute defined and inherited by the class. Each slot is initialised to contain the default value for the type of the corresponding attribute. Constructor: Attribute(name,type) The name is a string and the type is a classifier.



Parents StructuralFeature ,DocumentedElement ,TypedElement ,NamedElement ,Contained ,Object ,Element


Constructors



Attributes
initOperationNo Documentation Specified
isCompositeBooleanNo Documentation Specified
propertiesSeq(Element)No Documentation Specified
From DocumentedElement: documentation. From TypedElement: type. From NamedElement: name. From Contained: owner.



Operations
deleteProperty(name:Element):ElementNo Documentation Specified
dependencies():Set(Element)No Documentation Specified
deployAccessor(out:OutputChannel,package:Package):ElementNo Documentation Specified
deployEAttribute(out:Element,package:Package,path:String):ElementNo Documentation Specified
deployEReference(out:Element,package:Package,path:String):ElementNo Documentation Specified
deployEcore(out:Element,package:Package,path:String):ElementNo Documentation Specified
deployJava(out:OutputChannel,package:Package):ElementNo Documentation Specified
deployUpdater(out:OutputChannel,package:Package):ElementNo Documentation Specified
deployUpdaterHook(out:OutputChannel,package:Package):ElementNo Documentation Specified
deployXOCL(out:OutputChannel):ElementNo Documentation Specified
ecoreEType(package:Package,path:String):StringNo Documentation Specified
getInitialValue():ElementNo Documentation Specified
getProperty(name:Element,default:Element):ElementNo Documentation Specified
hasAtomicType():BooleanNo Documentation Specified
hasProperty(name:Element):ElementNo Documentation Specified
hasSeqType():BooleanNo Documentation Specified
hasSetType():BooleanNo Documentation Specified
init(args:Element):ElementNo Documentation Specified
init():ElementNo Documentation Specified
isEAttribute():BooleanNo Documentation Specified
isStatic():BooleanNo Documentation Specified
lift():PerformableNo Documentation Specified
populate(sig:Signature):ElementNo Documentation Specified
repopulate(a:Attribute):ElementNo Documentation Specified
setProperty(name:Element,value:Element):ElementNo Documentation Specified
toString():ElementNo Documentation Specified
underlyingType():ClassifierNo Documentation Specified
From DocumentedElement: setDoc, doc, ensureDoc. From NamedElement: href, toString, setName, repopulate, pathSeq, path, name, getNamedElement. 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.