Sun HL7 Message Library User's Guide

Field Properties

The set of properties associated with the field level is shown in the following figure and is described in the table below.

Figure 2 Message Library Editor - Message Library Field Properties

Message Library Editor - Message Library Field
Properties

Property 

Descriptions 

name 

The field display name. 

javaName 

The property accessor basename. Do not modify this property; it is assigned by the Sun Enterprise Service Bus. 

javaType 

The Java type. This can be either java.lang.String or byte array (byte[]). 

comment 

Free-form text (no runtime effect). 

access 

The access specification. 

optional 

An indicator of whether the field can be absent from an instance. Clicking the Value field toggles between true and false. Not applicable if the field is the child of a choice element node. 

repeat 

Specifies whether or not the node can appear multiple times. Specify true is the node is options; specify false if it is required. Click in the field to toggle between true and false. This is not applicable if the field is the child of a choice element node.

maxOccurs 

The maximum number of occurrences of the node if the node is repeating. This property has no effect if the node is non-repeating, but it might show an error during validation if set to a value greater than 1. 

delim 

The delimiter specification (see Specifying Delimiters).

initial 

The initial field value, which is set when the parent node is created or reset. When provided, it is assigned to the node before the node is populated with any data. 

match 

If nodeType is delimited, performs an exact match to the data.

nodeType 

Governs the marshal/unmarshal format. See Specifying the Node Type.

align 

Specifies the byte alignment criteria for the match property. 

decoding 

The unmarshal coding. This is displayed only if the nodeType property is set to fixed. It is recommended to use UTF-8 for DBCS data, since the hex value of some ASCII delimiter may coincide with a hex value contained within a doublebyte character.

encoding 

The marshal coding. This property is displayed only if the nodeType property is set to fixed.

length 

The length of the field. This property is displayed only if the nodeType property is set to fixed.