|
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.OlapDimensionImpl
public class OlapDimensionImpl
OlapDimensionImpl is a modifiable OlapDimension implementation.
Field Summary | |
---|---|
protected OlapHierarchy |
defaultHierarchy
the default hierarchy |
protected HierarchyList |
hierarchies
the dimension's hierarchies |
protected boolean |
isMeasureDimension
whether this is a measure dimension |
Fields inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject |
---|
caption, description, id, name |
Constructor Summary | |
---|---|
OlapDimensionImpl(String name,
String id,
String caption,
String description,
boolean isMeasureDimension)
Constructs an OlapDimensionImpl. |
Method Summary | |
---|---|
OlapHierarchy |
getDefaultHierarchy()
Retrieves the default hierarchy of the dimension. |
HierarchyList |
getHierarchies()
Retrieves the hierarchies of the dimension. |
boolean |
isMeasureDimension()
Determines whether the dimension is the measure dimension. |
void |
setDefaultHierarchy(OlapHierarchy hierarchy)
Assigns the default hierarchy of this dimension. |
void |
setHierarchies(List hierarchies)
Assigns the hierarchies of this dimension. |
void |
setMeasureDimension(boolean isMeasureDimension)
Determines whether this dimension is the measure dimension. |
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 HierarchyList hierarchies
protected OlapHierarchy defaultHierarchy
protected boolean isMeasureDimension
Constructor Detail |
---|
public OlapDimensionImpl(String name, String id, String caption, String description, boolean isMeasureDimension)
Method Detail |
---|
public OlapHierarchy getDefaultHierarchy()
getDefaultHierarchy
in interface OlapDimension
public HierarchyList getHierarchies()
getHierarchies
in interface OlapDimension
public boolean isMeasureDimension()
isMeasureDimension
in interface OlapDimension
public void setDefaultHierarchy(OlapHierarchy hierarchy)
hierarchy
- the default hierarchy to assignpublic void setHierarchies(List hierarchies)
hierarchies
- the hierarchies to assignpublic void setMeasureDimension(boolean isMeasureDimension)
isMeasureDimension
- true if this dimension is the measure dimension, false otherwisepublic 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 |