com.ihr.xbrl.dts
Class IdentifierMember

java.lang.Object
  extended by com.ihr.xbrl.dts.IdentifierMember
All Implemented Interfaces:
Member<CompanyKey>, java.io.Serializable, java.lang.Cloneable

public class IdentifierMember
extends java.lang.Object
implements Member<CompanyKey>

Author:
Ignacio
See Also:
Serialized Form

Constructor Summary
IdentifierMember(CompanyKey entity, Dimension<?> dim)
           
 
Method Summary
 void addDomain(java.util.Collection<Member<?>> members)
          Adds a domain of members.
 Member<CompanyKey> clone()
          Clone constructor
 int compareTo(Member<?> o2)
           
 boolean equals(java.lang.Object obj)
           
 Dimension<?> getDimension()
          Access back to the dimensions this member has belongs to
 java.util.Collection<Member<?>> getDomain()
          Returns the available sub members of this member.
 CompanyKey getMember()
          Access to the member.
 boolean hasDomain()
          Returns true if the member is a Domain and has sub-members
 int hashCode()
           
 boolean isAbstract()
          This method returns true if the member associated is abstract
 boolean isPrimary()
          This method returns true if the member is a primary item, otherwise is a dimension member of either an XDT dimension or a Virtual dimension
 boolean isVisible()
          Must return true if the member is going to be visualized in rows or columns.
 Dimension<?> setDimension(Dimension<?> newDimension)
          Set or change the assigned dimension of this member
 void setHidden()
           
 void setVisible()
           
 void setVisible(boolean value)
          Sets the visibility parameter value for this member
 XBRLEntity toEntity(DTSContainer dts)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentifierMember

public IdentifierMember(CompanyKey entity,
                        Dimension<?> dim)
Parameters:
entity -
Method Detail

clone

public Member<CompanyKey> clone()
Description copied from interface: Member
Clone constructor

Specified by:
clone in interface Member<CompanyKey>
Overrides:
clone in class java.lang.Object
Returns:

getMember

public CompanyKey getMember()
Description copied from interface: Member
Access to the member.

Specified by:
getMember in interface Member<CompanyKey>
Returns:
element of the class of the Member type

getDomain

public java.util.Collection<Member<?>> getDomain()
Description copied from interface: Member
Returns the available sub members of this member. In the case there were no sub-members the function returns null.

Specified by:
getDomain in interface Member<CompanyKey>
Returns:
Collection of sub members of class T
See Also:
#hasDomain()}

hasDomain

public boolean hasDomain()
Description copied from interface: Member
Returns true if the member is a Domain and has sub-members

Specified by:
hasDomain in interface Member<CompanyKey>
Returns:
boolean value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

addDomain

public void addDomain(java.util.Collection<Member<?>> members)
Description copied from interface: Member
Adds a domain of members. This method should be called only if the member has no domain. This method should use the clone<T> method for adding copies of the members that are passed as parameter

Specified by:
addDomain in interface Member<CompanyKey>

isAbstract

public boolean isAbstract()
Description copied from interface: Member
This method returns true if the member associated is abstract

Specified by:
isAbstract in interface Member<CompanyKey>
Returns:
boolean

isPrimary

public boolean isPrimary()
Description copied from interface: Member
This method returns true if the member is a primary item, otherwise is a dimension member of either an XDT dimension or a Virtual dimension

Specified by:
isPrimary in interface Member<CompanyKey>

getDimension

public Dimension<?> getDimension()
Description copied from interface: Member
Access back to the dimensions this member has belongs to

Specified by:
getDimension in interface Member<CompanyKey>
Returns:

isVisible

public boolean isVisible()
Description copied from interface: Member
Must return true if the member is going to be visualized in rows or columns. If false, the member will be hidden and all children elements too

Specified by:
isVisible in interface Member<CompanyKey>
Returns:
boolean value

setVisible

public void setVisible()

setVisible

public void setVisible(boolean value)
Description copied from interface: Member
Sets the visibility parameter value for this member

Specified by:
setVisible in interface Member<CompanyKey>

setHidden

public void setHidden()

toEntity

public XBRLEntity toEntity(DTSContainer dts)
Returns:

compareTo

public int compareTo(Member<?> o2)
Specified by:
compareTo in interface Member<CompanyKey>
Returns:

setDimension

public Dimension<?> setDimension(Dimension<?> newDimension)
Description copied from interface: Member
Set or change the assigned dimension of this member

Specified by:
setDimension in interface Member<CompanyKey>
Returns:
the previouly assigned dimension or null


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa