Specifying business object attribute properties

The iSeries connector has various properties that you can set on its business object attributes. This section describes how the connector interprets several of these properties and describes how to set them when modifying a business object.

The following table shows the properties for simple attributes.

Table 4. Business object attribute properties

Attribute Description
Name Unique name of the attribute
Type All simple attributes should be of type String
MaxLength If the attribute value length is greater than the MaxLength specified for the attribute and the attribute represents an input parameter, the value is trimmed to the Maxlength value. If the value length is less than MaxLength, then spaces are padded.
IsKey Not used
IsForeignKey Not used
Isrequired All the input parameters need to have this attribute set to true.
AppSpecInfo ParamType=<value>:Offset=<value>: Signed=<True/False>:DataLength= <value>:PackedDec=<True/False>: ZonedDec=<True/False>: DecimalPositions=<value>
DefaultValue If set for the attribute, this value shall be used by the connector if one is not set for the input parameter.

Copyright IBM Corp. 1997, 2004