|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.dts.PeriodDimension
public class PeriodDimension
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.ihr.xbrl.dts.Dimension |
|---|
Dimension.DimensionType |
| Field Summary |
|---|
| Fields inherited from interface com.ihr.xbrl.dts.Dimension |
|---|
defaultDimensionsXBRL, duplicatesDimension, formLineDimenion, identifierDimension, instantModeDimension, periodDimension, POSITION_AVAIL, POSITION_COLUMN_HEADERS, POSITION_ROW_HEADERS, RSDimensionsNameNamespace |
| Constructor Summary | |
|---|---|
PeriodDimension(HasBoySupport hb)
|
|
| Method Summary | |
|---|---|
boolean |
addMember(Member<?> member)
Adds a new dimension member to the end of the members of this dimension. |
boolean |
bHasFixedName()
This function returns true if the dimension has a fixed name that must be obtained via a call to Dimension.getDimensionName() |
void |
clear()
Empty the Period Dimension content so it can be recreated from the instance |
boolean |
delMember(Member<?> member)
Removes an existing dimension member from the dimension domain. |
boolean |
factMatches(XDTFactWithVirtualDimensions item,
Member<?> mem,
java.util.HashSet<javax.xml.namespace.QName> dimensionsToMatch)
|
Member<?> |
findMember(Member<?> mem)
Search the Dimension domain for an occurrence of the mem member. |
int |
getDateStep()
|
Member<?> |
getDefault()
for explicit dimensions this function returns the default member if any is defined |
java.lang.String |
getDimensionName()
This function will be used to obtain a dimension name for things that does not have a label like the Period dimension or the Identifier dimension. |
java.util.Collection<Member<?>> |
getDomain()
Returns an ordered collection of members. |
HandleDateStep.InstantMode |
getInstantModeOnPrimaryItem()
|
HandleDateStep.InstantMode |
getInstantModeOnUserControl()
|
java.util.Collection<Member<?>> |
getMembers()
Returns an ordered collection of members. |
javax.xml.namespace.QName |
getName()
Every Dimension must have a dimension QName. |
static javax.xml.namespace.QName |
getName(java.lang.Object object)
|
int |
getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
Returns the suggested initial placement position of the graphical element in the GUI. |
Dimension.DimensionType |
getType()
returns either com.ihr.xbrl.om.xdt.XDTDimension.TYPED, com.ihr.xbrl.om.xdt.XDTDimension.EXPLICIT depending on the type of the surrounding dimension. |
boolean |
isPrimary()
Returns true if the dimension is linked with a primary item and thus it is a PDimension or a DDimension |
boolean |
isTree()
Returns true if the representation of this dimension could be a tree of elements or false if it is a list of items |
void |
setAllowDuplicates(boolean allowDuplicates)
If the value is true then it is possible for the dimension to contain two identical members as two different member values. |
void |
setDateStep(int dateStep)
Update dateStep in all domain members |
void |
setInstantModeOnPrimaryItem(HandleDateStep.InstantMode newMode)
|
void |
setInstantModeOnUserControl(HandleDateStep.InstantMode newMode)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ihr.xbrl.dts.Dimension |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public PeriodDimension(HasBoySupport hb)
| Method Detail |
|---|
public boolean addMember(Member<?> member)
Dimension
addMember in interface Dimension<ColumnPeriod>public boolean delMember(Member<?> member)
Dimension
delMember in interface Dimension<ColumnPeriod>member - the member to removepublic void setAllowDuplicates(boolean allowDuplicates)
Dimension
setAllowDuplicates in interface Dimension<ColumnPeriod>public boolean bHasFixedName()
DimensionDimension.getDimensionName()
bHasFixedName in interface Dimension<ColumnPeriod>public java.lang.String getDimensionName()
Dimension
getDimensionName in interface Dimension<ColumnPeriod>public int getSuggestedInitialPosition(javax.xml.namespace.QName selectedPrimaryItem)
Dimension
getSuggestedInitialPosition in interface Dimension<ColumnPeriod>selectedPrimaryItem - this is the selected primary item in the GUI
public java.util.Collection<Member<?>> getMembers()
Dimension
getMembers in interface Dimension<ColumnPeriod>public boolean isTree()
Dimension
isTree in interface Dimension<ColumnPeriod>public java.util.Collection<Member<?>> getDomain()
Dimension
getDomain in interface Dimension<ColumnPeriod>public boolean isPrimary()
Dimension
isPrimary in interface Dimension<ColumnPeriod>
public boolean factMatches(XDTFactWithVirtualDimensions item,
Member<?> mem,
java.util.HashSet<javax.xml.namespace.QName> dimensionsToMatch)
factMatches in interface Dimension<ColumnPeriod>public Member<?> getDefault()
Dimension
getDefault in interface Dimension<ColumnPeriod>public javax.xml.namespace.QName getName()
Dimension
getName in interface Dimension<ColumnPeriod>public static javax.xml.namespace.QName getName(java.lang.Object object)
object -
public void setDateStep(int dateStep)
dateStep - public void clear()
public Member<?> findMember(Member<?> mem)
Dimension
findMember in interface Dimension<ColumnPeriod>mem - the member to search on this dimension domain
public Dimension.DimensionType getType()
Dimension
getType in interface Dimension<ColumnPeriod>public void setInstantModeOnUserControl(HandleDateStep.InstantMode newMode)
newMode - public void setInstantModeOnPrimaryItem(HandleDateStep.InstantMode newMode)
newMode - public HandleDateStep.InstantMode getInstantModeOnPrimaryItem()
public int getDateStep()
public HandleDateStep.InstantMode getInstantModeOnUserControl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||