Appendix. Attribute properties

Table 152 lists the properties for attributes of business object definitions.

Table 152. Attribute Properties
Property Description
Name A name that describes what type of data the attribute contains. The name must be less than or equal to 80 alphanumeric characters and underscores. It cannot contain spaces or certain punctuation symbols, such as a period, a left brace ([), a right brace (]), a single quotation mark, or a double quotation mark.
Type The data type of the attribute. Basic types include String, Boolean, Double, Float, Integer, and Date. If the attribute references a child business object, specify the name of a child business object definition. Attributes that reference child business objects are called compound attributes.
IsKey A boolean value, true or false, specifying whether this is a key attribute. Key attributes uniquely identify a business object created from the definition. Each business object definition has at least one key attribute.
IsForeignKey A boolean value, true or false, specifying whether this is a foreign key attribute.
MaxLength An integer representing the maximum number of bytes the attribute can contain. To specify no limit, enter zero (0).
AppSpecificInfo A string that provides information about the attribute for a particular application, such as the name of a field in a table or form that corresponds to the attribute. Connectors use this information when processing the object.
DefaultValue The value to assign to this attribute if there is no runtime value.
IsRequired A boolean value, true or false, specifying whether a value for this attribute is required to create a business object.
ContainedObjectVersion The version number of the child business object definition. IBM WebSphere System Manager displays this value under the name Type Version.
Relationship The relationship between the parent business object and the child business object. In the current release, the only valid relationship is Containment.
Cardinality The number of child business objects that this attribute references. If the attribute references only one child business object, the value is 1. If the attribute can reference many child business objects, the value is a literal n.

Copyright IBM Corp. 2004, 2005