Macro Item
MacroItem is implemented as the MacroItem class. A MacroItem object provides the information to define labels and fields within a macro template for messaging. The attributes of MacroItem are:
Attribute
|
Description
|
---|---|
column |
An integer value indicating the starting column in the macro (character number) for this item. |
dictName |
A string of maximum length 25 containing the unique name of the dictionary entry for this item. |
dictTag |
A string of maximum length 25 containing the unique XML tag name of the dictionary entry for this item. |
groupName |
A string of maximum length 25 containing the unique name of the group the dictionary entry belongs to. |
groupNum |
An integer value indicating the sequence of the specified group. |
groupTag |
A string of maximum length 25 containing the unique XML tag name of the group the dictionary entry belongs to. |
length |
An integer value indicating the length of the specified item. |
required |
In the case of input capable items, a boolean value that indicates whether the field is required to be populated before a user or driver may send a message based on this macro. |
row |
An integer value stating the row of the specified item. |
type |
A string of maximum length 5 indicating the type of item. This string may have the following values:
|
value |
A string of maximum length 38 indicating the value of the item.
|