Packageorg.springextensions.actionscript.domain
SVN browsingBaseObject.as
FisheyeBaseObject.as
Classpublic class BaseObject
ImplementsIApplicationDomainAware, ICopyFrom, org.as3commons.lang.ICloneable, org.as3commons.lang.IEquals
SubclassesEntity

Base object that offers core functionality for working with object such as an equals(), clone() and copyFrom() method.



Public Properties
 PropertyDefined by
  applicationDomain : ApplicationDomain
BaseObject
Public Methods
 MethodDefined by
  
Creates a new BaseObject instance.
BaseObject
  
clone():*
Clones this object.
BaseObject
  
copyFrom(other:*):void
Copies all properties from the given object into this object.
BaseObject
  
equals(other:Object):Boolean
BaseObject
Protected Methods
 MethodDefined by
  
cloneField(name:String, other:*):void
Clones a single field.
BaseObject
  
clonePropertyValue(value:*, name:String = ""):*
Clones the value of a property/field.
BaseObject
  
doEquals(other:*, ignoredProperties:Array):Boolean
BaseObject
Protected Constants
 ConstantDefined by
  PROPERTY_PROTOTOYPE : String = "prototype"
[static]
BaseObject
Property detail
applicationDomainproperty
applicationDomain:ApplicationDomain  [read-write]Implementation
    public function get applicationDomain():ApplicationDomain
    public function set applicationDomain(value:ApplicationDomain):void
Constructor detail
BaseObject()constructor
public function BaseObject()

Creates a new BaseObject instance.

Method detail
clone()method
public function clone():*

Clones this object.

Returns
* — a clone (exact copy) of this object
cloneField()method 
protected function cloneField(name:String, other:*):void

Clones a single field.

Parameters
name:String — the name of the field
 
other:* — the original object
clonePropertyValue()method 
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
*
copyFrom()method 
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
doEquals()method 
protected function doEquals(other:*, ignoredProperties:Array):Boolean

Parameters
other:*
 
ignoredProperties:Array

Returns
Boolean
equals()method 
public function equals(other:Object):Boolean

Parameters
other:Object

Returns
Boolean
Constant detail
PROPERTY_PROTOTOYPEconstant
protected static const PROPERTY_PROTOTOYPE:String = "prototype"