T
- the generic typepublic interface Member<T>
extends java.lang.Cloneable, java.io.Serializable
The XDT Processor is optimized for validation purposes so the XDT processor does not care about the hierarchy of the domain members and order of the relationships. This Member class does care about that by using a similar exploration of the relationships in the DTS but taking care of the representation aspects.
Modifier and Type | Method and Description |
---|---|
void |
addDomain(java.util.Collection<Member<?>> members)
Adds a domain of members.
|
Member<T> |
clone()
Clone constructor.
|
int |
compareTo(Member<?> o2)
Compare to.
|
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.
|
T |
getMember()
Access to the member.
|
boolean |
hasDomain()
Returns true if the member is a Domain and has sub-members.
|
boolean |
isAbstract()
This method returns true if the member associated is abstract.
|
boolean |
isNegated()
Negated are shown in red color font.
|
boolean |
isNet()
Nets are shown in bold font.
|
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 |
isTotal()
Totals are shown in bold font.
|
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()
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 |
setVisible(boolean value)
Sets the visibility parameter value for this member.
|
java.lang.String |
toString()
All members must implement
because
members can be written to the properties files in the GUI. |
T getMember()
boolean hasDomain()
java.util.Collection<Member<?>> getDomain()
hasDomain()
void addDomain(java.util.Collection<Member<?>> members)
members
- the membersboolean isAbstract()
boolean isPrimary()
Dimension<?> getDimension()
Dimension<?> setDimension(Dimension<?> newDimension)
newDimension
- the new dimensionint compareTo(Member<?> o2)
o2
- the o2boolean isVisible()
void setVisible(boolean value)
value
- the new visibleboolean isTotal()
boolean isNet()
boolean isNegated()
boolean isUsable()
java.lang.String toString()
toString()
because
members can be written to the properties files in the GUI. The
representation must be both, unique and human readable.toString
in class java.lang.Object
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa