public class XMLFragmentMember extends java.lang.Object implements Member<XMLFragment>
| Constructor and Description |
|---|
XMLFragmentMember(XMLFragment fragment,
Dimension<?> dim,
java.lang.String text)
Instantiates a new XML fragment member.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(java.util.Collection<Member<?>> members)
Adds the domain.
|
XMLFragmentMember |
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.
|
XMLFragment |
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 |
setText(java.lang.String newText)
Sets the text.
|
void |
setVisible()
Sets the visible.
|
void |
setVisible(boolean value)
Sets the visible.
|
XMLFragment |
toFragment(DTSContainer dts)
To fragment.
|
java.lang.String |
toString()
To string.
|
public XMLFragmentMember(XMLFragment fragment, Dimension<?> dim, java.lang.String text)
fragment - the fragmentdim - the dimtext - the text or null if the text is going to be created internallypublic XMLFragmentMember clone()
clone in interface Member<XMLFragment>clone in class java.lang.Objectpublic void addDomain(java.util.Collection<Member<?>> members)
addDomain in interface Member<XMLFragment>members - the memberspublic int compareTo(Member<?> o2)
compareTo in interface Member<XMLFragment>o2 - the o 2public Dimension<?> getDimension()
getDimension in interface Member<XMLFragment>public Dimension<?> setDimension(Dimension<?> newDimension)
setDimension in interface Member<XMLFragment>newDimension - the new dimensionpublic java.util.Collection<Member<?>> getDomain()
getDomain in interface Member<XMLFragment>Member.hasDomain()public XMLFragment getMember()
getMember in interface Member<XMLFragment>public boolean hasDomain()
hasDomain in interface Member<XMLFragment>public boolean isAbstract()
isAbstract in interface Member<XMLFragment>public boolean isPrimary()
isPrimary in interface Member<XMLFragment>public boolean isUsable()
MemberisUsable in interface Member<XMLFragment>public boolean isVisible()
isVisible in interface Member<XMLFragment>public void setVisible()
public void setVisible(boolean value)
setVisible in interface Member<XMLFragment>value - the new visiblepublic void setHidden()
public XMLFragment toFragment(DTSContainer dts)
dts - the dtspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the objpublic void setText(java.lang.String newText)
newText - the new textpublic java.lang.String toString()
toString in interface Member<XMLFragment>toString in class java.lang.Objectpublic boolean isTotal()
isTotal in interface Member<XMLFragment>public boolean isNet()
isNet in interface Member<XMLFragment>public boolean isNegated()
isNegated in interface Member<XMLFragment>Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa