| Package | org.springextensions.actionscript.domain |
| SVN browsing | NamedEntity.as |
| Fisheye | NamedEntity.as |
| Class | public class NamedEntity |
| Inheritance | NamedEntity Entity BaseObject |
| Implements | INamed |
| Property | Defined by | ||
|---|---|---|---|
![]() | applicationDomain : ApplicationDomain | BaseObject | |
![]() | id : *
Returns the id of the entity.
| Entity | |
| name : String
Returns the name of the object.
| NamedEntity | ||
| Method | Defined by | ||
|---|---|---|---|
|
NamedEntity(id:* = -1, name:String = "")
Creates a new NamedEntity object.
| NamedEntity | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
| Entity | |
![]() |
clone():*
Clones this object.
| BaseObject | |
|
[static]
Compares two entities for natural sorting on their names.
| NamedEntity | ||
![]() |
copyFrom(other:*):void
Copies all properties from the given object into this object.
| BaseObject | |
![]() |
dispatchEvent(event:Event):Boolean
| Entity | |
![]() |
equals(other:Object):Boolean
| BaseObject | |
![]() |
equalsWithoutIdentity(other:IEntity):Boolean
Checks for equality without looking at the id of the object.
| Entity | |
![]() |
hasEventListener(type:String):Boolean
| Entity | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
| Entity | |
![]() |
willTrigger(type:String):Boolean
| Entity | |
| name | property |
name:String [read-write]Returns the name of the object.
This property can be used as the source for data binding.
Implementation public function get name():String
public function set name(value:String):void
| NamedEntity | () | constructor |
public function NamedEntity(id:* = -1, name:String = "")Creates a new NamedEntity object.
Parametersid:* (default = -1) |
|
name:String (default = "") |
| compare | () | method |
public static function compare(entityA:INamed, entityB:INamed, fields:Array = null):intCompares two entities for natural sorting on their names.
ParametersentityA:INamed |
|
entityB:INamed |
|
fields:Array (default = null) |
int |