public class DDimension extends java.lang.Object implements Dimension<MemberInfo>
Dimension.DimensionTypedefaultDimensionsXBRL, duplicatesDimension, entityDimension, formLineDimenion, instantModeDimension, instantOnDurationDimension, periodDimensionCombined, periodDimensionDuration, periodDimensionInstant, POSITION_AVAIL, POSITION_COLUMN_HEADERS, POSITION_ROW_HEADERS, POSITION_UNKNOWN, rowOrColumnLabelDimension, RSDimensionsNameNamespace, RSDimensionsNameNamespacePrefix, unitDimension| Constructor and Description |
|---|
DDimension(java.util.Collection<XBRLTreeRoot> vRoots)
Creates a DDimension using all elements in the parent-child hierarchy starting at nodes in the vector of
elements passed in as a parameter.
|
DDimension(java.util.Collection<XBRLTreeRoot> vRoots,
XMLElementDefinition startingElement,
boolean bRemoveXDTElements)
Creates a DDimension using all elements in the parent-child hierarchy starting at element startingElement
once it is found in the parent-child hierarchy from vRoots.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(Member<?> member)
Adds the member.
|
boolean |
bHasFixedName()
B has fixed name.
|
int |
compareTo(Dimension<?> o)
Compare to.
|
boolean |
delMember(Member<?> member)
Del member.
|
boolean |
equals(java.lang.Object other)
Equals.
|
boolean |
factMatches(XDTFactWithVirtualDimensions item,
Member<?> mem,
java.lang.Object contextualExtraInformation)
Fact matches.
|
boolean |
factMatches(XDTFactWithVirtualDimensions item,
Member<?> mem,
java.util.Set<javax.xml.namespace.QName> dimsToMatch,
java.lang.Object contextualExtraInformation)
Fact matches.
|
Member<?> |
findMember(Member<?> mem)
Find member.
|
Member<?> |
getDefault()
Gets the default.
|
XDTDimension |
getDimension()
Gets the dimension.
|
java.lang.String |
getDimensionName()
Gets the dimension name.
|
java.util.Collection<Member<?>> |
getDomain()
Gets the domain.
|
Member<?> |
getMemberFromString(java.lang.String value)
Gets the member from string.
|
java.util.Collection<Member<?>> |
getMembers()
Gets the members.
|
javax.xml.namespace.QName |
getName()
Gets the name.
|
static javax.xml.namespace.QName |
getName(java.lang.Object object)
Gets the name.
|
int |
getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
Gets the suggested initial position.
|
Dimension.DimensionType |
getType()
Gets the type.
|
int |
hashCode()
Hash code.
|
boolean |
isOpen()
Checks if is open.
|
boolean |
isPrimary()
Checks if is primary.
|
boolean |
isTree()
Checks if is tree.
|
boolean |
isXDTDimension()
Checks if is XDT dimension.
|
void |
processFactDimensions(java.util.Set<ClsPackQNameContainer> hsDimensions,
com.ihr.xbrl.dts.DimensionalInstanceExplorerCommonParametersContext dContext)
Explore additional dimensions in the instance facts found in the parent-child
relationships.
|
void |
setAllowDuplicates(boolean allowDuplicates)
Sets the allow duplicates.
|
java.lang.String |
toString()
To string.
|
public DDimension(java.util.Collection<XBRLTreeRoot> vRoots)
vRoots - vector of XBRLTreeRoot elements to processpublic DDimension(java.util.Collection<XBRLTreeRoot> vRoots, XMLElementDefinition startingElement, boolean bRemoveXDTElements)
vRoots - vector of XBRLTreeRoot elements to processstartingElement - the starting elementbRemoveXDTElements - the b remove xdt elementspublic boolean addMember(Member<?> member)
addMember in interface Dimension<MemberInfo>member - the memberpublic boolean delMember(Member<?> member)
delMember in interface Dimension<MemberInfo>member - the memberpublic boolean bHasFixedName()
bHasFixedName in interface Dimension<MemberInfo>public boolean factMatches(XDTFactWithVirtualDimensions item, Member<?> mem, java.util.Set<javax.xml.namespace.QName> dimsToMatch, java.lang.Object contextualExtraInformation)
factMatches in interface Dimension<MemberInfo>item - the itemmem - the memdimsToMatch - the dims to matchcontextualExtraInformation - the contextual extra informationpublic boolean factMatches(XDTFactWithVirtualDimensions item, Member<?> mem, java.lang.Object contextualExtraInformation)
factMatches in interface Dimension<MemberInfo>item - the itemmem - the memcontextualExtraInformation - the contextual extra informationpublic Member<?> findMember(Member<?> mem)
findMember in interface Dimension<MemberInfo>mem - the mempublic Member<?> getDefault()
getDefault in interface Dimension<MemberInfo>public java.util.Collection<Member<?>> getDomain()
getDomain in interface Dimension<MemberInfo>public java.lang.String getDimensionName()
getDimensionName in interface Dimension<MemberInfo>public java.util.Collection<Member<?>> getMembers()
getMembers in interface Dimension<MemberInfo>public javax.xml.namespace.QName getName()
getName in interface Dimension<MemberInfo>public static javax.xml.namespace.QName getName(java.lang.Object object)
object - the objectpublic int getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
getSuggestedInitialPosition in interface Dimension<MemberInfo>selectedPrimaryItem - the selected primary itempublic boolean isPrimary()
isPrimary in interface Dimension<MemberInfo>public boolean isTree()
isTree in interface Dimension<MemberInfo>public boolean isXDTDimension()
isXDTDimension in interface Dimension<MemberInfo>public XDTDimension getDimension()
getDimension in interface Dimension<MemberInfo>public void setAllowDuplicates(boolean allowDuplicates)
setAllowDuplicates in interface Dimension<MemberInfo>allowDuplicates - the new allow duplicatespublic Dimension.DimensionType getType()
getType in interface Dimension<MemberInfo>public void processFactDimensions(java.util.Set<ClsPackQNameContainer> hsDimensions, com.ihr.xbrl.dts.DimensionalInstanceExplorerCommonParametersContext dContext)
hsDimensions - the hs dimensionsdContext - the d contextpublic int compareTo(Dimension<?> o)
compareTo in interface java.lang.Comparable<Dimension<?>>o - the opublic Member<?> getMemberFromString(java.lang.String value)
getMemberFromString in interface Dimension<MemberInfo>value - the valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isOpen()
isOpen in interface Dimension<MemberInfo>public boolean equals(java.lang.Object other)
Dimensionequals in interface Dimension<MemberInfo>equals in class java.lang.Objectother - the otherpublic int hashCode()
DimensionhashCode in interface Dimension<MemberInfo>hashCode in class java.lang.ObjectCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa