RuleDataObjects
A collection of prefight rule data objects.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
RuleDataObject add( String name, RuleDataType dataType, Mixed dataValue, Object withProperties )
Add a new preflight rule data to a preflight profile rule.
Parameters
Type Name Description 
Number count()
Displays the number of elements in the RuleDataObject.
RuleDataObject item( Mixed index )
Returns the RuleDataObject with the specified index or name.
Parameters
Type Name Description 
RuleDataObject itemByName( String name )
Returns the RuleDataObject with the specified name.
Parameters
Type Name Description 
RuleDataObject itemByID( Number id )
Returns the RuleDataObject with the specified ID.
Parameters
Type Name Description 
RuleDataObject itemByRange( Mixed from, Mixed to )
Returns the RuleDataObjects within the specified range.
Parameters
Type Name Description 
RuleDataObject firstItem()
Returns the first RuleDataObject in the collection.
RuleDataObject lastItem()
Returns the last RuleDataObject in the collection.
RuleDataObject middleItem()
Returns the middle RuleDataObject in the collection.
RuleDataObject previousItem( RuleDataObject obj )
Returns the RuleDataObject with the index previous to the specified index.
Parameters
Type Name Description 
RuleDataObject nextItem( RuleDataObject obj )
Returns the RuleDataObject whose index follows the specified RuleDataObject in the collection.
Parameters
Type Name Description 
RuleDataObject anyItem()
Returns any RuleDataObject in the collection.
RuleDataObject everyItem()
Returns every RuleDataObject in the collection.
String toSource()
Generates a string which, if executed, will return the RuleDataObject.
RuleDataObject []( Number index )
Returns the RuleDataObject with the specified index.
Parameters
Type Name Description