public class FactsColumn extends java.util.Hashtable<FactUseItem,XBRLFactItem>
| Constructor and Description |
|---|
FactsColumn(ColumnPeriod period)
Instantiates a new facts column.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(XBRLContext ctx,
int use)
Adds a context to this FactsColumn.
|
void |
delContext(XBRLContext ctx)
Del context.
|
XBRLFactItem |
get(java.lang.Object key) |
java.util.Collection<XBRLContext> |
getContexts(boolean bIncludeEmpty)
Gets the contexts.
|
XBRLContext |
getContexts(XBRLItem.PeriodType periodType,
int use)
Returns the most used XBRLContext object in this column
filtered by the period type and FactUse.
|
ColumnPeriod |
getPeriod()
Gets the period.
|
FactUseItem |
getRowKey(XBRLFactItem fact)
For a fact item added to this FactsColumn this method returns the assigned row number.
|
int |
getRowNumber(XBRLFactItem fact)
For a fact item added to this FactsColumn this method returns the assigned row number.
|
XBRLFactItem |
put(FactUseItem key,
XBRLFactItem value) |
XBRLFactItem |
remove(java.lang.Object key) |
public FactsColumn(ColumnPeriod period)
period - the periodpublic ColumnPeriod getPeriod()
public java.util.Collection<XBRLContext> getContexts(boolean bIncludeEmpty)
bIncludeEmpty - the b include emptypublic XBRLContext getContexts(XBRLItem.PeriodType periodType, int use)
periodType - int XBRLItem.DURATION or XBRLItem.INSTANTuse - constant indicating beginning of period, end of period or normal usage.public XBRLFactItem put(FactUseItem key, XBRLFactItem value)
put in interface java.util.Map<FactUseItem,XBRLFactItem>put in class java.util.Hashtable<FactUseItem,XBRLFactItem>public int getRowNumber(XBRLFactItem fact)
fact - the factpublic FactUseItem getRowKey(XBRLFactItem fact)
fact - the factpublic void addContext(XBRLContext ctx, int use)
ctx - the ctxuse - the usepublic void delContext(XBRLContext ctx)
ctx - the ctxpublic XBRLFactItem get(java.lang.Object key)
get in interface java.util.Map<FactUseItem,XBRLFactItem>get in class java.util.Hashtable<FactUseItem,XBRLFactItem>public XBRLFactItem remove(java.lang.Object key)
remove in interface java.util.Map<FactUseItem,XBRLFactItem>remove in class java.util.Hashtable<FactUseItem,XBRLFactItem>