|
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.DefaultOlapEdge
public class DefaultOlapEdge
DefaultOlapEdge is the default implementation of an OlapEdge.
Field Summary | |
---|---|
protected OlapMeasure |
measure
the assigned measure |
protected OlapMember |
member
the assigned member |
protected String |
name
the displayed name |
protected int |
type
the type that the member/measure combination represents |
Constructor Summary | |
---|---|
DefaultOlapEdge(OlapMember member)
Constructs a DefaultOlapEdge having an olap member and no measure. |
|
DefaultOlapEdge(OlapMember member,
OlapMeasure measure)
Constructs a DefaultOlapEdge having an olap member, measure and a normal type. |
|
DefaultOlapEdge(OlapMember member,
OlapMeasure measure,
int type)
Constructs a DefaultOlapEdge having an olap member, measure and a specified type. |
Method Summary | |
---|---|
OlapMeasure |
getMeasure()
Retrieves the assigned measure. |
OlapMember |
getMember()
Retrieves the assigned member. |
String |
getName()
Retrieves the string name to display. |
int |
getType()
Retrieves the member's type. |
void |
setName(String name)
Assigns the edge's name. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected OlapMeasure measure
protected OlapMember member
protected int type
protected String name
Constructor Detail |
---|
public DefaultOlapEdge(OlapMember member)
public DefaultOlapEdge(OlapMember member, OlapMeasure measure)
public DefaultOlapEdge(OlapMember member, OlapMeasure measure, int type)
Method Detail |
---|
public OlapMeasure getMeasure()
getMeasure
in interface OlapEdge
public OlapMember getMember()
getMember
in interface OlapEdge
public String getName()
getName
in interface OlapEdge
public int getType()
getType
in interface OlapEdge
public void setName(String name)
name
- the name to assignpublic 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 Object
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |