public class DimensionalInstanceExplorer extends InstanceExplorerAbstract
ACUM_Q1Q3, ALL, DAYS, FREE, HALVES, HOURS, INSTANT, MINUTES, MONTHS, NONSTANDARD, notesOrderer, QUARTERS, QUARTERS4, sAcumQ1Q3, sDays, SECONDS, sForever, sHalves, sHours, sMinutes, sMonths, sNonstandard, sQuarters, sSeconds, sWeeks, sYears, unknownUnit, WEEKS, YEARS
Constructor and Description |
---|
DimensionalInstanceExplorer(LangsProvider lp,
HasBoySupport hb,
HasDimensionsTableHeaderItem hdth,
HasAccessSelectedRole instanceDocumentPane,
DefaultUnitProviderInterface defaultUnitProvider)
Instantiates a new dimensional instance explorer.
|
Modifier and Type | Method and Description |
---|---|
void |
addContext(XBRLContext newContext)
Adds the context.
|
void |
addFact(XBRLFact fact)
Adds the fact.
|
void |
addFragmentMember(XMLFragmentMember frMem,
java.lang.String text)
Adds a member to a typed dimension
Forwards messages accordingly.
|
void |
clear()
Clear.
|
void |
delFact(XBRLFact fact,
XBRLFactsList parent)
Del fact.
|
void |
factChangedContext(XBRLFactItem fact,
XBRLContext oldContext,
XBRLContext newContext)
Fact changed context.
|
void |
factChangedUnit(XBRLFactNumeric fact,
XBRLUnit oldUnit,
XBRLUnit newUnit)
Fact changed unit.
|
XBRLFactItem |
findFact(java.util.Collection<Member<?>> allMembers)
Find fact.
|
XBRLFactItem |
findFact(java.util.Collection<Member<?>> allMembers,
java.util.List<InstanceExplorerEvent> evList)
Find fact.
|
java.util.Iterator<XBRLContext> |
getCompatibleContexts(XBRLFactItem fact)
Gets the compatible contexts.
|
Dimension<?> |
getDimensionFromQName(javax.xml.namespace.QName name)
Gets the dimension from the "name" parameter that applies for the selected primary item.
|
XBRLInstance |
getInstance()
Gets the single instance of DimensionalInstanceExplorer.
|
java.util.Collection<ClsPackQNameContainer> |
getItemDimensions(XMLElementDefinition item,
XBRLRoleType role)
Returns a collection of dimensions that are applicable for this primary item.
|
TypedDimensionsDomainController |
getTypedDimensionsDomainController()
Gets the typed dimensions domain controller.
|
XDTInfosetConsumer |
getXDTInfosetConsumer()
Access to the XDTInfosetConsumer linked with this DimensionalIntanceExplorer.
|
XDTProcessor |
getXDTProc()
Access to the XDTProcessor linked with this DimensionalInstanceExplorer.
|
void |
resetDuplicatesDimension()
Reset duplicates dimension.
|
void |
resetTypedDimensions()
Clear typed dimension members.
|
void |
setInstance(XBRLInstance instance)
Sets the instance.
|
void |
setNewColumns(boolean value)
Sets the new columns.
|
void |
setTypedDimensionsDomainController(TypedDimensionsDomainController tddc)
Sets the typed dimensions domain controller.
|
void |
setXDTProcessors(XDTProcessor xdt,
XDTInfosetConsumer xdtInfo)
When the DTS change these variables must be updated too.
|
void |
update()
Update.
|
addInstanceExplorerListener, getCompanyKeys, getFactNotes, getInstanceExplorerListeners, getNumberOfCompanies, getNumTokens, getStringOfDateStep, getStringOfPeriod, getStringOfPeriod, getSuggestedUnit, getSuggestedUnits, getVNotes, hasDataForCompany, indexOfDateStepCode, instanceEvent, intTokenToString, removeInstanceExplorerListener, sendEvent, setSuggestedUnit, stepsCodeForIndex, stringTokenToInt
public DimensionalInstanceExplorer(LangsProvider lp, HasBoySupport hb, HasDimensionsTableHeaderItem hdth, HasAccessSelectedRole instanceDocumentPane, DefaultUnitProviderInterface defaultUnitProvider)
lp
- the lphb
- the hbhdth
- the hdthinstanceDocumentPane
- the instance document panedefaultUnitProvider
- the default unit providerpublic void setXDTProcessors(XDTProcessor xdt, XDTInfosetConsumer xdtInfo)
xdt
- the xdtxdtInfo
- the xdt infopublic void setInstance(XBRLInstance instance)
instance
- the new instancepublic void resetDuplicatesDimension()
public void resetTypedDimensions()
public void update()
public XDTProcessor getXDTProc()
public XDTInfosetConsumer getXDTInfosetConsumer()
public void clear()
clear
in interface InstanceExplorerInterface
clear
in class InstanceExplorerAbstract
public void addContext(XBRLContext newContext)
newContext
- the new contextpublic void factChangedContext(XBRLFactItem fact, XBRLContext oldContext, XBRLContext newContext)
fact
- the factoldContext
- the old contextnewContext
- the new contextpublic java.util.Iterator<XBRLContext> getCompatibleContexts(XBRLFactItem fact)
fact
- the factpublic void factChangedUnit(XBRLFactNumeric fact, XBRLUnit oldUnit, XBRLUnit newUnit)
fact
- the factoldUnit
- the old unitnewUnit
- the new unitpublic XBRLFactItem findFact(java.util.Collection<Member<?>> allMembers)
allMembers
- the all memberspublic XBRLFactItem findFact(java.util.Collection<Member<?>> allMembers, java.util.List<InstanceExplorerEvent> evList)
allMembers
- the all membersevList
- the ev listpublic java.util.Collection<ClsPackQNameContainer> getItemDimensions(XMLElementDefinition item, XBRLRoleType role)
item
- the itemrole
- the rolepublic Dimension<?> getDimensionFromQName(javax.xml.namespace.QName name)
How this method works:
name
- the nameHasDimensionsTableHeaderItem
,
HasAccessSelectedRole
public void addFact(XBRLFact fact)
fact
- the factpublic void delFact(XBRLFact fact, XBRLFactsList parent)
fact
- the factparent
- the parentpublic void addFragmentMember(XMLFragmentMember frMem, java.lang.String text)
frMem
- the fr memtext
- String text representation for fm or nullpublic XBRLInstance getInstance()
public void setNewColumns(boolean value)
value
- the new new columnspublic void setTypedDimensionsDomainController(TypedDimensionsDomainController tddc)
tddc
- the new typed dimensions domain controllerpublic TypedDimensionsDomainController getTypedDimensionsDomainController()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa