public class FactUseItem extends FactUse
| Modifier and Type | Field and Description | 
|---|---|
| static int | BEGINNINGThis constant indicates that the concept item is used at the beginning of this period. | 
| static int | CLOSING_BOOKS_PREVIOUS_YEARThis constant indicates that the concept item is used at the beginning/end of previous year. | 
| static int | ENDThis constant indicates that the concept item is used at the end of this period. | 
| Constructor and Description | 
|---|
| FactUseItem(XBRLFactsList parent,
           XBRLItem item,
           int use,
           int index,
           boolean bNegated,
           RowKey key)Instantiates a new fact use item. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj)Equals. | 
| static java.util.Collection<java.lang.String> | getBeginningOfPeriodRolesCollection()Gets the beginning of period roles collection. | 
| static java.util.Collection<java.lang.String> | getEndOfPeriodRolesCollection()Gets the end of period roles collection. | 
| int | getIndex()Access to the index that indicates the nTh use of the same fact item. | 
| XBRLItem | getItem()Gets the item. | 
| int | getUse()Access to the information about the item use
 
 The uses can be  CLOSING_BOOKS_PREVIOUS_YEAR,BEGINNING,ENDorFactUse.NORMAL, bitmap. | 
| static int | getUseFromRole(java.lang.String role)The return value is one of, FactUse.NORMAL, FactUseItem.BEGINNING or FactUseItem.END | 
| static int | getUseFromRole(XBRLRoleType role)The return value is one of, FactUse.NORMAL, FactUseItem.BEGINNING or FactUseItem.END | 
| int | hashCode()Hash code. | 
| boolean | isNegated()If this Fact Use is negated this method returns true. | 
getParentXBRL, getRowKeypublic static final int BEGINNING
public static final int END
public static final int CLOSING_BOOKS_PREVIOUS_YEAR
public FactUseItem(XBRLFactsList parent, XBRLItem item, int use, int index, boolean bNegated, RowKey key)
parent - the parentitem - the itemuse - the useindex - the indexbNegated - the b negatedkey - the keypublic int getUse()
CLOSING_BOOKS_PREVIOUS_YEAR, BEGINNING, END or FactUse.NORMAL, bitmap.public boolean isNegated()
public int getIndex()
public XBRLItem getItem()
public boolean equals(java.lang.Object obj)
public static int getUseFromRole(XBRLRoleType role)
role - as XBRLRoleTypepublic static int getUseFromRole(java.lang.String role)
role - as Stringpublic static java.util.Collection<java.lang.String> getBeginningOfPeriodRolesCollection()
public static java.util.Collection<java.lang.String> getEndOfPeriodRolesCollection()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa