Examples of create()


Examples of testrf.shared.TestRequestFactory.UserRequest.create()

        sendButton.setEnabled(false);
        textToServerLabel.setText(textToServer);
        serverResponseLabel.setText("");

        UserRequest userContext = requests.userRequest();
        UserProxy user = userContext.create(UserProxy.class);
        user.setName(textToServer);
        userContext.save(user).fire(new Receiver<Long>() {

          @Override
          public void onSuccess(Long response) {

Examples of tiled.mapeditor.dialogs.NewMapDialog.create()

        putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke("control N"));
    }

    protected void doPerformAction() {
      NewMapDialog nmd = new NewMapDialog((JFrame)editor.getAppFrame());
        Map newMap = nmd.create();
        if (newMap != null) {
            editor.setCurrentMap(newMap);
        }
    }
}

Examples of trackerModule.core.rulestructure.Rule_Unit.create()

   *
   * @return the rule_ unit
   */
  Rule_Unit newRules(){
    Rule_Unit shipsRule = (Rule_Unit) RDB.This().get("RDBROOT.SHIP_RULE");
    return shipsRule.create(getName());
  }
 
  /**
   * New rules starting.
   *
 

Examples of ucar.nc2.NetcdfFileWriteable.create()

    String filename = "C:/data/unicode/helloNorm.nc";
    NetcdfFileWriteable ncfile = NetcdfFileWriteable.createNew(filename);
    ucar.nc2.Dimension dim = ncfile.addDimension(helloGreek, 20);
    ncfile.addVariable(helloGreek, DataType.CHAR, helloGreek);
    ncfile.addVariableAttribute(helloGreek, "units", helloGreek);
    ncfile.create();
    ArrayChar.D1 data = new ArrayChar.D1(dim.getLength());
    data.setString(helloGreek);
    ncfile.write(helloGreek, data);
    ncfile.close();

Examples of uk.ac.osswatch.simal.service.IPersonService.create()

            IPersonService service = SimalRepositoryFactory.getPersonService();
            IPerson user = service.findByUsername(usernameRequested);
            if (user == null) {
              String id = SimalRepositoryFactory.getPersonService().getNewID();
              String uri = RDFUtils.getDefaultPersonURI(id);
              IPerson person = service.create(uri);
              person.setUsername(usernameRequested);
              person.setPassword(passwordRequested);
             
              SimalSession.get().authenticate(usernameRequested, passwordRequested);
            } else {

Examples of uk.ac.osswatch.simal.service.IReviewService.create()

  }
 
  @Test
  public void setSetProject() throws DuplicateURIException, SimalException {
    IReviewService service = SimalRepositoryFactory.getReviewService();
    IReview review = service.create("http://test.org/Review");
    review.setProject(project1);
   
    IProject project = review.getProject();
    assertEquals("Incorrectly setting the project", project1.getName(), project.getName());
    review.delete();

Examples of uk.co.brunella.osgi.bdt.repository.Deployer.create()

  }

  private static boolean create(String repositoryDir, String profile) throws IOException {
    File repositoryDirectory = new File(repositoryDir);
    Deployer deployer = new Deployer(repositoryDirectory);
    deployer.create(profile);
    return true;
  }

  private static boolean list(String repositoryDir) throws IOException {
    File repositoryDirectory = new File(repositoryDir);

Examples of uk.co.o2.json.schema.SchemaPassThroughCache.SchemaCompilerFactory.create()

                return expectedSchema;
            }
        });

        SchemaCompilerFactory schemaCompilerFactoryMock = mock(SchemaCompilerFactory.class);
        when(schemaCompilerFactoryMock.create()).thenReturn(schemaCompilerMock);
        cache.setSchemaCompilerFactory(schemaCompilerFactoryMock);

        JsonSchema result = cache.getSchema(expectedLocation);

        assertSame(expectedSchema, result);

Examples of voldemort.store.routed.RoutedStoreFactory.create()

        ExecutorService routedStoreThreadPool = Executors.newFixedThreadPool(clientConfig.getMaxThreads());
        RoutedStoreFactory routedStoreFactory = new RoutedStoreFactory(routedStoreThreadPool);
        RoutedStoreConfig routedStoreConfig = new RoutedStoreConfig(clientConfig);

        final RoutedStore routedStore = routedStoreFactory.create(cluster,
                                                                  storeDefinition,
                                                                  stores,
                                                                  failureDetector,
                                                                  routedStoreConfig);

Examples of voldemort.store.socket.SocketStoreFactory.create()

                                                                        60 * 1000,
                                                                        60 * 1000,
                                                                        32 * 1024);
        RequestRoutingType requestRoutingType = RequestRoutingType.getRequestRoutingType(isRouted,
                                                                                         false);
        return storeFactory.create(storeName,
                                   host,
                                   port,
                                   RequestFormatType.PROTOCOL_BUFFERS,
                                   requestRoutingType);
    }
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.