public class XBRLFactsContainer extends java.util.LinkedList<XBRLFact>
| Constructor and Description | 
|---|
| XBRLFactsContainer(XBRLFactsList parent)Creates a facts container and sets the parent doc to the parent Instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(int index,
   XBRLFact fact)Adds the. | 
| boolean | add(XBRLFact fact)This is the implementation of the  addmethod in the XBRLFactsList interface . | 
| boolean | addNew(XBRLFact fact)Adds a sure new fact. | 
| void | addNewFact(int index,
          XBRLFact fact)Adds the new fact. | 
| void | clear()Clear. | 
| void | clearFacts()The clear method removes all facts form the container and also sets the parent to null. | 
| XBRLFactsContainer | clone()Clone. | 
| boolean | equals(java.lang.Object obj)Equals. | 
| DTSContainer | getContainer()Gets the container. | 
| XBRLInstance | getInstance()Gets the single instance of XBRLFactsContainer. | 
| java.util.Iterator<XBRLFactItem> | getItems()Gets the items on this and nested fact containers "tuples" inside this one. | 
| java.util.Iterator<XBRLFactItem> | getItems(XBRLItem itemFrom)Gets the items. | 
| java.util.Iterator<XBRLFactItem> | getItemsSg(XBRLItem itemFrom)Gets the items sg. | 
| int | getNumberOfItems()Gets the number of items on this facts container. | 
| int | getNumberOfTuples()Gets the number of tuples on this facts container. | 
| XBRLFactsList | getParentXBRL()Gets the parent. | 
| java.util.Iterator<XBRLFactTuple> | getTuples()Gets the tuples. | 
| java.util.Iterator<XBRLFactTuple> | getTuples(XBRLTuple tupleFrom)Gets the tuples. | 
| java.util.Iterator<XBRLFactTuple> | getTuplesSg(XBRLTuple tupleFrom)Gets the tuples sg. | 
| int | hashCode()Hash code. | 
| int | indexOf(XBRLFact fact,
       int index)Index of. | 
| java.util.Iterator<XBRLFact> | iterator()Iterator. | 
| java.util.Iterator<XBRLFact> | iterator2()This is a special iterator that iterate children facts recursively. | 
| boolean | remove(java.util.Set<XBRLFact> facts)Removes the set of facts. | 
| boolean | remove(XBRLFact fact)Removes the fact. | 
| void | setParent(XBRLFactsList parent)Sets the parent. | 
| int | size()Returns the number of elements on this list. | 
addAll, addAll, addFirst, addLast, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, spliterator, toArray, toArraycontainsAll, isEmpty, removeAll, retainAll, toStringpublic XBRLFactsContainer(XBRLFactsList parent)
parent - the parent instancepublic XBRLFactsContainer clone()
clone in class java.util.LinkedList<XBRLFact>public XBRLFactsList getParentXBRL()
public void setParent(XBRLFactsList parent)
parent - the new parentpublic boolean add(XBRLFact fact)
add method in the XBRLFactsList interface .add in interface java.util.Collection<XBRLFact>add in interface java.util.Deque<XBRLFact>add in interface java.util.List<XBRLFact>add in interface java.util.Queue<XBRLFact>add in class java.util.LinkedList<XBRLFact>fact - the factXBRLFactsList.add(com.ihr.xbrl.om.instance.XBRLFact)public boolean addNew(XBRLFact fact)
fact - the new factpublic void add(int index,
                XBRLFact fact)
public void clear()
public boolean remove(XBRLFact fact)
fact - the factpublic boolean remove(java.util.Set<XBRLFact> facts)
facts - the set of factspublic XBRLInstance getInstance()
public java.util.Iterator<XBRLFact> iterator()
iterator in interface java.lang.Iterable<XBRLFact>iterator in interface java.util.Collection<XBRLFact>iterator in interface java.util.Deque<XBRLFact>iterator in interface java.util.List<XBRLFact>iterator in class java.util.AbstractSequentialList<XBRLFact>public java.util.Iterator<XBRLFact> iterator2()
public java.util.Iterator<XBRLFactItem> getItems()
public java.util.Iterator<XBRLFactItem> getItems(XBRLItem itemFrom)
itemFrom - the item frompublic java.util.Iterator<XBRLFactTuple> getTuples(XBRLTuple tupleFrom)
tupleFrom - the tuple frompublic java.util.Iterator<XBRLFactItem> getItemsSg(XBRLItem itemFrom)
itemFrom - the item frompublic java.util.Iterator<XBRLFactTuple> getTuplesSg(XBRLTuple tupleFrom)
tupleFrom - the tuple frompublic java.util.Iterator<XBRLFactTuple> getTuples()
public int getNumberOfItems()
public int getNumberOfTuples()
public void addNewFact(int index,
                       XBRLFact fact)
index - the indexfact - the factpublic DTSContainer getContainer()
public int hashCode()
public int size()
public boolean equals(java.lang.Object obj)
public void clearFacts()
public int indexOf(XBRLFact fact, int index)
fact - the factindex - the indexCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa