Creates a new
business-object-attribute object.
Syntax
public BusObjAttr(String name, int type);
public BusObjAttr(String name, int type, String typeName);
public BusObjAttr(String name, int type, String typeName, boolean isKey,
boolean isForeignKey, boolean isReqd, String appSpecInfo, int maxLen
String defaultValue, String BOversion, String cardinality, String relType,
boolean isReqdServerBound, String comments);
Parameters
- appSpecInfo
- Specifies the application-specific information for the
attribute.
- BOversion
- Specifies the version of the child business object or objects,
for an attribute that represents a child business object or an
array of child business objects.
- cardinality
- Specifies the cardinality of the attribute, for an attribute
that represents a child business object or an array of child
business objects.
- comments
- Specifies the optional comments to associate with the
attribute.
- defaultValue
- Specifies a default value for the attribute.
- isForeignKey
- Specifies whether the attribute is part of the business
object's foreign key.
- isKey
- Specifies whether the attribute is part of the business
object's key.
- isReqd
- Specifies whether a value is required for the attribute.
- isReqdServerBound
- Specifies whether a value is required for the attribute when
the business object represents a triggering event.
- maxLen
- Specifies the maximum length of the attribute's value.
- name
- Specifies the name of the attribute.
- relType
- Specifies that the relationship type is containment, for an
attribute that represents a child business object or an array of
child business objects.
- type
- Specifies the type of the attribute.
- typeName
- Specifies type of the child business object as the type of the
attribute, for an attribute that represents a child business object
or an array of child business objects.
Return values
The newly instantiated BusObjAttr object.
