public class XBRLFactsListImpl extends java.lang.Object implements XBRLFactsList, java.lang.Cloneable
Constructor and Description |
---|
XBRLFactsListImpl(DTSContainer dts,
XBRLFactsList parent)
Instantiates a new XBRL facts list impl.
|
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
XBRLFact fact)
Adds a new fact at given pos.
|
boolean |
add(XBRLFact fact)
Resets the nillable status to false automatically.
|
void |
clear()
Clear.
|
XBRLFactsListImpl |
clone()
Clone.
|
XBRLFactsListImpl |
clone(DTSContainer newDTS,
XBRLFactsList parent)
Clone.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
XBRLFact |
get(int index)
Gets the.
|
DTSContainer |
getContainer()
Gets the container.
|
net.sf.saxon.s9api.XdmNode |
getDocument()
Gets the document.
|
XBRLInstance |
getInstance()
Gets the single instance of XBRLFactsListImpl.
|
java.util.Iterator<XBRLFactItem> |
getItems()
Gets the items.
|
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.
|
int |
getNumberOfTuples()
Gets the number of tuples.
|
XMLFragment |
getParentXBRL()
Gets the parent XBRL.
|
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.
|
XPathOnXMLFragment |
getXPath()
Gets the x path.
|
java.lang.String |
getXPathToRoot()
Gets the x path to root.
|
int |
hashCode()
Hash code.
|
int |
indexOf(XBRLFact fact)
Index of.
|
int |
indexOf(XBRLFact fact,
int index)
Index of.
|
java.util.Iterator<XBRLFact> |
iterator()
Iterator.
|
java.util.Iterator<XBRLFact> |
iterator2()
Iterator 2.
|
boolean |
remove(java.util.Set<XBRLFact> facts)
Removes the.
|
boolean |
remove(XBRLFact fact)
Removes the.
|
boolean |
removeFact(XBRLFact fact)
Removes the fact.
|
boolean |
removeFacts(java.util.Set<XBRLFact> facts)
Removes the facts.
|
void |
setParent(XBRLFactsList parent)
Sets the parent.
|
int |
size()
Size.
|
public XBRLFactsListImpl(DTSContainer dts, XBRLFactsList parent)
dts
- the dtsparent
- the parent. If the parent is set to null, facts can be added but not removed from previous parentpublic XBRLFactsListImpl clone()
clone
in class java.lang.Object
public XBRLFactsListImpl clone(DTSContainer newDTS, XBRLFactsList parent)
newDTS
- the new dtsparent
- the parentpublic boolean add(XBRLFact fact)
add
in interface XBRLFactsList
fact
- the factpublic void add(int index, XBRLFact fact)
add
in interface XBRLFactsList
index
- the indexfact
- the factpublic java.util.Iterator<XBRLFactItem> getItems()
getItems
in interface XBRLFactsList
public java.util.Iterator<XBRLFactItem> getItems(XBRLItem itemFrom)
getItems
in interface XBRLFactsList
itemFrom
- the item frompublic java.util.Iterator<XBRLFactItem> getItemsSg(XBRLItem itemFrom)
getItemsSg
in interface XBRLFactsList
itemFrom
- the item frompublic java.util.Iterator<XBRLFactTuple> getTuples()
getTuples
in interface XBRLFactsList
public java.util.Iterator<XBRLFactTuple> getTuples(XBRLTuple tupleFrom)
getTuples
in interface XBRLFactsList
tupleFrom
- the tuple frompublic java.util.Iterator<XBRLFactTuple> getTuplesSg(XBRLTuple tupleFrom)
getTuplesSg
in interface XBRLFactsList
tupleFrom
- the tuple frompublic int getNumberOfItems()
getNumberOfItems
in interface XBRLFactsList
public int getNumberOfTuples()
getNumberOfTuples
in interface XBRLFactsList
public java.util.Iterator<XBRLFact> iterator()
iterator
in interface XBRLFactsList
public java.util.Iterator<XBRLFact> iterator2()
iterator2
in interface XBRLFactsList
public boolean remove(XBRLFact fact)
remove
in interface XBRLFactsList
fact
- the factpublic boolean remove(java.util.Set<XBRLFact> facts)
remove
in interface XBRLFactsList
facts
- the factspublic void setParent(XBRLFactsList parent)
setParent
in interface XBRLFactsList
parent
- the new parentpublic boolean removeFact(XBRLFact fact)
removeFact
in interface XBRLFactsList
fact
- the factpublic boolean removeFacts(java.util.Set<XBRLFact> facts)
removeFacts
in interface XBRLFactsList
facts
- the factspublic int size()
size
in interface XBRLFactsList
public XBRLFact get(int index)
get
in interface XBRLFactsList
index
- the indexpublic int indexOf(XBRLFact fact)
indexOf
in interface XBRLFactsList
fact
- the factpublic int indexOf(XBRLFact fact, int index)
indexOf
in interface XBRLFactsList
fact
- the factindex
- the indexpublic void clear()
clear
in interface XBRLFactsList
public int hashCode()
hashCode
in interface XBRLFactsList
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in interface XBRLFactsList
equals
in class java.lang.Object
obj
- the objpublic XMLFragment getParentXBRL()
getParentXBRL
in interface XBRLFactsList
public XBRLInstance getInstance()
getInstance
in interface XBRLFactsList
public DTSContainer getContainer()
getContainer
in interface XBRLFactsList
public net.sf.saxon.s9api.XdmNode getDocument()
getDocument
in interface XBRLFactsList
public java.lang.String getXPathToRoot()
getXPathToRoot
in interface XBRLFactsList
public XPathOnXMLFragment getXPath()
getXPath
in interface XBRLFactsList
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa