public String getDetectorSerialNumber(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // SerialNumber is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getSerialNumber(); }
public Double getDetectorGain(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Gain is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getGain(); }
public ElectricPotential getDetectorVoltage(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Voltage is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getVoltage(); }
public Double getDetectorGain(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Gain is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getGain(); }
public Double getDetectorZoom(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Zoom is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getZoom(); }
public String getDetectorModel(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getModel(); }
public DetectorType getDetectorType(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Type is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getType(); }
public String getDetectorID(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // ID is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getID(); }
public String getDetectorLotNumber(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getLotNumber(); }
public String getDetectorModel(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getModel(); }
public Double getDetectorOffset(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Offset is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getOffset(); }
public DetectorType getDetectorType(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Type is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getType(); }
public String getDetectorManufacturer(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getManufacturer(); }
public Double getDetectorAmplificationGain(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // AmplificationGain is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getAmplificationGain(); }
public String getDetectorID(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // ID is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getID(); }
public String getDetectorManufacturer(int instrumentIndex, int detectorIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getManufacturer(); }
public String getDetectorAnnotationRef(int instrumentIndex, int detectorIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getInstrument(instrumentIndex).getDetector(detectorIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public void setDetectorAnnotationRef(String annotation, int instrumentIndex, int detectorIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once AnnotationRef annotationLinks_reference = new AnnotationRef(); annotationLinks_reference.setID(annotation); model.addReference( root.getInstrument(instrumentIndex).getDetector(detectorIndex), annotationLinks_reference); }
public void setDetectorAnnotationRef(String annotation, int instrumentIndex, int detectorIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once AnnotationRef annotationLinks_reference = new AnnotationRef(); annotationLinks_reference.setID(annotation); model.addReference( root.getInstrument(instrumentIndex).getDetector(detectorIndex), annotationLinks_reference); }
@Test(dependsOnMethods={"testValidDetectorNode"}) public void testValidDetectorAnnotation() { Annotation n = ome.getInstrument(0).getDetector(0).getLinkedAnnotation(0); assertNotNull(n); assertEquals(DETECTOR_ANNOTATION_ID, n.getID()); assertEquals(n.getNamespace(), GENERAL_ANNOTATION_NAMESPACE); assertTrue(n instanceof CommentAnnotation); CommentAnnotation string = (CommentAnnotation) n; assertEquals(DETECTOR_ANNOTATION_VALUE, string.getValue()); }