public class DefaultMetadataPrinter extends java.lang.Object implements MetadataPrinter
| Constructor and Description | 
|---|
| DefaultMetadataPrinter() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getAttributeType()Return the type string for attribute objects | 
| java.lang.String | getDimensionType()Return the type string for dimension objects | 
| java.lang.String | getHierarchyType()Return the type string for hierarchy objects | 
| java.lang.String | getLevelType()Return the type string for level objects | 
| java.lang.String | getMeasureType()Return the type string for measure objects | 
| java.lang.String | getMetadataName(java.lang.String dbName,
               java.lang.String type)Return the name the implementer wishes to have printed when given the
 OLAPI name from the Selection, Query, cursor, etc. | 
| java.lang.String | getValueType()Return the type string for dimension value objects | 
| boolean | outputAsNA(java.lang.Object value)Return if this value should be output as NA | 
public java.lang.String getMetadataName(java.lang.String dbName,
                                        java.lang.String type)
getMetadataName in interface MetadataPrinterdbName - name from a connection or connection mode specific database operationMM - type from MetadataManager of object being queried (dimension, measure, hierarchy, etc.)public java.lang.String getDimensionType()
getDimensionType in interface MetadataPrinterpublic java.lang.String getHierarchyType()
getHierarchyType in interface MetadataPrinterpublic java.lang.String getLevelType()
getLevelType in interface MetadataPrinterpublic java.lang.String getMeasureType()
getMeasureType in interface MetadataPrinterpublic java.lang.String getAttributeType()
getAttributeType in interface MetadataPrinterpublic java.lang.String getValueType()
getValueType in interface MetadataPrinterpublic boolean outputAsNA(java.lang.Object value)
MetadataPrinteroutputAsNA in interface MetadataPrintertrue if this value should be output as NA