public interface InstanceExplorerInterface extends ContextProvider, UnitsProvider, InstanceExplorerListener
| Modifier and Type | Method and Description |
|---|---|
void |
addFact(XBRLFact fact)
Received notification that a fact has been added.
|
void |
clear()
Clear.
|
void |
delFact(XBRLFact fact,
XBRLFactsList parent)
Receives notification that a fact has been removed from the instance being explored.
|
XBRLFactItem |
findFact(java.util.ArrayList<Member<?>> allMembers)
if the allMembers contains LineTitleMember elements, we need to resolve the hierarchy resolution
before calling this method.
|
java.util.Iterator<CompanyKey> |
getCompanyKeys()
Gets the company keys.
|
XBRLInstance |
getInstance()
Access to the XBRLInstance in the instance explorer.
|
XBRLUnit |
getSuggestedUnit(CompanyKey ck,
XBRLItem itm)
Gets the suggested unit.
|
boolean |
hasDataForCompany(CompanyKey company)
Checks for data for company.
|
void |
setInstance(XBRLInstance instance)
Sets the instance.
|
addContext, factChangedContext, getCompatibleContextsfactChangedUnit, getSuggestedUnitsinstanceEventvoid setInstance(XBRLInstance instance)
instance - the new instanceXBRLFactItem findFact(java.util.ArrayList<Member<?>> allMembers)
allMembers - the all membersXBRLUnit getSuggestedUnit(CompanyKey ck, XBRLItem itm)
ck - the ckitm - the itmvoid addFact(XBRLFact fact)
fact - the factvoid delFact(XBRLFact fact, XBRLFactsList parent)
Note: after removing a fact from its container the fact parent is set to null.
The fact has to be removed from the parent container prior to call this method and this is the reason this method has a second parameter that indicated what the parent container was.
fact - the factparent - the parentvoid clear()
boolean hasDataForCompany(CompanyKey company)
company - the companyjava.util.Iterator<CompanyKey> getCompanyKeys()
XBRLInstance getInstance()