Examples of create()


Examples of org.openiaml.model.drools.CreateMissingElementsWithDrools.create()

      throw new IllegalArgumentException("EObject '" + root + "' has a null resource.");
    }
   
    ICreateElementsFactory handler = createCreateElementsFactory();
    CreateMissingElementsWithDrools ce = provider.getInferenceEngine(handler, false, reloader);
    ce.create(root, logRuleSource, createMonitor());

    // write out this inferred model for reference
    inferredModel = provider.saveInferredModel(resource);

    return root;

Examples of org.openiaml.model.drools.DroolsInferenceEngine.create()

   *
   * @throws InferenceException
   */
  public void refreshMappings(EObject resolved, ICreateElementsFactory handler, IProgressMonitor monitor) throws InferenceException {
    DroolsInferenceEngine engine = getEngine(handler);
    engine.create(resolved, new SubProgressMonitor(monitor, 100));
  }
 
  /**
   * Wrap the mapping refresh action with monitor updates, and check
   * that the selected type resolves to the correct object type.

Examples of org.openide.util.RequestProcessor.create()

        // This spawned process will catch the InterruptedException exception. When it does, the thread will terminate.
        QuorumRunner runner = new QuorumRunner();
        runner.project = project;
        runner.taskName = taskName;
        RequestProcessor requestProcessor = new RequestProcessor(taskName, 1, true);
        RequestProcessor.Task processTask = requestProcessor.create(runner);
        processTask.schedule(0);
    }
}

Examples of org.openinvoice.ubl4j.core.common.OrderTypeToInvoiceTypeTransformer.create()

    private void createInvoiceFromOrder() throws IOException, UBL4JException {
        InvoiceCreationOutput output = (InvoiceCreationOutput) getOutput();
        OrderTypeToInvoiceTypeTransformer orderTypeToInvoiceTypeTransformer =
                new OrderTypeToInvoiceTypeTransformer();
        CreateInvoiceBasedOnOrderInput input = (CreateInvoiceBasedOnOrderInput) getInput();
        InvoiceType generatedInvoiceType = orderTypeToInvoiceTypeTransformer.create(input.getOrderInputStream());
        output.setGeneratedInvoiceType(generatedInvoiceType);
        InvoiceTypeMarshaller.marshal(generatedInvoiceType, output.getInvoiceOutputStream(generatedInvoiceType));
        output.setInvoiceOutputURI(output.getInvoiceOutputURI());
    }

Examples of org.openjena.riot.system.ParserProfile.create()

      ParserProfile profile = RiotLib.profile(Lang.NQUADS, null, null) ;
        Tokenizer tokenizer = TokenizerFactory.makeTokenizerString(string) ;
        if ( ! tokenizer.hasNext() )
            return null ;
        Token t = tokenizer.next();
        Node n = profile.create(null, t) ;
        if ( tokenizer.hasNext() )
            Log.warn(RiotLib.class, "String has more than one token in it: "+string) ;
        return n ;
    }
   

Examples of org.openpixi.pixi.distributed.grid.DistributedGridFactory.create()

  private Grid createGrid(SharedDataManager sharedDataManager) {
    DistributedGridFactory gridFactory = new DistributedGridFactory(
        localSettings, partitions[workerID],
        cells, sharedDataManager);
    return gridFactory.create();
  }


  private ParticleBoundaries createParticleBoundaries(SharedDataManager sharedDataManager) {
    DoubleBox simulationAreaInParticleDimensions = new DoubleBox(

Examples of org.openqreg.bean.BrowserBean.create()

        BrowserBean browser = new BrowserBean();
        browser.setBrowsername(browserName);
        browser.setBrowserdisplayname(browserDisplayName);
        browser.setStatus(browserStatus);
       
        browser.create(con);
      } catch (SQLException sqle) {
        try {
          if (null != con) {
            con.rollback();
          }

Examples of org.openqreg.bean.CentreBean.create()

    try {
      con = DbHandler.getConnection();
      con.setAutoCommit(false);
      long id = Thread.currentThread().getId();
      CentreBean centre = BeanFactory.getCentre(id);
      centre.create(con);
     
      UserBean user = BeanFactory.getUser(id);
      user.setCentreid(centre.getId());
      user.create(con);
     

Examples of org.openqreg.bean.ContainerattributeBean.create()

      containerAttrBean.setId(elementId);
      containerAttrBean.setAttributename(attributeName);

      containerAttrBean.setOrdernumber(new Integer(orderNr));
      containerAttrBean.setAttributevalue(attributeValue);
      containerAttrBean.create(con);
      orderNr++;
    }
  }

  /**
 

Examples of org.openqreg.bean.ContainerintervalBean.create()

        containerIntervalBean.setValidto(Converter
            .stringToSqlDate(stop));
      }

      containerIntervalBean.setOrdernumber(new Integer(orderNr));
      containerIntervalBean.create(con);
      orderNr++;
    }
  }

  private void saveContainerServices(Connection con, Long autoId,
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.