Package oracle.AWXML

Examples of oracle.AWXML.Dimension


     */
    myBuild.setTrackStatus(false);
    myBuild.setMaxJobQueues(0);
//    myBuild.setId(MyUUIDGen.getUUID());
   
    Dimension time = new Dimension();
    Dimension media = new Dimension();
    Dimension department = new Dimension();
    time.setId("MYTIME.DIMENSION");
    media.setId("MEDIA.DIMENSION");
    department.setId("DEPARTMENT.DIMENSION");
   
    Cube ems = new Cube();
    ems.setId("EMS.CUBE");

//    myBuild.addBuildList(time);
View Full Code Here


    // Create Dimension objects, and pass each Dimension to a method that
    // creates Attribute, Hierarchy, and Level objects for it.

    // Create the TIME_AW Dimension and set names for the object.
    Dimension timeDim = globalAW.createDimension();
    timeDim.setName("TIME_AW");
    timeDim.setShortName("TIME_AW");
    timeDim.setLongName("TIME_AW dimension");
    timeDim.setIsTime(true);

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createTimeDim(timeDim);

    // Get the detail level to use when creating a Cube.
    Vector _time_levels = timeDim.getLevels();
    Level monthLevel = (Level)_time_levels.elementAt(0);

    // Create the CUSTOMER_AW Dimension and set names for the object.
    Dimension customerDim = globalAW.createDimension();
    customerDim.setName("CUSTOMER_AW");
    customerDim.setShortName("CUSTOMER_AW");
    customerDim.setLongName("CUSTOMER_AW dimension");

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createCustomerDim(customerDim);

    // Get the detail level to use when creating a Cube.
    Vector customerDim_levels = customerDim.getLevels();
    Level shipToLevel = (Level)customerDim_levels.elementAt(0);

    // Create the PRODUCT_AW Dimension and set names for the object.
    Dimension productDim = globalAW.createDimension();
    productDim.setName("PRODUCT_AW");
    productDim.setShortName("PRODUCT_AW");
    productDim.setLongName("PRODUCT_AW Dimension");

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createProductDim(productDim);

    // Get the detail level to use when creating a Cube.
    Vector productDim_levels = productDim.getLevels();
    Level itemLevel = (Level)productDim_levels.elementAt(0);

    // Create the CHANNEL_AW Dimension and set names for the object.
    Dimension channelDim = globalAW.createDimension();
    channelDim.setName("CHANNEL_AW");
    channelDim.setShortName("CHANNEL_AW");
    channelDim.setLongName("CHANNEL_AW dimension");

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createChannelDimension(channelDim);

    // Get the detail level, which is shared by all dimension hierarchies,
    // to use when creating a Cube.
    Vector _channel_levels = channelDim.getLevels();
    Level channelLevel = (Level)_channel_levels.elementAt(0);

    // Create the UNITS_CUBE_AW Cube and the measures to associate with it.
    this.clearCubeMapVectors();
    Cube unitsCube = globalAW.createCube();
View Full Code Here

  public void associateCubeDimensions(Cube _cube, Vector _dimList)
  {
    for (int i=0; i < _dimList.size(); i++)
    {
      CubeDimRef _cdr = _cube.createCubeDimRef();
      Dimension _dim = (Dimension)_dimList.elementAt(i);
      _cdr.setDimension(_dim);
    }
  }
View Full Code Here

    for (Iterator _d = _dimrefs.iterator(); _d.hasNext();)
    {
      AggregationHierarchySpecification _aggHierSpec =
                             _aggdef.createAggregationHierarchySpecification();
      CubeDimRef _dimref = (CubeDimRef)_d.next();
      Dimension _dim = _dimref.getDimension();
      _aggHierSpec.setDimension(_dim);
      PreComputeClause _precompute_clause =
                                         _aggHierSpec.createPreComputeClause();
      DimensionMemberExpression _dimMemExp =
                          _precompute_clause.createDimensionMemberExpression();
View Full Code Here

    // Create Dimension objects, and pass each Dimension to a method that
    // creates Attribute, Hierarchy, and Level objects for it.

    // Create the TIME_AW Dimension and set names for the object.
    Dimension timeDim = globalAW.createDimension();
    timeDim.setName("TIME_AW");
    timeDim.setShortName("TIME_AW");
    timeDim.setLongName("TIME_AW dimension");
    timeDim.setIsTime(true);

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createTimeDim(timeDim);

    // Get the detail level to use when creating a Cube.
    Vector _time_levels = timeDim.getLevels();
    Level monthLevel = (Level)_time_levels.elementAt(0);

    // Create the CUSTOMER_AW Dimension and set names for the object.
    Dimension customerDim = globalAW.createDimension();
    customerDim.setName("CUSTOMER_AW");
    customerDim.setShortName("CUSTOMER_AW");
    customerDim.setLongName("CUSTOMER_AW dimension");

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createCustomerDim(customerDim);

    // Get the detail level to use when creating a Cube.
    Vector customerDim_levels = customerDim.getLevels();
    Level shipToLevel = (Level)customerDim_levels.elementAt(0);

    // Create the PRODUCT_AW Dimension and set names for the object.
    Dimension productDim = globalAW.createDimension();
    productDim.setName("PRODUCT_AW");
    productDim.setShortName("PRODUCT_AW");
    productDim.setLongName("PRODUCT_AW Dimension");

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createProductDim(productDim);

    // Get the detail level to use when creating a Cube.
    Vector productDim_levels = productDim.getLevels();
    Level itemLevel = (Level)productDim_levels.elementAt(0);

    // Create the CHANNEL_AW Dimension and set names for the object.
    Dimension channelDim = globalAW.createDimension();
    channelDim.setName("CHANNEL_AW");
    channelDim.setShortName("CHANNEL_AW");
    channelDim.setLongName("CHANNEL_AW dimension");

    // Create the Attribute, Level, and Hierarchy objects for the Dimension.
    this.createChannelDimension(channelDim);

    // Get the detail level, which is shared by all dimension hierarchies,
    // to use when creating a Cube.
    Vector _channel_levels = channelDim.getLevels();
    Level channelLevel = (Level)_channel_levels.elementAt(0);

    // Create the UNITS_CUBE_AW Cube and the measures to associate with it.
    this.clearCubeMapVectors();
    Cube unitsCube = globalAW.createCube();
View Full Code Here

  public void associateCubeDimensions(Cube _cube, Vector _dimList)
  {
    for (int i=0; i < _dimList.size(); i++)
    {
      CubeDimRef _cdr = _cube.createCubeDimRef();
      Dimension _dim = (Dimension)_dimList.elementAt(i);
      _cdr.setDimension(_dim);
    }
  }
View Full Code Here

    for (Iterator _d = _dimrefs.iterator(); _d.hasNext();)
    {
      AggregationHierarchySpecification _aggHierSpec =
                             _aggdef.createAggregationHierarchySpecification();
      CubeDimRef _dimref = (CubeDimRef)_d.next();
      Dimension _dim = _dimref.getDimension();
      _aggHierSpec.setDimension(_dim);
      PreComputeClause _precompute_clause =
                                         _aggHierSpec.createPreComputeClause();
      DimensionMemberExpression _dimMemExp =
                          _precompute_clause.createDimensionMemberExpression();
View Full Code Here

         */
//        myBuild.setTrackStatus(isFull);
        myBuild.setMaxJobQueues(0);
        if(dims!=null){
          for(String dimid:dims){
            Dimension dim = new Dimension();
            dim.setId(dimid);
            myBuild.addBuildList(dim);
          }
        }
        if(cubes!=null){
          for(String cubeid:cubes){
View Full Code Here

TOP

Related Classes of oracle.AWXML.Dimension

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.