See information about the latest product version
Message Sets: CWF properties for attribute reference and local attribute binary types
CWF properties for attribute reference and local attribute binary types.
The Custom Wire Format properties described here apply to:
- Objects: Attribute Reference, Local Attribute
- Binary schema types: base64Binary, hexBinary
Physical representation
Property | Type | Meaning |
---|---|---|
Length | Button and Integer | If you have
selected the length to be defined by Length,
enter the number of length units for the element. The minimum value that you can specify is 1. The maximum value that you can specify is 2147483647. The default value is empty (not set). |
Length Reference | Button and Enumerated type | If you have selected the length to be defined
by Length Reference,
select the name of the integer object that specifies the length of
this object. Make your selection from the displayed list of integer
objects that are defined as siblings of the current object, and occur
before it in the structure of the message. For information about reordering elements, see Message Sets: Reordering objects. |
Inclusive Length Reference | Check box | This property is applicable only if Length Reference is set. If the check box is selected, the value of the sibling integer object that is identified by Length Reference is the length of the current object plus the length of the sibling integer object. If the check box is not selected, the value of the sibling integer object that is identified by Length Reference is the length of the current object only. If the check box is selected, the Length Units property of the sibling integer object must be the same as that of the current object. |
Length Units | Enumerated type | Select the unit of length for the element or
attribute. Select one of the following options from the displayed
list (some physical types do not offer all these options):
The default is Bytes. |
Byte alignment
Property | Type | Meaning |
---|---|---|
Byte Alignment | Enumerated type | Specify how the object is aligned from the start
of the message. Select one of:
|
Leading Skip Count | Integer | Specify the number of bytes to skip before reading
or writing this object. The default is 0, the minimum value is 0, and the maximum value
is 999999.
You can use this value to ignore unwanted fields in a structure, or
to model a field defined by C or COBOL data which requires alignment
on a 2, 4, 8 or 16 byte boundary. Specify the number of bytes to skip
before reading or writing this object. When an output message is written,
Skip Count bytes are assigned the value of the message set Byte Alignment
Pad property. For repeating objects, this property is applied to the first instance only. |
Trailing Skip Count | Integer | Specify the number of bytes to skip after reading
or writing this object. The default is 0, the minimum value is 0, and the maximum value
is 999999.
You can use this value to ignore unwanted fields in a structure, or
to model a repeating structure containing fields which require alignment
on a 2, 4, 8 or 16 byte boundary. When an output message is written,
Skip Count bytes are assigned the value of the message set Byte Alignment
Pad property. For repeating objects, this property is applied to all instances. |