public Immersion getObjectiveImmersion(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Immersion is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getImmersion(); }
public Boolean getObjectiveIris(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Iris is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getIris(); }
public Length getObjectiveWorkingDistance(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // WorkingDistance is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getWorkingDistance(); }
public Boolean getObjectiveIris(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Iris is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getIris(); }
public Double getObjectiveNominalMagnification(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // NominalMagnification is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getNominalMagnification(); }
public Double getObjectiveCalibratedMagnification(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // CalibratedMagnification is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getCalibratedMagnification(); }
public Correction getObjectiveCorrection(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Correction is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getCorrection(); }
public String getObjectiveModel(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getModel(); }
public int getObjectiveAnnotationRefCount(int instrumentIndex, int objectiveIndex) { // Parents: {u'LightSource': {u'Instrument': {u'OME': None}}, u'Instrument': {u'OME': None}, u'Objective': {u'Instrument': {u'OME': None}}, u'Folder': {u'OME': None}, u'Detector': {u'Instrument': {u'OME': None}}, u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}, u'Plate': {u'OME': None}, u'ExperimenterGroup': {u'OME': None}, u'Screen': {u'OME': None}, u'Reagent': {u'Screen': {u'OME': None}}, u'Plane': {u'Pixels': {u'Image': {u'OME': None}}}, u'Experimenter': {u'OME': None}, u'Annotation': None, u'Dichroic': {u'Instrument': {u'OME': None}}, u'Well': {u'Plate': {u'OME': None}}, u'Filter': {u'Instrument': {u'OME': None}}, u'PlateAcquisition': {u'Plate': {u'OME': None}}, u'ROI': {u'OME': None}, u'Project': {u'OME': None}, u'LightPath': {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}}, u'Image': {u'OME': None}, u'Dataset': {u'OME': None}, u'Shape': {u'Union': {u'ROI': {u'OME': None}}}} // AnnotationRef is a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).sizeOfLinkedAnnotationList(); }
public String getObjectiveLotNumber(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getLotNumber(); }
public String getObjectiveManufacturer(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getManufacturer(); }
public String getObjectiveModel(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getModel(); }
public int getObjectiveAnnotationRefCount(int instrumentIndex, int objectiveIndex) { // Parents: {u'LightSource': {u'Instrument': {u'OME': None}}, u'Instrument': {u'OME': None}, u'Objective': {u'Instrument': {u'OME': None}}, u'Folder': {u'OME': None}, u'Detector': {u'Instrument': {u'OME': None}}, u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}, u'Plate': {u'OME': None}, u'ExperimenterGroup': {u'OME': None}, u'Screen': {u'OME': None}, u'Reagent': {u'Screen': {u'OME': None}}, u'Plane': {u'Pixels': {u'Image': {u'OME': None}}}, u'Experimenter': {u'OME': None}, u'Annotation': None, u'Dichroic': {u'Instrument': {u'OME': None}}, u'Well': {u'Plate': {u'OME': None}}, u'Filter': {u'Instrument': {u'OME': None}}, u'PlateAcquisition': {u'Plate': {u'OME': None}}, u'ROI': {u'OME': None}, u'Project': {u'OME': None}, u'LightPath': {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}}, u'Image': {u'OME': None}, u'Dataset': {u'OME': None}, u'Shape': {u'Union': {u'ROI': {u'OME': None}}}} // AnnotationRef is a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).sizeOfLinkedAnnotationList(); }
public String getObjectiveLotNumber(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getLotNumber(); }
public String getObjectiveID(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // ID is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getID(); }
public String getObjectiveManufacturer(int instrumentIndex, int objectiveIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getManufacturer(); }
public String getObjectiveAnnotationRef(int instrumentIndex, int objectiveIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public void setObjectiveAnnotationRef(String annotation, int instrumentIndex, int objectiveIndex, 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).getObjective(objectiveIndex), annotationLinks_reference); }
@Test(dependsOnMethods={"testValidInstrumentNode"}) public void testValidObjectiveNode() { Objective objective = ome.getInstrument(0).getObjective(0); assertNotNull(objective); assertEquals(OBJECTIVE_ID, objective.getID()); assertEquals(OBJECTIVE_MODEL, objective.getModel()); }
@Test(dependsOnMethods={"testValidObjectiveNode"}) public void testValidObjectiveAnnotation() { Annotation n = ome.getInstrument(0).getObjective(0).getLinkedAnnotation(0); assertNotNull(n); assertEquals(OBJECTIVE_ANNOTATION_ID, n.getID()); assertEquals(n.getNamespace(), GENERAL_ANNOTATION_NAMESPACE); assertTrue(n instanceof CommentAnnotation); CommentAnnotation string = (CommentAnnotation) n; assertEquals(OBJECTIVE_ANNOTATION_VALUE, string.getValue()); }