Member methods

The BOAttrType class defines methods that provide access to an attribute within a business object. Table 95 summarizes the methods in the BOAttrType class.

Table 95. Member methods of the BOAttrType class

Member method Description Page
BOAttrType() Creates an instance of the BOAttrType class, which a business object definition can use as an attribute of a business object. BOAttrType()
getAppText() Retrieves the application-specific information for an attribute. getAppText()
getBOVersion() Retrieves the version of an attribute's business object definition. getBOVersion()
getCardinality() Retrieves the number of child business objects, 1 or n, that an attribute can reference. getCardinality()
getDefault() Retrieves the default value of an attribute. getDefault()
getMaxLength() Retrieves the maximum length of an attribute value. getMaxLength()
getName() Retrieves the name of an attribute. getName()
getRelationType() Retrieves the type of relationship between a parent business object and a child business object. getRelationType()
getTypeName() Retrieves the name of the data type of an attribute. getTypeName()
getTypeNum() Retrieves the integer that specifies the data type of an attribute. getTypeNum()
hasCardinality() Determines whether an attribute has a specified cardinality. hasCardinality()
hasName() Determines whether an attribute has a specified name. hasName()
hasTypeName() Determines whether the data type of an attribute has a specified type name. hasTypeName()
isForeignKey() Determines whether an attribute is a foreign key value in the application. isForeignKey()
isKey() Determines whether an attribute value is a key value in the application. isKey()
isMultipleCard() Determines whether an attribute can reference multiple child business objects. isMultipleCard()
isObjectType() Determines whether the data type of an attribute is a business object type. isObjectType()
isRequired() Determines whether an attribute is required for a business object. isRequired()
isType() Determines whether an attribute has a specified data type. isType()

Copyright IBM Corp. 1997, 2004