|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DrillHierarchy
The DrillHierarchy interface provides access to the properties and functionalities of a
Business Objects Universe hierarchy.
A hierarchy organizes objects that return data for related information. For
example, a time period hierarchy would includes Year, Quarter, Month, Week
and so on.
This means that when you return values for Year to the report and include two
levels of analysis, you will be able to drill down from Year to Quarter and then
drill down again from Quarter to Month.
A hierarchy is defined using Business Objects Designer
and is composed of BO universe dimensions.
Example: Get the name of the Hierarchy associated with the document
RetrieveDrillInfo boDrillInfo = RetrieveDrillInfo.Factory.newInstance();
RetrieveData retBOData = RetrieveData.Factory.newInstance();
retBOData.setRetrieveDrillInfo(boDrillInfo);
// In order to get the DrillInfo you must enter into the drill mode by
// passing the drill action to getDocumentInformation
Action[] actions = new Action[1];
Drill objDrill = Drill.Factory.newInstance();
objDrill.setActiveDrill(true);
actions[0] = objDrill;
DocumentInformation docInfo = boRepEng.getDocumentInformation(strDocid,null,actions,null,retBOData);
DrillInfo boDocDrill = docInfo.getDrillInfo();
DrillHierarchy[] boDrHiers = boDocDrill.getDrillHierarchiesArray();
for(int i=0;i< boDrHiers.length;i++)
{
DrillHierarchy boDrHier = boDrHiers[i];
String strDrHier = boDrHier.getName();
out.print(strDrHier);
}
DrillPath,
DrillHierarchy,
Action,
DocumentInformation,
RetrieveData| Nested Class Summary | |
|---|---|
static class |
DrillHierarchy.Factory
A class with methods for creating instances of the DrillHierarchy type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
DrillDimension |
addNewDrillDimensions()
Internal Use Only. |
DrillDimension[] |
getDrillDimensionsArray()
Returns the DrillDimensions that make up the DrillHierarchy. |
DrillDimension |
getDrillDimensionsArray(int i)
Returns a single DrillDimension from the DrillHierarchy. |
java.lang.String |
getID()
Returns the DrillHierarchy ID. |
java.lang.String |
getName()
Returns the name of the DrillHierarchy. |
DrillDimension |
insertNewDrillDimensions(int i)
Internal Use Only. |
boolean |
isNilDrillDimensionsArray(int i)
Checks if the DrillDimensions element is nil, at the specified index position. |
void |
removeDrillDimensions(int i)
Removes the DrillDimension element at the specified index position. |
void |
setDrillDimensionsArray(DrillDimension[] drillDimensionsArray)
Internal Use Only. |
void |
setDrillDimensionsArray(int i,
DrillDimension drillDimensions)
Internal Use Only. |
void |
setID(java.lang.String id)
Internal Use Only. |
void |
setName(java.lang.String name)
Internal Use Only. |
void |
setNilDrillDimensionsArray(int i)
Internal Use Only. |
int |
sizeOfDrillDimensionsArray()
Returns the number of DrillDimensions element. |
org.apache.xmlbeans.XmlString |
xgetID()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetName()
Internal Use Only. |
void |
xsetID(org.apache.xmlbeans.XmlString id)
Internal Use Only. |
void |
xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
DrillDimension[] getDrillDimensionsArray()
DrillDimension getDrillDimensionsArray(int i)
i - index of the DrillDimension to be retrieved.
boolean isNilDrillDimensionsArray(int i)
true if the DrillDimension element is nil, otherwise falseint sizeOfDrillDimensionsArray()
void setDrillDimensionsArray(DrillDimension[] drillDimensionsArray)
Internal Use Only.
void setDrillDimensionsArray(int i,
DrillDimension drillDimensions)
Internal Use Only.
void setNilDrillDimensionsArray(int i)
Internal Use Only.
DrillDimension insertNewDrillDimensions(int i)
Internal Use Only.
DrillDimension addNewDrillDimensions()
Internal Use Only.
void removeDrillDimensions(int i)
i - the index of the DrillDimension elementjava.lang.String getName()
org.apache.xmlbeans.XmlString xgetName()
Internal Use Only.
void setName(java.lang.String name)
Internal Use Only.
void xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only.
java.lang.String getID()
org.apache.xmlbeans.XmlString xgetID()
Internal Use Only.
void setID(java.lang.String id)
Internal Use Only.
void xsetID(org.apache.xmlbeans.XmlString id)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||