public class MemberString extends java.lang.Object implements Member<java.lang.String>
Constructor and Description |
---|
MemberString(java.lang.String value,
Dimension<?> dim)
Instantiates a new member string.
|
Modifier and Type | Method and Description |
---|---|
void |
addDomain(java.util.Collection<Member<?>> members)
Adds the domain.
|
MemberString |
clone()
Clone.
|
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.
|
java.lang.String |
getMember()
Gets the member.
|
boolean |
hasDomain()
Checks for domain.
|
int |
hashCode()
Hash code.
|
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 |
setHidden()
Sets the hidden.
|
void |
setVisible()
Sets the visible.
|
void |
setVisible(boolean value)
Sets the visible.
|
java.lang.String |
toString()
To string.
|
public MemberString(java.lang.String value, Dimension<?> dim)
value
- the valuedim
- the dimpublic MemberString clone()
public void addDomain(java.util.Collection<Member<?>> members)
public Dimension<?> getDimension()
getDimension
in interface Member<java.lang.String>
public java.util.Collection<Member<?>> getDomain()
getDomain
in interface Member<java.lang.String>
Member.hasDomain()
public java.lang.String getMember()
public boolean hasDomain()
public boolean isAbstract()
isAbstract
in interface Member<java.lang.String>
public boolean isPrimary()
public boolean isUsable()
Member
public boolean isVisible()
public void setVisible()
public void setVisible(boolean value)
setVisible
in interface Member<java.lang.String>
value
- the new visiblepublic void setHidden()
public java.lang.String toString()
public Dimension<?> setDimension(Dimension<?> newDimension)
setDimension
in interface Member<java.lang.String>
newDimension
- the new dimensionpublic int compareTo(Member<?> o2)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic boolean isTotal()
public boolean isNet()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa