|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LevelInterface
Represents a level in a multidimensional cube. In addition to the basic information about the level itself, the parent and child interfaces can also be retrieved directly from the LevelInterface. The getHierarchy() method returns the HierarchyInterface which parents this level, and the members can be retrieved with getMembers() or getMembers(index, count) methods. The level may also be bound to an instance of the MetadataInterface, which is accessible from the getMetadata() method.
MetadataInterface
,
HierarchyInterface
,
MemberInterface
,
PropertyInterface
Field Summary | |
---|---|
static int |
TYPE_ALL
The name of the level whose type is all, as well as the return value for the getType method. |
static int |
TYPE_CALCULATED
The name of the level whose type is calculated, as well as the return value for the getType method. |
static int |
TYPE_REGULAR
The name of the level whose type is regular, as well as the return value for the getType method. |
static int |
TYPE_TIME
The name of the level whose type is time, as well as the return value for the getType method. |
static int |
TYPE_TIME_DAYS
The name of the level whose type is days, as well as the return value for the getType method. |
static int |
TYPE_TIME_HALF_YEAR
The name of the level whose type is a half year, as well as the return value for the getType method. |
static int |
TYPE_TIME_HOURS
The name of the level whose type is hours, as well as the return value for the getType method. |
static int |
TYPE_TIME_MINUTES
The name of the level whose type is minutes, as well as the return value for the getType method. |
static int |
TYPE_TIME_MONTHS
The name of the level whose type is a month, as well as the return value for the getType method. |
static int |
TYPE_TIME_QUARTERS
The name of the level whose type is a quarter, as well as the return value for the getType method. |
static int |
TYPE_TIME_SECONDS
The name of the level whose type is seconds, as well as the return value for the getType method. |
static int |
TYPE_TIME_UNDEFINED
The name of the level whose type is time, but undefined, as well as the return value for the getType method. |
static int |
TYPE_TIME_WEEKS
The name of the level whose type is weeks, as well as the return value for the getType method. |
static int |
TYPE_TIME_YEARS
The name of the level whose type is years, as well as the return value for the getType method. |
static int |
TYPE_UNKNOWN
The name of the level whose type is unknown, as well as the return value for the getType method. |
Method Summary | |
---|---|
CubeInterface |
getCube()
Returns the cube to which the hierarchy belongs. |
int |
getDepth()
Returns the distance of the level from the root of the hierarchy. |
Filter |
getFilter()
Returns a copy of the Filter object that was used to obtain this LevelInterface. |
HierarchyInterface |
getHierarchy()
Returns the hierarchy that this level is a child of. |
int |
getMemberCount()
Returns the number of members associated with the level. |
MemberInterface[] |
getMembers()
Returns the members associated with this level. |
MemberInterface[] |
getMembers(int index,
int count)
Returns the members associated with a given range of indices. |
PropertyInterface[] |
getProperties()
Returns the properties associated with this level. |
int |
getType()
Returns the type of the level. |
Methods inherited from interface com.sas.storage.olap.MetadataEntityInterface |
---|
getCreationDateTime, getDescription, getLabel, getMetadata, getName, getUniqueName, getUpdateDateTime |
Field Detail |
---|
static final int TYPE_REGULAR
static final int TYPE_CALCULATED
static final int TYPE_ALL
static final int TYPE_TIME
static final int TYPE_TIME_YEARS
static final int TYPE_TIME_HALF_YEAR
static final int TYPE_TIME_QUARTERS
static final int TYPE_TIME_MONTHS
static final int TYPE_TIME_WEEKS
static final int TYPE_TIME_DAYS
static final int TYPE_TIME_HOURS
static final int TYPE_TIME_MINUTES
static final int TYPE_TIME_SECONDS
static final int TYPE_TIME_UNDEFINED
static final int TYPE_UNKNOWN
Method Detail |
---|
CubeInterface getCube() throws OLAPException
OLAPException
- if a database error occursHierarchyInterface getHierarchy() throws OLAPException
OLAPException
- if a database error occursint getType() throws OLAPException
OLAPException
- if a database error occursint getDepth() throws OLAPException
OLAPException
- if a database error occursint getMemberCount() throws OLAPException
OLAPException
- if a database error occursMemberInterface[] getMembers(int index, int count) throws OLAPException
index
- A zero-based member index (0 to getMemberCount()-1).count
- The number of members to return.
OLAPException
- if a database error occursMemberInterface[] getMembers() throws OLAPException
OLAPException
- if a database error occursPropertyInterface[] getProperties() throws OLAPException
OLAPException
- if a database error occursFilter getFilter() throws OLAPException
OLAPException
- if a database error occurs
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |