|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.dts.InstanceExplorerAbstract
public abstract class InstanceExplorerAbstract
| Field Summary | |
|---|---|
static int |
ACUM_Q1Q3
|
static int |
ALL
|
static int |
DAYS
|
static int |
FOREVER
|
static int |
HALVES
|
static int |
HOURS
|
static int |
INSTANT
|
static int |
MINUTES
|
static int |
MONTHS
|
static int |
NONSTANDARD
|
static com.ihr.xbrl.dts.InstanceExplorerAbstract.ClsNotesOrderer |
notesOrderer
|
static int |
QUARTERS
|
static java.lang.String |
sDays
|
static int |
SECONDS
|
static java.lang.String |
sForever
|
static java.lang.String |
sHalves
|
static java.lang.String |
sHours
|
static java.lang.String |
sMinutes
|
static java.lang.String |
sMonths
|
static java.lang.String |
sNonstandard
|
static java.lang.String |
sQuarters
|
static java.lang.String |
sSeconds
|
static java.lang.String |
sWeeks
|
static java.lang.String |
sYears
|
static javax.xml.namespace.QName |
unkownUnit
|
static int |
WEEKS
|
static int |
YEARS
|
| Method Summary | |
|---|---|
static void |
addInstanceExplorerListener(InstanceExplorerListener l)
|
void |
clear()
|
java.util.Iterator<CompanyKey> |
getCompanyKeys()
Access to an iterator over the keys for company data |
VNotes |
getFactNotes(XBRLFact fact)
|
static InstanceExplorerListener[] |
getInstanceExplorerListeners()
|
int |
getNumberOfCompanies()
Access to the number of different companies this instance have stored information |
static int |
getNumTokens()
Returns the number of tokens that represents column types by the column range. |
static java.lang.String |
getStringOfDateStep(java.util.GregorianCalendar gc,
int dateStep,
HasBoySupport hb)
|
XBRLUnit |
getSuggestedUnit(CompanyKey ck,
XBRLItem itm)
Returns a suggested unit for a numeric concept definition. |
java.util.Iterator<XBRLUnit> |
getSuggestedUnits(XBRLItem itm)
Implementation of the UnitsProvider interface The algorithm considers other units in this report and put first the "suggested unit" for this fact item. |
java.util.Iterator<VNotes> |
getVNotes()
|
boolean |
hasDataForCompany(CompanyKey ck)
|
static int |
indexOfDateStepCode(int dateStep)
Return the index of the dateStep code in the internally ordered array of dateStep codes |
void |
instanceEvent(InstanceExplorerEvent e)
|
static java.lang.String |
intTokenToString(int dateStep)
Converts an integer value into the string representation See: intTokenToString(int) for more information |
static void |
removeInstanceExplorerListener(InstanceExplorerListener l)
|
static void |
sendEvent(InstanceExplorerEvent event)
|
void |
setSuggestedUnit(XBRLItem item,
CompanyKey ck,
XBRLUnit unit)
|
static int |
stepsCodeForIndex(int index)
Access to the dateStep code corresponding to the index in the sequence. |
static int |
stringTokenToInt(java.lang.String dateStep)
Transform a string representation of a token for a period into the corresponding integer value. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ihr.xbrl.dts.InstanceExplorerInterface |
|---|
addFact, delFact, findFact, setInstance |
| Methods inherited from interface com.ihr.xbrl.dts.ContextProvider |
|---|
addContext, factChangedContext, getCompatibleContexts |
| Methods inherited from interface com.ihr.xbrl.dts.UnitsProvider |
|---|
factChangedUnit |
| Field Detail |
|---|
public static final int FOREVER
public static final int YEARS
public static final int HALVES
public static final int QUARTERS
public static final int MONTHS
public static final int WEEKS
public static final int DAYS
public static final int HOURS
public static final int MINUTES
public static final int SECONDS
public static final int NONSTANDARD
public static final int INSTANT
public static final int ALL
public static final int ACUM_Q1Q3
public static final java.lang.String sForever
public static final java.lang.String sYears
public static final java.lang.String sHalves
public static final java.lang.String sQuarters
public static final java.lang.String sMonths
public static final java.lang.String sWeeks
public static final java.lang.String sDays
public static final java.lang.String sHours
public static final java.lang.String sMinutes
public static final java.lang.String sSeconds
public static final java.lang.String sNonstandard
public static final javax.xml.namespace.QName unkownUnit
public static com.ihr.xbrl.dts.InstanceExplorerAbstract.ClsNotesOrderer notesOrderer
| Method Detail |
|---|
public void instanceEvent(InstanceExplorerEvent e)
instanceEvent in interface InstanceExplorerListenerpublic static int indexOfDateStepCode(int dateStep)
dateStep -
public static int stepsCodeForIndex(int index)
index -
public static int stringTokenToInt(java.lang.String dateStep)
The integer value is an index over a tale of dateSteps ordered by duration.
dateStep - String like "years", "halves", "quarters", "months", "weeks", "days", "hours", "minutes", "seconds"
public static java.lang.String intTokenToString(int dateStep)
intTokenToString(int) for more information
dateStep - integer
public static int getNumTokens()
public int getNumberOfCompanies()
public java.util.Iterator<CompanyKey> getCompanyKeys()
getCompanyKeys in interface InstanceExplorerInterface
public static java.lang.String getStringOfDateStep(java.util.GregorianCalendar gc,
int dateStep,
HasBoySupport hb)
gc - GregorianCalendardateStep -
public static void addInstanceExplorerListener(InstanceExplorerListener l)
public static void removeInstanceExplorerListener(InstanceExplorerListener l)
public static InstanceExplorerListener[] getInstanceExplorerListeners()
public static void sendEvent(InstanceExplorerEvent event)
event - public void clear()
clear in interface InstanceExplorerInterfacepublic java.util.Iterator<VNotes> getVNotes()
public VNotes getFactNotes(XBRLFact fact)
public java.util.Iterator<XBRLUnit> getSuggestedUnits(XBRLItem itm)
getSuggestedUnits in interface UnitsProvider
public XBRLUnit getSuggestedUnit(CompanyKey ck,
XBRLItem itm)
Returns a suggested unit for a numeric concept definition. The answer will be based on existing information in the instance. If the instance already has a fact item for the same concept definition the same unit will be suggested.
If there are no results like this then the Local Country ISO is returned for monetary item types, xbrli:pure is returned for pure item types and xbrli:shares is returned for shares item types. In any other case the QName {http://www.reportingstandard.com/userDefinedUnits}unkownUnit is returned
getSuggestedUnit in interface InstanceExplorerInterfaceitm -
public void setSuggestedUnit(XBRLItem item,
CompanyKey ck,
XBRLUnit unit)
item - companyKey - unit - public boolean hasDataForCompany(CompanyKey ck)
hasDataForCompany in interface InstanceExplorerInterfaceck -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||