Base object that offers core functionality for working with object such as an
equals(),
clone() and
copyFrom()
method.
applicationDomain:ApplicationDomain [read-write]Implementation
public function get applicationDomain():ApplicationDomain
public function set applicationDomain(value:ApplicationDomain):void
public function BaseObject()
Creates a new BaseObject instance.
public function clone():*
Clones this object.
Returns
| * — a clone (exact copy) of this object
|
protected function cloneField(name:String, other:*):void
Clones a single field.
Parameters
| name:String — the name of the field
|
| |
| other:* — the original object
|
protected function clonePropertyValue(value:*, name:String = ""):*
Clones the value of a property/field. Subclasses can override this method if they wish to clone
properties in a specific way.
Parameters
| value:* — the value of the property
|
| |
| name:String (default = "") — the name of the property
|
Returns
public function copyFrom(other:*):void
Copies all properties from the given object into this object.
Parameters
| other:* — the other object from which to copy all its properties
|
protected function doEquals(other:*, ignoredProperties:Array):Boolean
Parameters
| other:* |
| |
| ignoredProperties:Array |
Returns
public function equals(other:Object):Boolean
Parameters
Returns
protected static const PROPERTY_PROTOTOYPE:String = "prototype"
Copyright 2007-2010 Spring Actionscript.