Examples of addProperty()


Examples of org.jboss.test.managed.factory.support.beans.ABeanMetaData.addProperty()

      bean3.setName("SimpleUnannotated#3");
      APropertyMetaData bean3P1 = new APropertyMetaData();
      bean3P1.setName("properties");
      bean3P1.setDescription("The bean properties");
      bean3P1.setPropertyType("java.util.Set<IPropertyMetaData>");
      bean3.addProperty(bean3P1);

      Simple simple1 = new Simple();
      simple1.setBigDecimalValue(new BigDecimal(123456));
      Simple simple2 = new Simple();
      simple2.setBigDecimalValue(new BigDecimal(222222));

Examples of org.jboss.ws.metadata.wsdl.WSDLInterface.addProperty()

         //policy extensions
         QName policyURIsProp = (QName)srcPortType.getExtensionAttribute(Constants.WSDL_ATTRIBUTE_WSP_POLICYURIS);
         if (policyURIsProp != null && !"".equalsIgnoreCase(policyURIsProp.getLocalPart()))
         {
            destInterface.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_POLICYURIS, policyURIsProp.getLocalPart()));
         }

         // eventing extensions
         QName eventSourceProp = (QName)srcPortType.getExtensionAttribute(Constants.WSDL_ATTRIBUTE_WSE_EVENTSOURCE);
         if (eventSourceProp != null && eventSourceProp.getLocalPart().equals(Boolean.TRUE.toString()))

Examples of org.jboss.xb.spi.BeanAdapterFactory.addProperty()

                  {
                     memberPropertyHandler = new PropertyHandler(memberProp, memberTypeInfo);
                  }

                  QName memberQName = generateXmlName(memberProp.getName(), elementForm, memberNamespace, memberName);
                  propBeanAdapterFactory.addProperty(memberQName, memberPropertyHandler);

                  XBValueAdapter valueAdapter = null;
                  XmlJavaTypeAdapter xmlTypeAdapter = memberProp.getUnderlyingAnnotation(XmlJavaTypeAdapter.class);
                  if (xmlTypeAdapter != null)
                  {

Examples of org.jbpm.persistence.correlation.CorrelationKeyInfo.addProperty()

        req = new JaxbCommandsRequest("deployment", new StartProcessCommand("org.jbpm.humantask"));
        newReq = testRoundTrip(req);

        CorrelationKeyInfo corrKey = new CorrelationKeyInfo();
        corrKey.addProperty(new CorrelationPropertyInfo("null", "val"));
   
        GetProcessInstanceByCorrelationKeyCommand gpibckCmd = new GetProcessInstanceByCorrelationKeyCommand(corrKey);
        req = new JaxbCommandsRequest("test", gpibckCmd);
        testRoundTrip(req);
    }

Examples of org.jfrog.build.api.builder.BuildInfoBuilder.addProperty()

        if (clientConf.isIncludeEnvVars()) {
            Properties envProperties = new Properties();
            envProperties.putAll(clientConf.getAllProperties());
            envProperties = BuildInfoExtractorUtils.getEnvProperties(envProperties, clientConf.getLog());
            for (Map.Entry<Object, Object> envProp : envProperties.entrySet()) {
                builder.addProperty(envProp.getKey(), envProp.getValue());
            }
        }
        Build build = builder.build();
        String contextUrl = clientConf.publisher.getContextUrl();
        String username = clientConf.publisher.getUsername();

Examples of org.jitterbit.integration.jms.MessagePropertiesDescriptor.addProperty()

        // (i.e. type incompatibilities)
        MessagePropertiesDescriptor d = new MessagePropertiesDescriptor();
        for (int index = 0, rows = getRowCount(); index < rows; ++index) {
            MessagePropertyTableRow row = getRowObjectAt(index);
            MessageProperty p = row.getProperty();
            d.addProperty(p, row.getDefaultValue());
        }
        return d;
    }

    @Override

Examples of org.jitterbit.integration.server.jms.messaging.LocationProperties.addProperty()

        LocationProperties locationProps = new LocationProperties();
        try {
            stmt = msgDb.createStatement();
            rows = stmt.executeQuery(sql);
            while (rows.next()) {
                locationProps.addProperty(rows.getString(1), rows.getString(2));
            }
        } catch (SQLException ex) {
            throw new JmsServerException("Failed to get the location properties for the JMS message with id " + msgId,
                            ex);
        } finally {

Examples of org.jocl.cl_context_properties.addProperty()

      clGetPlatformIDs(platforms.length, platforms, null);
      cl_platform_id platform = platforms[platformIndex];

      // Initialize the context properties
      cl_context_properties contextProperties = new cl_context_properties();
      contextProperties.addProperty(CL_CONTEXT_PLATFORM, platform);

      // Obtain the number of devices for the platform
      int numDevicesArray[] = new int[1];
      clGetDeviceIDs(platform, deviceType, 0, null, numDevicesArray);
      int numDevices = numDevicesArray[0];

Examples of org.josso.gateway.identity.service.BaseUser.addProperty()

      }
     
      //Map the Portal Identity to JOSSO Identity
      BaseUser user = new BaseUserImpl();
      user.setName(userKey.toString());
      user.addProperty("password", "");
     
      return user;
   }  
   //---------------CredentialStore implementation----------------------------------------------------------------------------------------------------------------------
   public Credential[] loadCredentials(CredentialKey credentialKey, CredentialProvider credentialProvider) throws SSOIdentityException

Examples of org.josso.gateway.identity.service.BaseUserImpl.addProperty()

      }
     
      //Map the Portal Identity to JOSSO Identity
      BaseUser user = new BaseUserImpl();
      user.setName(userKey.toString());
      user.addProperty("password", "");
     
      return user;
   }  
   //---------------CredentialStore implementation----------------------------------------------------------------------------------------------------------------------
   public Credential[] loadCredentials(CredentialKey credentialKey, CredentialProvider credentialProvider) throws SSOIdentityException
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.