Packagevegas.vo
Classpublic class SimpleValueObject
InheritanceSimpleValueObject Inheritance Object
Implements Equatable, Serializable, ValueObject
Subclasses CameraVO, Caption, CuePoint, FilterVO, FLVMetaData, MicrophoneVO, NetServerInfoVO, ObjectResource

The SimpleValueObject class provides a basic implementation of the ValueObject interface.



Public Properties
 PropertyDefined By
  id : *
Indicates the id of this ValueObject.
SimpleValueObject
Public Methods
 MethodDefined By
  
SimpleValueObject(init:Object = null)
Creates a new SimpleValueObject instance.
SimpleValueObject
  
equals(o:*):Boolean
Compares the specified object with this object for equality.
SimpleValueObject
  
formatToString(className:String = null, ... args):String
A utility function for implementing the toString() method.
SimpleValueObject
  
toObject():Object
Returns the Object representation of this object.
SimpleValueObject
  
toSource(indent:int = 0):String
Returns the source code string representation of the object.
SimpleValueObject
  
toString():String
Returns the String representation of this object.
SimpleValueObject
Property Detail
idproperty
id:*

Indicates the id of this ValueObject.


Implementation
    public function get id():*
    public function set id(value:any):void
Constructor Detail
SimpleValueObject()Constructor
public function SimpleValueObject(init:Object = null)

Creates a new SimpleValueObject instance.

Parameters
init:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
Method Detail
equals()method
public function equals(o:*):Boolean

Compares the specified object with this object for equality. This method compares the ids of the objects.

Parameters

o:*

Returns
Booleantrue if the the specified object is equal with this object.
formatToString()method 
public function formatToString(className:String = null, ... args):String

A utility function for implementing the toString() method. Overriding the toString() method is recommended, but not required.

Parameters

className:String (default = null)
 
... args

Returns
String
toObject()method 
public function toObject():Object

Returns the Object representation of this object.

Returns
Object — the Object representation of this object.
toSource()method 
public function toSource(indent:int = 0):String

Returns the source code string representation of the object.

Parameters

indent:int (default = 0)

Returns
String — the source code string representation of the object.
toString()method 
public function toString():String

Returns the String representation of this object.

Returns
String — the String representation of this object.