Methods

Table 133 summarizes the methods in the CxObjectAttr interface.

Table 133. Member methods of the CxObjectAttr class
Member method Description Page
equals() Determines if a specified attribute is the same as this attribute equals()
getAppText() Retrieves the application specific information of this attribute. getAppText()
getCardinality() Retrieves the cardinality of an attribute. getCardinality()
getDefault() Retrieves an attribute's default value. getDefault()
getMaxLength() Retrieves the maximum length of an attribute value. getMaxLength()
getName() Retrieves the attribute name. getName()
getRelationType() Retrieves the type of an attribute relationship. getRelationType()
getTypeName() Retrieves the type of an attribute. getTypeName()
getTypeNum() Retrieves the numeric type code of an attribute. getTypeNum()
hasCardinality() Compares the cardinality of an attribute with the cardinality value passed in as a parameter. hasCardinality()
hasName() Compares the name passed in to the method to the attribute's name. hasName()
hasType() Verifies if the type of the attribute is the same as the type passed in. hasType()
isForeignKeyAttr() Verifies if the attribute is part of the object's foreign key. isForeignKeyAttr()
isKeyAttr() Verifies if the attribute is part of the object's key set. isKeyAttr()
isMultipleCard() Retrieves whether the attribute is a multiple cardinality. isMultipleCard()
isObjectType() Retrieves if the attribute type is an object type. isObjectType()
isRequiredAttr() Verifies if this attribute is a required attribute for the business object. isRequiredAttr()
isType() Verifies if the attribute type matches the passed-in parameter value. isType()

Copyright IBM Corp. 1997, 2004