BOM Class Properties

The properties listed in the table BOM Class Properties are available on the class object returned from the getClass(className) method of a factory, or the getClass() method of a BOM JavaScript object instance.

BOM Class Properties

Property Return Value Description
ATTRIBUTE_NAMES 
String[] Returns a JavaScript string array containing the names of all attributes for this class. These are names as defined in the BOM for this class and all of its super-classes. For complex children, these correspond to the name of the association endpoint for the child.

This array should not be modified.

This array is the union of attribute names PRIMITIVE_ATTRIBUTE_NAMES and COMPOSITE_ATTRIBUTE_NAMES.

PRIMITIVE_ATTRIBUTE_NAMES 
String[] Returns a JavaScript string array. These are attributes with simple data types; i.e., primitive types and enumerations. These are names as defined in the BOM for this class and all of its super-classes. This includes both single- and multi-valued attributes.

This array should not be modified.

COMPOSITE_ATTRIBUTE_NAMES 
String[] Returns a JavaScript string array containing the names of all complex children of this class. These are names of the association endpoints for these children as defined in the BOM for this class and all of its super-classes. This includes both single- and multi-valued attributes.

This array should not be modified.