Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

oracle.dss.util
Interface MetadataPrinter

All Known Implementing Classes:
DefaultMetadataPrinter

public interface MetadataPrinter


Method Summary
 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
 

Method Detail

getMetadataName

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. as a parameter.

Parameters:
dbName - name from a connection or connection mode specific database operation
type - from MetadataManager of object being queried (dimension, measure, hierarchy, etc.)
Returns:
converted name to a common printable format (used by JTF for example to mask differences in ROLAP vs. MOLAP test runs)

getDimensionType

java.lang.String getDimensionType()
Return the type string for dimension objects

Returns:
dimension type string

getHierarchyType

java.lang.String getHierarchyType()
Return the type string for hierarchy objects

Returns:
hierarchy type string

getLevelType

java.lang.String getLevelType()
Return the type string for level objects

Returns:
level type string

getMeasureType

java.lang.String getMeasureType()
Return the type string for measure objects

Returns:
measure type string

getAttributeType

java.lang.String getAttributeType()
Return the type string for attribute objects

Returns:
attribute type string

getValueType

java.lang.String getValueType()
Return the type string for dimension value objects

Returns:
dimension value type string

outputAsNA

boolean outputAsNA(java.lang.Object value)
Return if this value should be output as NA

Returns:
true if this value should be output as NA

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 1 (11.1.1.7.0)

E12063-08

Copyright © 1997, 2013, Oracle. All rights reserved.