Object is the super-class of all classes with structural features in XMF. Object provides access to slots via the 'get/1' and 'set/2' operations. Object is the default super-class for a class definition - if you do not specify a super-class then Object is assumed.

Parents Element



addDaemon(d:Element):Element All objects have a collection of daemons. A daemon is an operation that is invoked whenever a slot of the object is updated. The operation is any invokable value (either an operation or an object that implements the 'invoke/2' operation. The invocation occurs after the slot has been updated and is supplied with 3 values as the second argument: the slot (symbol) that has been updated, the new value and the old value.
addMultiDaemon(d:Element,target:Element):Element This operation facilitates the addition of daemons that support synchronisation of multiple objects.
addPersistentDaemon(d:Element):ElementNo Documentation Specified
addStructuralFeature(name:String,value:Element):ObjectNo Documentation Specified
allCompositeValues():ElementNo Documentation Specified
allCompositeValuesAndSelf():ElementNo Documentation Specified
allDaemonsWithId(id:Element):ElementNo Documentation Specified
allDaemonsWithTarget(target:Element):ElementNo Documentation Specified
compositeValues():ElementNo Documentation Specified
daemonNamed(name:Element):ElementNo Documentation Specified
daemonWithId(id:Element):ElementNo Documentation Specified
daemonWithIdAndTarget(id:Element,target:Element):ElementNo Documentation Specified
daemons():Element Returns the currently defined daemons for the receiver. Daemons are fired when the object changes state and when the objects daemons are active.
daemonsActive():Boolean Returns whether or not the daemons of this object will be fired when an update takes place.
destroyDaemon(d:Daemon):ElementNo Documentation Specified
fire(slot:Element,newValue:Element,oldValue:Element):Element When the slot of an object is updated, its daemons are fired by calling this operation. The operation is supplied with 3 arguments: the name of the slot that was changed (a symbol), the new value of the slot and the old value of the slot.
get(name:String):Element Returns the value of the named slot of the receiver. The name may be a string or a symbol. An exception is raised if the receiver has no slot with the given name.
getProperty(name:Element):ElementNo Documentation Specified
getStructuralFeatureNames():Set(String) Returns the slot names of the object.
hasDaemonNamed(name:Element):ElementNo Documentation Specified
hasDaemonWithId(id:Element):ElementNo Documentation Specified
hasDaemonWithIdAndTarget(id:Element,target:Element):ElementNo Documentation Specified
hasDaemonWithTarget(target:Element):ElementNo Documentation Specified
hasProperty(name:Element):ElementNo Documentation Specified
hasSlot(name:Element):Boolean Returns true when the receiver has a slot with the given name. The name may be a string or a symbol.
hasStructuralFeature(name:String):BooleanNo Documentation Specified
hotLoad():Boolean Hot loading objects run the hotLoad operation when loaded by the loader. the default is false for this property.
hotLoaded():Object This operation is run when the value loader loads an object that is tagged as being hot loading. By default this operation does nothing. Specialize this in sub-classes to perform actions when an object is loaded.
init(args:Element):Element When an object is initialised, by default we look for a constructor that has the same arity as the supplied arguments. If we find one then it is invoked. Note that we always invoke the 'init/0' operation after slot initialisation.
initSlots():Element Attributes have a slot 'init' that contains an operation or null. If the value is an operation then invoking the operation with an object as the target will return an initial value for that slot of the object.
machineInit(args:Element):Element Called when the machine has detected initialization values defined for one or more attributes. The machine relies on this operation to perform the slot initialization and then call the init/1 operation.
removeDaemon(d:Element,target:Element):Element Removes the supplied daemon.
removeDaemonNamed(name:Element):ElementNo Documentation Specified
removeDaemonsWithId(id:Element,destroy:Element):ElementNo Documentation Specified
removeDaemonsWithTarget(target:Element,destroy:Element):ElementNo Documentation Specified
removeStructuralFeature(name:String):ObjectNo Documentation Specified
renameSlot(oldName:String,newName:String):ElementNo Documentation Specified
set(name:String,value:Element):Element Sets the named slot to the supplied value in the receiver. Raises an exception if the receiver has no slot with the supplied name. The name may be a symbol or a string.
setDaemons(daemons:Element):ElementNo Documentation Specified
setDaemonsActive(active:Boolean):Object Sets whether or not the daemons of this receiver will be fired when an update takes place.
setHotLoad(hotLoad:Boolean):Object Sets the hot load status of the receiver.
setProperty(name:Element,value:Element):ElementNo Documentation Specified
slotMissing(slot:Symbol,value:Element):Element Called when an we update the slot of an object and the slot does not exist.
slotMissing(slot:Symbol):Element Called when an we request the slot of an object and the slot does not exist.
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.