For the data queues business object, the attributes represent the data queue fields. Apart from these, it has a child Connection attribute. There can be parent-child kind of relationship if there is a AS400Structure as part of the data queue fields. The valid verbs supported are GetQueue and PutQueue. The application-specific information for the queues will be at the business object level. The value will be the absolute IFSFile path of the data queue. The total length of the attributes should be equal to the maximum length of an element in the queue. This value is defined when you create the queue on the iSeries machine.
The parameter type can be Input, Output or InOut. Both the Connection Object and all its attributes are set as required. The iSeries ODA generates all the attributes with ASI as ParamType=InOut by default. The user can however change them to Input or Output after making sure the change is validated against the program logic.
See Figure 10 for an example of a data queue business object.