public class PeriodDimensionValidCombinations extends java.lang.Object implements Dimension<ValidCombinationsFilter.PeriodCombination>
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 |
---|
PeriodDimensionValidCombinations()
Instantiates a new period dimension valid combinations.
|
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> dimsToMatchOnThisRound,
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.
|
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.
|
public PeriodDimensionValidCombinations()
public javax.xml.namespace.QName getName()
getName
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public java.lang.String getDimensionName()
getDimensionName
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public int compareTo(Dimension<?> o)
compareTo
in interface java.lang.Comparable<Dimension<?>>
o
- the opublic void setAllowDuplicates(boolean allowDuplicates)
setAllowDuplicates
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
allowDuplicates
- the new allow duplicatespublic boolean addMember(Member<?> member)
addMember
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
member
- the memberpublic boolean delMember(Member<?> member)
delMember
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
member
- the memberpublic boolean bHasFixedName()
bHasFixedName
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public int getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
getSuggestedInitialPosition
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
selectedPrimaryItem
- the selected primary itempublic java.util.Collection<Member<?>> getMembers()
getMembers
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public java.util.Collection<Member<?>> getDomain()
getDomain
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public boolean isTree()
isTree
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public boolean isXDTDimension()
isXDTDimension
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public XDTDimension getDimension()
getDimension
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public boolean isPrimary()
isPrimary
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public Member<?> findMember(Member<?> mem)
findMember
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
mem
- the mempublic boolean factMatches(XDTFactWithVirtualDimensions item, Member<?> mem, java.util.Set<javax.xml.namespace.QName> dimsToMatchOnThisRound, java.lang.Object contextualExtraInformation)
factMatches
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
item
- the itemmem
- the memdimsToMatchOnThisRound
- the dims to match on this roundcontextualExtraInformation
- the contextual extra informationpublic boolean factMatches(XDTFactWithVirtualDimensions item, Member<?> mem, java.lang.Object contextualExtraInformation)
factMatches
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
item
- the itemmem
- the memcontextualExtraInformation
- the contextual extra informationpublic Member<?> getDefault()
getDefault
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public Dimension.DimensionType getType()
getType
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public Member<?> getMemberFromString(java.lang.String value)
getMemberFromString
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
value
- the valuepublic boolean isOpen()
isOpen
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
public boolean equals(java.lang.Object other)
Dimension
equals
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
equals
in class java.lang.Object
other
- the otherpublic int hashCode()
Dimension
hashCode
in interface Dimension<ValidCombinationsFilter.PeriodCombination>
hashCode
in class java.lang.Object
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa