Methods

Table 71 summarizes the member methods of the BusObjAttr class.

Table 71.

Member methods of the BusObjAttr class
Member method Description Page
BusObjAttr() Creates a business-object-attribute object. BusObjAttr()
getAppText() Retrieves the application-specific information of an attribute. getAppText()
getAttrType() Retrieves the type of a simple attribute. getAttrType()
getAttrTypeName() Retrieves the type of the child business object as the type of an attribute, for an attribute that represents a child business object or an array of child business objects. getAttrTypeName()
getBOVersion() Retrieves the version number of the business object definition, for an attribute that represents a child business object or an array of child business objects. getBOVersion()
getCardinality() Retrieves the cardinality of the attribute, for an attribute that represents a child business object or an array of child business objects. getCardinality()
getComments() Retrieves the comments associated with the attribute. getComments()
getDefault() Retrieves the default value for an attribute. getDefault()
getMaxLength() Retrieves the maximum length for this attribute. getMaxLength()
getName() Retrieves the name of an attribute. getName()
getRelationType() Retrieves the attribute's relationship type, which is containment for an attribute that represents a child business object or an array of child business objects. getRelationType()
isForeignKey() Determines whether this attribute is part of the business object's foreign key. isForeignKey()
isKey() Determines whether this attribute is part of the business object's key. isKey()
isRequiredKey() Determines whether this attribute is part of the business object's required key. isRequiredKey()
isRequiredServerBound() Determines whether an attribute is required when the business object represents a triggering event. isRequiredServerBound()
isSimpleType() Determines whether an attribute is of a simple type (such as String, Integer, or Float) or whether it represents a child business object or an array of child business objects. isSimpleType()
setAppText() Sets the application-specific information of an attribute. setAppText()
setAttrType() Sets the type of the attribute. setAttrType()
setBOVersion() Sets the version of the child business object or objects that is represented by an attribute, for an attribute that represents a child business object or an array of child business objects. setBOVersion()
setCardinality() Sets the cardinality of the attribute, for an attribute that represents a child business object or an array of child business objects. setCardinality()
setComments() Sets the comments associated with the attribute. setComments()
setDefault() Sets the default value for an attribute. setDefault()
setIsForeignKey() Sets the attribute to a boolean value that indicates whether the attribute is part of a foreign key. setIsForeignKey()
setIsKey() Sets the attribute to a boolean value that indicates whether the attribute is part of a key. setIsKey()
setIsRequiredKey() Sets the attribute to a boolean value that indicates whether the attribute is part of the business object's required key. setIsRequiredKey()
setMaxLength() Sets the maximum length for an attribute. setMaxLength()
setName() Sets the name of an attribute. setName()
setRelationType() Sets the relationship type of an attribute to containment, for an attribute that represents a child business object or an array of child business objects. setRelationType()

Copyright IBM Corp. 1997, 2003