public interface JRHierarchicalDatasetMetaData
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
PATH_DELIMITER
The delimiter is used in the full path of the tree node, so the node name can not inculde it. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String[] | 
getBranchNames(java.lang.String parentName)
Returns all branch names for the specified parent node. 
 | 
int | 
getLeafCount(java.lang.String parentName)
Returns the number of the leaves of the specified branch node. 
 | 
java.lang.String[] | 
getLeafNames(java.lang.String parentName)
Returns all leaf node names under the branch node which is specified by the parentName. 
 | 
int | 
getLeafType(java.lang.String parentName,
           java.lang.String leafName)
Returns the data type of the leaf. 
 | 
java.lang.String | 
getParentName(java.lang.String name)
Returns the full name of the parent. 
 | 
int | 
getPrecision(java.lang.String parentName,
            java.lang.String leafName)
Returns the precision of the leaf. 
 | 
java.lang.String | 
getRoot()
Returns root node names. 
 | 
int | 
getScale(java.lang.String parentName,
        java.lang.String leafName)
Returns the scale of the leaf. 
 | 
boolean | 
isArray(java.lang.String parentName,
       java.lang.String leafName)
If the leaf is multiple values, then return true. 
 | 
boolean | 
isCurrency(java.lang.String parentName,
          java.lang.String leafName)
Returns the currency state of the leaf. 
 | 
int | 
isNullable(java.lang.String parentName,
          java.lang.String leafName)
Returns the nullable state of the leaf. 
 | 
static final java.lang.String PATH_DELIMITER
java.lang.String getRoot()
java.lang.String getParentName(java.lang.String name)
name - is the full name of the node.java.lang.String[] getLeafNames(java.lang.String parentName)
parentName - is the full name of the branch node.int getLeafCount(java.lang.String parentName)
parentName - is the full name of the branch node.java.lang.String[] getBranchNames(java.lang.String parentName)
parentName - is the full name of the node.int getLeafType(java.lang.String parentName,
                java.lang.String leafName)
parentName - is the full name of the node.leafName - is the real name of the node.int getPrecision(java.lang.String parentName,
                 java.lang.String leafName)
parentName - is the full name of the node.leafName - is the real name of the node.int getScale(java.lang.String parentName,
             java.lang.String leafName)
parentName - is the full name of the node.leafName - is the real name of the node.int isNullable(java.lang.String parentName,
               java.lang.String leafName)
parentName - is the full name of the node.leafName - is the real name of the node.boolean isCurrency(java.lang.String parentName,
                   java.lang.String leafName)
parentName - is the full name of the node.leafName - is the real name of the node.boolean isArray(java.lang.String parentName,
                java.lang.String leafName)
parentName - is the full name of the node.leafName - is the real name of the node.