|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tuple
While most business facts can be independently understood, some facts are dependent on each other for proper understanding, especially if multiple occurrences of that fact are being reported.
For example, in reporting the management of a company, each manager’s name has to be properly associated with the manager’s correct title. Such sets of facts (manager’s title/manager’s name) are called tuples.
Tuples have complex content and MAY contain both items and other tuples.
Copyright 2006 J2R BV, The Netherlands.
Part of Licensed Materials.
www.batavia-xbrl.com
| Method Summary | |
|---|---|
void |
addChild(XbrlElement child)
Add the given child to this tuple |
void |
addFact(Fact aFact)
Add the given fact to this tuples' content model |
void |
deleteEmptyFacts()
Check to see if there are empty facts this could occur when a tuple is created based on tuple concept with choice elements. |
java.util.List |
getContextsInTuple(java.util.List contextList)
Return a List with the contexts used by the item facts in the tuples' contents. |
TupleChildren |
getFacts()
Get the facts that are in the content model for this tuple fact. |
java.util.List |
getFacts(Concept aConcept,
Context aContext)
Return a List with facts that are reported on the given concept and context and are contained in this tuple. |
java.util.List |
getFacts(FullyQualifiedName qName)
get the list of facts from this tuples' content model that all have the given qName. |
java.util.List |
getFacts(FullyQualifiedName qName,
Context aContext)
|
Item |
getItem(FullyQualifiedName qName,
Context aContext)
Get the item fact from this tuples' content model that has the given qName and references the given context. |
boolean |
isAncestor(Fact aFact)
Test if this tuple is a parent or ancestor of the given fact. |
void |
removeFact(Fact aFact)
Remove the given fact from this tuples' content model |
| Methods inherited from interface com.batavia.xbrl.instance.Fact |
|---|
createAttribute, createFootnote, createId, getConcept, getFactCompareIdentifier, getFootnotes, getId, getLabel, getType, getXbrlInstanceRoot, isDuplicate, isDuplicateExceptParent, isInferred, isRendered, requestExtraSibblings, setId, setInferred, setRendered, setXbrlInstanceRoot |
| Methods inherited from interface com.batavia.xbrl.instance.InstanceElement |
|---|
createChildElement, getAllowedSubstitutions, getChildren, getMyDiscoverableTaxonomySet, getXbrlRoot |
| Methods inherited from interface com.batavia.xbrl.XbrlElement |
|---|
fromXbrl, getXbrlElementNameSpace, removeChild, toXbrlStream, toXbrlString |
| Methods inherited from interface com.batavia.xml.XmlParticle |
|---|
destroy, getBaseUri, getParent, getPrefix, getTargetNameSpace, isBoolean, isNumber, p_equal, resolveNamespacePrefix, setParent, toXstring |
| Methods inherited from interface com.batavia.xml.ComparablePart |
|---|
c_equal, identical, s_equal, u_equal, v_equal, x_equal |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.relaxng.datatype.ValidationContext |
|---|
isNotation, isUnparsedEntity |
| Methods inherited from interface com.batavia.xml.IdKeeper |
|---|
addIdHolder, getHolder, removeIdHolder |
| Methods inherited from interface com.batavia.xbrl.instance.ReportScope |
|---|
getFactsInThisScope, getFactsInThisScope, getFactsInThisScope |
| Methods inherited from interface com.batavia.xbrl.instance.InstanceElement |
|---|
createChildElement, getAllowedSubstitutions, getChildren, getMyDiscoverableTaxonomySet, getXbrlRoot |
| Methods inherited from interface com.batavia.xbrl.XbrlElement |
|---|
fromXbrl, getXbrlElementNameSpace, removeChild, toXbrlStream, toXbrlString |
| Methods inherited from interface com.batavia.xml.XmlParticle |
|---|
destroy, getBaseUri, getParent, getPrefix, getTargetNameSpace, isBoolean, isNumber, p_equal, resolveNamespacePrefix, setParent, toXstring |
| Methods inherited from interface com.batavia.xml.ComparablePart |
|---|
c_equal, identical, s_equal, u_equal, v_equal, x_equal |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface org.relaxng.datatype.ValidationContext |
|---|
isNotation, isUnparsedEntity |
| Methods inherited from interface com.batavia.xml.IdKeeper |
|---|
addIdHolder, getHolder, removeIdHolder |
| Method Detail |
|---|
void deleteEmptyFacts()
TupleChildren getFacts()
void addFact(Fact aFact)
aFact - void addChild(XbrlElement child)
addChild in interface XbrlElementchild - void removeFact(Fact aFact)
aFact -
Item getItem(FullyQualifiedName qName,
Context aContext)
qName - aContext -
java.util.List getFacts(FullyQualifiedName qName)
qName -
java.util.List getContextsInTuple(java.util.List contextList)
contextList -
java.util.List getFacts(Concept aConcept,
Context aContext)
aConcept - aContext -
boolean isAncestor(Fact aFact)
aFact -
java.util.List getFacts(FullyQualifiedName qName,
Context aContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||