Packageorg.servebox.commons.value
Classpublic class BasicObject
ImplementsIBasicObject
SubclassesAbstractCollection, AbstractValueObject, ACLGrid, BrowsingOperation

BasicObject implements mechanism for object identification and object comparison.



Public Properties
 PropertyDefined by
  internalInstanceId : uint
[read-only] The internal instance id of the object.
BasicObject
Public Methods
 MethodDefined by
  
Creates a new BasicObject object.
BasicObject
  
equals(value:IBasicObject):Boolean
Object comparison mechanism.
BasicObject
  
Generates a unique unsigned integer id at instanciation
BasicObject
  
hashCode():int
Returns the hashcode of the object.
BasicObject
  
toString():String
Returns the string representation of the specified object.
BasicObject
Property detail
internalInstanceIdproperty
internalInstanceId:uint  [read-only]

The internal instance id of the object.

Implementation
    public function get internalInstanceId():uint
Constructor detail
BasicObject()constructor
public function BasicObject()

Creates a new BasicObject object.

Method detail
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
getInstanceId()method 
public final function getInstanceId():uint

Generates a unique unsigned integer id at instanciation

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

Returns the hashcode of the object.

Returns
int
toString()method 
public function toString():String

Returns the string representation of the specified object.

Returns
String