public MicroscopeType getMicroscopeType(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Type is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getType(); }
public String getMicroscopeSerialNumber(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // SerialNumber is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getSerialNumber(); }
public String getMicroscopeModel(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getModel(); }
public String getMicroscopeModel(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getModel(); }
public String getMicroscopeLotNumber(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getLotNumber(); }
public String getMicroscopeManufacturer(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getManufacturer(); }
public String getMicroscopeSerialNumber(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // SerialNumber is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getSerialNumber(); }
public String getMicroscopeLotNumber(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getLotNumber(); }
public String getMicroscopeManufacturer(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getManufacturer(); }
public MicroscopeType getMicroscopeType(int instrumentIndex) { // Parents: {u'Instrument': {u'OME': None}} // Type is not a reference return root.getInstrument(instrumentIndex).getMicroscope().getType(); }
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); }
@Test (groups = {"11-06-i-instrument"}, dependsOnMethods = {"testOmeNode"}) public void testInstrument0() { Assert.assertNotNull(ome); instrument0 = ome.getInstrument(0); Assert.assertNotNull(instrument0); Assert.assertEquals(1, instrument0.sizeOfDetectorList()); Assert.assertEquals(1, instrument0.sizeOfDichroicList()); Assert.assertEquals(4, instrument0.sizeOfFilterList()); Assert.assertEquals(1, instrument0.sizeOfFilterSetList()); Assert.assertEquals(2, instrument0.sizeOfLightSourceList()); Assert.assertEquals(1, instrument0.sizeOfObjectiveList()); Microscope microscope0 = instrument0.getMicroscope(); Assert.assertNotNull(microscope0); Assert.assertEquals(ref.Instrument0MicroscopeManufacturer, microscope0.getManufacturer()); Assert.assertEquals(ref.Instrument0MicroscopeModel, microscope0.getModel()); Assert.assertEquals(ref.Instrument0MicroscopeSerialNumber, microscope0.getSerialNumber()); Assert.assertEquals(ref.Instrument0MicroscopeType, microscope0.getType()); }