Package it.eng.spago.base

Examples of it.eng.spago.base.SourceBean.containsAttribute()


        qbeList = template.getAttributeAsList(TAG_ROOT_NORMAL);
        for(int i = 0; i < qbeList.size(); i++) {
          qbeSB = (SourceBean)qbeList.get(i);
         
          // DATAMART block
          if(qbeSB.containsAttribute(TAG_DATAMART)) {
            datamartSB = (SourceBean)qbeSB.getAttribute(TAG_DATAMART)
            dmName = (String)datamartSB.getAttribute(PROP_DATAMART_NAME);
            Assert.assertTrue(!StringUtilities.isEmpty(dmName), "Attribute [" + PROP_DATAMART_NAME +"] in tag [" + TAG_DATAMART + "] must be properly defined");
           
            qbeTemplate.addDatamartName( dmName );
View Full Code Here


          } else {
            Assert.assertUnreachable("Missing compolsury tag [" + TAG_DATAMART + "]");
          }
         
          // MODALITY block
          if(qbeSB.containsAttribute(TAG_MODALITY)) {
            modalitySB = (SourceBean)qbeSB.getAttribute(TAG_MODALITY);
            modalities.add(modalitySB);   
          } else {
            logger.debug("Qbe template associated to datamart [" + dmName + "] does not contain tag [" + TAG_MODALITY +"] so it will be not profiled");
          }
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.