public class EDimension extends java.lang.Object implements Dimension<javax.xml.namespace.QName>
Dimension.DimensionType
defaultDimensionsXBRL, 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 |
---|
EDimension(DimensionalInstanceExplorer ie,
javax.xml.namespace.QName dim)
Instantiates a new e dimension.
|
EDimension(DimensionalInstanceExplorer ie,
XDTDimension dim,
int container)
Instantiates a new e dimension.
|
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> dimensionsToMatch,
java.lang.Object contextualExtraInformation)
Fact matches.
|
Member<?> |
findMember(Member<?> mem)
Find member.
|
int |
getContainer()
Gets the container.
|
Member<?> |
getDefault()
Gets the default.
|
XDTDimension |
getDimension()
Access to the XDT Dimension declaration.
|
XBRLItem |
getDimensionItem()
Gets the dimension item.
|
java.lang.String |
getDimensionName()
Gets the dimension name.
|
java.util.Collection<Member<?>> |
getDomain()
Gets the domain.
|
DimensionalInstanceExplorer |
getInstanceExplorer()
Access to the InstanceExplorer who created this EDimension.
|
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(XDTDimension dim2)
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 |
setAllowDuplicates(boolean allowDuplicates)
Sets the allow duplicates.
|
java.lang.String |
toString()
To string.
|
public EDimension(DimensionalInstanceExplorer ie, XDTDimension dim, int container)
ie
- the iedim
- the dimcontainer
- the containerpublic EDimension(DimensionalInstanceExplorer ie, javax.xml.namespace.QName dim)
ie
- the iedim
- this is the dimension name, cannot be null and the dimension must exists in the DTSpublic DimensionalInstanceExplorer getInstanceExplorer()
public boolean addMember(Member<?> member)
public boolean delMember(Member<?> member)
public boolean bHasFixedName()
bHasFixedName
in interface Dimension<javax.xml.namespace.QName>
public boolean factMatches(XDTFactWithVirtualDimensions item, Member<?> mem, java.util.Set<javax.xml.namespace.QName> dimensionsToMatch, java.lang.Object contextualExtraInformation)
factMatches
in interface Dimension<javax.xml.namespace.QName>
item
- the itemmem
- the memdimensionsToMatch
- the dimensions to matchcontextualExtraInformation
- the contextual extra informationpublic boolean factMatches(XDTFactWithVirtualDimensions item, Member<?> mem, java.lang.Object contextualExtraInformation)
factMatches
in interface Dimension<javax.xml.namespace.QName>
item
- the itemmem
- the memcontextualExtraInformation
- the contextual extra informationpublic java.util.Collection<Member<?>> getDomain()
public java.lang.String getDimensionName()
getDimensionName
in interface Dimension<javax.xml.namespace.QName>
public java.util.Collection<Member<?>> getMembers()
getMembers
in interface Dimension<javax.xml.namespace.QName>
public int getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
getSuggestedInitialPosition
in interface Dimension<javax.xml.namespace.QName>
selectedPrimaryItem
- the selected primary itempublic boolean isPrimary()
public boolean isTree()
public boolean isXDTDimension()
isXDTDimension
in interface Dimension<javax.xml.namespace.QName>
public int getContainer()
public void setAllowDuplicates(boolean allowDuplicates)
setAllowDuplicates
in interface Dimension<javax.xml.namespace.QName>
allowDuplicates
- the new allow duplicatespublic XBRLItem getDimensionItem()
public XDTDimension getDimension()
getDimension
in interface Dimension<javax.xml.namespace.QName>
public Member<?> getDefault()
getDefault
in interface Dimension<javax.xml.namespace.QName>
public javax.xml.namespace.QName getName()
public static javax.xml.namespace.QName getName(XDTDimension dim2)
dim2
- the dim2public Member<?> findMember(Member<?> mem)
findMember
in interface Dimension<javax.xml.namespace.QName>
mem
- the mempublic Dimension.DimensionType getType()
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(Dimension<?> o)
compareTo
in interface java.lang.Comparable<Dimension<?>>
o
- the opublic Member<?> getMemberFromString(java.lang.String value)
getMemberFromString
in interface Dimension<javax.xml.namespace.QName>
value
- the valuepublic boolean isOpen()
public boolean equals(java.lang.Object other)
Dimension
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa