Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| add( | name, dataType, dataValue [, withProperties]) |
→ RuleDataObject |
| anyItem( | ) |
→ RuleDataObject |
| count( | ) |
→ number |
| everyItem( | ) |
→ RuleDataObject |
| firstItem( | ) |
→ RuleDataObject |
| item( | index) |
→ RuleDataObject |
| itemByID( | id) |
→ RuleDataObject |
| itemByName( | name) |
→ RuleDataObject |
| itemByRange( | from, to) |
→ RuleDataObject |
| lastItem( | ) |
→ RuleDataObject |
| middleItem( | ) |
→ RuleDataObject |
| nextItem( | obj) |
→ RuleDataObject |
| previousItem( | obj) |
→ RuleDataObject |
| toSource( | ) |
→ string |
-
add( name, dataType, dataValue [, withProperties])→ RuleDataObject -
Add a new preflight rule data to a preflight profile rule.
namestring The name of the rule data to add dataTypeRuleDataType The type of data dataValueThe value of data. Can accept: String, Real, Long Integer, Short Integer, Boolean, Object or Array of Strings, Reals, Long Integers, Short Integers, Booleans, Objects or Arrays of Array of Arrays of Array of Strings, Reals, Long Integers, Short Integers, Booleans or Objects. withPropertiesObject Initial values for properties of the new RuleDataObject (Optional) -
anyItem( )→ RuleDataObject -
Returns any RuleDataObject in the collection.
-
count( )→ number -
Displays the number of elements in the RuleDataObject.
-
everyItem( )→ RuleDataObject -
Returns every RuleDataObject in the collection.
-
firstItem( )→ RuleDataObject -
Returns the first RuleDataObject in the collection.
-
item( index)→ RuleDataObject -
Returns the RuleDataObject with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByID( id)→ RuleDataObject -
Returns the RuleDataObject with the specified ID.
idnumber The ID. -
itemByName( name)→ RuleDataObject -
Returns the RuleDataObject with the specified name.
namestring The name. -
itemByRange( from, to)→ RuleDataObject -
Returns the RuleDataObjects within the specified range.
fromThe RuleDataObject, index, or name at the beginning of the range. Can accept: RuleDataObject, Long Integer or String. toThe RuleDataObject, index, or name at the end of the range. Can accept: RuleDataObject, Long Integer or String. -
lastItem( )→ RuleDataObject -
Returns the last RuleDataObject in the collection.
-
middleItem( )→ RuleDataObject -
Returns the middle RuleDataObject in the collection.
-
nextItem( obj)→ RuleDataObject -
Returns the RuleDataObject whose index follows the specified RuleDataObject in the collection.
objRuleDataObject The RuleDataObject whose index comes before the desired RuleDataObject. -
previousItem( obj)→ RuleDataObject -
Returns the RuleDataObject with the index previous to the specified index.
objRuleDataObject The index of the RuleDataObject that follows the desired RuleDataObject. -
toSource( )→ string -
Generates a string which, if executed, will return the RuleDataObject.