Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

oracle.dss.util
Class DefaultMetadataPrinter

java.lang.Object
  extended by oracle.dss.util.DefaultMetadataPrinter
All Implemented Interfaces:
MetadataPrinter

public class DefaultMetadataPrinter
extends java.lang.Object
implements MetadataPrinter

For internal use only. Application developers should not use this
Default implementation of the MetadataPrinter interface that returns exactly what it is given.

Constructor Summary
DefaultMetadataPrinter()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMetadataPrinter

public DefaultMetadataPrinter()
Method Detail

getMetadataName

public 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.

Specified by:
getMetadataName in interface MetadataPrinter
Parameters:
dbName - name from a connection or connection mode specific database operation
MM - 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

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

Specified by:
getDimensionType in interface MetadataPrinter
Returns:
dimension type string

getHierarchyType

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

Specified by:
getHierarchyType in interface MetadataPrinter
Returns:
hierarchy type string

getLevelType

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

Specified by:
getLevelType in interface MetadataPrinter
Returns:
level type string

getMeasureType

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

Specified by:
getMeasureType in interface MetadataPrinter
Returns:
measure type string

getAttributeType

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

Specified by:
getAttributeType in interface MetadataPrinter
Returns:
attribute type string

getValueType

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

Specified by:
getValueType in interface MetadataPrinter
Returns:
dimension value type string

outputAsNA

public boolean outputAsNA(java.lang.Object value)
Description copied from interface: MetadataPrinter
Return if this value should be output as NA

Specified by:
outputAsNA in interface MetadataPrinter
Returns:
true if this value should be output as NA

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

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