RuleDataObjects
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
RuleDataObject [] (index:
number)
Returns the RuleDataObject with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
RuleDataObject add (name:
string, dataType:
RuleDataType, dataValue:
any[, withProperties:
Object])
Add a new preflight rule data to a preflight profile rule.
Parameter | Type | Description |
---|---|---|
name | string | The name of the rule data to add |
dataType | RuleDataType: RuleDataType.INTEGER_DATA_TYPE RuleDataType.SHORT_INTEGER_DATA_TYPE RuleDataType.REAL_DATA_TYPE RuleDataType.STRING_DATA_TYPE RuleDataType.BOOLEAN_DATA_TYPE RuleDataType.OBJECT_DATA_TYPE RuleDataType.LIST_DATA_TYPE | The type of data |
dataValue | Array of Strings Array of Array of Strings Boolean Booleans Booleans Long Integer Long Integers Long Integers Object Objects Objects Real Reals Reals Short Integer Short Integers Short Integers String | The 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. |
withProperties | Object | Initial values for properties of the new RuleDataObject (Optional) |
RuleDataObject anyItem ()
Returns any RuleDataObject in the collection.
number count ()
Displays the number of elements in the RuleDataObject.
Array of RuleDataObject everyItem ()
Returns every RuleDataObject in the collection.
RuleDataObject firstItem ()
Returns the first RuleDataObject in the collection.
RuleDataObject item (index:
any)
Returns the RuleDataObject with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
RuleDataObject itemByName (name:
string)
Returns the RuleDataObject with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array of RuleDataObject itemByRange (from:
any, to:
any)
Returns the RuleDataObjects within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer RuleDataObject String | The RuleDataObject, index, or name at the beginning of the range. Can accept: RuleDataObject, Long Integer or String. |
to | Long Integer RuleDataObject String | The RuleDataObject, index, or name at the end of the range. Can accept: RuleDataObject, Long Integer or String. |
RuleDataObject lastItem ()
Returns the last RuleDataObject in the collection.
RuleDataObject middleItem ()
Returns the middle RuleDataObject in the collection.
RuleDataObject nextItem (obj:
RuleDataObject)
Returns the RuleDataObject whose index follows the specified RuleDataObject in the collection.
Parameter | Type | Description |
---|---|---|
obj | RuleDataObject | The RuleDataObject whose index comes before the desired RuleDataObject. |
RuleDataObject previousItem (obj:
RuleDataObject)
Returns the RuleDataObject with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | RuleDataObject | The index of the RuleDataObject that follows the desired RuleDataObject. |
string toSource ()
Generates a string which, if executed, will return the RuleDataObject.
Element of
PreflightProfileRule.ruleDataObjects
PreflightRuleInstance.ruleDataObjects
Jongware, 20-Jun-2010 v3.0.3d | Contents :: Index |