|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.XMLFragment
com.ihr.xbrl.om.instance.XBRLFact
com.ihr.xbrl.om.instance.XBRLFactTuple
public class XBRLFactTuple
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.ihr.xbrl.om.XBRLValidation |
|---|
XBRLValidation.Direction |
| Field Summary |
|---|
| Fields inherited from class com.ihr.xbrl.om.instance.XBRLFact |
|---|
nil |
| Fields inherited from class com.ihr.xbrl.om.XMLFragment |
|---|
CONCEPT_LABEL, CONCEPT_QNAME, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, idQName, NO_POSITION, OrderComparator, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER |
| Constructor Summary | |
|---|---|
XBRLFactTuple(XBRLFactsList parent,
XBRLTuple tupleDecl)
Creates a new tuple |
|
| Method Summary | |
|---|---|
void |
add(int index,
XBRLFact fact)
Resets the nillable status to false automatically. |
boolean |
add(XBRLFact fact)
Resets the nillable status to false automatically. |
void |
addOrForwardItem(XBRLFactItem item)
Called internally to register new facts in the instance document |
void |
clear()
Eliminates all this fact content |
XBRLFactTuple |
clone()
|
XBRLFactTuple |
clone(DTSContainer newDTS)
Clone current fact but in a new DTSContainer |
boolean |
equals(java.lang.Object obj)
Sets a new XPathFunctionResolver for this object |
void |
forwardItem(XBRLFactItem item)
|
org.jdom.Element |
generateNode(boolean relativize,
java.net.URI base)
Generates the XBRLFact jdom node. |
XBRLFact |
get(int index)
Returns the element at the selected index position. |
XBRLTuple |
getElementDefinition()
Access to the element definition behind this fact |
java.lang.String |
getFriendlyName()
Returns a string description that represents the element content in a form that users can understand. |
java.lang.String |
getFriendlyName(int modifiers,
LabelsProvider lp)
Returns a string description that represents the element content in a form that users can understand. |
java.util.Iterator<java.util.Vector<XBRLFactItem>> |
getItems()
Iterator over the items on this facts container |
java.util.Iterator<XBRLFactItem> |
getItems(XBRLItem itemFrom)
Iterator over fact items that are instances of the XBRLItem received as a parameter. |
java.util.Iterator<XBRLFactItem> |
getItemsSg(XBRLItem itemFrom)
Iterator over fact items that are instances of the XBRLItem received as a parameter of in the substitution group of that item |
int |
getNumberOfTuples()
Calculates and returns the number of tuples children of this facts container |
java.util.Iterator<java.util.Vector<XBRLFactTuple>> |
getTuples()
Iterator over the tuples on this facts container |
java.util.Iterator<XBRLFactTuple> |
getTuples(XBRLTuple tupleFrom)
Iterator over fact tuples that are instances of the XBRLTuple received as a parameter. |
java.util.Iterator<XBRLFactTuple> |
getTuplesSg(XBRLTuple tupleFrom)
Iterator over fact tuples that are instances of the XBRLTuple received as a parameter of in the substitution group of that tuple |
net.sf.saxon.s9api.XdmValue |
getValue()
Returns the value of this node. |
int |
hashCode()
This is from the Object interface and must be implemented by sub classes in order to be able to provide hashCodes |
int |
indexOf(XBRLFact fact)
Returns the index position of a fact within this list |
int |
indexOf(XBRLFact fact,
int index)
Returns the index position of a fact within this list starting at the position indicated by the index parameter |
boolean |
isDuplicate(XBRLFact otherFact)
Check if two items are duplicates as defined in the XBRL 2.1 specification |
boolean |
isNil()
Return true if the fact is nil it MUST contain a @xsi:nil attribute with value = true |
java.util.Iterator<XBRLFact> |
iterator()
|
boolean |
remove(XBRLFact fact)
Removes a fact from the facts container |
boolean |
s_equal2(java.lang.Object other)
Resolves s_equal2 comparison of this node against the other node. |
void |
setNil(boolean newValue)
This method clears the tuple content if the value if set from false to true. |
void |
setParent(XBRLFactsList parent)
Sets the parent of this XBRLFact to be the XBRLFactsList object used as a parameter. |
int |
size()
Access to the number of elements in the XBRLFactList |
| Methods inherited from class com.ihr.xbrl.om.instance.XBRLFact |
|---|
addEvent, addEvent, addEvent, createItemOrTupleInstance, createItemOrTupleInstance, generateLocatorToNode, getElements, getHistory, getHistoryAsString, getInstance, getParent, getTaxonomy, getValidationReport, getXPathToRoot, invalidate, invalidate, isOnValidation, pEqual, setId, setValue, setValue, validate |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ihr.xbrl.om.instance.XBRLFactsList |
|---|
evaluateList, getContainer, getDocument, getInstance, getParent, getXPathToRoot |
| Methods inherited from interface com.ihr.xbrl.om.XMLHasParent |
|---|
addXMLChild, getBase, removeXMLChild, setParent |
| Constructor Detail |
|---|
public XBRLFactTuple(XBRLFactsList parent,
XBRLTuple tupleDecl)
parent - | Method Detail |
|---|
public XBRLTuple getElementDefinition()
XBRLFact
getElementDefinition in class XBRLFactpublic XBRLFactTuple clone()
clone in class XBRLFactpublic XBRLFactTuple clone(DTSContainer newDTS)
XBRLFact
clone in class XBRLFactpublic boolean isNil()
XBRLFact
isNil in class XBRLFactpublic void setNil(boolean newValue)
setNil in class XBRLFactpublic void forwardItem(XBRLFactItem item)
public net.sf.saxon.s9api.XdmValue getValue()
XMLFragment
getValue in class XMLFragment
public org.jdom.Element generateNode(boolean relativize,
java.net.URI base)
throws XBRLSerializationException
XBRLFact
generateNode in class XBRLFactrelativize - boolean indicating if URIs should be relativized to the base URI (see next argument)base - the URI to which some attributes of this object should be relativided
XBRLSerializationExceptionpublic boolean add(XBRLFact fact)
add in interface XBRLFactsList
public void add(int index,
XBRLFact fact)
add in interface XBRLFactsListpublic java.util.Iterator<java.util.Vector<XBRLFactItem>> getItems()
XBRLFactsList
getItems in interface XBRLFactsListpublic java.util.Iterator<XBRLFactItem> getItems(XBRLItem itemFrom)
XBRLFactsList
getItems in interface XBRLFactsListitemFrom - XBRLItem
public java.util.Iterator<java.util.Vector<XBRLFactTuple>> getTuples()
XBRLFactsList
getTuples in interface XBRLFactsListpublic java.util.Iterator<XBRLFactTuple> getTuples(XBRLTuple tupleFrom)
XBRLFactsList
getTuples in interface XBRLFactsListtupleFrom - XBRLTuple
public java.util.Iterator<XBRLFactItem> getItemsSg(XBRLItem itemFrom)
XBRLFactsList
getItemsSg in interface XBRLFactsListitemFrom - XBRLItem
public java.util.Iterator<XBRLFactTuple> getTuplesSg(XBRLTuple tupleFrom)
XBRLFactsList
getTuplesSg in interface XBRLFactsListpublic int getNumberOfTuples()
XBRLFactsList
getNumberOfTuples in interface XBRLFactsListpublic java.util.Iterator<XBRLFact> iterator()
iterator in interface XBRLFactsListpublic boolean remove(XBRLFact fact)
XBRLFactsList
remove in interface XBRLFactsListpublic void setParent(XBRLFactsList parent)
XBRLFactSetting the parent does not adds the fact as child of the parent element. This function do the following steps:
setParent in interface XBRLFactsListsetParent in class XBRLFactpublic void addOrForwardItem(XBRLFactItem item)
XBRLFactsList
addOrForwardItem in interface XBRLFactsListpublic int size()
XBRLFactsList
size in interface XBRLFactsListpublic java.lang.String getFriendlyName()
XMLFragmentRemarks, this method may return very long names not suitable for user interface
getFriendlyName in class XBRLFact
public java.lang.String getFriendlyName(int modifiers,
LabelsProvider lp)
XMLFragmentThis function accepts flags that are defined as constants in XMLFragment in order to modify the output.
getFriendlyName in class XBRLFactmodifiers - integer
public XBRLFact get(int index)
XBRLFactsList
get in interface XBRLFactsListindex - integer
public int indexOf(XBRLFact fact)
XBRLFactsList
indexOf in interface XBRLFactsListfact - XBRLFact
public int indexOf(XBRLFact fact,
int index)
XBRLFactsList
indexOf in interface XBRLFactsListfact - XBRLFactindex - integer
public void clear()
XBRLFact
clear in interface XBRLFactsListclear in class XBRLFactpublic int hashCode()
XBRLFactsList
hashCode in interface XBRLFactsListhashCode in class XBRLFactpublic boolean equals(java.lang.Object obj)
XMLFragment
equals in interface XBRLFactsListequals in class XBRLFactobj - Object to compare to
public boolean s_equal2(java.lang.Object other)
XMLFragment
s_equal2 in class XMLFragmentother - The other node (preferably an XMLFragment) that contains a non null NodeInfo document.
public boolean isDuplicate(XBRLFact otherFact)
XBRLFact
isDuplicate in class XBRLFactotherFact - the other XBRLFactItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||