| Package | com.soma.core.interfaces |
| Interface | public interface IModel |
| Implementors | Model |
Author: Romuald Quantin - www.soundstep.com
Resources: http://www.soundstep.com/downloads/somacore
Actionscript version: 3.0
Copyright: Mozilla Public License 1.1 (MPL 1.1) http://www.opensource.org/licenses/mozilla1.1.php
See also
| Property | Defined By | ||
|---|---|---|---|
| data : Object
Data of the model. | IModel | ||
| dispatcher : IEventDispatcher
EventDispatcher instance of the model. | IModel | ||
| Method | Defined By | ||
|---|---|---|---|
dispose():void
Method that you can overwrite, called by the framework when the model is removed. | IModel | ||
getName():String
Retrieves the name of the model. | IModel | ||
initialize():void
Method that you can overwrite, called by the framework when the model is initialized. | IModel | ||
setName(name:String):void
Sets the name of the model. | IModel | ||
| data | property |
data:ObjectData of the model.
public function get data():Object public function set data(value:Object):void| dispatcher | property |
dispatcher:IEventDispatcherEventDispatcher instance of the model.
The default value is The framework instance..
public function get dispatcher():IEventDispatcher public function set dispatcher(value:IEventDispatcher):void| dispose | () | method |
public function dispose():voidMethod that you can overwrite, called by the framework when the model is removed.
| getName | () | method |
public function getName():StringRetrieves the name of the model.
ReturnsString — A String.
|
| initialize | () | method |
public function initialize():voidMethod that you can overwrite, called by the framework when the model is initialized.
| setName | () | method |
public function setName(name:String):voidSets the name of the model.
Parameters
name:String — A String.
|