Package org.mcisb.beacon.experiment

Examples of org.mcisb.beacon.experiment.ExperimentalDetails


        int numberOfDishes = nodeUtils.getIntegerFieldValue( node, "numberOfDishes"); //$NON-NLS-1$
        if (numberOfDishes==0) {
          numberOfDishes=1;
        }
        ExperimentDetailsFactory expFactory = new ExperimentDetailsFactory(file);
        ExperimentalDetails expDetails = expFactory.getExperimentalDetails();
        final RecordModel experimentalDetails = node.getRecordModel();
        final RecordNameProvider targetRecordNameProvider = node.getRecordNameProvider();
        experimentalDetails.setValue("equipment_file_name", expDetails.getFileName(), false); //$NON-NLS-1$
       
        // First let's set the number of dishes...
        experimentalDetails.setValue("numberOfDishes", Integer.toString(numberOfDishes), false); //$NON-NLS-1$
       
        //And get the dishes...
       
        ArrayList dishes = expDetails.getDishes();
       
        for (int i =0; i<dishes.size(); i++) {
          //We need a record model for this dish.
          RecordModel dishNode = recordModelFactory.createRecordModel("Dish"); //$NON-NLS-1$
          Dish currentDish = (Dish)dishes.get(i);
View Full Code Here

TOP

Related Classes of org.mcisb.beacon.experiment.ExperimentalDetails

Copyright © 2018 www.massapicom. 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.