TableUtils - getHierarchy()

Returns a list of all classes participating in the hierarchy of the specified table.

Table 1. Parameters
Name Type Description
Table 2. Returns
Type Description
ArrayList A list of all classes in the specified table's hierarchy.

var table = new TableUtils("cmdb_ci_server");

Output: [cmdb_ci_server, cmdb_ci_computer, cmdb_ci_hardware, cmdb_ci, cmdb_ci_mainframe, cmdb_ci_linux_server, cmdb_ci_mainframe_lpar, cmdb_ci_esx_server, cmdb_ci_unix_server, cmdb_ci_solaris_server, cmdb_ci_hpux_server, cmdb_ci_aix_server, cmdb_ci_osx_server, cmdb_ci_netware_server, cmdb_ci_win_server]