Packageorg.servebox.commons.value
Classpublic dynamic class ObjectWrapper
InheritanceObjectWrapper Inheritance flash.utils.Proxy
ImplementsIBasicObject

ObjectWrapper allow to wrap any kind of value in as IBasicObject.



Public Properties
 PropertyDefined by
  object : Object
[read-only] Returns the original object that has been wrapped.
ObjectWrapper
Public Methods
 MethodDefined by
  
ObjectWrapper(valueToWrap:Object)
Creates a new BasicObject object.
ObjectWrapper
  
equals(value:IBasicObject):Boolean
Object comparison mechanism.
ObjectWrapper
  
getObject():Object
Returns the wrapped object.
ObjectWrapper
  
hashCode():int
Returns the hashcode of the object.
ObjectWrapper
  
toString():String
Returns the string representation of the specified object.
ObjectWrapper
Protected Methods
 MethodDefined by
  
callProperty(methodName:*, ... args):*
Overrides the behavior of an object property that can be called as a function.
ObjectWrapper
  
getProperty(name:*):*
Overrides any request for a property's value.
ObjectWrapper
  
setProperty(name:*, value:*):void
Overrides a call to change a property's value.
ObjectWrapper
Property detail
objectproperty
object:Object  [read-only]

Returns the original object that has been wrapped.

Implementation
    public function get object():Object
Constructor detail
ObjectWrapper()constructor
public function ObjectWrapper(valueToWrap:Object)

Creates a new BasicObject object.

Parameters
valueToWrap:Object
Method detail
callProperty()method
flash_proxy override function callProperty(methodName:*, ... args):*

Overrides the behavior of an object property that can be called as a function. When a method of the object is invoked, this method is called. While some objects can be called as functions, some object properties can also be called as functions.

Parameters
methodName:*
 
... args

Returns
*
equals()method 
public function equals(value:IBasicObject):Boolean

Object comparison mechanism. By default, the comparison is performed using the == operator. The definition of your own equals method is strongly encouraged.

Parameters
value:IBasicObject

Returns
Boolean
getObject()method 
public function getObject():Object

Returns the wrapped object.

Returns
Object
getProperty()method 
flash_proxy override function getProperty(name:*):*

Overrides any request for a property's value. If the property can't be found, the method returns undefined. For more information on this behavior, see the ECMA-262 Language Specification, 3rd Edition, section 8.6.2.1.

Parameters
name:*

Returns
*
hashCode()method 
public function hashCode():int

Returns the hashcode of the object.

Returns
int
setProperty()method 
flash_proxy override function setProperty(name:*, value:*):void

Overrides a call to change a property's value. If the property can't be found, this method creates a property with the specified name and value.

Parameters
name:*
 
value:*
toString()method 
public function toString():String

Returns the string representation of the specified object.

Returns
String