Package oracle.olapi.data.source

Examples of oracle.olapi.data.source.FundamentalMetadataProvider


  {
    println("\nGetting the Data Type of a Source");
       
    MdmPrimaryDimension mdmProdDim = getMdmPrimaryDimension("PRODUCT_AW");
       
    FundamentalMetadataProvider fmp =
                    getExpressDataProvider().getFundamentalMetadataProvider();
    FundamentalMetadataObject fmoStringDataType = fmp.getStringDataType();
    Source stringDataTypeSource = fmoStringDataType.getSource();
    FundamentalMetadataObject fmoMdmProdDimDataType = mdmProdDim.getDataType();
    Source mdmProdDimDataTypeSource = fmoMdmProdDimDataType.getSource();
    Source prodDim = mdmProdDim.getSource();
    Source prodDimDataTypeSource = prodDim.getDataType();
View Full Code Here


   
  public String getDataType(DataProvider dp, MdmSource metaSource)
  {
    String theDataType = null;
       
    FundamentalMetadataProvider fmp = getFundamentalMetadataProvider();
       
    if (fmp.getBooleanDataType() == metaSource.getDataType())
        theDataType = "Boolean";
    else if (fmp.getDateDataType() == metaSource.getDataType())
             theDataType = "Date";
    else if (fmp.getDoubleDataType() == metaSource.getDataType())
             theDataType = "Double";
    else if (fmp.getFloatDataType() == metaSource.getDataType())
             theDataType = "Float";
    else if (fmp.getIntegerDataType() == metaSource.getDataType())
             theDataType = "Integer";
    else if (fmp.getShortDataType() == metaSource.getDataType())
             theDataType = "Short";
    else if (fmp.getStringDataType() == metaSource.getDataType())
             theDataType = "String";
    else if (fmp.getNumberDataType() == metaSource.getDataType())
              theDataType = "Number";
    else if (fmp.getValueDataType() == metaSource.getDataType())
             theDataType = "Value";
       
    return theDataType;
  }
View Full Code Here

TOP

Related Classes of oracle.olapi.data.source.FundamentalMetadataProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.