public class FactsColumn
extends java.lang.Object
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.
|
boolean |
containsKey(FactUseItem iu)
Contains key.
|
void |
delContext(XBRLContext ctx)
Del context.
|
java.util.Set<java.util.Map.Entry<FactUseItem,XBRLFactItem>> |
entrySet()
Entry set.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
XBRLFactItem |
get(java.lang.Object key)
Gets the.
|
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 key.
|
int |
getRowNumber(XBRLFactItem fact)
For a fact item added to this FactsColumn this method returns the assigned row number.
|
int |
hashCode()
Hash code.
|
boolean |
isEmpty()
Checks if is empty.
|
XBRLFactItem |
put(FactUseItem key,
XBRLFactItem value)
Put.
|
XBRLFactItem |
remove(java.lang.Object key)
Removes the.
|
int |
size()
Size.
|
java.util.Collection<XBRLFactItem> |
values()
Values.
|
public FactsColumn(ColumnPeriod period)
period
- the periodpublic ColumnPeriod getPeriod()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic 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)
key
- the keyvalue
- the valuepublic 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)
key
- the keypublic XBRLFactItem remove(java.lang.Object key)
key
- the keypublic boolean containsKey(FactUseItem iu)
iu
- the iupublic java.util.Set<java.util.Map.Entry<FactUseItem,XBRLFactItem>> entrySet()
public boolean isEmpty()
public java.util.Collection<XBRLFactItem> values()
public int size()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa