Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
com.adobe.fiber.valueobjects 
AvailablePropertyIterator 
Packagecom.adobe.fiber.valueobjects
Classpublic class AvailablePropertyIterator
InheritanceAvailablePropertyIterator Inheritance Object
Implements IPropertyIterator

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

An implementation of IPropertyIterator for iterating over the set of a value object's available properties at a given point in time. This iterator should first return all unguarded properties in declared order, followed by all currently available guareded properties in declared order. If the value object passed to the constructor of this class is modified during iteration, behavior is no longer guaranteed.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
Creates an instance of this iterator for a parituclar value object
AvailablePropertyIterator
  
Returns true if there are remaining properties that have not yet been iterated.
AvailablePropertyIterator
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
Returns the next property in the iteration; null if there are no properties remaining.
AvailablePropertyIterator
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail

AvailablePropertyIterator

()Constructor
public function AvailablePropertyIterator(valueObject:AbstractEntityMetadata)

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Creates an instance of this iterator for a parituclar value object

Parameters
valueObject:AbstractEntityMetadata
Method Detail

hasNext

()method
public function hasNext():Boolean

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns true if there are remaining properties that have not yet been iterated.

Returns
Boolean — true if there are remaining properties that have not yet been iterated

next

()method 
public function next():String

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the next property in the iteration; null if there are no properties remaining.

Returns
String — Next property in the iteration; null if there are no properties remaining