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
Number count()
Displays the number of elements in the RuleDataObject.
RuleDataObject item( Mixed index )
Returns the RuleDataObject with the specified index or name.
Parameters
RuleDataObject itemByName( String name )
Returns the RuleDataObject with the specified name.
Parameters
RuleDataObject itemByID( Number id )
Returns the RuleDataObject with the specified ID.
Parameters
RuleDataObject itemByRange( Mixed from, Mixed to )
Returns the RuleDataObjects within the specified range.
Parameters
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
RuleDataObject nextItem( RuleDataObject obj )
Returns the RuleDataObject whose index follows the specified RuleDataObject in the collection.
Parameters
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.