Packageorg.springextensions.actionscript.domain
Classpublic class ManagedEntity
InheritanceManagedEntity Inheritance Entity Inheritance BaseObject

A managed entity keeps track of the changes made to its properties.



Public Properties
 PropertyDefined by
 Inheritedid : *
Returns the id of the entity.
Entity
  isDirty : Boolean
ManagedEntity
  isNew : Boolean
[read-only]
ManagedEntity
Public Methods
 MethodDefined by
  
ManagedEntity(id:* = -1)
ManagedEntity
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Entity
 Inherited
clone():*
Clones this object.
BaseObject
 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
  
getProperty(name:String):*
ManagedEntity
 Inherited
hasEventListener(type:String):Boolean
Entity
  
hasProperty(name:String):Boolean
ManagedEntity
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Entity
  
setProperty(name:String, value:*):void
ManagedEntity
 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
isDirtyproperty
isDirty:Boolean  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get isDirty():Boolean
    public function set isDirty(value:Boolean):void
isNewproperty 
isNew:Boolean  [read-only]

Implementation
    public function get isNew():Boolean
Constructor detail
ManagedEntity()constructor
public function ManagedEntity(id:* = -1)

Parameters
id:* (default = -1)
Method detail
getProperty()method
public function getProperty(name:String):*

Parameters
name:String

Returns
*
hasProperty()method 
public function hasProperty(name:String):Boolean

Parameters
name:String

Returns
Boolean
setProperty()method 
public function setProperty(name:String, value:*):void

Parameters
name:String
 
value:*