public abstract class PeriodDimension extends java.lang.Object implements Dimension<ColumnPeriod>
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 |
---|
PeriodDimension(HasBoySupport hb)
Instantiates a new period dimension.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(Member<?> member)
Adds the member.
|
boolean |
bHasFixedName()
B has fixed name.
|
void |
clear()
Empty the Period Dimension content so it can be recreated from the instance.
|
int |
compareTo(Dimension<?> o)
Compare to.
|
boolean |
delMember(Member<?> member)
Del member.
|
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.
|
Member<?> |
getDefault()
Gets the default.
|
XDTDimension |
getDimension()
Gets the dimension.
|
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.
|
int |
getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
Gets the suggested initial position.
|
Dimension.DimensionType |
getType()
Gets the type.
|
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.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, getDimensionName, getName, hashCode
public PeriodDimension(HasBoySupport hb)
hb
- the hbpublic boolean addMember(Member<?> member)
addMember
in interface Dimension<ColumnPeriod>
member
- the memberpublic boolean delMember(Member<?> member)
delMember
in interface Dimension<ColumnPeriod>
member
- the memberpublic void setAllowDuplicates(boolean allowDuplicates)
setAllowDuplicates
in interface Dimension<ColumnPeriod>
allowDuplicates
- the new allow duplicatespublic boolean bHasFixedName()
bHasFixedName
in interface Dimension<ColumnPeriod>
public int getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
getSuggestedInitialPosition
in interface Dimension<ColumnPeriod>
selectedPrimaryItem
- the selected primary itempublic java.util.Collection<Member<?>> getMembers()
getMembers
in interface Dimension<ColumnPeriod>
public boolean isTree()
isTree
in interface Dimension<ColumnPeriod>
public boolean isXDTDimension()
isXDTDimension
in interface Dimension<ColumnPeriod>
public XDTDimension getDimension()
getDimension
in interface Dimension<ColumnPeriod>
public java.util.Collection<Member<?>> getDomain()
getDomain
in interface Dimension<ColumnPeriod>
public boolean isPrimary()
isPrimary
in interface Dimension<ColumnPeriod>
public boolean factMatches(XDTFactWithVirtualDimensions item, Member<?> mem, java.util.Set<javax.xml.namespace.QName> dimensionsToMatch, java.lang.Object contextualExtraInformation)
factMatches
in interface Dimension<ColumnPeriod>
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<ColumnPeriod>
item
- the itemmem
- the memcontextualExtraInformation
- the contextual extra informationpublic Member<?> getDefault()
getDefault
in interface Dimension<ColumnPeriod>
public void clear()
public Member<?> findMember(Member<?> mem)
findMember
in interface Dimension<ColumnPeriod>
mem
- the mempublic Dimension.DimensionType getType()
getType
in interface Dimension<ColumnPeriod>
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<ColumnPeriod>
value
- the valuepublic boolean isOpen()
isOpen
in interface Dimension<ColumnPeriod>
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa