Entity acts as a base domain object for objects that hold a unique identity throughout their lifetime. This
identity is presented by the "id" property in each entity.
Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1
id:* [read-write]
Returns the id of the entity.
This property can be used as the source for data binding.
Implementation
public function get id():*
public function set id(value:*):void
public function Entity(id:* = -1)
Creates a new Entity. If no id was passed to the constructor, -1 will be used.
Parameters
| id:* (default = -1) — the id of this entity
|
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
| type:String |
| |
| listener:Function |
| |
| useCapture:Boolean (default = false) |
| |
| priority:int (default = 0) |
| |
| useWeakReference:Boolean (default = false) |
public function dispatchEvent(event:Event):BooleanParameters
Returns
public function equalsWithoutIdentity(other:IEntity):Boolean
Checks for equality without looking at the id of the object.
Parameters
Returns
public function hasEventListener(type:String):BooleanParameters
Returns
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
| type:String |
| |
| listener:Function |
| |
| useCapture:Boolean (default = false) |
public function willTrigger(type:String):BooleanParameters
Returns
Spring ActionScript 0.7.1 - 2009