public class PMember extends java.lang.Object implements Member<MemberInfo>
Constructor and Description |
---|
PMember(XBRLTreeNode node,
DDimension dim)
Instantiates a new p member.
|
PMember(XBRLTreeNode node,
DDimension dim,
boolean bRemoveXDTElements,
XMLElementDefinition hc,
XMLElementDefinition di)
Instantiates a new p member.
|
PMember(XDTDomainMemberUse dmu,
XDimension dim)
Instantiates a new p member.
|
PMember(XMLElementDefinition item,
Dimension<?> dim)
Instantiates a new p member.
|
PMember(XMLElementDefinition item,
XBRLRelationship rel,
Dimension<?> dim)
Instantiates a new p member.
|
Modifier and Type | Method and Description |
---|---|
void |
addDomain(java.util.Collection<Member<?>> members)
Adds the domain.
|
void |
buildDomain(XBRLRelationship rel)
Builds the domain.
|
PMember |
clone()
Clone.
|
void |
collectDimensions(java.util.Set<ClsPackQNameContainer> hsDimensions,
com.ihr.xbrl.dts.DimensionalInstanceExplorerCommonParametersContext dContext)
Explore concept definition for additional dimensions and add them to the Dimensions HashSet.
|
int |
compareTo(Member<?> o2)
Compare to.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
Dimension<?> |
getDimension()
Gets the dimension.
|
java.util.Collection<Member<?>> |
getDomain()
Gets the domain.
|
HandleDateStep.InstantMode |
getInstantMode()
Gets the instant mode.
|
MemberInfo |
getMember()
Gets the member.
|
boolean |
hasDomain()
Checks for domain.
|
int |
hashCode()
Hash code.
|
boolean |
isAbstract()
Checks if is abstract.
|
boolean |
isBOY()
Returns true when the label role assigned to this PMember
is used for the beginning of year.
|
boolean |
isDefault()
Checks if is default.
|
boolean |
isEOY()
Returns true when the label role assigned to this PMember
is used for the end of year.
|
boolean |
isNegated()
Checks if is negated.
|
boolean |
isNet()
Checks if is net.
|
boolean |
isPrimary()
Checks if is primary.
|
boolean |
isTotal()
Checks if is total.
|
boolean |
isUsable()
When the member is part of a dimensional domain, this method returns
true if the target member is usable or false if it is not
|
boolean |
isVisible()
Checks if is visible.
|
Dimension<?> |
setDimension(Dimension<?> newDimension)
Sets the dimension.
|
void |
setHidden()
Sets the hidden.
|
void |
setVisible()
Sets the visible.
|
void |
setVisible(boolean value)
Sets the visible.
|
XMLFragment |
toFragment(DTSContainer dts)
To fragment.
|
java.lang.String |
toString()
To string.
|
public PMember(XMLElementDefinition item, Dimension<?> dim)
item
- the itemdim
- the dimpublic PMember(XMLElementDefinition item, XBRLRelationship rel, Dimension<?> dim)
item
- the itemrel
- the reldim
- the dimpublic PMember(XDTDomainMemberUse dmu, XDimension dim)
dmu
- the dmudim
- the dimpublic PMember(XBRLTreeNode node, DDimension dim)
node
- the nodedim
- the dimpublic PMember(XBRLTreeNode node, DDimension dim, boolean bRemoveXDTElements, XMLElementDefinition hc, XMLElementDefinition di)
node
- the nodedim
- the dimbRemoveXDTElements
- the b remove xdt elementshc
- the hcdi
- the dipublic PMember clone()
clone
in interface Member<MemberInfo>
clone
in class java.lang.Object
public void buildDomain(XBRLRelationship rel)
rel
- the relpublic MemberInfo getMember()
getMember
in interface Member<MemberInfo>
public java.util.Collection<Member<?>> getDomain()
getDomain
in interface Member<MemberInfo>
Member.hasDomain()
public boolean hasDomain()
hasDomain
in interface Member<MemberInfo>
public java.lang.String toString()
toString
in interface Member<MemberInfo>
toString
in class java.lang.Object
public boolean isTotal()
isTotal
in interface Member<MemberInfo>
public boolean isNet()
isNet
in interface Member<MemberInfo>
public boolean isNegated()
isNegated
in interface Member<MemberInfo>
public boolean isBOY()
public boolean isEOY()
public void addDomain(java.util.Collection<Member<?>> members)
addDomain
in interface Member<MemberInfo>
members
- the memberspublic boolean isAbstract()
isAbstract
in interface Member<MemberInfo>
public boolean isPrimary()
isPrimary
in interface Member<MemberInfo>
public boolean isVisible()
isVisible
in interface Member<MemberInfo>
public void setVisible()
public void setVisible(boolean value)
setVisible
in interface Member<MemberInfo>
value
- the new visiblepublic void setHidden()
public Dimension<?> getDimension()
getDimension
in interface Member<MemberInfo>
public Dimension<?> setDimension(Dimension<?> newDimension)
setDimension
in interface Member<MemberInfo>
newDimension
- the new dimensionpublic boolean isDefault()
public boolean isUsable()
Member
isUsable
in interface Member<MemberInfo>
public XMLFragment toFragment(DTSContainer dts)
dts
- the dtspublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic int compareTo(Member<?> o2)
compareTo
in interface Member<MemberInfo>
o2
- the o 2public void collectDimensions(java.util.Set<ClsPackQNameContainer> hsDimensions, com.ihr.xbrl.dts.DimensionalInstanceExplorerCommonParametersContext dContext)
hsDimensions
- the hs dimensionsdContext
- the d contextpublic HandleDateStep.InstantMode getInstantMode()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa