public class PeriodAspectNode extends java.lang.Object implements PeriodsAspectInterface, HasAspectNode
| Constructor and Description |
|---|
PeriodAspectNode(XBRLAspectNode node)
Instantiates a new period aspect node.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAspectClashIdentity()
Returns an object that can be used to evaluate aspect clash.
|
XBRLAspectNode |
getAspectNode()
Returns back the aspect node this resolves comes from.
|
int |
getAspectType()
Returns a value from the CommonAspectRule class that identifies the aspect type.
|
java.lang.String |
getLabel(CellHeader ch)
Returns a text representation of the aspect value that can be used in the GUI as the
cell header.
|
XBRLPeriod |
getMember(XBRLStructuralTable table,
CellHeader[] header)
Convert this aspect into a proper Member
|
int |
getMembersCount()
Gets the members count.
|
XBRLPeriod[] |
getPeriods()
Gets the period.
|
XBRLItem.PeriodType |
getPeriodType(XBRLItem item)
Returns a constant identifying either XBRLItem.DURATION or XBRLItem.INSTANT
|
void |
setValues(java.util.Set<?> distinctValues)
Sets the values.
|
public PeriodAspectNode(XBRLAspectNode node)
node - the nodepublic XBRLAspectNode getAspectNode()
HasAspectNodegetAspectNode in interface HasAspectNodepublic java.lang.Object getAspectClashIdentity()
AspectgetAspectClashIdentity in interface Aspect<XBRLPeriod>public int getAspectType()
AspectgetAspectType in interface Aspect<XBRLPeriod>public XBRLItem.PeriodType getPeriodType(XBRLItem item)
PeriodsAspectInterfacegetPeriodType in interface PeriodsAspectInterfaceitem - the itempublic XBRLPeriod[] getPeriods()
PeriodsAspectInterfacegetPeriods in interface PeriodsAspectInterfacepublic void setValues(java.util.Set<?> distinctValues)
MutableAspectValuesetValues in interface MutableAspectValuedistinctValues - the new valuespublic int getMembersCount()
PeriodsAspectInterfacegetMembersCount in interface PeriodsAspectInterfacepublic XBRLPeriod getMember(XBRLStructuralTable table, CellHeader[] header)
AspectgetMember in interface Aspect<XBRLPeriod>table - the tableheader - the headerpublic java.lang.String getLabel(CellHeader ch)
MutableAspectValuegetLabel in interface MutableAspectValuech - the ch