## Uses of Class
com.ihr.xbrl.dts.CompanyKey

- Packages that use CompanyKey
  Package | Description
  --- | ---
  com.ihr.xbrl.dts | Provides the classes necessary to investigate the content of a DTS.
  com.ihr.xbrl.om.table.layout | The layout model represents the content of the table according with section 7 of the specification

- - ### Uses of CompanyKey in com.ihr.xbrl.dts

    Methods in com.ihr.xbrl.dts that return CompanyKey
    Modifier and Type | Method and Description
    --- | ---
    `CompanyKey` | IdentifierMember.`getMember()`

    Methods in com.ihr.xbrl.dts that return types with arguments of type CompanyKey
    Modifier and Type | Method and Description
    --- | ---
    `Member<CompanyKey>` | IdentifierMember.`clone()`
    `java.util.Iterator<CompanyKey>` | InstanceExplorerInterface.`getCompanyKeys()` Gets the company keys.
    `java.util.Iterator<CompanyKey>` | InstanceExplorerAbstract.`getCompanyKeys()` Access to an iterator over the keys for company data.

    Methods in com.ihr.xbrl.dts with parameters of type CompanyKey
    Modifier and Type | Method and Description
    --- | ---
    `void` | InstanceExplorer.`addColumn(CompanyKey ck, ColumnPeriod col)` Adds the column.
    `int` | CompanyKey.`compareTo(CompanyKey o)`
    `void` | InstanceExplorer.`delColumn(CompanyKey ck, ColumnPeriod col)` Del column.
    `java.util.Collection<XBRLContext>` | InstanceExplorer.`getAllContexts(CompanyKey ck, XBRLItem.PeriodType periodType)` Access to a collection of all contexts that are associated with factColumns in this InstanceExplorer.
    `java.util.Collection<XBRLUnit>` | InstanceExplorer.`getAllUnits(CompanyKey ck, XBRLItem item)` Returns all the units in the instance document that are used by the company indicated by the CompanyKey parameter.
    `ColumnPeriod` | InstanceExplorer.`getColumn(CompanyKey ck, int index)` Gets the column.
    `java.util.Iterator<ColumnPeriod>` | InstanceExplorer.`getColumnKeysIterator(CompanyKey ck)` Gets the column keys iterator.
    `int[]` | InstanceExplorer.`getColumnsCount(CompanyKey ck, java.util.Collection<FactUse> concepts, boolean bSkipEmptyColumns)` Returns an array of indexes of columns with data for the list of concepts in the concepts parameter.
    `java.util.Iterator<java.lang.String>` | InstanceExplorer.`getDateStepIterator(CompanyKey ck)` Gets the date step iterator.
    `int` | InstanceExplorer.`getDateStepNumKeys(CompanyKey ck)` Gets the date step num keys.
    `FactsColumn[]` | InstanceExplorer.`getFactsColumn(CompanyKey ck, ColumnPeriod period)` This is never null.
    `XBRLUnit` | InstanceExplorerInterface.`getSuggestedUnit(CompanyKey ck, XBRLItem itm)` Gets the suggested unit.
    `XBRLUnit` | InstanceExplorerAbstract.`getSuggestedUnit(CompanyKey ck, XBRLItem itm)` Returns a suggested unit for a numeric concept definition.
    `java.util.Vector<XBRLContext>` | InstanceExplorer.`getVectorForKey(CompanyKey ck, java.lang.String keyContexts)` Access to a Vector of XBRLContexts .
    `boolean` | InstanceExplorerInterface.`hasDataForCompany(CompanyKey company)` Checks for data for company.
    `boolean` | InstanceExplorerAbstract.`hasDataForCompany(CompanyKey ck)` Checks for data for company.
    `void` | InstanceExplorerAbstract.`setSuggestedUnit(XBRLItem item, CompanyKey ck, XBRLUnit unit)` Sets the suggested unit.

    Constructors in com.ihr.xbrl.dts with parameters of type CompanyKey
    Constructor and Description
    `IdentifierMember(CompanyKey entity, Dimension<?> dim)` Instantiates a new identifier member.

  - ### Uses of CompanyKey in com.ihr.xbrl.om.table.layout

    Methods in com.ihr.xbrl.om.table.layout that return CompanyKey
    Modifier and Type | Method and Description
    --- | ---
    `CompanyKey` | FactsListClassifier.`getFirstCompany()` This method is required in order to work with multiple companies in the same XBRL report.
    `CompanyKey` | XBRLTableLayout.`getSelectedCompany()` This method is required by the export to excel process but it shouldn't be here because a table might contains multiple companies in multiple rows.