public void setMicroscopeType(MicroscopeType type, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Type is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setType(type); }
public void setMicroscopeLotNumber(String lotNumber, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setLotNumber(lotNumber); }
public void setMicroscopeModel(String model, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setModel(model); }
public void setMicroscopeLotNumber(String lotNumber, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setLotNumber(lotNumber); }
public void setMicroscopeModel(String model, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setModel(model); }
public void setMicroscopeType(MicroscopeType type, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Type is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setType(type); }
public void setMicroscopeManufacturer(String manufacturer, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setManufacturer(manufacturer); }
public void setMicroscopeManufacturer(String manufacturer, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setManufacturer(manufacturer); }
public void setMicroscopeSerialNumber(String serialNumber, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // SerialNumber is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setSerialNumber(serialNumber); }
public void setMicroscopeSerialNumber(String serialNumber, int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // SerialNumber is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.getMicroscope() == null) { o1.setMicroscope(new Microscope()); } Microscope o2 = o1.getMicroscope(); o2.setSerialNumber(serialNumber); }
setMicroscope(new Microscope( (Element) Microscope_nodeList.get(0), model));
setMicroscope(new Microscope( (Element) Microscope_nodeList.get(0), model));
Instrument instrument = new Instrument(); instrument.setID("Instrument:"+index); instrument.setMicroscope(createMicroscope()); if (populate) { for (int i = 0; i < NUMBER_OF_OBJECTIVES; i++) {