public class InstantModeMember extends java.lang.Object implements Member<HandleDateStep.InstantMode>
Constructor and Description |
---|
InstantModeMember(HandleDateStep.InstantMode mode,
Dimension<?> dim)
Instantiates a new instant mode member.
|
Modifier and Type | Method and Description |
---|---|
void |
addDomain(java.util.Collection<Member<?>> members)
Adds the domain.
|
InstantModeMember |
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.
|
HandleDateStep.InstantMode |
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 InstantModeMember(HandleDateStep.InstantMode mode, Dimension<?> dim)
mode
- the modedim
- the dimpublic InstantModeMember clone()
clone
in interface Member<HandleDateStep.InstantMode>
clone
in class java.lang.Object
public void addDomain(java.util.Collection<Member<?>> members)
addDomain
in interface Member<HandleDateStep.InstantMode>
members
- the memberspublic int compareTo(Member<?> o2)
compareTo
in interface Member<HandleDateStep.InstantMode>
o2
- the o 2public Dimension<?> getDimension()
getDimension
in interface Member<HandleDateStep.InstantMode>
public java.util.Collection<Member<?>> getDomain()
getDomain
in interface Member<HandleDateStep.InstantMode>
Member.hasDomain()
public HandleDateStep.InstantMode getMember()
getMember
in interface Member<HandleDateStep.InstantMode>
public boolean hasDomain()
hasDomain
in interface Member<HandleDateStep.InstantMode>
public boolean isAbstract()
isAbstract
in interface Member<HandleDateStep.InstantMode>
public boolean isPrimary()
isPrimary
in interface Member<HandleDateStep.InstantMode>
public boolean isUsable()
Member
isUsable
in interface Member<HandleDateStep.InstantMode>
public boolean isVisible()
isVisible
in interface Member<HandleDateStep.InstantMode>
public void setVisible()
public void setVisible(boolean value)
setVisible
in interface Member<HandleDateStep.InstantMode>
value
- the new visiblepublic void setHidden()
public Dimension<?> setDimension(Dimension<?> newDimension)
setDimension
in interface Member<HandleDateStep.InstantMode>
newDimension
- the new dimensionpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic java.lang.String toString()
toString
in interface Member<HandleDateStep.InstantMode>
toString
in class java.lang.Object
public boolean isTotal()
isTotal
in interface Member<HandleDateStep.InstantMode>
public boolean isNet()
isNet
in interface Member<HandleDateStep.InstantMode>
public boolean isNegated()
isNegated
in interface Member<HandleDateStep.InstantMode>
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa