public void setDetectorManufacturer(String manufacturer, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setManufacturer(manufacturer); }
public void setDetectorManufacturer(String manufacturer, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setManufacturer(manufacturer); }
public void setDetectorType(DetectorType type, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setType(type); }
public void setDetectorGain(Double gain, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Gain is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setGain(gain); }
public void setDetectorSerialNumber(String serialNumber, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setSerialNumber(serialNumber); }
public void setDetectorVoltage(ElectricPotential voltage, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Voltage is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setVoltage(voltage); }
public void setDetectorAmplificationGain(Double amplificationGain, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // AmplificationGain is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setAmplificationGain(amplificationGain); }
public void setDetectorZoom(Double zoom, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Zoom is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setZoom(zoom); }
public void setDetectorGain(Double gain, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Gain is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setGain(gain); }
public void setDetectorOffset(Double offset, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Offset is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setOffset(offset); }
public void setDetectorType(DetectorType type, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setType(type); }
public void setDetectorLotNumber(String lotNumber, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setLotNumber(lotNumber); }
public void setDetectorModel(String model, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setModel(model); }
public void setDetectorSerialNumber(String serialNumber, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setSerialNumber(serialNumber); }
public void setDetectorAmplificationGain(Double amplificationGain, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // AmplificationGain is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setAmplificationGain(amplificationGain); }
public void setDetectorLotNumber(String lotNumber, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setLotNumber(lotNumber); }
public void setDetectorModel(String model, int instrumentIndex, int detectorIndex) { // 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.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setModel(model); }
public void setDetectorOffset(Double offset, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Offset is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); o2.setOffset(offset); }
public void setDetectorID(String id, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // ID is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); model.addModelObject(id, o2); o2.setID(id); }
public void setDetectorID(String id, int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // ID is not a reference OME o0 = root; if (o0.sizeOfInstrumentList() == instrumentIndex) { o0.addInstrument(new Instrument()); } Instrument o1 = o0.getInstrument(instrumentIndex); if (o1.sizeOfDetectorList() == detectorIndex) { o1.addDetector(new Detector()); } Detector o2 = o1.getDetector(detectorIndex); model.addModelObject(id, o2); o2.setID(id); }