public class ValidCombinationMember extends java.lang.Object implements Member<ValidCombinationsFilter.PeriodCombination>
Constructor and Description |
---|
ValidCombinationMember(ValidCombinationsFilter.PeriodCombination vc,
Dimension<?> dim)
Instantiates a new valid combination member.
|
Modifier and Type | Method and Description |
---|---|
void |
addDomain(java.util.Collection<Member<?>> members)
Adds the domain.
|
ValidCombinationMember |
clone()
Clone.
|
int |
compareTo(Member<?> o2)
Compare to.
|
Dimension<?> |
getDimension()
Gets the dimension.
|
java.util.Collection<Member<?>> |
getDomain()
Gets the domain.
|
ValidCombinationsFilter.PeriodCombination |
getMember()
Gets the member.
|
boolean |
hasDomain()
Checks for domain.
|
boolean |
isAbstract()
Checks if is abstract.
|
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 |
setVisible(boolean value)
Sets the visible.
|
java.lang.String |
toString()
To string.
|
public ValidCombinationMember(ValidCombinationsFilter.PeriodCombination vc, Dimension<?> dim)
vc
- the vcdim
- the dimpublic ValidCombinationMember clone()
clone
in interface Member<ValidCombinationsFilter.PeriodCombination>
clone
in class java.lang.Object
public ValidCombinationsFilter.PeriodCombination getMember()
getMember
in interface Member<ValidCombinationsFilter.PeriodCombination>
public boolean hasDomain()
hasDomain
in interface Member<ValidCombinationsFilter.PeriodCombination>
public java.util.Collection<Member<?>> getDomain()
getDomain
in interface Member<ValidCombinationsFilter.PeriodCombination>
Member.hasDomain()
public void addDomain(java.util.Collection<Member<?>> members)
addDomain
in interface Member<ValidCombinationsFilter.PeriodCombination>
members
- the memberspublic boolean isAbstract()
isAbstract
in interface Member<ValidCombinationsFilter.PeriodCombination>
public boolean isPrimary()
isPrimary
in interface Member<ValidCombinationsFilter.PeriodCombination>
public boolean isUsable()
Member
isUsable
in interface Member<ValidCombinationsFilter.PeriodCombination>
public Dimension<?> getDimension()
getDimension
in interface Member<ValidCombinationsFilter.PeriodCombination>
public Dimension<?> setDimension(Dimension<?> newDimension)
setDimension
in interface Member<ValidCombinationsFilter.PeriodCombination>
newDimension
- the new dimensionpublic int compareTo(Member<?> o2)
compareTo
in interface Member<ValidCombinationsFilter.PeriodCombination>
o2
- the o 2public boolean isVisible()
isVisible
in interface Member<ValidCombinationsFilter.PeriodCombination>
public void setVisible(boolean value)
setVisible
in interface Member<ValidCombinationsFilter.PeriodCombination>
value
- the new visiblepublic boolean isTotal()
isTotal
in interface Member<ValidCombinationsFilter.PeriodCombination>
public boolean isNet()
isNet
in interface Member<ValidCombinationsFilter.PeriodCombination>
public boolean isNegated()
isNegated
in interface Member<ValidCombinationsFilter.PeriodCombination>
public java.lang.String toString()
toString
in interface Member<ValidCombinationsFilter.PeriodCombination>
toString
in class java.lang.Object
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa