Packageorg.springextensions.actionscript.domain
SVN browsingNamedEntity.as
FisheyeNamedEntity.as
Classpublic class NamedEntity
InheritanceNamedEntity Inheritance Entity Inheritance BaseObject
ImplementsINamed

An entity with a "name" property.



Public Properties
 PropertyDefined by
 InheritedapplicationDomain : ApplicationDomain
BaseObject
 Inheritedid : *
Returns the id of the entity.
Entity
  name : String
Returns the name of the object.
NamedEntity
Public Methods
 MethodDefined by
  
NamedEntity(id:* = -1, name:String = "")
Creates a new NamedEntity object.
NamedEntity
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Entity
 Inherited
clone():*
Clones this object.
BaseObject
  
compare(entityA:INamed, entityB:INamed, fields:Array = null):int
[static] Compares two entities for natural sorting on their names.
NamedEntity
 Inherited
copyFrom(other:*):void
Copies all properties from the given object into this object.
BaseObject
 Inherited
dispatchEvent(event:Event):Boolean
Entity
 Inherited
equals(other:Object):Boolean
BaseObject
 Inherited
Checks for equality without looking at the id of the object.
Entity
 Inherited
hasEventListener(type:String):Boolean
Entity
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Entity
 Inherited
willTrigger(type:String):Boolean
Entity
Protected Methods
 MethodDefined by
 Inherited
cloneField(name:String, other:*):void
Clones a single field.
BaseObject
 Inherited
clonePropertyValue(value:*, name:String = ""):*
Clones the value of a property/field.
BaseObject
 Inherited
doEquals(other:*, ignoredProperties:Array):Boolean
BaseObject
Protected Constants
 ConstantDefined by
 InheritedPROPERTY_PROTOTOYPE : String = "prototype"
[static]
BaseObject
Property detail
nameproperty
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
Constructor detail
NamedEntity()constructor
public function NamedEntity(id:* = -1, name:String = "")

Creates a new NamedEntity object.

Parameters
id:* (default = -1)
 
name:String (default = "")
Method detail
compare()method
public static function compare(entityA:INamed, entityB:INamed, fields:Array = null):int

Compares two entities for natural sorting on their names.

Parameters
entityA:INamed
 
entityB:INamed
 
fields:Array (default = null)

Returns
int