Examples of addProperty()


Examples of org.teiid.adminapi.impl.TranslatorMetaData.addProperty()

        }
       
        // fill with default properties for the tooling to see the properties
        Properties props = TranslatorUtil.getTranslatorPropertiesAsProperties(data.getExecutionFactoryClass());
        data.setProperties(props);
        data.addProperty(TranslatorMetaData.EXECUTION_FACTORY_CLASS, data.getExecutionFactoryClass().getName());
       
              this.translatorRepository.addTranslatorMetadata(translatorName, data);
              LogManager.logInfo(LogConstants.CTX_RUNTIME, RuntimePlugin.Util.getString("translator_added", translatorName)); //$NON-NLS-1$
              this.vdbChecker.translatorAdded(translatorName);
      }

Examples of org.teiid.adminapi.impl.VDBMetaData.addProperty()

   
    VDBMetaData vdb = new VDBMetaData();
    vdb.setName("myVDB");
    vdb.setDescription("vdb description");
    vdb.setVersion(1);
    vdb.addProperty("vdb-property", "vdb-value")
   
    ModelMetaData modelOne = new ModelMetaData();
    modelOne.setName("model-one");
    modelOne.addSourceMapping("s1", "translator", "java:mybinding")
    modelOne.setModelType(Model.Type.PHYSICAL);

Examples of org.teiid.adminapi.impl.VDBTranslatorMetaData.addProperty()

      }
     
      Set<String> keys = parent.getProperties().stringPropertyNames();
      for (String key:keys) {
        if (data.getPropertyValue(key) == null && parent.getPropertyValue(key) != null) {
          data.addProperty(key, parent.getPropertyValue(key));
        }
      }
      repo.addTranslatorMetadata(data.getName(), data);
    }
    createConnectorManagers(cmr, repo, deployment);

Examples of org.teiid.client.plan.PlanNode.addProperty()

        List parameters = new ArrayList();
        parameters.add(new ParameterInfo(ParameterInfo.IN, 0));
        parameters.add(new ParameterInfo(ParameterInfo.RESULT_SET, 5));
        message.setParameters(parameters);
        PlanNode planDescs = new PlanNode("test");
        planDescs.addProperty("key1", "val1"); //$NON-NLS-1$ //$NON-NLS-2$
        planDescs.addProperty("key2", "val2"); //$NON-NLS-1$ //$NON-NLS-2$
        planDescs.addProperty("key3", "val3"); //$NON-NLS-1$ //$NON-NLS-2$
        planDescs.addProperty("key4", "val4"); //$NON-NLS-1$ //$NON-NLS-2$
        message.setPlanDescription(planDescs);

Examples of org.teleal.cling.support.model.container.MusicAlbum.addProperty()

        } else {
          upnpAlbum.setCreator("unknown");
        }
       
        upnpAlbum.setTitle(releaseItem.getItem().getName());
        upnpAlbum.addProperty(new DIDLObject.Property.UPNP.ALBUM(upnpAlbum.getTitle()) );
        upnpAlbum.setDescription("aze");
        // <albumArtUri dlna:profileID="PNG_TN">
        // <albumArtUri dlna:profileID="JPEG_TN">
       
        upnpAlbum.setAlbumArtURIs(new URI[] { new URI(releaseItem.getImage().getUrl())} );

Examples of org.testng.remote.strprotocol.GenericMessage.addProperty()

          for(int i= 0; i < m_suites.size(); i++) {
            testCount+= ((XmlSuite) m_suites.get(i)).getTests().size();
          }

          GenericMessage gm= new GenericMessage(MessageHelper.GENERIC_SUITE_COUNT);
          gm.addProperty("suiteCount", m_suites.size()).addProperty("testCount", testCount);
          msh.sendMessage(gm);

          addListener(new RemoteSuiteListener(msh));
          setTestRunnerFactory(new DelegatingTestRunnerFactory(buildTestRunnerFactory(), msh));

Examples of org.vfny.geoserver.wfs.requests.UpdateRequest.addProperty()

    public void testXml1() throws Exception {
        // make base comparison objects       
        UpdateRequest update = new UpdateRequest();
        update.setTypeName("BUILTUPA_1M");
        update.setFilter(factory.createFidFilter("10131"));
        update.addProperty("POPULATION", "4070000");

        TransactionRequest baseRequest = new TransactionRequest();
        baseRequest.addSubRequest(update);

        // run test      

Examples of org.w3c.www.webdav.xml.DAVProperties.addProperty()

    ex.printStackTrace();
      }
  }
  // live properties
  if (hasStringProperty(ATTR_TITLE)) {
      props.addProperty(DAVNode.DISPLAYNAME_NODE);
  }
  if (hasStringProperty(ATTR_CONTENT_LANGUAGE)) {
      props.addProperty(DAVNode.GETCONTENTLANGUAGE_NODE);
  }
  if (getETag() != null) {

Examples of org.wso2.carbon.broker.core.BrokerTypeDto.addProperty()

        for (; propertyIter.hasNext();) {
            propertyOMElement = (OMElement) propertyIter.next();
            String name = propertyOMElement.getAttributeValue(
                    new QName("", BrokerConstants.BROKER_CONF_ATTR_NAME));
            // need to correct this
            brokerTypeDto.addProperty(new Property(name));
        }

        return brokerTypeDto;
    }
}

Examples of org.wso2.carbon.brokermanager.core.BrokerConfiguration.addProperty()

        brokerConfiguration.setName(brokerName);
        brokerConfiguration.setType(brokerType);
        int tenantId = CarbonContext.getCurrentContext().getTenantId();
        // add broker properties
        for (BrokerProperty brokerProperty : properties) {
            brokerConfiguration.addProperty(brokerProperty.getKey(), brokerProperty.getValue());
        }
        // add broker configuration
        try {
            brokerManager.getBrokerManagerService().addBrokerConfiguration(brokerConfiguration, tenantId);
            testBrokerConfiguration(brokerName);
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.