|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.olap.metadata.impl.AbstractOlapObject
com.citra.pivot.olap.metadata.impl.OlapMemberImpl
public class OlapMemberImpl
OlapMemberImpl is a modifiable OlapMember implementation.
Field Summary | |
---|---|
protected OlapLevelImpl |
level
the member's level |
protected int |
memberCount
the member's children count |
Fields inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject |
---|
caption, description, id, name |
Constructor Summary | |
---|---|
OlapMemberImpl(String name,
String id,
String caption,
String description,
OlapLevelImpl level)
Constructs an OlapMemberImpl. |
Method Summary | |
---|---|
OlapLevel |
getLevel()
Retrieves the level this member is part of. |
int |
getMemberCount()
Retrieves the number of children this member has. |
void |
setLevel(OlapLevelImpl level)
Assigns the level of this member. |
void |
setMemberCount(int memberCount)
Assigns the children member count of this member. |
String |
toString()
Returns a string representation of the object. In general, the toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The getClass().getName() + '@' + Integer.toHexString(hashCode()) |
Methods inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject |
---|
getCaption, getDescription, getID, getName, setCaption, setDescription, setID, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.citra.pivot.olap.metadata.OlapObject |
---|
getCaption, getDescription, getID, getName |
Field Detail |
---|
protected OlapLevelImpl level
protected int memberCount
Constructor Detail |
---|
public OlapMemberImpl(String name, String id, String caption, String description, OlapLevelImpl level)
Method Detail |
---|
public OlapLevel getLevel()
getLevel
in interface OlapMember
public int getMemberCount()
getMemberCount
in interface OlapMember
public void setLevel(OlapLevelImpl level)
level
- the level to assignpublic void setMemberCount(int memberCount)
memberCount
- the numer of children this member haspublic String toString()
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
toString
in class AbstractOlapObject
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |