Examples of selectValue()


Examples of name.pehl.totoe.xml.client.Document.selectValue()


    public void testSelectValue()
    {
        Document document = parse();
        String units = document.selectValue("//bttf:power/@unit");
        assertUnitValue(units);
    }


    private Document parse()
View Full Code Here

Examples of name.pehl.totoe.xml.client.Document.selectValue()


    public void testSelectValue()
    {
        Document document = parse();
        String units = document.selectValue("//power/@unit");
        assertUnitValue(units);
    }


    private Document parse()
View Full Code Here

Examples of name.pehl.totoe.xml.client.Document.selectValue()


    public void testSelectValue()
    {
        Document document = parse();
        String unit = document.selectValue("//bttf:power/@unit");
        assertUnitValue(unit);
    }


    private Document parse()
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectValue()

//    MdmPrimaryDimension mdmProdDim = getMdmPrimaryDimension("MEDIA");
    MdmLevelHierarchy mdmTimeHier = (MdmLevelHierarchy)
                                     mdmTimeDim.getDefaultHierarchy();
    StringSource timeHier =  (StringSource) mdmTimeHier.getSource();
       
    Source levelElement = timeHier.selectValue("TIMEHIER::MONTH::MONTH_2011-M01");
       
    // Get the Source for the short label attribute of the dimension.
    Source prodShortLabel = mdmTimeDim.getShortValueDescriptionAttribute()
                                      .getSource();
       
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectValue()

      // Reverse the ancestors relation to get the descendants relation.
      Source mktSegmentDescendants =
                mktSegment.join(mktSegmentAncestors, mktSegment.value());
     
      // Select an element of the hierarchy.
      Source selVal = mktSegment.selectValue(node);

      // Select the descendants of the specified element.
      Source selValDescendants = mktSegmentDescendants.join(mktSegment,
                                                            selVal,Source.COMPARISON_RULE_DESCENDING,
                                                            false);
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectValue()

    Source prodHier = (Source) sources.get(1);
    StringSource calendarHier = (StringSource) sources.get(2);
    StringSource shipmentsHier = (StringSource) sources.get(3);
    Source chanHier = (Source) sources.get(4);
   
    Source custSel = shipmentsHier.selectValue(
                                       "SHIPMENTS_AW::SHIP_TO_AW::104");
    
    Source edge = prodHier.join(calendarHier).join(chanHier);
    
    Source edgeSel = edge.selectValues(dp.createListSource(
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectValue()

    MdmLevelHierarchy mdmTimeHier = (MdmLevelHierarchy)
                                     mdmTimeDim.getDefaultHierarchy();
    StringSource timeHier = (StringSource) mdmTimeHier.getSource();
   
    // Select one member of each dimension.   
    Source timeSel = timeHier.selectValue("CALENDAR_YEAR_AW::YEAR_AW::4");   
    Source prodSel = prodHier.selectValue("PRODUCT_PRIMARY_AW::FAMILY_AW::7");
   
    // Join the dimension selections to the measure and display the result.
    Source result = unitPrice.join(prodSel)
                             .join(timeSel);
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectValue()

    Source shipmentsParentAttr = mdmParentAttr.getSource();
    Source custValDescAttr = mdmCustValDescAttr.getSource();
   
    // Specify a parent value from the hierarchy.
    Source parentValue =
            shipments.selectValue("SHIPMENTS_AW::WAREHOUSE_AW::17");
   
    // Example 1: Using the full recursiveJoin method signature.
    // Create a Source that specifies the parent value and its children.
    Source parentAndChildren =
            shipments.recursiveJoin(custDim.value(),
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectValue()

      {
        MdmDimensionMemberInfo mdmDimMemInfo = (MdmDimensionMemberInfo)
                                                dimMemberInfosItr.next();
        MdmHierarchy mdmHier = mdmDimMemInfo.getHierarchy();
        StringSource hierSrc = (StringSource) mdmHier.getSource();
        Source memberSel = hierSrc.selectValue(mdmDimMemInfo.getUniqueValue());
       
        // Join the Source objects for the selected dimension members
        // to the measure.
        result = result.joinHidden(memberSel);
      }
View Full Code Here

Examples of oracle.olapi.data.source.StringSource.selectValue()

      MdmAttribute mdmShortDescrAttr =
                          mdmPrimDim.getShortValueDescriptionAttribute();
      Source shortDescrAttr = mdmShortDescrAttr.getSource();
      MdmHierarchy mdmHier = mdmDimMemInfo.getHierarchy();
      StringSource hierSrc = (StringSource) mdmHier.getSource();
      Source memberSel = hierSrc.selectValue(mdmDimMemInfo.getUniqueValue());
      Source shortDescrForMember = shortDescrAttr.joinHidden(memberSel);
           
      // Prepare and commit the current transaction.
      try
      {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.