Package oracle.AWXML

Examples of oracle.AWXML.Level


    Attribute channelSDAttr = createShortDescAttr(channelDim);

    // Create the Level objects for the Dimension.

    // Create the detail level, CHANNEL_AW.
    Level channelLevel = channelDim.createLevel();
    channelLevel.setName("CHANNEL_AW");
    channelLevel.setShortName("CHANNEL_AW");
    channelLevel.setLongName("CHANNEL_AW level");

    // Create AttributeProjection objects for the long and short description
    // attributes for the CHANNEL_AW Level.
    this.setupAttributeProjection(channelLevel, "Long Description",
                                  channelLDAttr);
    this.setupAttributeProjection(channelLevel, "Short Description",
                                  channelSDAttr);

    this.clearLevelMapVectors();
    _keys.add("GLOBAL.CHANNEL_DIM.CHANNEL_ID");
    _cols.add("GLOBAL.CHANNEL_DIM.CHANNEL_DSC"); // Long description
    _cols.add("GLOBAL.CHANNEL_DIM.CHANNEL_DSC"); // Short description
    this.createLevelMap(channelLevel, _keys, _cols);

    // Create the top level, ALL_CHANNELS_AW.
    Level allChannelsLevel = channelDim.createLevel();
    allChannelsLevel.setName("TOTAL_CHANNEL_AW");
    allChannelsLevel.setShortName("TOTAL_CHANNEL_AW");
    allChannelsLevel.setLongName("TOTAL_CHANNEL_AW level");

    // Create the Long and Short Description AttributeProjection objects for
    // the TOTAL_CHANNEL_AW Level.
    this.setupAttributeProjection(allChannelsLevel, "Long Description",
                                  channelLDAttr);
View Full Code Here


  public void createHierarchyMap(Hierarchy _hier, Vector _levels, Vector columns)
    {
      int i = 0;
      for(Iterator _lev = _levels.iterator(); _lev.hasNext();)
      {
        Level _curLev = (Level)_lev.next();
        HierarchyLevelAssociation _hla = _hier.createHierarchyLevelAssociation();
        _hla.setLevel(_curLev);

        DimensionMapGroup _dmg = _hla.createSourceDimensionMapGroup();
        DimensionKeySourceExpression _dkse = _dmg.CreateKeyMap();
View Full Code Here

TOP

Related Classes of oracle.AWXML.Level

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.