Changeset 6459


Ignore:
Timestamp:
06/03/10 13:00:02 (9 years ago)
Author:
melissa
Message:

Synced up export/MetadataConverter fixes between trunk and 4.2. OME-TIFF export and re-import should be working again.

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/components/autogen/src/MetadataAutogen.java

    r6266 r6459  
    200200        for (int k=1; k<j+indent; k++) spaces.append("  "); 
    201201        out.println(spaces + "}"); 
     202        out.println(spaces + "} catch (NullPointerException e) { }"); 
    202203      } 
    203204 
     
    209210        String iVar = q.var(index + "Index"); 
    210211        String countVar = iVar.replaceFirst("Index$", "Count"); 
     212        out.println(spaces + "try {"); 
    211213        out.println(spaces + "int " + countVar + " = " + 
    212214          "src.get" + index + "Count" + "(" + 
     
    225227        String type = q.defaultType(); 
    226228        String var = q.var(methodName) + "Value"; 
     229        out.println(spaces + "try {"); 
    227230        out.println(spaces + "  " + type + " " + var + " = " + 
    228231          "src.get" + methodName + "(" + iList + ");"); 
    229232        out.println(spaces + "  if (" + var + " != null) " + 
    230233          "dest.set" + methodName + "(" + var + ", " + iList + ");"); 
     234        out.println(spaces + "} catch (NullPointerException e) { }"); 
    231235      } 
    232236    } 
     
    238242      for (int k=1; k<j+indent; k++) spaces.append("  "); 
    239243      out.println(spaces + "}"); 
     244      out.println(spaces + "} catch (NullPointerException e) { }"); 
    240245    } 
    241246 
  • branches/4.2/components/bio-formats/src/loci/formats/in/OMETiffReader.java

    r6415 r6459  
    265265 
    266266    String currentUUID = meta.getUUID(); 
    267     service.convertMetadata(meta, metadataStore); 
     267    if (service.isOMEXMLMetadata(metadataStore)) { 
     268      metadataStore = meta; 
     269    } 
     270    else service.convertMetadata(meta, metadataStore); 
    268271 
    269272    // determine series count from Image and Pixels elements 
  • branches/4.2/components/bio-formats/src/loci/formats/meta/MetadataConverter.java

    r6457 r6459  
    2525 * 
    2626 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    27  * Created by melissa via MetadataAutogen on May 4, 2010 5:36:22 PM CDT 
     27 * Created by melissa via MetadataAutogen on Jun 3, 2010 12:36:59 PM CDT 
    2828 * 
    2929 *----------------------------------------------------------------------------- 
     
    6464   */ 
    6565  public static void convertMetadata(MetadataRetrieve src, MetadataStore dest) { 
    66     // TODO 
     66    try { 
     67    int booleanAnnotationCount = src.getBooleanAnnotationCount(); 
     68    for (int booleanAnnotationIndex=0; booleanAnnotationIndex<booleanAnnotationCount; booleanAnnotationIndex++) { 
     69    try { 
     70      String booleanAnnotationIDValue = src.getBooleanAnnotationID(booleanAnnotationIndex); 
     71      if (booleanAnnotationIDValue != null) dest.setBooleanAnnotationID(booleanAnnotationIDValue, booleanAnnotationIndex); 
     72    } catch (NullPointerException e) { } 
     73    try { 
     74      String booleanAnnotationNamespaceValue = src.getBooleanAnnotationNamespace(booleanAnnotationIndex); 
     75      if (booleanAnnotationNamespaceValue != null) dest.setBooleanAnnotationNamespace(booleanAnnotationNamespaceValue, booleanAnnotationIndex); 
     76    } catch (NullPointerException e) { } 
     77    try { 
     78      Boolean booleanAnnotationValueValue = src.getBooleanAnnotationValue(booleanAnnotationIndex); 
     79      if (booleanAnnotationValueValue != null) dest.setBooleanAnnotationValue(booleanAnnotationValueValue, booleanAnnotationIndex); 
     80    } catch (NullPointerException e) { } 
     81    } 
     82    } catch (NullPointerException e) { } 
     83    try { 
     84    int datasetCount = src.getDatasetCount(); 
     85    for (int datasetIndex=0; datasetIndex<datasetCount; datasetIndex++) { 
     86    try { 
     87      //String datasetAnnotationRefValue = src.getDatasetAnnotationRef(datasetIndex, annotationRefIndex); 
     88      //if (datasetAnnotationRefValue != null) dest.setDatasetAnnotationRef(datasetAnnotationRefValue, datasetIndex, annotationRefIndex); 
     89    } catch (NullPointerException e) { } 
     90    try { 
     91      String datasetDescriptionValue = src.getDatasetDescription(datasetIndex); 
     92      if (datasetDescriptionValue != null) dest.setDatasetDescription(datasetDescriptionValue, datasetIndex); 
     93    } catch (NullPointerException e) { } 
     94    try { 
     95      String datasetExperimenterRefValue = src.getDatasetExperimenterRef(datasetIndex); 
     96      if (datasetExperimenterRefValue != null) dest.setDatasetExperimenterRef(datasetExperimenterRefValue, datasetIndex); 
     97    } catch (NullPointerException e) { } 
     98    try { 
     99      String datasetGroupRefValue = src.getDatasetGroupRef(datasetIndex); 
     100      if (datasetGroupRefValue != null) dest.setDatasetGroupRef(datasetGroupRefValue, datasetIndex); 
     101    } catch (NullPointerException e) { } 
     102    try { 
     103      String datasetIDValue = src.getDatasetID(datasetIndex); 
     104      if (datasetIDValue != null) dest.setDatasetID(datasetIDValue, datasetIndex); 
     105    } catch (NullPointerException e) { } 
     106    try { 
     107      String datasetNameValue = src.getDatasetName(datasetIndex); 
     108      if (datasetNameValue != null) dest.setDatasetName(datasetNameValue, datasetIndex); 
     109    } catch (NullPointerException e) { } 
     110    try { 
     111      //String datasetProjectRefValue = src.getDatasetProjectRef(datasetIndex, projectRefIndex); 
     112      //if (datasetProjectRefValue != null) dest.setDatasetProjectRef(datasetProjectRefValue, datasetIndex, projectRefIndex); 
     113    } catch (NullPointerException e) { } 
     114      try { 
     115      //int annotationRefCount = src.getAnnotationRefCount(datasetIndex); 
     116      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     117      //} 
     118      } catch (NullPointerException e) { } 
     119      try { 
     120      int projectRefCount = src.getProjectRefCount(datasetIndex); 
     121      for (int projectRefIndex=0; projectRefIndex<projectRefCount; projectRefIndex++) { 
     122      } 
     123      } catch (NullPointerException e) { } 
     124    } 
     125    } catch (NullPointerException e) { } 
     126    try { 
     127    int doubleAnnotationCount = src.getDoubleAnnotationCount(); 
     128    for (int doubleAnnotationIndex=0; doubleAnnotationIndex<doubleAnnotationCount; doubleAnnotationIndex++) { 
     129    try { 
     130      String doubleAnnotationIDValue = src.getDoubleAnnotationID(doubleAnnotationIndex); 
     131      if (doubleAnnotationIDValue != null) dest.setDoubleAnnotationID(doubleAnnotationIDValue, doubleAnnotationIndex); 
     132    } catch (NullPointerException e) { } 
     133    try { 
     134      String doubleAnnotationNamespaceValue = src.getDoubleAnnotationNamespace(doubleAnnotationIndex); 
     135      if (doubleAnnotationNamespaceValue != null) dest.setDoubleAnnotationNamespace(doubleAnnotationNamespaceValue, doubleAnnotationIndex); 
     136    } catch (NullPointerException e) { } 
     137    try { 
     138      Double doubleAnnotationValueValue = src.getDoubleAnnotationValue(doubleAnnotationIndex); 
     139      if (doubleAnnotationValueValue != null) dest.setDoubleAnnotationValue(doubleAnnotationValueValue, doubleAnnotationIndex); 
     140    } catch (NullPointerException e) { } 
     141    } 
     142    } catch (NullPointerException e) { } 
     143    try { 
     144    int experimentCount = src.getExperimentCount(); 
     145    for (int experimentIndex=0; experimentIndex<experimentCount; experimentIndex++) { 
     146    try { 
     147      String experimentDescriptionValue = src.getExperimentDescription(experimentIndex); 
     148      if (experimentDescriptionValue != null) dest.setExperimentDescription(experimentDescriptionValue, experimentIndex); 
     149    } catch (NullPointerException e) { } 
     150    try { 
     151      String experimentExperimenterRefValue = src.getExperimentExperimenterRef(experimentIndex); 
     152      if (experimentExperimenterRefValue != null) dest.setExperimentExperimenterRef(experimentExperimenterRefValue, experimentIndex); 
     153    } catch (NullPointerException e) { } 
     154    try { 
     155      String experimentIDValue = src.getExperimentID(experimentIndex); 
     156      if (experimentIDValue != null) dest.setExperimentID(experimentIDValue, experimentIndex); 
     157    } catch (NullPointerException e) { } 
     158    try { 
     159      ExperimentType experimentTypeValue = src.getExperimentType(experimentIndex); 
     160      if (experimentTypeValue != null) dest.setExperimentType(experimentTypeValue, experimentIndex); 
     161    } catch (NullPointerException e) { } 
     162      try { 
     163      int microbeamManipulationCount = src.getMicrobeamManipulationCount(experimentIndex); 
     164      for (int microbeamManipulationIndex=0; microbeamManipulationIndex<microbeamManipulationCount; microbeamManipulationIndex++) { 
     165      try { 
     166        String microbeamManipulationExperimenterRefValue = src.getMicrobeamManipulationExperimenterRef(experimentIndex, microbeamManipulationIndex); 
     167        if (microbeamManipulationExperimenterRefValue != null) dest.setMicrobeamManipulationExperimenterRef(microbeamManipulationExperimenterRefValue, experimentIndex, microbeamManipulationIndex); 
     168      } catch (NullPointerException e) { } 
     169      try { 
     170        String microbeamManipulationIDValue = src.getMicrobeamManipulationID(experimentIndex, microbeamManipulationIndex); 
     171        if (microbeamManipulationIDValue != null) dest.setMicrobeamManipulationID(microbeamManipulationIDValue, experimentIndex, microbeamManipulationIndex); 
     172      } catch (NullPointerException e) { } 
     173      try { 
     174        //String microbeamManipulationROIRefValue = src.getMicrobeamManipulationROIRef(experimentIndex, microbeamManipulationIndex, roiRefIndex); 
     175        //if (microbeamManipulationROIRefValue != null) dest.setMicrobeamManipulationROIRef(microbeamManipulationROIRefValue, experimentIndex, microbeamManipulationIndex, roiRefIndex); 
     176      } catch (NullPointerException e) { } 
     177      try { 
     178        MicrobeamManipulationType microbeamManipulationTypeValue = src.getMicrobeamManipulationType(experimentIndex, microbeamManipulationIndex); 
     179        if (microbeamManipulationTypeValue != null) dest.setMicrobeamManipulationType(microbeamManipulationTypeValue, experimentIndex, microbeamManipulationIndex); 
     180      } catch (NullPointerException e) { } 
     181        try { 
     182        /* 
     183        int lightSourceSettingsCount = src.getLightSourceSettingsCount(experimentIndex, microbeamManipulationIndex); 
     184        for (int lightSourceSettingsIndex=0; lightSourceSettingsIndex<lightSourceSettingsCount; lightSourceSettingsIndex++) { 
     185        try { 
     186          PercentFraction microbeamManipulationLightSourceSettingsAttenuationValue = src.getMicrobeamManipulationLightSourceSettingsAttenuation(experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     187          if (microbeamManipulationLightSourceSettingsAttenuationValue != null) dest.setMicrobeamManipulationLightSourceSettingsAttenuation(microbeamManipulationLightSourceSettingsAttenuationValue, experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     188        } catch (NullPointerException e) { } 
     189        try { 
     190          String microbeamManipulationLightSourceSettingsIDValue = src.getMicrobeamManipulationLightSourceSettingsID(experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     191          if (microbeamManipulationLightSourceSettingsIDValue != null) dest.setMicrobeamManipulationLightSourceSettingsID(microbeamManipulationLightSourceSettingsIDValue, experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     192        } catch (NullPointerException e) { } 
     193        try { 
     194          PositiveInteger microbeamManipulationLightSourceSettingsWavelengthValue = src.getMicrobeamManipulationLightSourceSettingsWavelength(experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     195          if (microbeamManipulationLightSourceSettingsWavelengthValue != null) dest.setMicrobeamManipulationLightSourceSettingsWavelength(microbeamManipulationLightSourceSettingsWavelengthValue, experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     196        } catch (NullPointerException e) { } 
     197        } 
     198        */ 
     199        } catch (NullPointerException e) { } 
     200        try { 
     201        //int roiRefCount = src.getROIRefCount(experimentIndex, microbeamManipulationIndex); 
     202        //for (int roiRefIndex=0; roiRefIndex<roiRefCount; roiRefIndex++) { 
     203        //} 
     204        } catch (NullPointerException e) { } 
     205      } 
     206      } catch (NullPointerException e) { } 
     207    } 
     208    } catch (NullPointerException e) { } 
     209    try { 
     210    int experimenterCount = src.getExperimenterCount(); 
     211    for (int experimenterIndex=0; experimenterIndex<experimenterCount; experimenterIndex++) { 
     212    try { 
     213      //String experimenterAnnotationRefValue = src.getExperimenterAnnotationRef(experimenterIndex, annotationRefIndex); 
     214      //if (experimenterAnnotationRefValue != null) dest.setExperimenterAnnotationRef(experimenterAnnotationRefValue, experimenterIndex, annotationRefIndex); 
     215    } catch (NullPointerException e) { } 
     216    try { 
     217      String experimenterDisplayNameValue = src.getExperimenterDisplayName(experimenterIndex); 
     218      if (experimenterDisplayNameValue != null) dest.setExperimenterDisplayName(experimenterDisplayNameValue, experimenterIndex); 
     219    } catch (NullPointerException e) { } 
     220    try { 
     221      String experimenterEmailValue = src.getExperimenterEmail(experimenterIndex); 
     222      if (experimenterEmailValue != null) dest.setExperimenterEmail(experimenterEmailValue, experimenterIndex); 
     223    } catch (NullPointerException e) { } 
     224    try { 
     225      String experimenterFirstNameValue = src.getExperimenterFirstName(experimenterIndex); 
     226      if (experimenterFirstNameValue != null) dest.setExperimenterFirstName(experimenterFirstNameValue, experimenterIndex); 
     227    } catch (NullPointerException e) { } 
     228    try { 
     229      //String experimenterGroupRefValue = src.getExperimenterGroupRef(experimenterIndex, groupRefIndex); 
     230      //if (experimenterGroupRefValue != null) dest.setExperimenterGroupRef(experimenterGroupRefValue, experimenterIndex, groupRefIndex); 
     231    } catch (NullPointerException e) { } 
     232    try { 
     233      String experimenterIDValue = src.getExperimenterID(experimenterIndex); 
     234      if (experimenterIDValue != null) dest.setExperimenterID(experimenterIDValue, experimenterIndex); 
     235    } catch (NullPointerException e) { } 
     236    try { 
     237      String experimenterInstitutionValue = src.getExperimenterInstitution(experimenterIndex); 
     238      if (experimenterInstitutionValue != null) dest.setExperimenterInstitution(experimenterInstitutionValue, experimenterIndex); 
     239    } catch (NullPointerException e) { } 
     240    try { 
     241      String experimenterLastNameValue = src.getExperimenterLastName(experimenterIndex); 
     242      if (experimenterLastNameValue != null) dest.setExperimenterLastName(experimenterLastNameValue, experimenterIndex); 
     243    } catch (NullPointerException e) { } 
     244    try { 
     245      String experimenterMiddleNameValue = src.getExperimenterMiddleName(experimenterIndex); 
     246      if (experimenterMiddleNameValue != null) dest.setExperimenterMiddleName(experimenterMiddleNameValue, experimenterIndex); 
     247    } catch (NullPointerException e) { } 
     248    try { 
     249      String experimenterUserNameValue = src.getExperimenterUserName(experimenterIndex); 
     250      if (experimenterUserNameValue != null) dest.setExperimenterUserName(experimenterUserNameValue, experimenterIndex); 
     251    } catch (NullPointerException e) { } 
     252      try { 
     253      //int annotationRefCount = src.getAnnotationRefCount(experimenterIndex); 
     254      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     255      //} 
     256      } catch (NullPointerException e) { } 
     257      try { 
     258      //int groupRefCount = src.getGroupRefCount(experimenterIndex); 
     259      //for (int groupRefIndex=0; groupRefIndex<groupRefCount; groupRefIndex++) { 
     260      //} 
     261      } catch (NullPointerException e) { } 
     262    } 
     263    } catch (NullPointerException e) { } 
     264    try { 
     265    int fileAnnotationCount = src.getFileAnnotationCount(); 
     266    for (int fileAnnotationIndex=0; fileAnnotationIndex<fileAnnotationCount; fileAnnotationIndex++) { 
     267    try { 
     268      String fileAnnotationBinaryFileFileNameValue = src.getFileAnnotationBinaryFileFileName(fileAnnotationIndex); 
     269      if (fileAnnotationBinaryFileFileNameValue != null) dest.setFileAnnotationBinaryFileFileName(fileAnnotationBinaryFileFileNameValue, fileAnnotationIndex); 
     270    } catch (NullPointerException e) { } 
     271    try { 
     272      String fileAnnotationBinaryFileMIMETypeValue = src.getFileAnnotationBinaryFileMIMEType(fileAnnotationIndex); 
     273      if (fileAnnotationBinaryFileMIMETypeValue != null) dest.setFileAnnotationBinaryFileMIMEType(fileAnnotationBinaryFileMIMETypeValue, fileAnnotationIndex); 
     274    } catch (NullPointerException e) { } 
     275    try { 
     276      Integer fileAnnotationBinaryFileSizeValue = src.getFileAnnotationBinaryFileSize(fileAnnotationIndex); 
     277      if (fileAnnotationBinaryFileSizeValue != null) dest.setFileAnnotationBinaryFileSize(fileAnnotationBinaryFileSizeValue, fileAnnotationIndex); 
     278    } catch (NullPointerException e) { } 
     279    try { 
     280      String fileAnnotationIDValue = src.getFileAnnotationID(fileAnnotationIndex); 
     281      if (fileAnnotationIDValue != null) dest.setFileAnnotationID(fileAnnotationIDValue, fileAnnotationIndex); 
     282    } catch (NullPointerException e) { } 
     283    try { 
     284      String fileAnnotationNamespaceValue = src.getFileAnnotationNamespace(fileAnnotationIndex); 
     285      if (fileAnnotationNamespaceValue != null) dest.setFileAnnotationNamespace(fileAnnotationNamespaceValue, fileAnnotationIndex); 
     286    } catch (NullPointerException e) { } 
     287    } 
     288    } catch (NullPointerException e) { } 
     289    try { 
     290    int groupCount = src.getGroupCount(); 
     291    for (int groupIndex=0; groupIndex<groupCount; groupIndex++) { 
     292    try { 
     293      String groupContactValue = src.getGroupContact(groupIndex); 
     294      if (groupContactValue != null) dest.setGroupContact(groupContactValue, groupIndex); 
     295    } catch (NullPointerException e) { } 
     296    try { 
     297      String groupDescriptionValue = src.getGroupDescription(groupIndex); 
     298      if (groupDescriptionValue != null) dest.setGroupDescription(groupDescriptionValue, groupIndex); 
     299    } catch (NullPointerException e) { } 
     300    try { 
     301      String groupIDValue = src.getGroupID(groupIndex); 
     302      if (groupIDValue != null) dest.setGroupID(groupIDValue, groupIndex); 
     303    } catch (NullPointerException e) { } 
     304    try { 
     305      String groupLeaderValue = src.getGroupLeader(groupIndex); 
     306      if (groupLeaderValue != null) dest.setGroupLeader(groupLeaderValue, groupIndex); 
     307    } catch (NullPointerException e) { } 
     308    try { 
     309      String groupNameValue = src.getGroupName(groupIndex); 
     310      if (groupNameValue != null) dest.setGroupName(groupNameValue, groupIndex); 
     311    } catch (NullPointerException e) { } 
     312    } 
     313    } catch (NullPointerException e) { } 
     314    try { 
     315    int imageCount = src.getImageCount(); 
     316    for (int imageIndex=0; imageIndex<imageCount; imageIndex++) { 
     317    try { 
     318      String imageAcquiredDateValue = src.getImageAcquiredDate(imageIndex); 
     319      if (imageAcquiredDateValue != null) dest.setImageAcquiredDate(imageAcquiredDateValue, imageIndex); 
     320    } catch (NullPointerException e) { } 
     321    try { 
     322      //String imageAnnotationRefValue = src.getImageAnnotationRef(imageIndex, annotationRefIndex); 
     323      //if (imageAnnotationRefValue != null) dest.setImageAnnotationRef(imageAnnotationRefValue, imageIndex, annotationRefIndex); 
     324    } catch (NullPointerException e) { } 
     325    try { 
     326      //String imageDatasetRefValue = src.getImageDatasetRef(imageIndex, datasetRefIndex); 
     327      //if (imageDatasetRefValue != null) dest.setImageDatasetRef(imageDatasetRefValue, imageIndex, datasetRefIndex); 
     328    } catch (NullPointerException e) { } 
     329    try { 
     330      String imageDescriptionValue = src.getImageDescription(imageIndex); 
     331      if (imageDescriptionValue != null) dest.setImageDescription(imageDescriptionValue, imageIndex); 
     332    } catch (NullPointerException e) { } 
     333    try { 
     334      String imageExperimentRefValue = src.getImageExperimentRef(imageIndex); 
     335      if (imageExperimentRefValue != null) dest.setImageExperimentRef(imageExperimentRefValue, imageIndex); 
     336    } catch (NullPointerException e) { } 
     337    try { 
     338      String imageExperimenterRefValue = src.getImageExperimenterRef(imageIndex); 
     339      if (imageExperimenterRefValue != null) dest.setImageExperimenterRef(imageExperimenterRefValue, imageIndex); 
     340    } catch (NullPointerException e) { } 
     341    try { 
     342      String imageGroupRefValue = src.getImageGroupRef(imageIndex); 
     343      if (imageGroupRefValue != null) dest.setImageGroupRef(imageGroupRefValue, imageIndex); 
     344    } catch (NullPointerException e) { } 
     345    try { 
     346      String imageIDValue = src.getImageID(imageIndex); 
     347      if (imageIDValue != null) dest.setImageID(imageIDValue, imageIndex); 
     348    } catch (NullPointerException e) { } 
     349    try { 
     350      String imageInstrumentRefValue = src.getImageInstrumentRef(imageIndex); 
     351      if (imageInstrumentRefValue != null) dest.setImageInstrumentRef(imageInstrumentRefValue, imageIndex); 
     352    } catch (NullPointerException e) { } 
     353    try { 
     354      //String imageMicrobeamManipulationRefValue = src.getImageMicrobeamManipulationRef(imageIndex, microbeamManipulationRefIndex); 
     355      //if (imageMicrobeamManipulationRefValue != null) dest.setImageMicrobeamManipulationRef(imageMicrobeamManipulationRefValue, imageIndex, microbeamManipulationRefIndex); 
     356    } catch (NullPointerException e) { } 
     357    try { 
     358      String imageNameValue = src.getImageName(imageIndex); 
     359      if (imageNameValue != null) dest.setImageName(imageNameValue, imageIndex); 
     360    } catch (NullPointerException e) { } 
     361    try { 
     362      Double imageObjectiveSettingsCorrectionCollarValue = src.getImageObjectiveSettingsCorrectionCollar(imageIndex); 
     363      if (imageObjectiveSettingsCorrectionCollarValue != null) dest.setImageObjectiveSettingsCorrectionCollar(imageObjectiveSettingsCorrectionCollarValue, imageIndex); 
     364    } catch (NullPointerException e) { } 
     365    try { 
     366      String imageObjectiveSettingsIDValue = src.getImageObjectiveSettingsID(imageIndex); 
     367      if (imageObjectiveSettingsIDValue != null) dest.setImageObjectiveSettingsID(imageObjectiveSettingsIDValue, imageIndex); 
     368    } catch (NullPointerException e) { } 
     369    try { 
     370      Medium imageObjectiveSettingsMediumValue = src.getImageObjectiveSettingsMedium(imageIndex); 
     371      if (imageObjectiveSettingsMediumValue != null) dest.setImageObjectiveSettingsMedium(imageObjectiveSettingsMediumValue, imageIndex); 
     372    } catch (NullPointerException e) { } 
     373    try { 
     374      Double imageObjectiveSettingsRefractiveIndexValue = src.getImageObjectiveSettingsRefractiveIndex(imageIndex); 
     375      if (imageObjectiveSettingsRefractiveIndexValue != null) dest.setImageObjectiveSettingsRefractiveIndex(imageObjectiveSettingsRefractiveIndexValue, imageIndex); 
     376    } catch (NullPointerException e) { } 
     377    try { 
     378      //String imageROIRefValue = src.getImageROIRef(imageIndex, roiRefIndex); 
     379      //if (imageROIRefValue != null) dest.setImageROIRef(imageROIRefValue, imageIndex, roiRefIndex); 
     380    } catch (NullPointerException e) { } 
     381      try { 
     382      //int annotationRefCount = src.getAnnotationRefCount(imageIndex); 
     383      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     384      //} 
     385      } catch (NullPointerException e) { } 
     386      try { 
     387      int channelCount = src.getChannelCount(imageIndex); 
     388      for (int channelIndex=0; channelIndex<channelCount; channelIndex++) { 
     389      try { 
     390        AcquisitionMode channelAcquisitionModeValue = src.getChannelAcquisitionMode(imageIndex, channelIndex); 
     391        if (channelAcquisitionModeValue != null) dest.setChannelAcquisitionMode(channelAcquisitionModeValue, imageIndex, channelIndex); 
     392      } catch (NullPointerException e) { } 
     393      try { 
     394        //String channelAnnotationRefValue = src.getChannelAnnotationRef(imageIndex, channelIndex, annotationRefIndex); 
     395        //if (channelAnnotationRefValue != null) dest.setChannelAnnotationRef(channelAnnotationRefValue, imageIndex, channelIndex, annotationRefIndex); 
     396      } catch (NullPointerException e) { } 
     397      try { 
     398        Integer channelColorValue = src.getChannelColor(imageIndex, channelIndex); 
     399        if (channelColorValue != null) dest.setChannelColor(channelColorValue, imageIndex, channelIndex); 
     400      } catch (NullPointerException e) { } 
     401      try { 
     402        ContrastMethod channelContrastMethodValue = src.getChannelContrastMethod(imageIndex, channelIndex); 
     403        if (channelContrastMethodValue != null) dest.setChannelContrastMethod(channelContrastMethodValue, imageIndex, channelIndex); 
     404      } catch (NullPointerException e) { } 
     405      try { 
     406        PositiveInteger channelEmissionWavelengthValue = src.getChannelEmissionWavelength(imageIndex, channelIndex); 
     407        if (channelEmissionWavelengthValue != null) dest.setChannelEmissionWavelength(channelEmissionWavelengthValue, imageIndex, channelIndex); 
     408      } catch (NullPointerException e) { } 
     409      try { 
     410        PositiveInteger channelExcitationWavelengthValue = src.getChannelExcitationWavelength(imageIndex, channelIndex); 
     411        if (channelExcitationWavelengthValue != null) dest.setChannelExcitationWavelength(channelExcitationWavelengthValue, imageIndex, channelIndex); 
     412      } catch (NullPointerException e) { } 
     413      try { 
     414        String channelFilterSetRefValue = src.getChannelFilterSetRef(imageIndex, channelIndex); 
     415        if (channelFilterSetRefValue != null) dest.setChannelFilterSetRef(channelFilterSetRefValue, imageIndex, channelIndex); 
     416      } catch (NullPointerException e) { } 
     417      try { 
     418        String channelFluorValue = src.getChannelFluor(imageIndex, channelIndex); 
     419        if (channelFluorValue != null) dest.setChannelFluor(channelFluorValue, imageIndex, channelIndex); 
     420      } catch (NullPointerException e) { } 
     421      try { 
     422        String channelIDValue = src.getChannelID(imageIndex, channelIndex); 
     423        if (channelIDValue != null) dest.setChannelID(channelIDValue, imageIndex, channelIndex); 
     424      } catch (NullPointerException e) { } 
     425      try { 
     426        IlluminationType channelIlluminationTypeValue = src.getChannelIlluminationType(imageIndex, channelIndex); 
     427        if (channelIlluminationTypeValue != null) dest.setChannelIlluminationType(channelIlluminationTypeValue, imageIndex, channelIndex); 
     428      } catch (NullPointerException e) { } 
     429      try { 
     430        PercentFraction channelLightSourceSettingsAttenuationValue = src.getChannelLightSourceSettingsAttenuation(imageIndex, channelIndex); 
     431        if (channelLightSourceSettingsAttenuationValue != null) dest.setChannelLightSourceSettingsAttenuation(channelLightSourceSettingsAttenuationValue, imageIndex, channelIndex); 
     432      } catch (NullPointerException e) { } 
     433      try { 
     434        String channelLightSourceSettingsIDValue = src.getChannelLightSourceSettingsID(imageIndex, channelIndex); 
     435        if (channelLightSourceSettingsIDValue != null) dest.setChannelLightSourceSettingsID(channelLightSourceSettingsIDValue, imageIndex, channelIndex); 
     436      } catch (NullPointerException e) { } 
     437      try { 
     438        PositiveInteger channelLightSourceSettingsWavelengthValue = src.getChannelLightSourceSettingsWavelength(imageIndex, channelIndex); 
     439        if (channelLightSourceSettingsWavelengthValue != null) dest.setChannelLightSourceSettingsWavelength(channelLightSourceSettingsWavelengthValue, imageIndex, channelIndex); 
     440      } catch (NullPointerException e) { } 
     441      try { 
     442        Double channelNDFilterValue = src.getChannelNDFilter(imageIndex, channelIndex); 
     443        if (channelNDFilterValue != null) dest.setChannelNDFilter(channelNDFilterValue, imageIndex, channelIndex); 
     444      } catch (NullPointerException e) { } 
     445      try { 
     446        String channelNameValue = src.getChannelName(imageIndex, channelIndex); 
     447        if (channelNameValue != null) dest.setChannelName(channelNameValue, imageIndex, channelIndex); 
     448      } catch (NullPointerException e) { } 
     449      try { 
     450        String channelOTFRefValue = src.getChannelOTFRef(imageIndex, channelIndex); 
     451        if (channelOTFRefValue != null) dest.setChannelOTFRef(channelOTFRefValue, imageIndex, channelIndex); 
     452      } catch (NullPointerException e) { } 
     453      try { 
     454        Double channelPinholeSizeValue = src.getChannelPinholeSize(imageIndex, channelIndex); 
     455        if (channelPinholeSizeValue != null) dest.setChannelPinholeSize(channelPinholeSizeValue, imageIndex, channelIndex); 
     456      } catch (NullPointerException e) { } 
     457      try { 
     458        Integer channelPockelCellSettingValue = src.getChannelPockelCellSetting(imageIndex, channelIndex); 
     459        if (channelPockelCellSettingValue != null) dest.setChannelPockelCellSetting(channelPockelCellSettingValue, imageIndex, channelIndex); 
     460      } catch (NullPointerException e) { } 
     461      try { 
     462        Integer channelSamplesPerPixelValue = src.getChannelSamplesPerPixel(imageIndex, channelIndex); 
     463        if (channelSamplesPerPixelValue != null) dest.setChannelSamplesPerPixel(channelSamplesPerPixelValue, imageIndex, channelIndex); 
     464      } catch (NullPointerException e) { } 
     465        try { 
     466        //int annotationRefCount = src.getAnnotationRefCount(imageIndex, channelIndex); 
     467        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     468        //} 
     469        } catch (NullPointerException e) { } 
     470        try { 
     471          Binning detectorSettingsBinningValue = src.getDetectorSettingsBinning(imageIndex, channelIndex); 
     472          if (detectorSettingsBinningValue != null) dest.setDetectorSettingsBinning(detectorSettingsBinningValue, imageIndex, channelIndex); 
     473        } catch (NullPointerException e) { } 
     474        try { 
     475          Double detectorSettingsGainValue = src.getDetectorSettingsGain(imageIndex, channelIndex); 
     476          if (detectorSettingsGainValue != null) dest.setDetectorSettingsGain(detectorSettingsGainValue, imageIndex, channelIndex); 
     477        } catch (NullPointerException e) { } 
     478        try { 
     479          String detectorSettingsIDValue = src.getDetectorSettingsID(imageIndex, channelIndex); 
     480          if (detectorSettingsIDValue != null) dest.setDetectorSettingsID(detectorSettingsIDValue, imageIndex, channelIndex); 
     481        } catch (NullPointerException e) { } 
     482        try { 
     483          Double detectorSettingsOffsetValue = src.getDetectorSettingsOffset(imageIndex, channelIndex); 
     484          if (detectorSettingsOffsetValue != null) dest.setDetectorSettingsOffset(detectorSettingsOffsetValue, imageIndex, channelIndex); 
     485        } catch (NullPointerException e) { } 
     486        try { 
     487          Double detectorSettingsReadOutRateValue = src.getDetectorSettingsReadOutRate(imageIndex, channelIndex); 
     488          if (detectorSettingsReadOutRateValue != null) dest.setDetectorSettingsReadOutRate(detectorSettingsReadOutRateValue, imageIndex, channelIndex); 
     489        } catch (NullPointerException e) { } 
     490        try { 
     491          Double detectorSettingsVoltageValue = src.getDetectorSettingsVoltage(imageIndex, channelIndex); 
     492          if (detectorSettingsVoltageValue != null) dest.setDetectorSettingsVoltage(detectorSettingsVoltageValue, imageIndex, channelIndex); 
     493        } catch (NullPointerException e) { } 
     494        try { 
     495          String lightPathDichroicRefValue = src.getLightPathDichroicRef(imageIndex, channelIndex); 
     496          if (lightPathDichroicRefValue != null) dest.setLightPathDichroicRef(lightPathDichroicRefValue, imageIndex, channelIndex); 
     497        } catch (NullPointerException e) { } 
     498        try { 
     499          //String lightPathEmissionFilterRefValue = src.getLightPathEmissionFilterRef(imageIndex, channelIndex, emissionFilterRefIndex); 
     500          //if (lightPathEmissionFilterRefValue != null) dest.setLightPathEmissionFilterRef(lightPathEmissionFilterRefValue, imageIndex, channelIndex, emissionFilterRefIndex); 
     501        } catch (NullPointerException e) { } 
     502        try { 
     503          //String lightPathExcitationFilterRefValue = src.getLightPathExcitationFilterRef(imageIndex, channelIndex, excitationFilterRefIndex); 
     504          //if (lightPathExcitationFilterRefValue != null) dest.setLightPathExcitationFilterRef(lightPathExcitationFilterRefValue, imageIndex, channelIndex, excitationFilterRefIndex); 
     505        } catch (NullPointerException e) { } 
     506        try { 
     507        //int emissionFilterRefCount = src.getEmissionFilterRefCount(imageIndex, channelIndex); 
     508        //for (int emissionFilterRefIndex=0; emissionFilterRefIndex<emissionFilterRefCount; emissionFilterRefIndex++) { 
     509        //} 
     510        } catch (NullPointerException e) { } 
     511        try { 
     512        //int excitationFilterRefCount = src.getExcitationFilterRefCount(imageIndex, channelIndex); 
     513        //for (int excitationFilterRefIndex=0; excitationFilterRefIndex<excitationFilterRefCount; excitationFilterRefIndex++) { 
     514        //} 
     515        } catch (NullPointerException e) { } 
     516      } 
     517      } catch (NullPointerException e) { } 
     518      try { 
     519      int datasetRefCount = src.getDatasetRefCount(imageIndex); 
     520      for (int datasetRefIndex=0; datasetRefIndex<datasetRefCount; datasetRefIndex++) { 
     521      } 
     522      } catch (NullPointerException e) { } 
     523      try { 
     524        Double imagingEnvironmentAirPressureValue = src.getImagingEnvironmentAirPressure(imageIndex); 
     525        if (imagingEnvironmentAirPressureValue != null) dest.setImagingEnvironmentAirPressure(imagingEnvironmentAirPressureValue, imageIndex); 
     526      } catch (NullPointerException e) { } 
     527      try { 
     528        PercentFraction imagingEnvironmentCO2PercentValue = src.getImagingEnvironmentCO2Percent(imageIndex); 
     529        if (imagingEnvironmentCO2PercentValue != null) dest.setImagingEnvironmentCO2Percent(imagingEnvironmentCO2PercentValue, imageIndex); 
     530      } catch (NullPointerException e) { } 
     531      try { 
     532        PercentFraction imagingEnvironmentHumidityValue = src.getImagingEnvironmentHumidity(imageIndex); 
     533        if (imagingEnvironmentHumidityValue != null) dest.setImagingEnvironmentHumidity(imagingEnvironmentHumidityValue, imageIndex); 
     534      } catch (NullPointerException e) { } 
     535      try { 
     536        Double imagingEnvironmentTemperatureValue = src.getImagingEnvironmentTemperature(imageIndex); 
     537        if (imagingEnvironmentTemperatureValue != null) dest.setImagingEnvironmentTemperature(imagingEnvironmentTemperatureValue, imageIndex); 
     538      } catch (NullPointerException e) { } 
     539      try { 
     540      int microbeamManipulationRefCount = src.getMicrobeamManipulationRefCount(imageIndex); 
     541      for (int microbeamManipulationRefIndex=0; microbeamManipulationRefIndex<microbeamManipulationRefCount; microbeamManipulationRefIndex++) { 
     542      } 
     543      } catch (NullPointerException e) { } 
     544      try { 
     545        //String pixelsAnnotationRefValue = src.getPixelsAnnotationRef(imageIndex, annotationRefIndex); 
     546        //if (pixelsAnnotationRefValue != null) dest.setPixelsAnnotationRef(pixelsAnnotationRefValue, imageIndex, annotationRefIndex); 
     547      } catch (NullPointerException e) { } 
     548      try { 
     549        DimensionOrder pixelsDimensionOrderValue = src.getPixelsDimensionOrder(imageIndex); 
     550        if (pixelsDimensionOrderValue != null) dest.setPixelsDimensionOrder(pixelsDimensionOrderValue, imageIndex); 
     551      } catch (NullPointerException e) { } 
     552      try { 
     553        String pixelsIDValue = src.getPixelsID(imageIndex); 
     554        if (pixelsIDValue != null) dest.setPixelsID(pixelsIDValue, imageIndex); 
     555      } catch (NullPointerException e) { } 
     556      try { 
     557        Double pixelsPhysicalSizeXValue = src.getPixelsPhysicalSizeX(imageIndex); 
     558        if (pixelsPhysicalSizeXValue != null) dest.setPixelsPhysicalSizeX(pixelsPhysicalSizeXValue, imageIndex); 
     559      } catch (NullPointerException e) { } 
     560      try { 
     561        Double pixelsPhysicalSizeYValue = src.getPixelsPhysicalSizeY(imageIndex); 
     562        if (pixelsPhysicalSizeYValue != null) dest.setPixelsPhysicalSizeY(pixelsPhysicalSizeYValue, imageIndex); 
     563      } catch (NullPointerException e) { } 
     564      try { 
     565        Double pixelsPhysicalSizeZValue = src.getPixelsPhysicalSizeZ(imageIndex); 
     566        if (pixelsPhysicalSizeZValue != null) dest.setPixelsPhysicalSizeZ(pixelsPhysicalSizeZValue, imageIndex); 
     567      } catch (NullPointerException e) { } 
     568      try { 
     569        PositiveInteger pixelsSizeCValue = src.getPixelsSizeC(imageIndex); 
     570        if (pixelsSizeCValue != null) dest.setPixelsSizeC(pixelsSizeCValue, imageIndex); 
     571      } catch (NullPointerException e) { } 
     572      try { 
     573        PositiveInteger pixelsSizeTValue = src.getPixelsSizeT(imageIndex); 
     574        if (pixelsSizeTValue != null) dest.setPixelsSizeT(pixelsSizeTValue, imageIndex); 
     575      } catch (NullPointerException e) { } 
     576      try { 
     577        PositiveInteger pixelsSizeXValue = src.getPixelsSizeX(imageIndex); 
     578        if (pixelsSizeXValue != null) dest.setPixelsSizeX(pixelsSizeXValue, imageIndex); 
     579      } catch (NullPointerException e) { } 
     580      try { 
     581        PositiveInteger pixelsSizeYValue = src.getPixelsSizeY(imageIndex); 
     582        if (pixelsSizeYValue != null) dest.setPixelsSizeY(pixelsSizeYValue, imageIndex); 
     583      } catch (NullPointerException e) { } 
     584      try { 
     585        PositiveInteger pixelsSizeZValue = src.getPixelsSizeZ(imageIndex); 
     586        if (pixelsSizeZValue != null) dest.setPixelsSizeZ(pixelsSizeZValue, imageIndex); 
     587      } catch (NullPointerException e) { } 
     588      try { 
     589        Double pixelsTimeIncrementValue = src.getPixelsTimeIncrement(imageIndex); 
     590        if (pixelsTimeIncrementValue != null) dest.setPixelsTimeIncrement(pixelsTimeIncrementValue, imageIndex); 
     591      } catch (NullPointerException e) { } 
     592      try { 
     593        PixelType pixelsTypeValue = src.getPixelsType(imageIndex); 
     594        if (pixelsTypeValue != null) dest.setPixelsType(pixelsTypeValue, imageIndex); 
     595      } catch (NullPointerException e) { } 
     596      try { 
     597      //int annotationRefCount = src.getAnnotationRefCount(imageIndex); 
     598      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     599      //} 
     600      } catch (NullPointerException e) { } 
     601      try { 
     602      int binDataCount = src.getPixelsBinDataCount(imageIndex); 
     603      for (int binDataIndex=0; binDataIndex<binDataCount; binDataIndex++) { 
     604      try { 
     605        Boolean pixelsBinDataBigEndianValue = src.getPixelsBinDataBigEndian(imageIndex, binDataIndex); 
     606        if (pixelsBinDataBigEndianValue != null) dest.setPixelsBinDataBigEndian(pixelsBinDataBigEndianValue, imageIndex, binDataIndex); 
     607      } catch (NullPointerException e) { } 
     608      } 
     609      } catch (NullPointerException e) { } 
     610      try { 
     611      int planeCount = src.getPlaneCount(imageIndex); 
     612      for (int planeIndex=0; planeIndex<planeCount; planeIndex++) { 
     613      try { 
     614        //String planeAnnotationRefValue = src.getPlaneAnnotationRef(imageIndex, planeIndex, annotationRefIndex); 
     615        //if (planeAnnotationRefValue != null) dest.setPlaneAnnotationRef(planeAnnotationRefValue, imageIndex, planeIndex, annotationRefIndex); 
     616      } catch (NullPointerException e) { } 
     617      try { 
     618        Double planeDeltaTValue = src.getPlaneDeltaT(imageIndex, planeIndex); 
     619        if (planeDeltaTValue != null) dest.setPlaneDeltaT(planeDeltaTValue, imageIndex, planeIndex); 
     620      } catch (NullPointerException e) { } 
     621      try { 
     622        Double planeExposureTimeValue = src.getPlaneExposureTime(imageIndex, planeIndex); 
     623        if (planeExposureTimeValue != null) dest.setPlaneExposureTime(planeExposureTimeValue, imageIndex, planeIndex); 
     624      } catch (NullPointerException e) { } 
     625      try { 
     626        String planeHashSHA1Value = src.getPlaneHashSHA1(imageIndex, planeIndex); 
     627        if (planeHashSHA1Value != null) dest.setPlaneHashSHA1(planeHashSHA1Value, imageIndex, planeIndex); 
     628      } catch (NullPointerException e) { } 
     629      try { 
     630        Double planePositionXValue = src.getPlanePositionX(imageIndex, planeIndex); 
     631        if (planePositionXValue != null) dest.setPlanePositionX(planePositionXValue, imageIndex, planeIndex); 
     632      } catch (NullPointerException e) { } 
     633      try { 
     634        Double planePositionYValue = src.getPlanePositionY(imageIndex, planeIndex); 
     635        if (planePositionYValue != null) dest.setPlanePositionY(planePositionYValue, imageIndex, planeIndex); 
     636      } catch (NullPointerException e) { } 
     637      try { 
     638        Double planePositionZValue = src.getPlanePositionZ(imageIndex, planeIndex); 
     639        if (planePositionZValue != null) dest.setPlanePositionZ(planePositionZValue, imageIndex, planeIndex); 
     640      } catch (NullPointerException e) { } 
     641      try { 
     642        Integer planeTheCValue = src.getPlaneTheC(imageIndex, planeIndex); 
     643        if (planeTheCValue != null) dest.setPlaneTheC(planeTheCValue, imageIndex, planeIndex); 
     644      } catch (NullPointerException e) { } 
     645      try { 
     646        Integer planeTheTValue = src.getPlaneTheT(imageIndex, planeIndex); 
     647        if (planeTheTValue != null) dest.setPlaneTheT(planeTheTValue, imageIndex, planeIndex); 
     648      } catch (NullPointerException e) { } 
     649      try { 
     650        Integer planeTheZValue = src.getPlaneTheZ(imageIndex, planeIndex); 
     651        if (planeTheZValue != null) dest.setPlaneTheZ(planeTheZValue, imageIndex, planeIndex); 
     652      } catch (NullPointerException e) { } 
     653        try { 
     654        //int annotationRefCount = src.getAnnotationRefCount(imageIndex, planeIndex); 
     655        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     656        //} 
     657        } catch (NullPointerException e) { } 
     658      } 
     659      } catch (NullPointerException e) { } 
     660      try { 
     661      //int roiRefCount = src.getROIRefCount(imageIndex); 
     662      //for (int roiRefIndex=0; roiRefIndex<roiRefCount; roiRefIndex++) { 
     663      //} 
     664      } catch (NullPointerException e) { } 
     665      try { 
     666        String stageLabelNameValue = src.getStageLabelName(imageIndex); 
     667        if (stageLabelNameValue != null) dest.setStageLabelName(stageLabelNameValue, imageIndex); 
     668      } catch (NullPointerException e) { } 
     669      try { 
     670        Double stageLabelXValue = src.getStageLabelX(imageIndex); 
     671        if (stageLabelXValue != null) dest.setStageLabelX(stageLabelXValue, imageIndex); 
     672      } catch (NullPointerException e) { } 
     673      try { 
     674        Double stageLabelYValue = src.getStageLabelY(imageIndex); 
     675        if (stageLabelYValue != null) dest.setStageLabelY(stageLabelYValue, imageIndex); 
     676      } catch (NullPointerException e) { } 
     677      try { 
     678        Double stageLabelZValue = src.getStageLabelZ(imageIndex); 
     679        if (stageLabelZValue != null) dest.setStageLabelZ(stageLabelZValue, imageIndex); 
     680      } catch (NullPointerException e) { } 
     681      try { 
     682      int tiffDataCount = src.getTiffDataCount(imageIndex); 
     683      for (int tiffDataIndex=0; tiffDataIndex<tiffDataCount; tiffDataIndex++) { 
     684      try { 
     685        Integer tiffDataFirstCValue = src.getTiffDataFirstC(imageIndex, tiffDataIndex); 
     686        if (tiffDataFirstCValue != null) dest.setTiffDataFirstC(tiffDataFirstCValue, imageIndex, tiffDataIndex); 
     687      } catch (NullPointerException e) { } 
     688      try { 
     689        Integer tiffDataFirstTValue = src.getTiffDataFirstT(imageIndex, tiffDataIndex); 
     690        if (tiffDataFirstTValue != null) dest.setTiffDataFirstT(tiffDataFirstTValue, imageIndex, tiffDataIndex); 
     691      } catch (NullPointerException e) { } 
     692      try { 
     693        Integer tiffDataFirstZValue = src.getTiffDataFirstZ(imageIndex, tiffDataIndex); 
     694        if (tiffDataFirstZValue != null) dest.setTiffDataFirstZ(tiffDataFirstZValue, imageIndex, tiffDataIndex); 
     695      } catch (NullPointerException e) { } 
     696      try { 
     697        Integer tiffDataIFDValue = src.getTiffDataIFD(imageIndex, tiffDataIndex); 
     698        if (tiffDataIFDValue != null) dest.setTiffDataIFD(tiffDataIFDValue, imageIndex, tiffDataIndex); 
     699      } catch (NullPointerException e) { } 
     700      try { 
     701        Integer tiffDataPlaneCountValue = src.getTiffDataPlaneCount(imageIndex, tiffDataIndex); 
     702        if (tiffDataPlaneCountValue != null) dest.setTiffDataPlaneCount(tiffDataPlaneCountValue, imageIndex, tiffDataIndex); 
     703      } catch (NullPointerException e) { } 
     704      try { 
     705        String uuidFileNameValue = src.getUUIDFileName(imageIndex, tiffDataIndex); 
     706        if (uuidFileNameValue != null) dest.setUUIDFileName(uuidFileNameValue, imageIndex, tiffDataIndex); 
     707      } catch (NullPointerException e) { } 
     708      try { 
     709        String uuidValueValue = src.getUUIDValue(imageIndex, tiffDataIndex); 
     710        if (uuidValueValue != null) dest.setUUIDValue(uuidValueValue, imageIndex, tiffDataIndex); 
     711      } catch (NullPointerException e) { } 
     712      } 
     713      } catch (NullPointerException e) { } 
     714    } 
     715    } catch (NullPointerException e) { } 
     716    try { 
     717    int instrumentCount = src.getInstrumentCount(); 
     718    for (int instrumentIndex=0; instrumentIndex<instrumentCount; instrumentIndex++) { 
     719    try { 
     720      String instrumentIDValue = src.getInstrumentID(instrumentIndex); 
     721      if (instrumentIDValue != null) dest.setInstrumentID(instrumentIDValue, instrumentIndex); 
     722    } catch (NullPointerException e) { } 
     723      try { 
     724      /* 
     725      int arcCount = src.getArcCount(instrumentIndex); 
     726      for (int arcIndex=0; arcIndex<arcCount; arcIndex++) { 
     727      try { 
     728        String arcIDValue = src.getArcID(instrumentIndex, arcIndex); 
     729        if (arcIDValue != null) dest.setArcID(arcIDValue, instrumentIndex, arcIndex); 
     730      } catch (NullPointerException e) { } 
     731      try { 
     732        String arcLotNumberValue = src.getArcLotNumber(instrumentIndex, arcIndex); 
     733        if (arcLotNumberValue != null) dest.setArcLotNumber(arcLotNumberValue, instrumentIndex, arcIndex); 
     734      } catch (NullPointerException e) { } 
     735      try { 
     736        String arcManufacturerValue = src.getArcManufacturer(instrumentIndex, arcIndex); 
     737        if (arcManufacturerValue != null) dest.setArcManufacturer(arcManufacturerValue, instrumentIndex, arcIndex); 
     738      } catch (NullPointerException e) { } 
     739      try { 
     740        String arcModelValue = src.getArcModel(instrumentIndex, arcIndex); 
     741        if (arcModelValue != null) dest.setArcModel(arcModelValue, instrumentIndex, arcIndex); 
     742      } catch (NullPointerException e) { } 
     743      try { 
     744        Double arcPowerValue = src.getArcPower(instrumentIndex, arcIndex); 
     745        if (arcPowerValue != null) dest.setArcPower(arcPowerValue, instrumentIndex, arcIndex); 
     746      } catch (NullPointerException e) { } 
     747      try { 
     748        String arcSerialNumberValue = src.getArcSerialNumber(instrumentIndex, arcIndex); 
     749        if (arcSerialNumberValue != null) dest.setArcSerialNumber(arcSerialNumberValue, instrumentIndex, arcIndex); 
     750      } catch (NullPointerException e) { } 
     751      try { 
     752        ArcType arcTypeValue = src.getArcType(instrumentIndex, arcIndex); 
     753        if (arcTypeValue != null) dest.setArcType(arcTypeValue, instrumentIndex, arcIndex); 
     754      } catch (NullPointerException e) { } 
     755      } 
     756      */ 
     757      } catch (NullPointerException e) { } 
     758      try { 
     759      int detectorCount = src.getDetectorCount(instrumentIndex); 
     760      for (int detectorIndex=0; detectorIndex<detectorCount; detectorIndex++) { 
     761      try { 
     762        Double detectorAmplificationGainValue = src.getDetectorAmplificationGain(instrumentIndex, detectorIndex); 
     763        if (detectorAmplificationGainValue != null) dest.setDetectorAmplificationGain(detectorAmplificationGainValue, instrumentIndex, detectorIndex); 
     764      } catch (NullPointerException e) { } 
     765      try { 
     766        Double detectorGainValue = src.getDetectorGain(instrumentIndex, detectorIndex); 
     767        if (detectorGainValue != null) dest.setDetectorGain(detectorGainValue, instrumentIndex, detectorIndex); 
     768      } catch (NullPointerException e) { } 
     769      try { 
     770        String detectorIDValue = src.getDetectorID(instrumentIndex, detectorIndex); 
     771        if (detectorIDValue != null) dest.setDetectorID(detectorIDValue, instrumentIndex, detectorIndex); 
     772      } catch (NullPointerException e) { } 
     773      try { 
     774        String detectorLotNumberValue = src.getDetectorLotNumber(instrumentIndex, detectorIndex); 
     775        if (detectorLotNumberValue != null) dest.setDetectorLotNumber(detectorLotNumberValue, instrumentIndex, detectorIndex); 
     776      } catch (NullPointerException e) { } 
     777      try { 
     778        String detectorManufacturerValue = src.getDetectorManufacturer(instrumentIndex, detectorIndex); 
     779        if (detectorManufacturerValue != null) dest.setDetectorManufacturer(detectorManufacturerValue, instrumentIndex, detectorIndex); 
     780      } catch (NullPointerException e) { } 
     781      try { 
     782        String detectorModelValue = src.getDetectorModel(instrumentIndex, detectorIndex); 
     783        if (detectorModelValue != null) dest.setDetectorModel(detectorModelValue, instrumentIndex, detectorIndex); 
     784      } catch (NullPointerException e) { } 
     785      try { 
     786        Double detectorOffsetValue = src.getDetectorOffset(instrumentIndex, detectorIndex); 
     787        if (detectorOffsetValue != null) dest.setDetectorOffset(detectorOffsetValue, instrumentIndex, detectorIndex); 
     788      } catch (NullPointerException e) { } 
     789      try { 
     790        String detectorSerialNumberValue = src.getDetectorSerialNumber(instrumentIndex, detectorIndex); 
     791        if (detectorSerialNumberValue != null) dest.setDetectorSerialNumber(detectorSerialNumberValue, instrumentIndex, detectorIndex); 
     792      } catch (NullPointerException e) { } 
     793      try { 
     794        DetectorType detectorTypeValue = src.getDetectorType(instrumentIndex, detectorIndex); 
     795        if (detectorTypeValue != null) dest.setDetectorType(detectorTypeValue, instrumentIndex, detectorIndex); 
     796      } catch (NullPointerException e) { } 
     797      try { 
     798        Double detectorVoltageValue = src.getDetectorVoltage(instrumentIndex, detectorIndex); 
     799        if (detectorVoltageValue != null) dest.setDetectorVoltage(detectorVoltageValue, instrumentIndex, detectorIndex); 
     800      } catch (NullPointerException e) { } 
     801      try { 
     802        Double detectorZoomValue = src.getDetectorZoom(instrumentIndex, detectorIndex); 
     803        if (detectorZoomValue != null) dest.setDetectorZoom(detectorZoomValue, instrumentIndex, detectorIndex); 
     804      } catch (NullPointerException e) { } 
     805      } 
     806      } catch (NullPointerException e) { } 
     807      try { 
     808      int dichroicCount = src.getDichroicCount(instrumentIndex); 
     809      for (int dichroicIndex=0; dichroicIndex<dichroicCount; dichroicIndex++) { 
     810      try { 
     811        String dichroicIDValue = src.getDichroicID(instrumentIndex, dichroicIndex); 
     812        if (dichroicIDValue != null) dest.setDichroicID(dichroicIDValue, instrumentIndex, dichroicIndex); 
     813      } catch (NullPointerException e) { } 
     814      try { 
     815        String dichroicLotNumberValue = src.getDichroicLotNumber(instrumentIndex, dichroicIndex); 
     816        if (dichroicLotNumberValue != null) dest.setDichroicLotNumber(dichroicLotNumberValue, instrumentIndex, dichroicIndex); 
     817      } catch (NullPointerException e) { } 
     818      try { 
     819        String dichroicManufacturerValue = src.getDichroicManufacturer(instrumentIndex, dichroicIndex); 
     820        if (dichroicManufacturerValue != null) dest.setDichroicManufacturer(dichroicManufacturerValue, instrumentIndex, dichroicIndex); 
     821      } catch (NullPointerException e) { } 
     822      try { 
     823        String dichroicModelValue = src.getDichroicModel(instrumentIndex, dichroicIndex); 
     824        if (dichroicModelValue != null) dest.setDichroicModel(dichroicModelValue, instrumentIndex, dichroicIndex); 
     825      } catch (NullPointerException e) { } 
     826      try { 
     827        String dichroicSerialNumberValue = src.getDichroicSerialNumber(instrumentIndex, dichroicIndex); 
     828        if (dichroicSerialNumberValue != null) dest.setDichroicSerialNumber(dichroicSerialNumberValue, instrumentIndex, dichroicIndex); 
     829      } catch (NullPointerException e) { } 
     830      } 
     831      } catch (NullPointerException e) { } 
     832      try { 
     833      /* 
     834      int filamentCount = src.getFilamentCount(instrumentIndex); 
     835      for (int filamentIndex=0; filamentIndex<filamentCount; filamentIndex++) { 
     836      try { 
     837        String filamentIDValue = src.getFilamentID(instrumentIndex, filamentIndex); 
     838        if (filamentIDValue != null) dest.setFilamentID(filamentIDValue, instrumentIndex, filamentIndex); 
     839      } catch (NullPointerException e) { } 
     840      try { 
     841        String filamentLotNumberValue = src.getFilamentLotNumber(instrumentIndex, filamentIndex); 
     842        if (filamentLotNumberValue != null) dest.setFilamentLotNumber(filamentLotNumberValue, instrumentIndex, filamentIndex); 
     843      } catch (NullPointerException e) { } 
     844      try { 
     845        String filamentManufacturerValue = src.getFilamentManufacturer(instrumentIndex, filamentIndex); 
     846        if (filamentManufacturerValue != null) dest.setFilamentManufacturer(filamentManufacturerValue, instrumentIndex, filamentIndex); 
     847      } catch (NullPointerException e) { } 
     848      try { 
     849        String filamentModelValue = src.getFilamentModel(instrumentIndex, filamentIndex); 
     850        if (filamentModelValue != null) dest.setFilamentModel(filamentModelValue, instrumentIndex, filamentIndex); 
     851      } catch (NullPointerException e) { } 
     852      try { 
     853        Double filamentPowerValue = src.getFilamentPower(instrumentIndex, filamentIndex); 
     854        if (filamentPowerValue != null) dest.setFilamentPower(filamentPowerValue, instrumentIndex, filamentIndex); 
     855      } catch (NullPointerException e) { } 
     856      try { 
     857        String filamentSerialNumberValue = src.getFilamentSerialNumber(instrumentIndex, filamentIndex); 
     858        if (filamentSerialNumberValue != null) dest.setFilamentSerialNumber(filamentSerialNumberValue, instrumentIndex, filamentIndex); 
     859      } catch (NullPointerException e) { } 
     860      try { 
     861        FilamentType filamentTypeValue = src.getFilamentType(instrumentIndex, filamentIndex); 
     862        if (filamentTypeValue != null) dest.setFilamentType(filamentTypeValue, instrumentIndex, filamentIndex); 
     863      } catch (NullPointerException e) { } 
     864      } 
     865      */ 
     866      } catch (NullPointerException e) { } 
     867      try { 
     868      int filterCount = src.getFilterCount(instrumentIndex); 
     869      for (int filterIndex=0; filterIndex<filterCount; filterIndex++) { 
     870      try { 
     871        String filterFilterWheelValue = src.getFilterFilterWheel(instrumentIndex, filterIndex); 
     872        if (filterFilterWheelValue != null) dest.setFilterFilterWheel(filterFilterWheelValue, instrumentIndex, filterIndex); 
     873      } catch (NullPointerException e) { } 
     874      try { 
     875        String filterIDValue = src.getFilterID(instrumentIndex, filterIndex); 
     876        if (filterIDValue != null) dest.setFilterID(filterIDValue, instrumentIndex, filterIndex); 
     877      } catch (NullPointerException e) { } 
     878      try { 
     879        String filterLotNumberValue = src.getFilterLotNumber(instrumentIndex, filterIndex); 
     880        if (filterLotNumberValue != null) dest.setFilterLotNumber(filterLotNumberValue, instrumentIndex, filterIndex); 
     881      } catch (NullPointerException e) { } 
     882      try { 
     883        String filterManufacturerValue = src.getFilterManufacturer(instrumentIndex, filterIndex); 
     884        if (filterManufacturerValue != null) dest.setFilterManufacturer(filterManufacturerValue, instrumentIndex, filterIndex); 
     885      } catch (NullPointerException e) { } 
     886      try { 
     887        String filterModelValue = src.getFilterModel(instrumentIndex, filterIndex); 
     888        if (filterModelValue != null) dest.setFilterModel(filterModelValue, instrumentIndex, filterIndex); 
     889      } catch (NullPointerException e) { } 
     890      try { 
     891        String filterSerialNumberValue = src.getFilterSerialNumber(instrumentIndex, filterIndex); 
     892        if (filterSerialNumberValue != null) dest.setFilterSerialNumber(filterSerialNumberValue, instrumentIndex, filterIndex); 
     893      } catch (NullPointerException e) { } 
     894      try { 
     895        FilterType filterTypeValue = src.getFilterType(instrumentIndex, filterIndex); 
     896        if (filterTypeValue != null) dest.setFilterType(filterTypeValue, instrumentIndex, filterIndex); 
     897      } catch (NullPointerException e) { } 
     898      try { 
     899        Integer transmittanceRangeCutInValue = src.getTransmittanceRangeCutIn(instrumentIndex, filterIndex); 
     900        if (transmittanceRangeCutInValue != null) dest.setTransmittanceRangeCutIn(transmittanceRangeCutInValue, instrumentIndex, filterIndex); 
     901      } catch (NullPointerException e) { } 
     902      try { 
     903        Integer transmittanceRangeCutInToleranceValue = src.getTransmittanceRangeCutInTolerance(instrumentIndex, filterIndex); 
     904        if (transmittanceRangeCutInToleranceValue != null) dest.setTransmittanceRangeCutInTolerance(transmittanceRangeCutInToleranceValue, instrumentIndex, filterIndex); 
     905      } catch (NullPointerException e) { } 
     906      try { 
     907        Integer transmittanceRangeCutOutValue = src.getTransmittanceRangeCutOut(instrumentIndex, filterIndex); 
     908        if (transmittanceRangeCutOutValue != null) dest.setTransmittanceRangeCutOut(transmittanceRangeCutOutValue, instrumentIndex, filterIndex); 
     909      } catch (NullPointerException e) { } 
     910      try { 
     911        Integer transmittanceRangeCutOutToleranceValue = src.getTransmittanceRangeCutOutTolerance(instrumentIndex, filterIndex); 
     912        if (transmittanceRangeCutOutToleranceValue != null) dest.setTransmittanceRangeCutOutTolerance(transmittanceRangeCutOutToleranceValue, instrumentIndex, filterIndex); 
     913      } catch (NullPointerException e) { } 
     914      try { 
     915        PercentFraction transmittanceRangeTransmittanceValue = src.getTransmittanceRangeTransmittance(instrumentIndex, filterIndex); 
     916        if (transmittanceRangeTransmittanceValue != null) dest.setTransmittanceRangeTransmittance(transmittanceRangeTransmittanceValue, instrumentIndex, filterIndex); 
     917      } catch (NullPointerException e) { } 
     918      } 
     919      } catch (NullPointerException e) { } 
     920      try { 
     921      int filterSetCount = src.getFilterSetCount(instrumentIndex); 
     922      for (int filterSetIndex=0; filterSetIndex<filterSetCount; filterSetIndex++) { 
     923      try { 
     924        String filterSetDichroicRefValue = src.getFilterSetDichroicRef(instrumentIndex, filterSetIndex); 
     925        if (filterSetDichroicRefValue != null) dest.setFilterSetDichroicRef(filterSetDichroicRefValue, instrumentIndex, filterSetIndex); 
     926      } catch (NullPointerException e) { } 
     927      try { 
     928        //String filterSetEmissionFilterRefValue = src.getFilterSetEmissionFilterRef(instrumentIndex, filterSetIndex, emissionFilterRefIndex); 
     929        //if (filterSetEmissionFilterRefValue != null) dest.setFilterSetEmissionFilterRef(filterSetEmissionFilterRefValue, instrumentIndex, filterSetIndex, emissionFilterRefIndex); 
     930      } catch (NullPointerException e) { } 
     931      try { 
     932        //String filterSetExcitationFilterRefValue = src.getFilterSetExcitationFilterRef(instrumentIndex, filterSetIndex, excitationFilterRefIndex); 
     933        //if (filterSetExcitationFilterRefValue != null) dest.setFilterSetExcitationFilterRef(filterSetExcitationFilterRefValue, instrumentIndex, filterSetIndex, excitationFilterRefIndex); 
     934      } catch (NullPointerException e) { } 
     935      try { 
     936        String filterSetIDValue = src.getFilterSetID(instrumentIndex, filterSetIndex); 
     937        if (filterSetIDValue != null) dest.setFilterSetID(filterSetIDValue, instrumentIndex, filterSetIndex); 
     938      } catch (NullPointerException e) { } 
     939      try { 
     940        String filterSetLotNumberValue = src.getFilterSetLotNumber(instrumentIndex, filterSetIndex); 
     941        if (filterSetLotNumberValue != null) dest.setFilterSetLotNumber(filterSetLotNumberValue, instrumentIndex, filterSetIndex); 
     942      } catch (NullPointerException e) { } 
     943      try { 
     944        String filterSetManufacturerValue = src.getFilterSetManufacturer(instrumentIndex, filterSetIndex); 
     945        if (filterSetManufacturerValue != null) dest.setFilterSetManufacturer(filterSetManufacturerValue, instrumentIndex, filterSetIndex); 
     946      } catch (NullPointerException e) { } 
     947      try { 
     948        String filterSetModelValue = src.getFilterSetModel(instrumentIndex, filterSetIndex); 
     949        if (filterSetModelValue != null) dest.setFilterSetModel(filterSetModelValue, instrumentIndex, filterSetIndex); 
     950      } catch (NullPointerException e) { } 
     951      try { 
     952        String filterSetSerialNumberValue = src.getFilterSetSerialNumber(instrumentIndex, filterSetIndex); 
     953        if (filterSetSerialNumberValue != null) dest.setFilterSetSerialNumber(filterSetSerialNumberValue, instrumentIndex, filterSetIndex); 
     954      } catch (NullPointerException e) { } 
     955        try { 
     956        //int emissionFilterRefCount = src.getEmissionFilterRefCount(instrumentIndex, filterSetIndex); 
     957        //for (int emissionFilterRefIndex=0; emissionFilterRefIndex<emissionFilterRefCount; emissionFilterRefIndex++) { 
     958        //} 
     959        } catch (NullPointerException e) { } 
     960        try { 
     961        //int excitationFilterRefCount = src.getExcitationFilterRefCount(instrumentIndex, filterSetIndex); 
     962        //for (int excitationFilterRefIndex=0; excitationFilterRefIndex<excitationFilterRefCount; excitationFilterRefIndex++) { 
     963        //} 
     964        } catch (NullPointerException e) { } 
     965      } 
     966      } catch (NullPointerException e) { } 
     967      try { 
     968      /* 
     969      int laserCount = src.getLaserCount(instrumentIndex); 
     970      for (int laserIndex=0; laserIndex<laserCount; laserIndex++) { 
     971      try { 
     972        PositiveInteger laserFrequencyMultiplicationValue = src.getLaserFrequencyMultiplication(instrumentIndex, laserIndex); 
     973        if (laserFrequencyMultiplicationValue != null) dest.setLaserFrequencyMultiplication(laserFrequencyMultiplicationValue, instrumentIndex, laserIndex); 
     974      } catch (NullPointerException e) { } 
     975      try { 
     976        String laserIDValue = src.getLaserID(instrumentIndex, laserIndex); 
     977        if (laserIDValue != null) dest.setLaserID(laserIDValue, instrumentIndex, laserIndex); 
     978      } catch (NullPointerException e) { } 
     979      try { 
     980        LaserMedium laserLaserMediumValue = src.getLaserLaserMedium(instrumentIndex, laserIndex); 
     981        if (laserLaserMediumValue != null) dest.setLaserLaserMedium(laserLaserMediumValue, instrumentIndex, laserIndex); 
     982      } catch (NullPointerException e) { } 
     983      try { 
     984        String laserLotNumberValue = src.getLaserLotNumber(instrumentIndex, laserIndex); 
     985        if (laserLotNumberValue != null) dest.setLaserLotNumber(laserLotNumberValue, instrumentIndex, laserIndex); 
     986      } catch (NullPointerException e) { } 
     987      try { 
     988        String laserManufacturerValue = src.getLaserManufacturer(instrumentIndex, laserIndex); 
     989        if (laserManufacturerValue != null) dest.setLaserManufacturer(laserManufacturerValue, instrumentIndex, laserIndex); 
     990      } catch (NullPointerException e) { } 
     991      try { 
     992        String laserModelValue = src.getLaserModel(instrumentIndex, laserIndex); 
     993        if (laserModelValue != null) dest.setLaserModel(laserModelValue, instrumentIndex, laserIndex); 
     994      } catch (NullPointerException e) { } 
     995      try { 
     996        Boolean laserPockelCellValue = src.getLaserPockelCell(instrumentIndex, laserIndex); 
     997        if (laserPockelCellValue != null) dest.setLaserPockelCell(laserPockelCellValue, instrumentIndex, laserIndex); 
     998      } catch (NullPointerException e) { } 
     999      try { 
     1000        Double laserPowerValue = src.getLaserPower(instrumentIndex, laserIndex); 
     1001        if (laserPowerValue != null) dest.setLaserPower(laserPowerValue, instrumentIndex, laserIndex); 
     1002      } catch (NullPointerException e) { } 
     1003      try { 
     1004        Pulse laserPulseValue = src.getLaserPulse(instrumentIndex, laserIndex); 
     1005        if (laserPulseValue != null) dest.setLaserPulse(laserPulseValue, instrumentIndex, laserIndex); 
     1006      } catch (NullPointerException e) { } 
     1007      try { 
     1008        String laserPumpValue = src.getLaserPump(instrumentIndex, laserIndex); 
     1009        if (laserPumpValue != null) dest.setLaserPump(laserPumpValue, instrumentIndex, laserIndex); 
     1010      } catch (NullPointerException e) { } 
     1011      try { 
     1012        Double laserRepetitionRateValue = src.getLaserRepetitionRate(instrumentIndex, laserIndex); 
     1013        if (laserRepetitionRateValue != null) dest.setLaserRepetitionRate(laserRepetitionRateValue, instrumentIndex, laserIndex); 
     1014      } catch (NullPointerException e) { } 
     1015      try { 
     1016        String laserSerialNumberValue = src.getLaserSerialNumber(instrumentIndex, laserIndex); 
     1017        if (laserSerialNumberValue != null) dest.setLaserSerialNumber(laserSerialNumberValue, instrumentIndex, laserIndex); 
     1018      } catch (NullPointerException e) { } 
     1019      try { 
     1020        Boolean laserTuneableValue = src.getLaserTuneable(instrumentIndex, laserIndex); 
     1021        if (laserTuneableValue != null) dest.setLaserTuneable(laserTuneableValue, instrumentIndex, laserIndex); 
     1022      } catch (NullPointerException e) { } 
     1023      try { 
     1024        LaserType laserTypeValue = src.getLaserType(instrumentIndex, laserIndex); 
     1025        if (laserTypeValue != null) dest.setLaserType(laserTypeValue, instrumentIndex, laserIndex); 
     1026      } catch (NullPointerException e) { } 
     1027      try { 
     1028        PositiveInteger laserWavelengthValue = src.getLaserWavelength(instrumentIndex, laserIndex); 
     1029        if (laserWavelengthValue != null) dest.setLaserWavelength(laserWavelengthValue, instrumentIndex, laserIndex); 
     1030      } catch (NullPointerException e) { } 
     1031      } 
     1032      */ 
     1033      } catch (NullPointerException e) { } 
     1034      try { 
     1035      /* 
     1036      int lightEmittingDiodeCount = src.getLightEmittingDiodeCount(instrumentIndex); 
     1037      for (int lightEmittingDiodeIndex=0; lightEmittingDiodeIndex<lightEmittingDiodeCount; lightEmittingDiodeIndex++) { 
     1038      try { 
     1039        String lightEmittingDiodeIDValue = src.getLightEmittingDiodeID(instrumentIndex, lightEmittingDiodeIndex); 
     1040        if (lightEmittingDiodeIDValue != null) dest.setLightEmittingDiodeID(lightEmittingDiodeIDValue, instrumentIndex, lightEmittingDiodeIndex); 
     1041      } catch (NullPointerException e) { } 
     1042      try { 
     1043        String lightEmittingDiodeLotNumberValue = src.getLightEmittingDiodeLotNumber(instrumentIndex, lightEmittingDiodeIndex); 
     1044        if (lightEmittingDiodeLotNumberValue != null) dest.setLightEmittingDiodeLotNumber(lightEmittingDiodeLotNumberValue, instrumentIndex, lightEmittingDiodeIndex); 
     1045      } catch (NullPointerException e) { } 
     1046      try { 
     1047        String lightEmittingDiodeManufacturerValue = src.getLightEmittingDiodeManufacturer(instrumentIndex, lightEmittingDiodeIndex); 
     1048        if (lightEmittingDiodeManufacturerValue != null) dest.setLightEmittingDiodeManufacturer(lightEmittingDiodeManufacturerValue, instrumentIndex, lightEmittingDiodeIndex); 
     1049      } catch (NullPointerException e) { } 
     1050      try { 
     1051        String lightEmittingDiodeModelValue = src.getLightEmittingDiodeModel(instrumentIndex, lightEmittingDiodeIndex); 
     1052        if (lightEmittingDiodeModelValue != null) dest.setLightEmittingDiodeModel(lightEmittingDiodeModelValue, instrumentIndex, lightEmittingDiodeIndex); 
     1053      } catch (NullPointerException e) { } 
     1054      try { 
     1055        Double lightEmittingDiodePowerValue = src.getLightEmittingDiodePower(instrumentIndex, lightEmittingDiodeIndex); 
     1056        if (lightEmittingDiodePowerValue != null) dest.setLightEmittingDiodePower(lightEmittingDiodePowerValue, instrumentIndex, lightEmittingDiodeIndex); 
     1057      } catch (NullPointerException e) { } 
     1058      try { 
     1059        String lightEmittingDiodeSerialNumberValue = src.getLightEmittingDiodeSerialNumber(instrumentIndex, lightEmittingDiodeIndex); 
     1060        if (lightEmittingDiodeSerialNumberValue != null) dest.setLightEmittingDiodeSerialNumber(lightEmittingDiodeSerialNumberValue, instrumentIndex, lightEmittingDiodeIndex); 
     1061      } catch (NullPointerException e) { } 
     1062      } 
     1063      */ 
     1064      } catch (NullPointerException e) { } 
     1065      try { 
     1066        String microscopeLotNumberValue = src.getMicroscopeLotNumber(instrumentIndex); 
     1067        if (microscopeLotNumberValue != null) dest.setMicroscopeLotNumber(microscopeLotNumberValue, instrumentIndex); 
     1068      } catch (NullPointerException e) { } 
     1069      try { 
     1070        String microscopeManufacturerValue = src.getMicroscopeManufacturer(instrumentIndex); 
     1071        if (microscopeManufacturerValue != null) dest.setMicroscopeManufacturer(microscopeManufacturerValue, instrumentIndex); 
     1072      } catch (NullPointerException e) { } 
     1073      try { 
     1074        String microscopeModelValue = src.getMicroscopeModel(instrumentIndex); 
     1075        if (microscopeModelValue != null) dest.setMicroscopeModel(microscopeModelValue, instrumentIndex); 
     1076      } catch (NullPointerException e) { } 
     1077      try { 
     1078        String microscopeSerialNumberValue = src.getMicroscopeSerialNumber(instrumentIndex); 
     1079        if (microscopeSerialNumberValue != null) dest.setMicroscopeSerialNumber(microscopeSerialNumberValue, instrumentIndex); 
     1080      } catch (NullPointerException e) { } 
     1081      try { 
     1082        MicroscopeType microscopeTypeValue = src.getMicroscopeType(instrumentIndex); 
     1083        if (microscopeTypeValue != null) dest.setMicroscopeType(microscopeTypeValue, instrumentIndex); 
     1084      } catch (NullPointerException e) { } 
     1085      try { 
     1086      int otfCount = src.getOTFCount(instrumentIndex); 
     1087      for (int otfIndex=0; otfIndex<otfCount; otfIndex++) { 
     1088      try { 
     1089        String otfBinaryFileFileNameValue = src.getOTFBinaryFileFileName(instrumentIndex, otfIndex); 
     1090        if (otfBinaryFileFileNameValue != null) dest.setOTFBinaryFileFileName(otfBinaryFileFileNameValue, instrumentIndex, otfIndex); 
     1091      } catch (NullPointerException e) { } 
     1092      try { 
     1093        String otfBinaryFileMIMETypeValue = src.getOTFBinaryFileMIMEType(instrumentIndex, otfIndex); 
     1094        if (otfBinaryFileMIMETypeValue != null) dest.setOTFBinaryFileMIMEType(otfBinaryFileMIMETypeValue, instrumentIndex, otfIndex); 
     1095      } catch (NullPointerException e) { } 
     1096      try { 
     1097        Integer otfBinaryFileSizeValue = src.getOTFBinaryFileSize(instrumentIndex, otfIndex); 
     1098        if (otfBinaryFileSizeValue != null) dest.setOTFBinaryFileSize(otfBinaryFileSizeValue, instrumentIndex, otfIndex); 
     1099      } catch (NullPointerException e) { } 
     1100      try { 
     1101        String otfFilterSetRefValue = src.getOTFFilterSetRef(instrumentIndex, otfIndex); 
     1102        if (otfFilterSetRefValue != null) dest.setOTFFilterSetRef(otfFilterSetRefValue, instrumentIndex, otfIndex); 
     1103      } catch (NullPointerException e) { } 
     1104      try { 
     1105        String otfidValue = src.getOTFID(instrumentIndex, otfIndex); 
     1106        if (otfidValue != null) dest.setOTFID(otfidValue, instrumentIndex, otfIndex); 
     1107      } catch (NullPointerException e) { } 
     1108      try { 
     1109        Double otfObjectiveSettingsCorrectionCollarValue = src.getOTFObjectiveSettingsCorrectionCollar(instrumentIndex, otfIndex); 
     1110        if (otfObjectiveSettingsCorrectionCollarValue != null) dest.setOTFObjectiveSettingsCorrectionCollar(otfObjectiveSettingsCorrectionCollarValue, instrumentIndex, otfIndex); 
     1111      } catch (NullPointerException e) { } 
     1112      try { 
     1113        String otfObjectiveSettingsIDValue = src.getOTFObjectiveSettingsID(instrumentIndex, otfIndex); 
     1114        if (otfObjectiveSettingsIDValue != null) dest.setOTFObjectiveSettingsID(otfObjectiveSettingsIDValue, instrumentIndex, otfIndex); 
     1115      } catch (NullPointerException e) { } 
     1116      try { 
     1117        Medium otfObjectiveSettingsMediumValue = src.getOTFObjectiveSettingsMedium(instrumentIndex, otfIndex); 
     1118        if (otfObjectiveSettingsMediumValue != null) dest.setOTFObjectiveSettingsMedium(otfObjectiveSettingsMediumValue, instrumentIndex, otfIndex); 
     1119      } catch (NullPointerException e) { } 
     1120      try { 
     1121        Double otfObjectiveSettingsRefractiveIndexValue = src.getOTFObjectiveSettingsRefractiveIndex(instrumentIndex, otfIndex); 
     1122        if (otfObjectiveSettingsRefractiveIndexValue != null) dest.setOTFObjectiveSettingsRefractiveIndex(otfObjectiveSettingsRefractiveIndexValue, instrumentIndex, otfIndex); 
     1123      } catch (NullPointerException e) { } 
     1124      try { 
     1125        Boolean otfOpticalAxisAveragedValue = src.getOTFOpticalAxisAveraged(instrumentIndex, otfIndex); 
     1126        if (otfOpticalAxisAveragedValue != null) dest.setOTFOpticalAxisAveraged(otfOpticalAxisAveragedValue, instrumentIndex, otfIndex); 
     1127      } catch (NullPointerException e) { } 
     1128      try { 
     1129        PositiveInteger otfSizeXValue = src.getOTFSizeX(instrumentIndex, otfIndex); 
     1130        if (otfSizeXValue != null) dest.setOTFSizeX(otfSizeXValue, instrumentIndex, otfIndex); 
     1131      } catch (NullPointerException e) { } 
     1132      try { 
     1133        PositiveInteger otfSizeYValue = src.getOTFSizeY(instrumentIndex, otfIndex); 
     1134        if (otfSizeYValue != null) dest.setOTFSizeY(otfSizeYValue, instrumentIndex, otfIndex); 
     1135      } catch (NullPointerException e) { } 
     1136      try { 
     1137        PixelType otfTypeValue = src.getOTFType(instrumentIndex, otfIndex); 
     1138        if (otfTypeValue != null) dest.setOTFType(otfTypeValue, instrumentIndex, otfIndex); 
     1139      } catch (NullPointerException e) { } 
     1140      } 
     1141      } catch (NullPointerException e) { } 
     1142      try { 
     1143      int objectiveCount = src.getObjectiveCount(instrumentIndex); 
     1144      for (int objectiveIndex=0; objectiveIndex<objectiveCount; objectiveIndex++) { 
     1145      try { 
     1146        Double objectiveCalibratedMagnificationValue = src.getObjectiveCalibratedMagnification(instrumentIndex, objectiveIndex); 
     1147        if (objectiveCalibratedMagnificationValue != null) dest.setObjectiveCalibratedMagnification(objectiveCalibratedMagnificationValue, instrumentIndex, objectiveIndex); 
     1148      } catch (NullPointerException e) { } 
     1149      try { 
     1150        Correction objectiveCorrectionValue = src.getObjectiveCorrection(instrumentIndex, objectiveIndex); 
     1151        if (objectiveCorrectionValue != null) dest.setObjectiveCorrection(objectiveCorrectionValue, instrumentIndex, objectiveIndex); 
     1152      } catch (NullPointerException e) { } 
     1153      try { 
     1154        String objectiveIDValue = src.getObjectiveID(instrumentIndex, objectiveIndex); 
     1155        if (objectiveIDValue != null) dest.setObjectiveID(objectiveIDValue, instrumentIndex, objectiveIndex); 
     1156      } catch (NullPointerException e) { } 
     1157      try { 
     1158        Immersion objectiveImmersionValue = src.getObjectiveImmersion(instrumentIndex, objectiveIndex); 
     1159        if (objectiveImmersionValue != null) dest.setObjectiveImmersion(objectiveImmersionValue, instrumentIndex, objectiveIndex); 
     1160      } catch (NullPointerException e) { } 
     1161      try { 
     1162        Boolean objectiveIrisValue = src.getObjectiveIris(instrumentIndex, objectiveIndex); 
     1163        if (objectiveIrisValue != null) dest.setObjectiveIris(objectiveIrisValue, instrumentIndex, objectiveIndex); 
     1164      } catch (NullPointerException e) { } 
     1165      try { 
     1166        Double objectiveLensNAValue = src.getObjectiveLensNA(instrumentIndex, objectiveIndex); 
     1167        if (objectiveLensNAValue != null) dest.setObjectiveLensNA(objectiveLensNAValue, instrumentIndex, objectiveIndex); 
     1168      } catch (NullPointerException e) { } 
     1169      try { 
     1170        String objectiveLotNumberValue = src.getObjectiveLotNumber(instrumentIndex, objectiveIndex); 
     1171        if (objectiveLotNumberValue != null) dest.setObjectiveLotNumber(objectiveLotNumberValue, instrumentIndex, objectiveIndex); 
     1172      } catch (NullPointerException e) { } 
     1173      try { 
     1174        String objectiveManufacturerValue = src.getObjectiveManufacturer(instrumentIndex, objectiveIndex); 
     1175        if (objectiveManufacturerValue != null) dest.setObjectiveManufacturer(objectiveManufacturerValue, instrumentIndex, objectiveIndex); 
     1176      } catch (NullPointerException e) { } 
     1177      try { 
     1178        String objectiveModelValue = src.getObjectiveModel(instrumentIndex, objectiveIndex); 
     1179        if (objectiveModelValue != null) dest.setObjectiveModel(objectiveModelValue, instrumentIndex, objectiveIndex); 
     1180      } catch (NullPointerException e) { } 
     1181      try { 
     1182        Integer objectiveNominalMagnificationValue = src.getObjectiveNominalMagnification(instrumentIndex, objectiveIndex); 
     1183        if (objectiveNominalMagnificationValue != null) dest.setObjectiveNominalMagnification(objectiveNominalMagnificationValue, instrumentIndex, objectiveIndex); 
     1184      } catch (NullPointerException e) { } 
     1185      try { 
     1186        String objectiveSerialNumberValue = src.getObjectiveSerialNumber(instrumentIndex, objectiveIndex); 
     1187        if (objectiveSerialNumberValue != null) dest.setObjectiveSerialNumber(objectiveSerialNumberValue, instrumentIndex, objectiveIndex); 
     1188      } catch (NullPointerException e) { } 
     1189      try { 
     1190        Double objectiveWorkingDistanceValue = src.getObjectiveWorkingDistance(instrumentIndex, objectiveIndex); 
     1191        if (objectiveWorkingDistanceValue != null) dest.setObjectiveWorkingDistance(objectiveWorkingDistanceValue, instrumentIndex, objectiveIndex); 
     1192      } catch (NullPointerException e) { } 
     1193      } 
     1194      } catch (NullPointerException e) { } 
     1195    } 
     1196    } catch (NullPointerException e) { } 
     1197    try { 
     1198    int listAnnotationCount = src.getListAnnotationCount(); 
     1199    for (int listAnnotationIndex=0; listAnnotationIndex<listAnnotationCount; listAnnotationIndex++) { 
     1200    try { 
     1201      //String listAnnotationAnnotationRefValue = src.getListAnnotationAnnotationRef(listAnnotationIndex, annotationRefIndex); 
     1202      //if (listAnnotationAnnotationRefValue != null) dest.setListAnnotationAnnotationRef(listAnnotationAnnotationRefValue, listAnnotationIndex, annotationRefIndex); 
     1203    } catch (NullPointerException e) { } 
     1204    try { 
     1205      String listAnnotationIDValue = src.getListAnnotationID(listAnnotationIndex); 
     1206      if (listAnnotationIDValue != null) dest.setListAnnotationID(listAnnotationIDValue, listAnnotationIndex); 
     1207    } catch (NullPointerException e) { } 
     1208    try { 
     1209      String listAnnotationNamespaceValue = src.getListAnnotationNamespace(listAnnotationIndex); 
     1210      if (listAnnotationNamespaceValue != null) dest.setListAnnotationNamespace(listAnnotationNamespaceValue, listAnnotationIndex); 
     1211    } catch (NullPointerException e) { } 
     1212      try { 
     1213      //int annotationRefCount = src.getAnnotationRefCount(listAnnotationIndex); 
     1214      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1215      //} 
     1216      } catch (NullPointerException e) { } 
     1217    } 
     1218    } catch (NullPointerException e) { } 
     1219    try { 
     1220    int longAnnotationCount = src.getLongAnnotationCount(); 
     1221    for (int longAnnotationIndex=0; longAnnotationIndex<longAnnotationCount; longAnnotationIndex++) { 
     1222    try { 
     1223      String longAnnotationIDValue = src.getLongAnnotationID(longAnnotationIndex); 
     1224      if (longAnnotationIDValue != null) dest.setLongAnnotationID(longAnnotationIDValue, longAnnotationIndex); 
     1225    } catch (NullPointerException e) { } 
     1226    try { 
     1227      String longAnnotationNamespaceValue = src.getLongAnnotationNamespace(longAnnotationIndex); 
     1228      if (longAnnotationNamespaceValue != null) dest.setLongAnnotationNamespace(longAnnotationNamespaceValue, longAnnotationIndex); 
     1229    } catch (NullPointerException e) { } 
     1230    try { 
     1231      Long longAnnotationValueValue = src.getLongAnnotationValue(longAnnotationIndex); 
     1232      if (longAnnotationValueValue != null) dest.setLongAnnotationValue(longAnnotationValueValue, longAnnotationIndex); 
     1233    } catch (NullPointerException e) { } 
     1234    } 
     1235    } catch (NullPointerException e) { } 
     1236    try { 
     1237    int plateCount = src.getPlateCount(); 
     1238    for (int plateIndex=0; plateIndex<plateCount; plateIndex++) { 
     1239    try { 
     1240      //String plateAnnotationRefValue = src.getPlateAnnotationRef(plateIndex, annotationRefIndex); 
     1241      //if (plateAnnotationRefValue != null) dest.setPlateAnnotationRef(plateAnnotationRefValue, plateIndex, annotationRefIndex); 
     1242    } catch (NullPointerException e) { } 
     1243    try { 
     1244      NamingConvention plateColumnNamingConventionValue = src.getPlateColumnNamingConvention(plateIndex); 
     1245      if (plateColumnNamingConventionValue != null) dest.setPlateColumnNamingConvention(plateColumnNamingConventionValue, plateIndex); 
     1246    } catch (NullPointerException e) { } 
     1247    try { 
     1248      Integer plateColumnsValue = src.getPlateColumns(plateIndex); 
     1249      if (plateColumnsValue != null) dest.setPlateColumns(plateColumnsValue, plateIndex); 
     1250    } catch (NullPointerException e) { } 
     1251    try { 
     1252      String plateDescriptionValue = src.getPlateDescription(plateIndex); 
     1253      if (plateDescriptionValue != null) dest.setPlateDescription(plateDescriptionValue, plateIndex); 
     1254    } catch (NullPointerException e) { } 
     1255    try { 
     1256      String plateExternalIdentifierValue = src.getPlateExternalIdentifier(plateIndex); 
     1257      if (plateExternalIdentifierValue != null) dest.setPlateExternalIdentifier(plateExternalIdentifierValue, plateIndex); 
     1258    } catch (NullPointerException e) { } 
     1259    try { 
     1260      String plateIDValue = src.getPlateID(plateIndex); 
     1261      if (plateIDValue != null) dest.setPlateID(plateIDValue, plateIndex); 
     1262    } catch (NullPointerException e) { } 
     1263    try { 
     1264      String plateNameValue = src.getPlateName(plateIndex); 
     1265      if (plateNameValue != null) dest.setPlateName(plateNameValue, plateIndex); 
     1266    } catch (NullPointerException e) { } 
     1267    try { 
     1268      NamingConvention plateRowNamingConventionValue = src.getPlateRowNamingConvention(plateIndex); 
     1269      if (plateRowNamingConventionValue != null) dest.setPlateRowNamingConvention(plateRowNamingConventionValue, plateIndex); 
     1270    } catch (NullPointerException e) { } 
     1271    try { 
     1272      Integer plateRowsValue = src.getPlateRows(plateIndex); 
     1273      if (plateRowsValue != null) dest.setPlateRows(plateRowsValue, plateIndex); 
     1274    } catch (NullPointerException e) { } 
     1275    try { 
     1276      //String plateScreenRefValue = src.getPlateScreenRef(plateIndex, screenRefIndex); 
     1277      //if (plateScreenRefValue != null) dest.setPlateScreenRef(plateScreenRefValue, plateIndex, screenRefIndex); 
     1278    } catch (NullPointerException e) { } 
     1279    try { 
     1280      String plateStatusValue = src.getPlateStatus(plateIndex); 
     1281      if (plateStatusValue != null) dest.setPlateStatus(plateStatusValue, plateIndex); 
     1282    } catch (NullPointerException e) { } 
     1283    try { 
     1284      Double plateWellOriginXValue = src.getPlateWellOriginX(plateIndex); 
     1285      if (plateWellOriginXValue != null) dest.setPlateWellOriginX(plateWellOriginXValue, plateIndex); 
     1286    } catch (NullPointerException e) { } 
     1287    try { 
     1288      Double plateWellOriginYValue = src.getPlateWellOriginY(plateIndex); 
     1289      if (plateWellOriginYValue != null) dest.setPlateWellOriginY(plateWellOriginYValue, plateIndex); 
     1290    } catch (NullPointerException e) { } 
     1291      try { 
     1292      //int annotationRefCount = src.getAnnotationRefCount(plateIndex); 
     1293      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1294      //} 
     1295      } catch (NullPointerException e) { } 
     1296      try { 
     1297      int plateAcquisitionCount = src.getPlateAcquisitionCount(plateIndex); 
     1298      for (int plateAcquisitionIndex=0; plateAcquisitionIndex<plateAcquisitionCount; plateAcquisitionIndex++) { 
     1299      try { 
     1300        //String plateAcquisitionAnnotationRefValue = src.getPlateAcquisitionAnnotationRef(plateIndex, plateAcquisitionIndex, annotationRefIndex); 
     1301        //if (plateAcquisitionAnnotationRefValue != null) dest.setPlateAcquisitionAnnotationRef(plateAcquisitionAnnotationRefValue, plateIndex, plateAcquisitionIndex, annotationRefIndex); 
     1302      } catch (NullPointerException e) { } 
     1303      try { 
     1304        String plateAcquisitionDescriptionValue = src.getPlateAcquisitionDescription(plateIndex, plateAcquisitionIndex); 
     1305        if (plateAcquisitionDescriptionValue != null) dest.setPlateAcquisitionDescription(plateAcquisitionDescriptionValue, plateIndex, plateAcquisitionIndex); 
     1306      } catch (NullPointerException e) { } 
     1307      try { 
     1308        String plateAcquisitionEndTimeValue = src.getPlateAcquisitionEndTime(plateIndex, plateAcquisitionIndex); 
     1309        if (plateAcquisitionEndTimeValue != null) dest.setPlateAcquisitionEndTime(plateAcquisitionEndTimeValue, plateIndex, plateAcquisitionIndex); 
     1310      } catch (NullPointerException e) { } 
     1311      try { 
     1312        String plateAcquisitionIDValue = src.getPlateAcquisitionID(plateIndex, plateAcquisitionIndex); 
     1313        if (plateAcquisitionIDValue != null) dest.setPlateAcquisitionID(plateAcquisitionIDValue, plateIndex, plateAcquisitionIndex); 
     1314      } catch (NullPointerException e) { } 
     1315      try { 
     1316        Integer plateAcquisitionMaximumFieldCountValue = src.getPlateAcquisitionMaximumFieldCount(plateIndex, plateAcquisitionIndex); 
     1317        if (plateAcquisitionMaximumFieldCountValue != null) dest.setPlateAcquisitionMaximumFieldCount(plateAcquisitionMaximumFieldCountValue, plateIndex, plateAcquisitionIndex); 
     1318      } catch (NullPointerException e) { } 
     1319      try { 
     1320        String plateAcquisitionNameValue = src.getPlateAcquisitionName(plateIndex, plateAcquisitionIndex); 
     1321        if (plateAcquisitionNameValue != null) dest.setPlateAcquisitionName(plateAcquisitionNameValue, plateIndex, plateAcquisitionIndex); 
     1322      } catch (NullPointerException e) { } 
     1323      try { 
     1324        String plateAcquisitionStartTimeValue = src.getPlateAcquisitionStartTime(plateIndex, plateAcquisitionIndex); 
     1325        if (plateAcquisitionStartTimeValue != null) dest.setPlateAcquisitionStartTime(plateAcquisitionStartTimeValue, plateIndex, plateAcquisitionIndex); 
     1326      } catch (NullPointerException e) { } 
     1327      try { 
     1328        //String plateAcquisitionWellSampleRefValue = src.getPlateAcquisitionWellSampleRef(plateIndex, plateAcquisitionIndex, wellSampleRefIndex); 
     1329        //if (plateAcquisitionWellSampleRefValue != null) dest.setPlateAcquisitionWellSampleRef(plateAcquisitionWellSampleRefValue, plateIndex, plateAcquisitionIndex, wellSampleRefIndex); 
     1330      } catch (NullPointerException e) { } 
     1331        try { 
     1332        //int annotationRefCount = src.getAnnotationRefCount(plateIndex, plateAcquisitionIndex); 
     1333        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1334        //} 
     1335        } catch (NullPointerException e) { } 
     1336        try { 
     1337        int wellSampleRefCount = src.getWellSampleRefCount(plateIndex, plateAcquisitionIndex); 
     1338        for (int wellSampleRefIndex=0; wellSampleRefIndex<wellSampleRefCount; wellSampleRefIndex++) { 
     1339        } 
     1340        } catch (NullPointerException e) { } 
     1341      } 
     1342      } catch (NullPointerException e) { } 
     1343      try { 
     1344      int screenRefCount = src.getScreenRefCount(plateIndex); 
     1345      for (int screenRefIndex=0; screenRefIndex<screenRefCount; screenRefIndex++) { 
     1346      } 
     1347      } catch (NullPointerException e) { } 
     1348      try { 
     1349      int wellCount = src.getWellCount(plateIndex); 
     1350      for (int wellIndex=0; wellIndex<wellCount; wellIndex++) { 
     1351      try { 
     1352        //String wellAnnotationRefValue = src.getWellAnnotationRef(plateIndex, wellIndex, annotationRefIndex); 
     1353        //if (wellAnnotationRefValue != null) dest.setWellAnnotationRef(wellAnnotationRefValue, plateIndex, wellIndex, annotationRefIndex); 
     1354      } catch (NullPointerException e) { } 
     1355      try { 
     1356        Integer wellColorValue = src.getWellColor(plateIndex, wellIndex); 
     1357        if (wellColorValue != null) dest.setWellColor(wellColorValue, plateIndex, wellIndex); 
     1358      } catch (NullPointerException e) { } 
     1359      try { 
     1360        NonNegativeInteger wellColumnValue = src.getWellColumn(plateIndex, wellIndex); 
     1361        if (wellColumnValue != null) dest.setWellColumn(wellColumnValue, plateIndex, wellIndex); 
     1362      } catch (NullPointerException e) { } 
     1363      try { 
     1364        String wellExternalDescriptionValue = src.getWellExternalDescription(plateIndex, wellIndex); 
     1365        if (wellExternalDescriptionValue != null) dest.setWellExternalDescription(wellExternalDescriptionValue, plateIndex, wellIndex); 
     1366      } catch (NullPointerException e) { } 
     1367      try { 
     1368        String wellExternalIdentifierValue = src.getWellExternalIdentifier(plateIndex, wellIndex); 
     1369        if (wellExternalIdentifierValue != null) dest.setWellExternalIdentifier(wellExternalIdentifierValue, plateIndex, wellIndex); 
     1370      } catch (NullPointerException e) { } 
     1371      try { 
     1372        String wellIDValue = src.getWellID(plateIndex, wellIndex); 
     1373        if (wellIDValue != null) dest.setWellID(wellIDValue, plateIndex, wellIndex); 
     1374      } catch (NullPointerException e) { } 
     1375      try { 
     1376        String wellReagentRefValue = src.getWellReagentRef(plateIndex, wellIndex); 
     1377        if (wellReagentRefValue != null) dest.setWellReagentRef(wellReagentRefValue, plateIndex, wellIndex); 
     1378      } catch (NullPointerException e) { } 
     1379      try { 
     1380        NonNegativeInteger wellRowValue = src.getWellRow(plateIndex, wellIndex); 
     1381        if (wellRowValue != null) dest.setWellRow(wellRowValue, plateIndex, wellIndex); 
     1382      } catch (NullPointerException e) { } 
     1383      try { 
     1384        String wellStatusValue = src.getWellStatus(plateIndex, wellIndex); 
     1385        if (wellStatusValue != null) dest.setWellStatus(wellStatusValue, plateIndex, wellIndex); 
     1386      } catch (NullPointerException e) { } 
     1387        try { 
     1388        //int annotationRefCount = src.getAnnotationRefCount(plateIndex, wellIndex); 
     1389        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1390        //} 
     1391        } catch (NullPointerException e) { } 
     1392        try { 
     1393        int wellSampleCount = src.getWellSampleCount(plateIndex, wellIndex); 
     1394        for (int wellSampleIndex=0; wellSampleIndex<wellSampleCount; wellSampleIndex++) { 
     1395        try { 
     1396          //String wellSampleAnnotationRefValue = src.getWellSampleAnnotationRef(plateIndex, wellIndex, wellSampleIndex, annotationRefIndex); 
     1397          //if (wellSampleAnnotationRefValue != null) dest.setWellSampleAnnotationRef(wellSampleAnnotationRefValue, plateIndex, wellIndex, wellSampleIndex, annotationRefIndex); 
     1398        } catch (NullPointerException e) { } 
     1399        try { 
     1400          String wellSampleIDValue = src.getWellSampleID(plateIndex, wellIndex, wellSampleIndex); 
     1401          if (wellSampleIDValue != null) dest.setWellSampleID(wellSampleIDValue, plateIndex, wellIndex, wellSampleIndex); 
     1402        } catch (NullPointerException e) { } 
     1403        try { 
     1404          String wellSampleImageRefValue = src.getWellSampleImageRef(plateIndex, wellIndex, wellSampleIndex); 
     1405          if (wellSampleImageRefValue != null) dest.setWellSampleImageRef(wellSampleImageRefValue, plateIndex, wellIndex, wellSampleIndex); 
     1406        } catch (NullPointerException e) { } 
     1407        try { 
     1408          NonNegativeInteger wellSampleIndexValue = src.getWellSampleIndex(plateIndex, wellIndex, wellSampleIndex); 
     1409          if (wellSampleIndexValue != null) dest.setWellSampleIndex(wellSampleIndexValue, plateIndex, wellIndex, wellSampleIndex); 
     1410        } catch (NullPointerException e) { } 
     1411        try { 
     1412          Double wellSamplePositionXValue = src.getWellSamplePositionX(plateIndex, wellIndex, wellSampleIndex); 
     1413          if (wellSamplePositionXValue != null) dest.setWellSamplePositionX(wellSamplePositionXValue, plateIndex, wellIndex, wellSampleIndex); 
     1414        } catch (NullPointerException e) { } 
     1415        try { 
     1416          Double wellSamplePositionYValue = src.getWellSamplePositionY(plateIndex, wellIndex, wellSampleIndex); 
     1417          if (wellSamplePositionYValue != null) dest.setWellSamplePositionY(wellSamplePositionYValue, plateIndex, wellIndex, wellSampleIndex); 
     1418        } catch (NullPointerException e) { } 
     1419        try { 
     1420          Integer wellSampleTimepointValue = src.getWellSampleTimepoint(plateIndex, wellIndex, wellSampleIndex); 
     1421          if (wellSampleTimepointValue != null) dest.setWellSampleTimepoint(wellSampleTimepointValue, plateIndex, wellIndex, wellSampleIndex); 
     1422        } catch (NullPointerException e) { } 
     1423          try { 
     1424          //int annotationRefCount = src.getAnnotationRefCount(plateIndex, wellIndex, wellSampleIndex); 
     1425          //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1426          //} 
     1427          } catch (NullPointerException e) { } 
     1428        } 
     1429        } catch (NullPointerException e) { } 
     1430      } 
     1431      } catch (NullPointerException e) { } 
     1432    } 
     1433    } catch (NullPointerException e) { } 
     1434    try { 
     1435    int projectCount = src.getProjectCount(); 
     1436    for (int projectIndex=0; projectIndex<projectCount; projectIndex++) { 
     1437    try { 
     1438      //String projectAnnotationRefValue = src.getProjectAnnotationRef(projectIndex, annotationRefIndex); 
     1439      //if (projectAnnotationRefValue != null) dest.setProjectAnnotationRef(projectAnnotationRefValue, projectIndex, annotationRefIndex); 
     1440    } catch (NullPointerException e) { } 
     1441    try { 
     1442      String projectDescriptionValue = src.getProjectDescription(projectIndex); 
     1443      if (projectDescriptionValue != null) dest.setProjectDescription(projectDescriptionValue, projectIndex); 
     1444    } catch (NullPointerException e) { } 
     1445    try { 
     1446      String projectExperimenterRefValue = src.getProjectExperimenterRef(projectIndex); 
     1447      if (projectExperimenterRefValue != null) dest.setProjectExperimenterRef(projectExperimenterRefValue, projectIndex); 
     1448    } catch (NullPointerException e) { } 
     1449    try { 
     1450      String projectGroupRefValue = src.getProjectGroupRef(projectIndex); 
     1451      if (projectGroupRefValue != null) dest.setProjectGroupRef(projectGroupRefValue, projectIndex); 
     1452    } catch (NullPointerException e) { } 
     1453    try { 
     1454      String projectIDValue = src.getProjectID(projectIndex); 
     1455      if (projectIDValue != null) dest.setProjectID(projectIDValue, projectIndex); 
     1456    } catch (NullPointerException e) { } 
     1457    try { 
     1458      String projectNameValue = src.getProjectName(projectIndex); 
     1459      if (projectNameValue != null) dest.setProjectName(projectNameValue, projectIndex); 
     1460    } catch (NullPointerException e) { } 
     1461      try { 
     1462      //int annotationRefCount = src.getAnnotationRefCount(projectIndex); 
     1463      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1464      //} 
     1465      } catch (NullPointerException e) { } 
     1466    } 
     1467    } catch (NullPointerException e) { } 
     1468    try { 
     1469    int roiCount = src.getROICount(); 
     1470    for (int roiIndex=0; roiIndex<roiCount; roiIndex++) { 
     1471    try { 
     1472      //String roiAnnotationRefValue = src.getROIAnnotationRef(roiIndex, annotationRefIndex); 
     1473      //if (roiAnnotationRefValue != null) dest.setROIAnnotationRef(roiAnnotationRefValue, roiIndex, annotationRefIndex); 
     1474    } catch (NullPointerException e) { } 
     1475    try { 
     1476      String roiDescriptionValue = src.getROIDescription(roiIndex); 
     1477      if (roiDescriptionValue != null) dest.setROIDescription(roiDescriptionValue, roiIndex); 
     1478    } catch (NullPointerException e) { } 
     1479    try { 
     1480      String roiidValue = src.getROIID(roiIndex); 
     1481      if (roiidValue != null) dest.setROIID(roiidValue, roiIndex); 
     1482    } catch (NullPointerException e) { } 
     1483    try { 
     1484      String roiNameValue = src.getROIName(roiIndex); 
     1485      if (roiNameValue != null) dest.setROIName(roiNameValue, roiIndex); 
     1486    } catch (NullPointerException e) { } 
     1487    try { 
     1488      String roiNamespaceValue = src.getROINamespace(roiIndex); 
     1489      if (roiNamespaceValue != null) dest.setROINamespace(roiNamespaceValue, roiIndex); 
     1490    } catch (NullPointerException e) { } 
     1491      try { 
     1492      //int annotationRefCount = src.getAnnotationRefCount(roiIndex); 
     1493      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1494      //} 
     1495      } catch (NullPointerException e) { } 
     1496      try { 
     1497      /* 
     1498      int shapeCount = src.getShapeCount(roiIndex, shapeIndex); 
     1499      for (int shapeIndex=0; shapeIndex<shapeCount; shapeIndex++) { 
     1500        try { 
     1501        int annotationRefCount = src.getAnnotationRefCount(roiIndex, shapeIndex); 
     1502        for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1503        } 
     1504        } catch (NullPointerException e) { } 
     1505        try { 
     1506          String ellipseDescriptionValue = src.getEllipseDescription(roiIndex, shapeIndex); 
     1507          if (ellipseDescriptionValue != null) dest.setEllipseDescription(ellipseDescriptionValue, roiIndex, shapeIndex); 
     1508        } catch (NullPointerException e) { } 
     1509        try { 
     1510          Integer ellipseFillValue = src.getEllipseFill(roiIndex, shapeIndex); 
     1511          if (ellipseFillValue != null) dest.setEllipseFill(ellipseFillValue, roiIndex, shapeIndex); 
     1512        } catch (NullPointerException e) { } 
     1513        try { 
     1514          Integer ellipseFontSizeValue = src.getEllipseFontSize(roiIndex, shapeIndex); 
     1515          if (ellipseFontSizeValue != null) dest.setEllipseFontSize(ellipseFontSizeValue, roiIndex, shapeIndex); 
     1516        } catch (NullPointerException e) { } 
     1517        try { 
     1518          String ellipseIDValue = src.getEllipseID(roiIndex, shapeIndex); 
     1519          if (ellipseIDValue != null) dest.setEllipseID(ellipseIDValue, roiIndex, shapeIndex); 
     1520        } catch (NullPointerException e) { } 
     1521        try { 
     1522          String ellipseLabelValue = src.getEllipseLabel(roiIndex, shapeIndex); 
     1523          if (ellipseLabelValue != null) dest.setEllipseLabel(ellipseLabelValue, roiIndex, shapeIndex); 
     1524        } catch (NullPointerException e) { } 
     1525        try { 
     1526          String ellipseNameValue = src.getEllipseName(roiIndex, shapeIndex); 
     1527          if (ellipseNameValue != null) dest.setEllipseName(ellipseNameValue, roiIndex, shapeIndex); 
     1528        } catch (NullPointerException e) { } 
     1529        try { 
     1530          Double ellipseRadiusXValue = src.getEllipseRadiusX(roiIndex, shapeIndex); 
     1531          if (ellipseRadiusXValue != null) dest.setEllipseRadiusX(ellipseRadiusXValue, roiIndex, shapeIndex); 
     1532        } catch (NullPointerException e) { } 
     1533        try { 
     1534          Double ellipseRadiusYValue = src.getEllipseRadiusY(roiIndex, shapeIndex); 
     1535          if (ellipseRadiusYValue != null) dest.setEllipseRadiusY(ellipseRadiusYValue, roiIndex, shapeIndex); 
     1536        } catch (NullPointerException e) { } 
     1537        try { 
     1538          Integer ellipseStrokeValue = src.getEllipseStroke(roiIndex, shapeIndex); 
     1539          if (ellipseStrokeValue != null) dest.setEllipseStroke(ellipseStrokeValue, roiIndex, shapeIndex); 
     1540        } catch (NullPointerException e) { } 
     1541        try { 
     1542          String ellipseStrokeDashArrayValue = src.getEllipseStrokeDashArray(roiIndex, shapeIndex); 
     1543          if (ellipseStrokeDashArrayValue != null) dest.setEllipseStrokeDashArray(ellipseStrokeDashArrayValue, roiIndex, shapeIndex); 
     1544        } catch (NullPointerException e) { } 
     1545        try { 
     1546          Double ellipseStrokeWidthValue = src.getEllipseStrokeWidth(roiIndex, shapeIndex); 
     1547          if (ellipseStrokeWidthValue != null) dest.setEllipseStrokeWidth(ellipseStrokeWidthValue, roiIndex, shapeIndex); 
     1548        } catch (NullPointerException e) { } 
     1549        try { 
     1550          Integer ellipseTheCValue = src.getEllipseTheC(roiIndex, shapeIndex); 
     1551          if (ellipseTheCValue != null) dest.setEllipseTheC(ellipseTheCValue, roiIndex, shapeIndex); 
     1552        } catch (NullPointerException e) { } 
     1553        try { 
     1554          Integer ellipseTheTValue = src.getEllipseTheT(roiIndex, shapeIndex); 
     1555          if (ellipseTheTValue != null) dest.setEllipseTheT(ellipseTheTValue, roiIndex, shapeIndex); 
     1556        } catch (NullPointerException e) { } 
     1557        try { 
     1558          Integer ellipseTheZValue = src.getEllipseTheZ(roiIndex, shapeIndex); 
     1559          if (ellipseTheZValue != null) dest.setEllipseTheZ(ellipseTheZValue, roiIndex, shapeIndex); 
     1560        } catch (NullPointerException e) { } 
     1561        try { 
     1562          String ellipseTransformValue = src.getEllipseTransform(roiIndex, shapeIndex); 
     1563          if (ellipseTransformValue != null) dest.setEllipseTransform(ellipseTransformValue, roiIndex, shapeIndex); 
     1564        } catch (NullPointerException e) { } 
     1565        try { 
     1566          Double ellipseXValue = src.getEllipseX(roiIndex, shapeIndex); 
     1567          if (ellipseXValue != null) dest.setEllipseX(ellipseXValue, roiIndex, shapeIndex); 
     1568        } catch (NullPointerException e) { } 
     1569        try { 
     1570          Double ellipseYValue = src.getEllipseY(roiIndex, shapeIndex); 
     1571          if (ellipseYValue != null) dest.setEllipseY(ellipseYValue, roiIndex, shapeIndex); 
     1572        } catch (NullPointerException e) { } 
     1573        try { 
     1574          String lineDescriptionValue = src.getLineDescription(roiIndex, shapeIndex); 
     1575          if (lineDescriptionValue != null) dest.setLineDescription(lineDescriptionValue, roiIndex, shapeIndex); 
     1576        } catch (NullPointerException e) { } 
     1577        try { 
     1578          Integer lineFillValue = src.getLineFill(roiIndex, shapeIndex); 
     1579          if (lineFillValue != null) dest.setLineFill(lineFillValue, roiIndex, shapeIndex); 
     1580        } catch (NullPointerException e) { } 
     1581        try { 
     1582          Integer lineFontSizeValue = src.getLineFontSize(roiIndex, shapeIndex); 
     1583          if (lineFontSizeValue != null) dest.setLineFontSize(lineFontSizeValue, roiIndex, shapeIndex); 
     1584        } catch (NullPointerException e) { } 
     1585        try { 
     1586          String lineIDValue = src.getLineID(roiIndex, shapeIndex); 
     1587          if (lineIDValue != null) dest.setLineID(lineIDValue, roiIndex, shapeIndex); 
     1588        } catch (NullPointerException e) { } 
     1589        try { 
     1590          String lineLabelValue = src.getLineLabel(roiIndex, shapeIndex); 
     1591          if (lineLabelValue != null) dest.setLineLabel(lineLabelValue, roiIndex, shapeIndex); 
     1592        } catch (NullPointerException e) { } 
     1593        try { 
     1594          String lineNameValue = src.getLineName(roiIndex, shapeIndex); 
     1595          if (lineNameValue != null) dest.setLineName(lineNameValue, roiIndex, shapeIndex); 
     1596        } catch (NullPointerException e) { } 
     1597        try { 
     1598          Integer lineStrokeValue = src.getLineStroke(roiIndex, shapeIndex); 
     1599          if (lineStrokeValue != null) dest.setLineStroke(lineStrokeValue, roiIndex, shapeIndex); 
     1600        } catch (NullPointerException e) { } 
     1601        try { 
     1602          String lineStrokeDashArrayValue = src.getLineStrokeDashArray(roiIndex, shapeIndex); 
     1603          if (lineStrokeDashArrayValue != null) dest.setLineStrokeDashArray(lineStrokeDashArrayValue, roiIndex, shapeIndex); 
     1604        } catch (NullPointerException e) { } 
     1605        try { 
     1606          Double lineStrokeWidthValue = src.getLineStrokeWidth(roiIndex, shapeIndex); 
     1607          if (lineStrokeWidthValue != null) dest.setLineStrokeWidth(lineStrokeWidthValue, roiIndex, shapeIndex); 
     1608        } catch (NullPointerException e) { } 
     1609        try { 
     1610          Integer lineTheCValue = src.getLineTheC(roiIndex, shapeIndex); 
     1611          if (lineTheCValue != null) dest.setLineTheC(lineTheCValue, roiIndex, shapeIndex); 
     1612        } catch (NullPointerException e) { } 
     1613        try { 
     1614          Integer lineTheTValue = src.getLineTheT(roiIndex, shapeIndex); 
     1615          if (lineTheTValue != null) dest.setLineTheT(lineTheTValue, roiIndex, shapeIndex); 
     1616        } catch (NullPointerException e) { } 
     1617        try { 
     1618          Integer lineTheZValue = src.getLineTheZ(roiIndex, shapeIndex); 
     1619          if (lineTheZValue != null) dest.setLineTheZ(lineTheZValue, roiIndex, shapeIndex); 
     1620        } catch (NullPointerException e) { } 
     1621        try { 
     1622          String lineTransformValue = src.getLineTransform(roiIndex, shapeIndex); 
     1623          if (lineTransformValue != null) dest.setLineTransform(lineTransformValue, roiIndex, shapeIndex); 
     1624        } catch (NullPointerException e) { } 
     1625        try { 
     1626          Double lineX1Value = src.getLineX1(roiIndex, shapeIndex); 
     1627          if (lineX1Value != null) dest.setLineX1(lineX1Value, roiIndex, shapeIndex); 
     1628        } catch (NullPointerException e) { } 
     1629        try { 
     1630          Double lineX2Value = src.getLineX2(roiIndex, shapeIndex); 
     1631          if (lineX2Value != null) dest.setLineX2(lineX2Value, roiIndex, shapeIndex); 
     1632        } catch (NullPointerException e) { } 
     1633        try { 
     1634          Double lineY1Value = src.getLineY1(roiIndex, shapeIndex); 
     1635          if (lineY1Value != null) dest.setLineY1(lineY1Value, roiIndex, shapeIndex); 
     1636        } catch (NullPointerException e) { } 
     1637        try { 
     1638          Double lineY2Value = src.getLineY2(roiIndex, shapeIndex); 
     1639          if (lineY2Value != null) dest.setLineY2(lineY2Value, roiIndex, shapeIndex); 
     1640        } catch (NullPointerException e) { } 
     1641        try { 
     1642          String maskDescriptionValue = src.getMaskDescription(roiIndex, shapeIndex); 
     1643          if (maskDescriptionValue != null) dest.setMaskDescription(maskDescriptionValue, roiIndex, shapeIndex); 
     1644        } catch (NullPointerException e) { } 
     1645        try { 
     1646          Integer maskFillValue = src.getMaskFill(roiIndex, shapeIndex); 
     1647          if (maskFillValue != null) dest.setMaskFill(maskFillValue, roiIndex, shapeIndex); 
     1648        } catch (NullPointerException e) { } 
     1649        try { 
     1650          Integer maskFontSizeValue = src.getMaskFontSize(roiIndex, shapeIndex); 
     1651          if (maskFontSizeValue != null) dest.setMaskFontSize(maskFontSizeValue, roiIndex, shapeIndex); 
     1652        } catch (NullPointerException e) { } 
     1653        try { 
     1654          String maskIDValue = src.getMaskID(roiIndex, shapeIndex); 
     1655          if (maskIDValue != null) dest.setMaskID(maskIDValue, roiIndex, shapeIndex); 
     1656        } catch (NullPointerException e) { } 
     1657        try { 
     1658          String maskLabelValue = src.getMaskLabel(roiIndex, shapeIndex); 
     1659          if (maskLabelValue != null) dest.setMaskLabel(maskLabelValue, roiIndex, shapeIndex); 
     1660        } catch (NullPointerException e) { } 
     1661        try { 
     1662          String maskNameValue = src.getMaskName(roiIndex, shapeIndex); 
     1663          if (maskNameValue != null) dest.setMaskName(maskNameValue, roiIndex, shapeIndex); 
     1664        } catch (NullPointerException e) { } 
     1665        try { 
     1666          Integer maskStrokeValue = src.getMaskStroke(roiIndex, shapeIndex); 
     1667          if (maskStrokeValue != null) dest.setMaskStroke(maskStrokeValue, roiIndex, shapeIndex); 
     1668        } catch (NullPointerException e) { } 
     1669        try { 
     1670          String maskStrokeDashArrayValue = src.getMaskStrokeDashArray(roiIndex, shapeIndex); 
     1671          if (maskStrokeDashArrayValue != null) dest.setMaskStrokeDashArray(maskStrokeDashArrayValue, roiIndex, shapeIndex); 
     1672        } catch (NullPointerException e) { } 
     1673        try { 
     1674          Double maskStrokeWidthValue = src.getMaskStrokeWidth(roiIndex, shapeIndex); 
     1675          if (maskStrokeWidthValue != null) dest.setMaskStrokeWidth(maskStrokeWidthValue, roiIndex, shapeIndex); 
     1676        } catch (NullPointerException e) { } 
     1677        try { 
     1678          Integer maskTheCValue = src.getMaskTheC(roiIndex, shapeIndex); 
     1679          if (maskTheCValue != null) dest.setMaskTheC(maskTheCValue, roiIndex, shapeIndex); 
     1680        } catch (NullPointerException e) { } 
     1681        try { 
     1682          Integer maskTheTValue = src.getMaskTheT(roiIndex, shapeIndex); 
     1683          if (maskTheTValue != null) dest.setMaskTheT(maskTheTValue, roiIndex, shapeIndex); 
     1684        } catch (NullPointerException e) { } 
     1685        try { 
     1686          Integer maskTheZValue = src.getMaskTheZ(roiIndex, shapeIndex); 
     1687          if (maskTheZValue != null) dest.setMaskTheZ(maskTheZValue, roiIndex, shapeIndex); 
     1688        } catch (NullPointerException e) { } 
     1689        try { 
     1690          String maskTransformValue = src.getMaskTransform(roiIndex, shapeIndex); 
     1691          if (maskTransformValue != null) dest.setMaskTransform(maskTransformValue, roiIndex, shapeIndex); 
     1692        } catch (NullPointerException e) { } 
     1693        try { 
     1694          Double maskXValue = src.getMaskX(roiIndex, shapeIndex); 
     1695          if (maskXValue != null) dest.setMaskX(maskXValue, roiIndex, shapeIndex); 
     1696        } catch (NullPointerException e) { } 
     1697        try { 
     1698          Double maskYValue = src.getMaskY(roiIndex, shapeIndex); 
     1699          if (maskYValue != null) dest.setMaskY(maskYValue, roiIndex, shapeIndex); 
     1700        } catch (NullPointerException e) { } 
     1701        try { 
     1702          String pathDefinitionValue = src.getPathDefinition(roiIndex, shapeIndex); 
     1703          if (pathDefinitionValue != null) dest.setPathDefinition(pathDefinitionValue, roiIndex, shapeIndex); 
     1704        } catch (NullPointerException e) { } 
     1705        try { 
     1706          String pathDescriptionValue = src.getPathDescription(roiIndex, shapeIndex); 
     1707          if (pathDescriptionValue != null) dest.setPathDescription(pathDescriptionValue, roiIndex, shapeIndex); 
     1708        } catch (NullPointerException e) { } 
     1709        try { 
     1710          Integer pathFillValue = src.getPathFill(roiIndex, shapeIndex); 
     1711          if (pathFillValue != null) dest.setPathFill(pathFillValue, roiIndex, shapeIndex); 
     1712        } catch (NullPointerException e) { } 
     1713        try { 
     1714          Integer pathFontSizeValue = src.getPathFontSize(roiIndex, shapeIndex); 
     1715          if (pathFontSizeValue != null) dest.setPathFontSize(pathFontSizeValue, roiIndex, shapeIndex); 
     1716        } catch (NullPointerException e) { } 
     1717        try { 
     1718          String pathIDValue = src.getPathID(roiIndex, shapeIndex); 
     1719          if (pathIDValue != null) dest.setPathID(pathIDValue, roiIndex, shapeIndex); 
     1720        } catch (NullPointerException e) { } 
     1721        try { 
     1722          String pathLabelValue = src.getPathLabel(roiIndex, shapeIndex); 
     1723          if (pathLabelValue != null) dest.setPathLabel(pathLabelValue, roiIndex, shapeIndex); 
     1724        } catch (NullPointerException e) { } 
     1725        try { 
     1726          String pathNameValue = src.getPathName(roiIndex, shapeIndex); 
     1727          if (pathNameValue != null) dest.setPathName(pathNameValue, roiIndex, shapeIndex); 
     1728        } catch (NullPointerException e) { } 
     1729        try { 
     1730          Integer pathStrokeValue = src.getPathStroke(roiIndex, shapeIndex); 
     1731          if (pathStrokeValue != null) dest.setPathStroke(pathStrokeValue, roiIndex, shapeIndex); 
     1732        } catch (NullPointerException e) { } 
     1733        try { 
     1734          String pathStrokeDashArrayValue = src.getPathStrokeDashArray(roiIndex, shapeIndex); 
     1735          if (pathStrokeDashArrayValue != null) dest.setPathStrokeDashArray(pathStrokeDashArrayValue, roiIndex, shapeIndex); 
     1736        } catch (NullPointerException e) { } 
     1737        try { 
     1738          Double pathStrokeWidthValue = src.getPathStrokeWidth(roiIndex, shapeIndex); 
     1739          if (pathStrokeWidthValue != null) dest.setPathStrokeWidth(pathStrokeWidthValue, roiIndex, shapeIndex); 
     1740        } catch (NullPointerException e) { } 
     1741        try { 
     1742          Integer pathTheCValue = src.getPathTheC(roiIndex, shapeIndex); 
     1743          if (pathTheCValue != null) dest.setPathTheC(pathTheCValue, roiIndex, shapeIndex); 
     1744        } catch (NullPointerException e) { } 
     1745        try { 
     1746          Integer pathTheTValue = src.getPathTheT(roiIndex, shapeIndex); 
     1747          if (pathTheTValue != null) dest.setPathTheT(pathTheTValue, roiIndex, shapeIndex); 
     1748        } catch (NullPointerException e) { } 
     1749        try { 
     1750          Integer pathTheZValue = src.getPathTheZ(roiIndex, shapeIndex); 
     1751          if (pathTheZValue != null) dest.setPathTheZ(pathTheZValue, roiIndex, shapeIndex); 
     1752        } catch (NullPointerException e) { } 
     1753        try { 
     1754          String pathTransformValue = src.getPathTransform(roiIndex, shapeIndex); 
     1755          if (pathTransformValue != null) dest.setPathTransform(pathTransformValue, roiIndex, shapeIndex); 
     1756        } catch (NullPointerException e) { } 
     1757        try { 
     1758          String pointDescriptionValue = src.getPointDescription(roiIndex, shapeIndex); 
     1759          if (pointDescriptionValue != null) dest.setPointDescription(pointDescriptionValue, roiIndex, shapeIndex); 
     1760        } catch (NullPointerException e) { } 
     1761        try { 
     1762          Integer pointFillValue = src.getPointFill(roiIndex, shapeIndex); 
     1763          if (pointFillValue != null) dest.setPointFill(pointFillValue, roiIndex, shapeIndex); 
     1764        } catch (NullPointerException e) { } 
     1765        try { 
     1766          Integer pointFontSizeValue = src.getPointFontSize(roiIndex, shapeIndex); 
     1767          if (pointFontSizeValue != null) dest.setPointFontSize(pointFontSizeValue, roiIndex, shapeIndex); 
     1768        } catch (NullPointerException e) { } 
     1769        try { 
     1770          String pointIDValue = src.getPointID(roiIndex, shapeIndex); 
     1771          if (pointIDValue != null) dest.setPointID(pointIDValue, roiIndex, shapeIndex); 
     1772        } catch (NullPointerException e) { } 
     1773        try { 
     1774          String pointLabelValue = src.getPointLabel(roiIndex, shapeIndex); 
     1775          if (pointLabelValue != null) dest.setPointLabel(pointLabelValue, roiIndex, shapeIndex); 
     1776        } catch (NullPointerException e) { } 
     1777        try { 
     1778          String pointNameValue = src.getPointName(roiIndex, shapeIndex); 
     1779          if (pointNameValue != null) dest.setPointName(pointNameValue, roiIndex, shapeIndex); 
     1780        } catch (NullPointerException e) { } 
     1781        try { 
     1782          Integer pointStrokeValue = src.getPointStroke(roiIndex, shapeIndex); 
     1783          if (pointStrokeValue != null) dest.setPointStroke(pointStrokeValue, roiIndex, shapeIndex); 
     1784        } catch (NullPointerException e) { } 
     1785        try { 
     1786          String pointStrokeDashArrayValue = src.getPointStrokeDashArray(roiIndex, shapeIndex); 
     1787          if (pointStrokeDashArrayValue != null) dest.setPointStrokeDashArray(pointStrokeDashArrayValue, roiIndex, shapeIndex); 
     1788        } catch (NullPointerException e) { } 
     1789        try { 
     1790          Double pointStrokeWidthValue = src.getPointStrokeWidth(roiIndex, shapeIndex); 
     1791          if (pointStrokeWidthValue != null) dest.setPointStrokeWidth(pointStrokeWidthValue, roiIndex, shapeIndex); 
     1792        } catch (NullPointerException e) { } 
     1793        try { 
     1794          Integer pointTheCValue = src.getPointTheC(roiIndex, shapeIndex); 
     1795          if (pointTheCValue != null) dest.setPointTheC(pointTheCValue, roiIndex, shapeIndex); 
     1796        } catch (NullPointerException e) { } 
     1797        try { 
     1798          Integer pointTheTValue = src.getPointTheT(roiIndex, shapeIndex); 
     1799          if (pointTheTValue != null) dest.setPointTheT(pointTheTValue, roiIndex, shapeIndex); 
     1800        } catch (NullPointerException e) { } 
     1801        try { 
     1802          Integer pointTheZValue = src.getPointTheZ(roiIndex, shapeIndex); 
     1803          if (pointTheZValue != null) dest.setPointTheZ(pointTheZValue, roiIndex, shapeIndex); 
     1804        } catch (NullPointerException e) { } 
     1805        try { 
     1806          String pointTransformValue = src.getPointTransform(roiIndex, shapeIndex); 
     1807          if (pointTransformValue != null) dest.setPointTransform(pointTransformValue, roiIndex, shapeIndex); 
     1808        } catch (NullPointerException e) { } 
     1809        try { 
     1810          Double pointXValue = src.getPointX(roiIndex, shapeIndex); 
     1811          if (pointXValue != null) dest.setPointX(pointXValue, roiIndex, shapeIndex); 
     1812        } catch (NullPointerException e) { } 
     1813        try { 
     1814          Double pointYValue = src.getPointY(roiIndex, shapeIndex); 
     1815          if (pointYValue != null) dest.setPointY(pointYValue, roiIndex, shapeIndex); 
     1816        } catch (NullPointerException e) { } 
     1817        try { 
     1818          Boolean polylineClosedValue = src.getPolylineClosed(roiIndex, shapeIndex); 
     1819          if (polylineClosedValue != null) dest.setPolylineClosed(polylineClosedValue, roiIndex, shapeIndex); 
     1820        } catch (NullPointerException e) { } 
     1821        try { 
     1822          String polylineDescriptionValue = src.getPolylineDescription(roiIndex, shapeIndex); 
     1823          if (polylineDescriptionValue != null) dest.setPolylineDescription(polylineDescriptionValue, roiIndex, shapeIndex); 
     1824        } catch (NullPointerException e) { } 
     1825        try { 
     1826          Integer polylineFillValue = src.getPolylineFill(roiIndex, shapeIndex); 
     1827          if (polylineFillValue != null) dest.setPolylineFill(polylineFillValue, roiIndex, shapeIndex); 
     1828        } catch (NullPointerException e) { } 
     1829        try { 
     1830          Integer polylineFontSizeValue = src.getPolylineFontSize(roiIndex, shapeIndex); 
     1831          if (polylineFontSizeValue != null) dest.setPolylineFontSize(polylineFontSizeValue, roiIndex, shapeIndex); 
     1832        } catch (NullPointerException e) { } 
     1833        try { 
     1834          String polylineIDValue = src.getPolylineID(roiIndex, shapeIndex); 
     1835          if (polylineIDValue != null) dest.setPolylineID(polylineIDValue, roiIndex, shapeIndex); 
     1836        } catch (NullPointerException e) { } 
     1837        try { 
     1838          String polylineLabelValue = src.getPolylineLabel(roiIndex, shapeIndex); 
     1839          if (polylineLabelValue != null) dest.setPolylineLabel(polylineLabelValue, roiIndex, shapeIndex); 
     1840        } catch (NullPointerException e) { } 
     1841        try { 
     1842          String polylineNameValue = src.getPolylineName(roiIndex, shapeIndex); 
     1843          if (polylineNameValue != null) dest.setPolylineName(polylineNameValue, roiIndex, shapeIndex); 
     1844        } catch (NullPointerException e) { } 
     1845        try { 
     1846          String polylinePointsValue = src.getPolylinePoints(roiIndex, shapeIndex); 
     1847          if (polylinePointsValue != null) dest.setPolylinePoints(polylinePointsValue, roiIndex, shapeIndex); 
     1848        } catch (NullPointerException e) { } 
     1849        try { 
     1850          Integer polylineStrokeValue = src.getPolylineStroke(roiIndex, shapeIndex); 
     1851          if (polylineStrokeValue != null) dest.setPolylineStroke(polylineStrokeValue, roiIndex, shapeIndex); 
     1852        } catch (NullPointerException e) { } 
     1853        try { 
     1854          String polylineStrokeDashArrayValue = src.getPolylineStrokeDashArray(roiIndex, shapeIndex); 
     1855          if (polylineStrokeDashArrayValue != null) dest.setPolylineStrokeDashArray(polylineStrokeDashArrayValue, roiIndex, shapeIndex); 
     1856        } catch (NullPointerException e) { } 
     1857        try { 
     1858          Double polylineStrokeWidthValue = src.getPolylineStrokeWidth(roiIndex, shapeIndex); 
     1859          if (polylineStrokeWidthValue != null) dest.setPolylineStrokeWidth(polylineStrokeWidthValue, roiIndex, shapeIndex); 
     1860        } catch (NullPointerException e) { } 
     1861        try { 
     1862          Integer polylineTheCValue = src.getPolylineTheC(roiIndex, shapeIndex); 
     1863          if (polylineTheCValue != null) dest.setPolylineTheC(polylineTheCValue, roiIndex, shapeIndex); 
     1864        } catch (NullPointerException e) { } 
     1865        try { 
     1866          Integer polylineTheTValue = src.getPolylineTheT(roiIndex, shapeIndex); 
     1867          if (polylineTheTValue != null) dest.setPolylineTheT(polylineTheTValue, roiIndex, shapeIndex); 
     1868        } catch (NullPointerException e) { } 
     1869        try { 
     1870          Integer polylineTheZValue = src.getPolylineTheZ(roiIndex, shapeIndex); 
     1871          if (polylineTheZValue != null) dest.setPolylineTheZ(polylineTheZValue, roiIndex, shapeIndex); 
     1872        } catch (NullPointerException e) { } 
     1873        try { 
     1874          String polylineTransformValue = src.getPolylineTransform(roiIndex, shapeIndex); 
     1875          if (polylineTransformValue != null) dest.setPolylineTransform(polylineTransformValue, roiIndex, shapeIndex); 
     1876        } catch (NullPointerException e) { } 
     1877        try { 
     1878          String rectangleDescriptionValue = src.getRectangleDescription(roiIndex, shapeIndex); 
     1879          if (rectangleDescriptionValue != null) dest.setRectangleDescription(rectangleDescriptionValue, roiIndex, shapeIndex); 
     1880        } catch (NullPointerException e) { } 
     1881        try { 
     1882          Integer rectangleFillValue = src.getRectangleFill(roiIndex, shapeIndex); 
     1883          if (rectangleFillValue != null) dest.setRectangleFill(rectangleFillValue, roiIndex, shapeIndex); 
     1884        } catch (NullPointerException e) { } 
     1885        try { 
     1886          Integer rectangleFontSizeValue = src.getRectangleFontSize(roiIndex, shapeIndex); 
     1887          if (rectangleFontSizeValue != null) dest.setRectangleFontSize(rectangleFontSizeValue, roiIndex, shapeIndex); 
     1888        } catch (NullPointerException e) { } 
     1889        try { 
     1890          Double rectangleHeightValue = src.getRectangleHeight(roiIndex, shapeIndex); 
     1891          if (rectangleHeightValue != null) dest.setRectangleHeight(rectangleHeightValue, roiIndex, shapeIndex); 
     1892        } catch (NullPointerException e) { } 
     1893        try { 
     1894          String rectangleIDValue = src.getRectangleID(roiIndex, shapeIndex); 
     1895          if (rectangleIDValue != null) dest.setRectangleID(rectangleIDValue, roiIndex, shapeIndex); 
     1896        } catch (NullPointerException e) { } 
     1897        try { 
     1898          String rectangleLabelValue = src.getRectangleLabel(roiIndex, shapeIndex); 
     1899          if (rectangleLabelValue != null) dest.setRectangleLabel(rectangleLabelValue, roiIndex, shapeIndex); 
     1900        } catch (NullPointerException e) { } 
     1901        try { 
     1902          String rectangleNameValue = src.getRectangleName(roiIndex, shapeIndex); 
     1903          if (rectangleNameValue != null) dest.setRectangleName(rectangleNameValue, roiIndex, shapeIndex); 
     1904        } catch (NullPointerException e) { } 
     1905        try { 
     1906          Integer rectangleStrokeValue = src.getRectangleStroke(roiIndex, shapeIndex); 
     1907          if (rectangleStrokeValue != null) dest.setRectangleStroke(rectangleStrokeValue, roiIndex, shapeIndex); 
     1908        } catch (NullPointerException e) { } 
     1909        try { 
     1910          String rectangleStrokeDashArrayValue = src.getRectangleStrokeDashArray(roiIndex, shapeIndex); 
     1911          if (rectangleStrokeDashArrayValue != null) dest.setRectangleStrokeDashArray(rectangleStrokeDashArrayValue, roiIndex, shapeIndex); 
     1912        } catch (NullPointerException e) { } 
     1913        try { 
     1914          Double rectangleStrokeWidthValue = src.getRectangleStrokeWidth(roiIndex, shapeIndex); 
     1915          if (rectangleStrokeWidthValue != null) dest.setRectangleStrokeWidth(rectangleStrokeWidthValue, roiIndex, shapeIndex); 
     1916        } catch (NullPointerException e) { } 
     1917        try { 
     1918          Integer rectangleTheCValue = src.getRectangleTheC(roiIndex, shapeIndex); 
     1919          if (rectangleTheCValue != null) dest.setRectangleTheC(rectangleTheCValue, roiIndex, shapeIndex); 
     1920        } catch (NullPointerException e) { } 
     1921        try { 
     1922          Integer rectangleTheTValue = src.getRectangleTheT(roiIndex, shapeIndex); 
     1923          if (rectangleTheTValue != null) dest.setRectangleTheT(rectangleTheTValue, roiIndex, shapeIndex); 
     1924        } catch (NullPointerException e) { } 
     1925        try { 
     1926          Integer rectangleTheZValue = src.getRectangleTheZ(roiIndex, shapeIndex); 
     1927          if (rectangleTheZValue != null) dest.setRectangleTheZ(rectangleTheZValue, roiIndex, shapeIndex); 
     1928        } catch (NullPointerException e) { } 
     1929        try { 
     1930          String rectangleTransformValue = src.getRectangleTransform(roiIndex, shapeIndex); 
     1931          if (rectangleTransformValue != null) dest.setRectangleTransform(rectangleTransformValue, roiIndex, shapeIndex); 
     1932        } catch (NullPointerException e) { } 
     1933        try { 
     1934          Double rectangleWidthValue = src.getRectangleWidth(roiIndex, shapeIndex); 
     1935          if (rectangleWidthValue != null) dest.setRectangleWidth(rectangleWidthValue, roiIndex, shapeIndex); 
     1936        } catch (NullPointerException e) { } 
     1937        try { 
     1938          Double rectangleXValue = src.getRectangleX(roiIndex, shapeIndex); 
     1939          if (rectangleXValue != null) dest.setRectangleX(rectangleXValue, roiIndex, shapeIndex); 
     1940        } catch (NullPointerException e) { } 
     1941        try { 
     1942          Double rectangleYValue = src.getRectangleY(roiIndex, shapeIndex); 
     1943          if (rectangleYValue != null) dest.setRectangleY(rectangleYValue, roiIndex, shapeIndex); 
     1944        } catch (NullPointerException e) { } 
     1945        try { 
     1946          String textDescriptionValue = src.getTextDescription(roiIndex, shapeIndex); 
     1947          if (textDescriptionValue != null) dest.setTextDescription(textDescriptionValue, roiIndex, shapeIndex); 
     1948        } catch (NullPointerException e) { } 
     1949        try { 
     1950          Integer textFillValue = src.getTextFill(roiIndex, shapeIndex); 
     1951          if (textFillValue != null) dest.setTextFill(textFillValue, roiIndex, shapeIndex); 
     1952        } catch (NullPointerException e) { } 
     1953        try { 
     1954          Integer textFontSizeValue = src.getTextFontSize(roiIndex, shapeIndex); 
     1955          if (textFontSizeValue != null) dest.setTextFontSize(textFontSizeValue, roiIndex, shapeIndex); 
     1956        } catch (NullPointerException e) { } 
     1957        try { 
     1958          String textIDValue = src.getTextID(roiIndex, shapeIndex); 
     1959          if (textIDValue != null) dest.setTextID(textIDValue, roiIndex, shapeIndex); 
     1960        } catch (NullPointerException e) { } 
     1961        try { 
     1962          String textLabelValue = src.getTextLabel(roiIndex, shapeIndex); 
     1963          if (textLabelValue != null) dest.setTextLabel(textLabelValue, roiIndex, shapeIndex); 
     1964        } catch (NullPointerException e) { } 
     1965        try { 
     1966          String textNameValue = src.getTextName(roiIndex, shapeIndex); 
     1967          if (textNameValue != null) dest.setTextName(textNameValue, roiIndex, shapeIndex); 
     1968        } catch (NullPointerException e) { } 
     1969        try { 
     1970          Integer textStrokeValue = src.getTextStroke(roiIndex, shapeIndex); 
     1971          if (textStrokeValue != null) dest.setTextStroke(textStrokeValue, roiIndex, shapeIndex); 
     1972        } catch (NullPointerException e) { } 
     1973        try { 
     1974          String textStrokeDashArrayValue = src.getTextStrokeDashArray(roiIndex, shapeIndex); 
     1975          if (textStrokeDashArrayValue != null) dest.setTextStrokeDashArray(textStrokeDashArrayValue, roiIndex, shapeIndex); 
     1976        } catch (NullPointerException e) { } 
     1977        try { 
     1978          Double textStrokeWidthValue = src.getTextStrokeWidth(roiIndex, shapeIndex); 
     1979          if (textStrokeWidthValue != null) dest.setTextStrokeWidth(textStrokeWidthValue, roiIndex, shapeIndex); 
     1980        } catch (NullPointerException e) { } 
     1981        try { 
     1982          Integer textTheCValue = src.getTextTheC(roiIndex, shapeIndex); 
     1983          if (textTheCValue != null) dest.setTextTheC(textTheCValue, roiIndex, shapeIndex); 
     1984        } catch (NullPointerException e) { } 
     1985        try { 
     1986          Integer textTheTValue = src.getTextTheT(roiIndex, shapeIndex); 
     1987          if (textTheTValue != null) dest.setTextTheT(textTheTValue, roiIndex, shapeIndex); 
     1988        } catch (NullPointerException e) { } 
     1989        try { 
     1990          Integer textTheZValue = src.getTextTheZ(roiIndex, shapeIndex); 
     1991          if (textTheZValue != null) dest.setTextTheZ(textTheZValue, roiIndex, shapeIndex); 
     1992        } catch (NullPointerException e) { } 
     1993        try { 
     1994          String textTransformValue = src.getTextTransform(roiIndex, shapeIndex); 
     1995          if (textTransformValue != null) dest.setTextTransform(textTransformValue, roiIndex, shapeIndex); 
     1996        } catch (NullPointerException e) { } 
     1997        try { 
     1998          String textValueValue = src.getTextValue(roiIndex, shapeIndex); 
     1999          if (textValueValue != null) dest.setTextValue(textValueValue, roiIndex, shapeIndex); 
     2000        } catch (NullPointerException e) { } 
     2001        try { 
     2002          Double textXValue = src.getTextX(roiIndex, shapeIndex); 
     2003          if (textXValue != null) dest.setTextX(textXValue, roiIndex, shapeIndex); 
     2004        } catch (NullPointerException e) { } 
     2005        try { 
     2006          Double textYValue = src.getTextY(roiIndex, shapeIndex); 
     2007          if (textYValue != null) dest.setTextY(textYValue, roiIndex, shapeIndex); 
     2008        } catch (NullPointerException e) { } 
     2009      } 
     2010      */ 
     2011      } catch (NullPointerException e) { } 
     2012    } 
     2013    } catch (NullPointerException e) { } 
     2014    try { 
     2015    int screenCount = src.getScreenCount(); 
     2016    for (int screenIndex=0; screenIndex<screenCount; screenIndex++) { 
     2017    try { 
     2018      //String screenAnnotationRefValue = src.getScreenAnnotationRef(screenIndex, annotationRefIndex); 
     2019      //if (screenAnnotationRefValue != null) dest.setScreenAnnotationRef(screenAnnotationRefValue, screenIndex, annotationRefIndex); 
     2020    } catch (NullPointerException e) { } 
     2021    try { 
     2022      String screenDescriptionValue = src.getScreenDescription(screenIndex); 
     2023      if (screenDescriptionValue != null) dest.setScreenDescription(screenDescriptionValue, screenIndex); 
     2024    } catch (NullPointerException e) { } 
     2025    try { 
     2026      String screenIDValue = src.getScreenID(screenIndex); 
     2027      if (screenIDValue != null) dest.setScreenID(screenIDValue, screenIndex); 
     2028    } catch (NullPointerException e) { } 
     2029    try { 
     2030      String screenNameValue = src.getScreenName(screenIndex); 
     2031      if (screenNameValue != null) dest.setScreenName(screenNameValue, screenIndex); 
     2032    } catch (NullPointerException e) { } 
     2033    try { 
     2034      //String screenPlateRefValue = src.getScreenPlateRef(screenIndex, plateRefIndex); 
     2035      //if (screenPlateRefValue != null) dest.setScreenPlateRef(screenPlateRefValue, screenIndex, plateRefIndex); 
     2036    } catch (NullPointerException e) { } 
     2037    try { 
     2038      String screenProtocolDescriptionValue = src.getScreenProtocolDescription(screenIndex); 
     2039      if (screenProtocolDescriptionValue != null) dest.setScreenProtocolDescription(screenProtocolDescriptionValue, screenIndex); 
     2040    } catch (NullPointerException e) { } 
     2041    try { 
     2042      String screenProtocolIdentifierValue = src.getScreenProtocolIdentifier(screenIndex); 
     2043      if (screenProtocolIdentifierValue != null) dest.setScreenProtocolIdentifier(screenProtocolIdentifierValue, screenIndex); 
     2044    } catch (NullPointerException e) { } 
     2045    try { 
     2046      String screenReagentSetDescriptionValue = src.getScreenReagentSetDescription(screenIndex); 
     2047      if (screenReagentSetDescriptionValue != null) dest.setScreenReagentSetDescription(screenReagentSetDescriptionValue, screenIndex); 
     2048    } catch (NullPointerException e) { } 
     2049    try { 
     2050      String screenReagentSetIdentifierValue = src.getScreenReagentSetIdentifier(screenIndex); 
     2051      if (screenReagentSetIdentifierValue != null) dest.setScreenReagentSetIdentifier(screenReagentSetIdentifierValue, screenIndex); 
     2052    } catch (NullPointerException e) { } 
     2053    try { 
     2054      String screenTypeValue = src.getScreenType(screenIndex); 
     2055      if (screenTypeValue != null) dest.setScreenType(screenTypeValue, screenIndex); 
     2056    } catch (NullPointerException e) { } 
     2057      try { 
     2058      //int annotationRefCount = src.getAnnotationRefCount(screenIndex); 
     2059      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     2060      //} 
     2061      } catch (NullPointerException e) { } 
     2062      try { 
     2063      int plateRefCount = src.getPlateRefCount(screenIndex); 
     2064      for (int plateRefIndex=0; plateRefIndex<plateRefCount; plateRefIndex++) { 
     2065      } 
     2066      } catch (NullPointerException e) { } 
     2067      try { 
     2068      int reagentCount = src.getReagentCount(screenIndex); 
     2069      for (int reagentIndex=0; reagentIndex<reagentCount; reagentIndex++) { 
     2070      try { 
     2071        //String reagentAnnotationRefValue = src.getReagentAnnotationRef(screenIndex, reagentIndex, annotationRefIndex); 
     2072        //if (reagentAnnotationRefValue != null) dest.setReagentAnnotationRef(reagentAnnotationRefValue, screenIndex, reagentIndex, annotationRefIndex); 
     2073      } catch (NullPointerException e) { } 
     2074      try { 
     2075        String reagentDescriptionValue = src.getReagentDescription(screenIndex, reagentIndex); 
     2076        if (reagentDescriptionValue != null) dest.setReagentDescription(reagentDescriptionValue, screenIndex, reagentIndex); 
     2077      } catch (NullPointerException e) { } 
     2078      try { 
     2079        String reagentIDValue = src.getReagentID(screenIndex, reagentIndex); 
     2080        if (reagentIDValue != null) dest.setReagentID(reagentIDValue, screenIndex, reagentIndex); 
     2081      } catch (NullPointerException e) { } 
     2082      try { 
     2083        String reagentNameValue = src.getReagentName(screenIndex, reagentIndex); 
     2084        if (reagentNameValue != null) dest.setReagentName(reagentNameValue, screenIndex, reagentIndex); 
     2085      } catch (NullPointerException e) { } 
     2086      try { 
     2087        String reagentReagentIdentifierValue = src.getReagentReagentIdentifier(screenIndex, reagentIndex); 
     2088        if (reagentReagentIdentifierValue != null) dest.setReagentReagentIdentifier(reagentReagentIdentifierValue, screenIndex, reagentIndex); 
     2089      } catch (NullPointerException e) { } 
     2090        try { 
     2091        //int annotationRefCount = src.getAnnotationRefCount(screenIndex, reagentIndex); 
     2092        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     2093        //} 
     2094        } catch (NullPointerException e) { } 
     2095      } 
     2096      } catch (NullPointerException e) { } 
     2097    } 
     2098    } catch (NullPointerException e) { } 
     2099    try { 
     2100    int stringAnnotationCount = src.getStringAnnotationCount(); 
     2101    for (int stringAnnotationIndex=0; stringAnnotationIndex<stringAnnotationCount; stringAnnotationIndex++) { 
     2102    try { 
     2103      String stringAnnotationIDValue = src.getStringAnnotationID(stringAnnotationIndex); 
     2104      if (stringAnnotationIDValue != null) dest.setStringAnnotationID(stringAnnotationIDValue, stringAnnotationIndex); 
     2105    } catch (NullPointerException e) { } 
     2106    try { 
     2107      String stringAnnotationNamespaceValue = src.getStringAnnotationNamespace(stringAnnotationIndex); 
     2108      if (stringAnnotationNamespaceValue != null) dest.setStringAnnotationNamespace(stringAnnotationNamespaceValue, stringAnnotationIndex); 
     2109    } catch (NullPointerException e) { } 
     2110    try { 
     2111      String stringAnnotationValueValue = src.getStringAnnotationValue(stringAnnotationIndex); 
     2112      if (stringAnnotationValueValue != null) dest.setStringAnnotationValue(stringAnnotationValueValue, stringAnnotationIndex); 
     2113    } catch (NullPointerException e) { } 
     2114    } 
     2115    } catch (NullPointerException e) { } 
     2116    try { 
     2117    int timestampAnnotationCount = src.getTimestampAnnotationCount(); 
     2118    for (int timestampAnnotationIndex=0; timestampAnnotationIndex<timestampAnnotationCount; timestampAnnotationIndex++) { 
     2119    try { 
     2120      String timestampAnnotationIDValue = src.getTimestampAnnotationID(timestampAnnotationIndex); 
     2121      if (timestampAnnotationIDValue != null) dest.setTimestampAnnotationID(timestampAnnotationIDValue, timestampAnnotationIndex); 
     2122    } catch (NullPointerException e) { } 
     2123    try { 
     2124      String timestampAnnotationNamespaceValue = src.getTimestampAnnotationNamespace(timestampAnnotationIndex); 
     2125      if (timestampAnnotationNamespaceValue != null) dest.setTimestampAnnotationNamespace(timestampAnnotationNamespaceValue, timestampAnnotationIndex); 
     2126    } catch (NullPointerException e) { } 
     2127    try { 
     2128      String timestampAnnotationValueValue = src.getTimestampAnnotationValue(timestampAnnotationIndex); 
     2129      if (timestampAnnotationValueValue != null) dest.setTimestampAnnotationValue(timestampAnnotationValueValue, timestampAnnotationIndex); 
     2130    } catch (NullPointerException e) { } 
     2131    } 
     2132    } catch (NullPointerException e) { } 
     2133    try { 
     2134    int xmlAnnotationCount = src.getXMLAnnotationCount(); 
     2135    for (int xmlAnnotationIndex=0; xmlAnnotationIndex<xmlAnnotationCount; xmlAnnotationIndex++) { 
     2136    try { 
     2137      String xmlAnnotationIDValue = src.getXMLAnnotationID(xmlAnnotationIndex); 
     2138      if (xmlAnnotationIDValue != null) dest.setXMLAnnotationID(xmlAnnotationIDValue, xmlAnnotationIndex); 
     2139    } catch (NullPointerException e) { } 
     2140    try { 
     2141      String xmlAnnotationNamespaceValue = src.getXMLAnnotationNamespace(xmlAnnotationIndex); 
     2142      if (xmlAnnotationNamespaceValue != null) dest.setXMLAnnotationNamespace(xmlAnnotationNamespaceValue, xmlAnnotationIndex); 
     2143    } catch (NullPointerException e) { } 
     2144    try { 
     2145      String xmlAnnotationValueValue = src.getXMLAnnotationValue(xmlAnnotationIndex); 
     2146      if (xmlAnnotationValueValue != null) dest.setXMLAnnotationValue(xmlAnnotationValueValue, xmlAnnotationIndex); 
     2147    } catch (NullPointerException e) { } 
     2148    } 
     2149    } catch (NullPointerException e) { } 
    672150  } 
     2151 
    682152} 
  • branches/4.2/components/loci-plugins/src/loci/plugins/out/Exporter.java

    r6457 r6459  
    5858import loci.formats.IFormatWriter; 
    5959import loci.formats.ImageWriter; 
     60import loci.formats.MetadataTools; 
    6061import loci.formats.gui.AWTImageTools; 
    6162import loci.formats.gui.ExtensionFileFilter; 
     
    278279      store.setPixelsSizeT(new PositiveInteger(imp.getNFrames()), 0); 
    279280 
     281      if (store.getImageID(0) == null) { 
     282        store.setImageID(MetadataTools.createLSID("Image", 0), 0); 
     283      } 
     284      if (store.getPixelsID(0) == null) { 
     285        store.setPixelsID(MetadataTools.createLSID("Pixels", 0), 0); 
     286      } 
     287 
    280288      if (store.getPixelsType(0) == null) { 
    281289        try { 
     
    296304        catch (EnumerationException e) { } 
    297305      } 
    298       if (store.getChannelSamplesPerPixel(0, 0) == null) { 
     306      if (store.getChannelCount(0) == 0 || 
     307        store.getChannelSamplesPerPixel(0, 0) == null) 
     308      { 
    299309        store.setChannelSamplesPerPixel(new Integer(channels), 0, 0); 
     310      } 
     311      for (int channel=0; channel<store.getChannelCount(0); channel++) { 
     312        if (store.getChannelID(0, channel) == null) { 
     313          String lsid = MetadataTools.createLSID("Channel", 0, channel); 
     314          store.setChannelID(lsid, 0, channel); 
     315        } 
    300316      } 
    301317 
  • trunk/components/autogen/src/MetadataAutogen.java

    r6266 r6459  
    200200        for (int k=1; k<j+indent; k++) spaces.append("  "); 
    201201        out.println(spaces + "}"); 
     202        out.println(spaces + "} catch (NullPointerException e) { }"); 
    202203      } 
    203204 
     
    209210        String iVar = q.var(index + "Index"); 
    210211        String countVar = iVar.replaceFirst("Index$", "Count"); 
     212        out.println(spaces + "try {"); 
    211213        out.println(spaces + "int " + countVar + " = " + 
    212214          "src.get" + index + "Count" + "(" + 
     
    225227        String type = q.defaultType(); 
    226228        String var = q.var(methodName) + "Value"; 
     229        out.println(spaces + "try {"); 
    227230        out.println(spaces + "  " + type + " " + var + " = " + 
    228231          "src.get" + methodName + "(" + iList + ");"); 
    229232        out.println(spaces + "  if (" + var + " != null) " + 
    230233          "dest.set" + methodName + "(" + var + ", " + iList + ");"); 
     234        out.println(spaces + "} catch (NullPointerException e) { }"); 
    231235      } 
    232236    } 
     
    238242      for (int k=1; k<j+indent; k++) spaces.append("  "); 
    239243      out.println(spaces + "}"); 
     244      out.println(spaces + "} catch (NullPointerException e) { }"); 
    240245    } 
    241246 
  • trunk/components/bio-formats/src/loci/formats/in/OMETiffReader.java

    r6440 r6459  
    265265 
    266266    String currentUUID = meta.getUUID(); 
    267     service.convertMetadata(meta, metadataStore); 
     267    if (service.isOMEXMLMetadata(metadataStore)) { 
     268      metadataStore = meta; 
     269    } 
     270    else service.convertMetadata(meta, metadataStore); 
    268271 
    269272    // determine series count from Image and Pixels elements 
  • trunk/components/bio-formats/src/loci/formats/meta/MetadataConverter.java

    r6458 r6459  
    2525 * 
    2626 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    27  * Created by melissa via MetadataAutogen on Jun 2, 2010 7:57:49 PM CDT 
     27 * Created by melissa via MetadataAutogen on Jun 3, 2010 12:36:59 PM CDT 
    2828 * 
    2929 *----------------------------------------------------------------------------- 
     
    6464   */ 
    6565  public static void convertMetadata(MetadataRetrieve src, MetadataStore dest) { 
     66    try { 
    6667    int booleanAnnotationCount = src.getBooleanAnnotationCount(); 
    6768    for (int booleanAnnotationIndex=0; booleanAnnotationIndex<booleanAnnotationCount; booleanAnnotationIndex++) { 
     69    try { 
    6870      String booleanAnnotationIDValue = src.getBooleanAnnotationID(booleanAnnotationIndex); 
    6971      if (booleanAnnotationIDValue != null) dest.setBooleanAnnotationID(booleanAnnotationIDValue, booleanAnnotationIndex); 
     72    } catch (NullPointerException e) { } 
     73    try { 
    7074      String booleanAnnotationNamespaceValue = src.getBooleanAnnotationNamespace(booleanAnnotationIndex); 
    7175      if (booleanAnnotationNamespaceValue != null) dest.setBooleanAnnotationNamespace(booleanAnnotationNamespaceValue, booleanAnnotationIndex); 
     76    } catch (NullPointerException e) { } 
     77    try { 
    7278      Boolean booleanAnnotationValueValue = src.getBooleanAnnotationValue(booleanAnnotationIndex); 
    7379      if (booleanAnnotationValueValue != null) dest.setBooleanAnnotationValue(booleanAnnotationValueValue, booleanAnnotationIndex); 
     80    } catch (NullPointerException e) { } 
    7481    } 
     82    } catch (NullPointerException e) { } 
     83    try { 
    7584    int datasetCount = src.getDatasetCount(); 
    7685    for (int datasetIndex=0; datasetIndex<datasetCount; datasetIndex++) { 
     86    try { 
    7787      //String datasetAnnotationRefValue = src.getDatasetAnnotationRef(datasetIndex, annotationRefIndex); 
    7888      //if (datasetAnnotationRefValue != null) dest.setDatasetAnnotationRef(datasetAnnotationRefValue, datasetIndex, annotationRefIndex); 
     89    } catch (NullPointerException e) { } 
     90    try { 
    7991      String datasetDescriptionValue = src.getDatasetDescription(datasetIndex); 
    8092      if (datasetDescriptionValue != null) dest.setDatasetDescription(datasetDescriptionValue, datasetIndex); 
     93    } catch (NullPointerException e) { } 
     94    try { 
    8195      String datasetExperimenterRefValue = src.getDatasetExperimenterRef(datasetIndex); 
    8296      if (datasetExperimenterRefValue != null) dest.setDatasetExperimenterRef(datasetExperimenterRefValue, datasetIndex); 
     97    } catch (NullPointerException e) { } 
     98    try { 
    8399      String datasetGroupRefValue = src.getDatasetGroupRef(datasetIndex); 
    84100      if (datasetGroupRefValue != null) dest.setDatasetGroupRef(datasetGroupRefValue, datasetIndex); 
     101    } catch (NullPointerException e) { } 
     102    try { 
    85103      String datasetIDValue = src.getDatasetID(datasetIndex); 
    86104      if (datasetIDValue != null) dest.setDatasetID(datasetIDValue, datasetIndex); 
     105    } catch (NullPointerException e) { } 
     106    try { 
    87107      String datasetNameValue = src.getDatasetName(datasetIndex); 
    88108      if (datasetNameValue != null) dest.setDatasetName(datasetNameValue, datasetIndex); 
     109    } catch (NullPointerException e) { } 
     110    try { 
    89111      //String datasetProjectRefValue = src.getDatasetProjectRef(datasetIndex, projectRefIndex); 
    90112      //if (datasetProjectRefValue != null) dest.setDatasetProjectRef(datasetProjectRefValue, datasetIndex, projectRefIndex); 
     113    } catch (NullPointerException e) { } 
     114      try { 
    91115      //int annotationRefCount = src.getAnnotationRefCount(datasetIndex); 
    92116      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    93117      //} 
     118      } catch (NullPointerException e) { } 
     119      try { 
    94120      int projectRefCount = src.getProjectRefCount(datasetIndex); 
    95121      for (int projectRefIndex=0; projectRefIndex<projectRefCount; projectRefIndex++) { 
    96122      } 
     123      } catch (NullPointerException e) { } 
    97124    } 
     125    } catch (NullPointerException e) { } 
     126    try { 
    98127    int doubleAnnotationCount = src.getDoubleAnnotationCount(); 
    99128    for (int doubleAnnotationIndex=0; doubleAnnotationIndex<doubleAnnotationCount; doubleAnnotationIndex++) { 
     129    try { 
    100130      String doubleAnnotationIDValue = src.getDoubleAnnotationID(doubleAnnotationIndex); 
    101131      if (doubleAnnotationIDValue != null) dest.setDoubleAnnotationID(doubleAnnotationIDValue, doubleAnnotationIndex); 
     132    } catch (NullPointerException e) { } 
     133    try { 
    102134      String doubleAnnotationNamespaceValue = src.getDoubleAnnotationNamespace(doubleAnnotationIndex); 
    103135      if (doubleAnnotationNamespaceValue != null) dest.setDoubleAnnotationNamespace(doubleAnnotationNamespaceValue, doubleAnnotationIndex); 
     136    } catch (NullPointerException e) { } 
     137    try { 
    104138      Double doubleAnnotationValueValue = src.getDoubleAnnotationValue(doubleAnnotationIndex); 
    105139      if (doubleAnnotationValueValue != null) dest.setDoubleAnnotationValue(doubleAnnotationValueValue, doubleAnnotationIndex); 
     140    } catch (NullPointerException e) { } 
    106141    } 
     142    } catch (NullPointerException e) { } 
     143    try { 
    107144    int experimentCount = src.getExperimentCount(); 
    108145    for (int experimentIndex=0; experimentIndex<experimentCount; experimentIndex++) { 
     146    try { 
    109147      String experimentDescriptionValue = src.getExperimentDescription(experimentIndex); 
    110148      if (experimentDescriptionValue != null) dest.setExperimentDescription(experimentDescriptionValue, experimentIndex); 
     149    } catch (NullPointerException e) { } 
     150    try { 
    111151      String experimentExperimenterRefValue = src.getExperimentExperimenterRef(experimentIndex); 
    112152      if (experimentExperimenterRefValue != null) dest.setExperimentExperimenterRef(experimentExperimenterRefValue, experimentIndex); 
     153    } catch (NullPointerException e) { } 
     154    try { 
    113155      String experimentIDValue = src.getExperimentID(experimentIndex); 
    114156      if (experimentIDValue != null) dest.setExperimentID(experimentIDValue, experimentIndex); 
     157    } catch (NullPointerException e) { } 
     158    try { 
    115159      ExperimentType experimentTypeValue = src.getExperimentType(experimentIndex); 
    116160      if (experimentTypeValue != null) dest.setExperimentType(experimentTypeValue, experimentIndex); 
     161    } catch (NullPointerException e) { } 
     162      try { 
    117163      int microbeamManipulationCount = src.getMicrobeamManipulationCount(experimentIndex); 
    118164      for (int microbeamManipulationIndex=0; microbeamManipulationIndex<microbeamManipulationCount; microbeamManipulationIndex++) { 
     165      try { 
    119166        String microbeamManipulationExperimenterRefValue = src.getMicrobeamManipulationExperimenterRef(experimentIndex, microbeamManipulationIndex); 
    120167        if (microbeamManipulationExperimenterRefValue != null) dest.setMicrobeamManipulationExperimenterRef(microbeamManipulationExperimenterRefValue, experimentIndex, microbeamManipulationIndex); 
     168      } catch (NullPointerException e) { } 
     169      try { 
    121170        String microbeamManipulationIDValue = src.getMicrobeamManipulationID(experimentIndex, microbeamManipulationIndex); 
    122171        if (microbeamManipulationIDValue != null) dest.setMicrobeamManipulationID(microbeamManipulationIDValue, experimentIndex, microbeamManipulationIndex); 
     172      } catch (NullPointerException e) { } 
     173      try { 
    123174        //String microbeamManipulationROIRefValue = src.getMicrobeamManipulationROIRef(experimentIndex, microbeamManipulationIndex, roiRefIndex); 
    124175        //if (microbeamManipulationROIRefValue != null) dest.setMicrobeamManipulationROIRef(microbeamManipulationROIRefValue, experimentIndex, microbeamManipulationIndex, roiRefIndex); 
     176      } catch (NullPointerException e) { } 
     177      try { 
    125178        MicrobeamManipulationType microbeamManipulationTypeValue = src.getMicrobeamManipulationType(experimentIndex, microbeamManipulationIndex); 
    126179        if (microbeamManipulationTypeValue != null) dest.setMicrobeamManipulationType(microbeamManipulationTypeValue, experimentIndex, microbeamManipulationIndex); 
     180      } catch (NullPointerException e) { } 
     181        try { 
    127182        /* 
    128183        int lightSourceSettingsCount = src.getLightSourceSettingsCount(experimentIndex, microbeamManipulationIndex); 
    129184        for (int lightSourceSettingsIndex=0; lightSourceSettingsIndex<lightSourceSettingsCount; lightSourceSettingsIndex++) { 
     185        try { 
    130186          PercentFraction microbeamManipulationLightSourceSettingsAttenuationValue = src.getMicrobeamManipulationLightSourceSettingsAttenuation(experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
    131187          if (microbeamManipulationLightSourceSettingsAttenuationValue != null) dest.setMicrobeamManipulationLightSourceSettingsAttenuation(microbeamManipulationLightSourceSettingsAttenuationValue, experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     188        } catch (NullPointerException e) { } 
     189        try { 
    132190          String microbeamManipulationLightSourceSettingsIDValue = src.getMicrobeamManipulationLightSourceSettingsID(experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
    133191          if (microbeamManipulationLightSourceSettingsIDValue != null) dest.setMicrobeamManipulationLightSourceSettingsID(microbeamManipulationLightSourceSettingsIDValue, experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     192        } catch (NullPointerException e) { } 
     193        try { 
    134194          PositiveInteger microbeamManipulationLightSourceSettingsWavelengthValue = src.getMicrobeamManipulationLightSourceSettingsWavelength(experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
    135195          if (microbeamManipulationLightSourceSettingsWavelengthValue != null) dest.setMicrobeamManipulationLightSourceSettingsWavelength(microbeamManipulationLightSourceSettingsWavelengthValue, experimentIndex, microbeamManipulationIndex, lightSourceSettingsIndex); 
     196        } catch (NullPointerException e) { } 
    136197        } 
    137198        */ 
     199        } catch (NullPointerException e) { } 
     200        try { 
    138201        //int roiRefCount = src.getROIRefCount(experimentIndex, microbeamManipulationIndex); 
    139202        //for (int roiRefIndex=0; roiRefIndex<roiRefCount; roiRefIndex++) { 
    140203        //} 
    141       } 
     204        } catch (NullPointerException e) { } 
     205      } 
     206      } catch (NullPointerException e) { } 
    142207    } 
     208    } catch (NullPointerException e) { } 
     209    try { 
    143210    int experimenterCount = src.getExperimenterCount(); 
    144211    for (int experimenterIndex=0; experimenterIndex<experimenterCount; experimenterIndex++) { 
     212    try { 
    145213      //String experimenterAnnotationRefValue = src.getExperimenterAnnotationRef(experimenterIndex, annotationRefIndex); 
    146214      //if (experimenterAnnotationRefValue != null) dest.setExperimenterAnnotationRef(experimenterAnnotationRefValue, experimenterIndex, annotationRefIndex); 
     215    } catch (NullPointerException e) { } 
     216    try { 
    147217      String experimenterDisplayNameValue = src.getExperimenterDisplayName(experimenterIndex); 
    148218      if (experimenterDisplayNameValue != null) dest.setExperimenterDisplayName(experimenterDisplayNameValue, experimenterIndex); 
     219    } catch (NullPointerException e) { } 
     220    try { 
    149221      String experimenterEmailValue = src.getExperimenterEmail(experimenterIndex); 
    150222      if (experimenterEmailValue != null) dest.setExperimenterEmail(experimenterEmailValue, experimenterIndex); 
     223    } catch (NullPointerException e) { } 
     224    try { 
    151225      String experimenterFirstNameValue = src.getExperimenterFirstName(experimenterIndex); 
    152226      if (experimenterFirstNameValue != null) dest.setExperimenterFirstName(experimenterFirstNameValue, experimenterIndex); 
     227    } catch (NullPointerException e) { } 
     228    try { 
    153229      //String experimenterGroupRefValue = src.getExperimenterGroupRef(experimenterIndex, groupRefIndex); 
    154230      //if (experimenterGroupRefValue != null) dest.setExperimenterGroupRef(experimenterGroupRefValue, experimenterIndex, groupRefIndex); 
     231    } catch (NullPointerException e) { } 
     232    try { 
    155233      String experimenterIDValue = src.getExperimenterID(experimenterIndex); 
    156234      if (experimenterIDValue != null) dest.setExperimenterID(experimenterIDValue, experimenterIndex); 
     235    } catch (NullPointerException e) { } 
     236    try { 
    157237      String experimenterInstitutionValue = src.getExperimenterInstitution(experimenterIndex); 
    158238      if (experimenterInstitutionValue != null) dest.setExperimenterInstitution(experimenterInstitutionValue, experimenterIndex); 
     239    } catch (NullPointerException e) { } 
     240    try { 
    159241      String experimenterLastNameValue = src.getExperimenterLastName(experimenterIndex); 
    160242      if (experimenterLastNameValue != null) dest.setExperimenterLastName(experimenterLastNameValue, experimenterIndex); 
     243    } catch (NullPointerException e) { } 
     244    try { 
    161245      String experimenterMiddleNameValue = src.getExperimenterMiddleName(experimenterIndex); 
    162246      if (experimenterMiddleNameValue != null) dest.setExperimenterMiddleName(experimenterMiddleNameValue, experimenterIndex); 
     247    } catch (NullPointerException e) { } 
     248    try { 
    163249      String experimenterUserNameValue = src.getExperimenterUserName(experimenterIndex); 
    164250      if (experimenterUserNameValue != null) dest.setExperimenterUserName(experimenterUserNameValue, experimenterIndex); 
     251    } catch (NullPointerException e) { } 
     252      try { 
    165253      //int annotationRefCount = src.getAnnotationRefCount(experimenterIndex); 
    166254      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    167255      //} 
     256      } catch (NullPointerException e) { } 
     257      try { 
    168258      //int groupRefCount = src.getGroupRefCount(experimenterIndex); 
    169259      //for (int groupRefIndex=0; groupRefIndex<groupRefCount; groupRefIndex++) { 
    170260      //} 
     261      } catch (NullPointerException e) { } 
    171262    } 
     263    } catch (NullPointerException e) { } 
     264    try { 
    172265    int fileAnnotationCount = src.getFileAnnotationCount(); 
    173266    for (int fileAnnotationIndex=0; fileAnnotationIndex<fileAnnotationCount; fileAnnotationIndex++) { 
     267    try { 
    174268      String fileAnnotationBinaryFileFileNameValue = src.getFileAnnotationBinaryFileFileName(fileAnnotationIndex); 
    175269      if (fileAnnotationBinaryFileFileNameValue != null) dest.setFileAnnotationBinaryFileFileName(fileAnnotationBinaryFileFileNameValue, fileAnnotationIndex); 
     270    } catch (NullPointerException e) { } 
     271    try { 
    176272      String fileAnnotationBinaryFileMIMETypeValue = src.getFileAnnotationBinaryFileMIMEType(fileAnnotationIndex); 
    177273      if (fileAnnotationBinaryFileMIMETypeValue != null) dest.setFileAnnotationBinaryFileMIMEType(fileAnnotationBinaryFileMIMETypeValue, fileAnnotationIndex); 
     274    } catch (NullPointerException e) { } 
     275    try { 
    178276      Integer fileAnnotationBinaryFileSizeValue = src.getFileAnnotationBinaryFileSize(fileAnnotationIndex); 
    179277      if (fileAnnotationBinaryFileSizeValue != null) dest.setFileAnnotationBinaryFileSize(fileAnnotationBinaryFileSizeValue, fileAnnotationIndex); 
     278    } catch (NullPointerException e) { } 
     279    try { 
    180280      String fileAnnotationIDValue = src.getFileAnnotationID(fileAnnotationIndex); 
    181281      if (fileAnnotationIDValue != null) dest.setFileAnnotationID(fileAnnotationIDValue, fileAnnotationIndex); 
     282    } catch (NullPointerException e) { } 
     283    try { 
    182284      String fileAnnotationNamespaceValue = src.getFileAnnotationNamespace(fileAnnotationIndex); 
    183285      if (fileAnnotationNamespaceValue != null) dest.setFileAnnotationNamespace(fileAnnotationNamespaceValue, fileAnnotationIndex); 
     286    } catch (NullPointerException e) { } 
    184287    } 
     288    } catch (NullPointerException e) { } 
     289    try { 
    185290    int groupCount = src.getGroupCount(); 
    186291    for (int groupIndex=0; groupIndex<groupCount; groupIndex++) { 
     292    try { 
    187293      String groupContactValue = src.getGroupContact(groupIndex); 
    188294      if (groupContactValue != null) dest.setGroupContact(groupContactValue, groupIndex); 
     295    } catch (NullPointerException e) { } 
     296    try { 
    189297      String groupDescriptionValue = src.getGroupDescription(groupIndex); 
    190298      if (groupDescriptionValue != null) dest.setGroupDescription(groupDescriptionValue, groupIndex); 
     299    } catch (NullPointerException e) { } 
     300    try { 
    191301      String groupIDValue = src.getGroupID(groupIndex); 
    192302      if (groupIDValue != null) dest.setGroupID(groupIDValue, groupIndex); 
     303    } catch (NullPointerException e) { } 
     304    try { 
    193305      String groupLeaderValue = src.getGroupLeader(groupIndex); 
    194306      if (groupLeaderValue != null) dest.setGroupLeader(groupLeaderValue, groupIndex); 
     307    } catch (NullPointerException e) { } 
     308    try { 
    195309      String groupNameValue = src.getGroupName(groupIndex); 
    196310      if (groupNameValue != null) dest.setGroupName(groupNameValue, groupIndex); 
     311    } catch (NullPointerException e) { } 
    197312    } 
     313    } catch (NullPointerException e) { } 
     314    try { 
    198315    int imageCount = src.getImageCount(); 
    199316    for (int imageIndex=0; imageIndex<imageCount; imageIndex++) { 
     317    try { 
    200318      String imageAcquiredDateValue = src.getImageAcquiredDate(imageIndex); 
    201319      if (imageAcquiredDateValue != null) dest.setImageAcquiredDate(imageAcquiredDateValue, imageIndex); 
     320    } catch (NullPointerException e) { } 
     321    try { 
    202322      //String imageAnnotationRefValue = src.getImageAnnotationRef(imageIndex, annotationRefIndex); 
    203323      //if (imageAnnotationRefValue != null) dest.setImageAnnotationRef(imageAnnotationRefValue, imageIndex, annotationRefIndex); 
     324    } catch (NullPointerException e) { } 
     325    try { 
    204326      //String imageDatasetRefValue = src.getImageDatasetRef(imageIndex, datasetRefIndex); 
    205327      //if (imageDatasetRefValue != null) dest.setImageDatasetRef(imageDatasetRefValue, imageIndex, datasetRefIndex); 
     328    } catch (NullPointerException e) { } 
     329    try { 
    206330      String imageDescriptionValue = src.getImageDescription(imageIndex); 
    207331      if (imageDescriptionValue != null) dest.setImageDescription(imageDescriptionValue, imageIndex); 
     332    } catch (NullPointerException e) { } 
     333    try { 
    208334      String imageExperimentRefValue = src.getImageExperimentRef(imageIndex); 
    209335      if (imageExperimentRefValue != null) dest.setImageExperimentRef(imageExperimentRefValue, imageIndex); 
     336    } catch (NullPointerException e) { } 
     337    try { 
    210338      String imageExperimenterRefValue = src.getImageExperimenterRef(imageIndex); 
    211339      if (imageExperimenterRefValue != null) dest.setImageExperimenterRef(imageExperimenterRefValue, imageIndex); 
     340    } catch (NullPointerException e) { } 
     341    try { 
    212342      String imageGroupRefValue = src.getImageGroupRef(imageIndex); 
    213343      if (imageGroupRefValue != null) dest.setImageGroupRef(imageGroupRefValue, imageIndex); 
     344    } catch (NullPointerException e) { } 
     345    try { 
    214346      String imageIDValue = src.getImageID(imageIndex); 
    215347      if (imageIDValue != null) dest.setImageID(imageIDValue, imageIndex); 
     348    } catch (NullPointerException e) { } 
     349    try { 
    216350      String imageInstrumentRefValue = src.getImageInstrumentRef(imageIndex); 
    217351      if (imageInstrumentRefValue != null) dest.setImageInstrumentRef(imageInstrumentRefValue, imageIndex); 
     352    } catch (NullPointerException e) { } 
     353    try { 
    218354      //String imageMicrobeamManipulationRefValue = src.getImageMicrobeamManipulationRef(imageIndex, microbeamManipulationRefIndex); 
    219355      //if (imageMicrobeamManipulationRefValue != null) dest.setImageMicrobeamManipulationRef(imageMicrobeamManipulationRefValue, imageIndex, microbeamManipulationRefIndex); 
     356    } catch (NullPointerException e) { } 
     357    try { 
    220358      String imageNameValue = src.getImageName(imageIndex); 
    221359      if (imageNameValue != null) dest.setImageName(imageNameValue, imageIndex); 
     360    } catch (NullPointerException e) { } 
     361    try { 
    222362      Double imageObjectiveSettingsCorrectionCollarValue = src.getImageObjectiveSettingsCorrectionCollar(imageIndex); 
    223363      if (imageObjectiveSettingsCorrectionCollarValue != null) dest.setImageObjectiveSettingsCorrectionCollar(imageObjectiveSettingsCorrectionCollarValue, imageIndex); 
     364    } catch (NullPointerException e) { } 
     365    try { 
    224366      String imageObjectiveSettingsIDValue = src.getImageObjectiveSettingsID(imageIndex); 
    225367      if (imageObjectiveSettingsIDValue != null) dest.setImageObjectiveSettingsID(imageObjectiveSettingsIDValue, imageIndex); 
     368    } catch (NullPointerException e) { } 
     369    try { 
    226370      Medium imageObjectiveSettingsMediumValue = src.getImageObjectiveSettingsMedium(imageIndex); 
    227371      if (imageObjectiveSettingsMediumValue != null) dest.setImageObjectiveSettingsMedium(imageObjectiveSettingsMediumValue, imageIndex); 
     372    } catch (NullPointerException e) { } 
     373    try { 
    228374      Double imageObjectiveSettingsRefractiveIndexValue = src.getImageObjectiveSettingsRefractiveIndex(imageIndex); 
    229375      if (imageObjectiveSettingsRefractiveIndexValue != null) dest.setImageObjectiveSettingsRefractiveIndex(imageObjectiveSettingsRefractiveIndexValue, imageIndex); 
     376    } catch (NullPointerException e) { } 
     377    try { 
    230378      //String imageROIRefValue = src.getImageROIRef(imageIndex, roiRefIndex); 
    231379      //if (imageROIRefValue != null) dest.setImageROIRef(imageROIRefValue, imageIndex, roiRefIndex); 
     380    } catch (NullPointerException e) { } 
     381      try { 
    232382      //int annotationRefCount = src.getAnnotationRefCount(imageIndex); 
    233383      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    234384      //} 
     385      } catch (NullPointerException e) { } 
     386      try { 
    235387      int channelCount = src.getChannelCount(imageIndex); 
    236388      for (int channelIndex=0; channelIndex<channelCount; channelIndex++) { 
     389      try { 
    237390        AcquisitionMode channelAcquisitionModeValue = src.getChannelAcquisitionMode(imageIndex, channelIndex); 
    238391        if (channelAcquisitionModeValue != null) dest.setChannelAcquisitionMode(channelAcquisitionModeValue, imageIndex, channelIndex); 
     392      } catch (NullPointerException e) { } 
     393      try { 
    239394        //String channelAnnotationRefValue = src.getChannelAnnotationRef(imageIndex, channelIndex, annotationRefIndex); 
    240395        //if (channelAnnotationRefValue != null) dest.setChannelAnnotationRef(channelAnnotationRefValue, imageIndex, channelIndex, annotationRefIndex); 
     396      } catch (NullPointerException e) { } 
     397      try { 
    241398        Integer channelColorValue = src.getChannelColor(imageIndex, channelIndex); 
    242399        if (channelColorValue != null) dest.setChannelColor(channelColorValue, imageIndex, channelIndex); 
     400      } catch (NullPointerException e) { } 
     401      try { 
    243402        ContrastMethod channelContrastMethodValue = src.getChannelContrastMethod(imageIndex, channelIndex); 
    244403        if (channelContrastMethodValue != null) dest.setChannelContrastMethod(channelContrastMethodValue, imageIndex, channelIndex); 
     404      } catch (NullPointerException e) { } 
     405      try { 
    245406        PositiveInteger channelEmissionWavelengthValue = src.getChannelEmissionWavelength(imageIndex, channelIndex); 
    246407        if (channelEmissionWavelengthValue != null) dest.setChannelEmissionWavelength(channelEmissionWavelengthValue, imageIndex, channelIndex); 
     408      } catch (NullPointerException e) { } 
     409      try { 
    247410        PositiveInteger channelExcitationWavelengthValue = src.getChannelExcitationWavelength(imageIndex, channelIndex); 
    248411        if (channelExcitationWavelengthValue != null) dest.setChannelExcitationWavelength(channelExcitationWavelengthValue, imageIndex, channelIndex); 
     412      } catch (NullPointerException e) { } 
     413      try { 
    249414        String channelFilterSetRefValue = src.getChannelFilterSetRef(imageIndex, channelIndex); 
    250415        if (channelFilterSetRefValue != null) dest.setChannelFilterSetRef(channelFilterSetRefValue, imageIndex, channelIndex); 
     416      } catch (NullPointerException e) { } 
     417      try { 
    251418        String channelFluorValue = src.getChannelFluor(imageIndex, channelIndex); 
    252419        if (channelFluorValue != null) dest.setChannelFluor(channelFluorValue, imageIndex, channelIndex); 
     420      } catch (NullPointerException e) { } 
     421      try { 
    253422        String channelIDValue = src.getChannelID(imageIndex, channelIndex); 
    254423        if (channelIDValue != null) dest.setChannelID(channelIDValue, imageIndex, channelIndex); 
     424      } catch (NullPointerException e) { } 
     425      try { 
    255426        IlluminationType channelIlluminationTypeValue = src.getChannelIlluminationType(imageIndex, channelIndex); 
    256427        if (channelIlluminationTypeValue != null) dest.setChannelIlluminationType(channelIlluminationTypeValue, imageIndex, channelIndex); 
     428      } catch (NullPointerException e) { } 
     429      try { 
    257430        PercentFraction channelLightSourceSettingsAttenuationValue = src.getChannelLightSourceSettingsAttenuation(imageIndex, channelIndex); 
    258431        if (channelLightSourceSettingsAttenuationValue != null) dest.setChannelLightSourceSettingsAttenuation(channelLightSourceSettingsAttenuationValue, imageIndex, channelIndex); 
     432      } catch (NullPointerException e) { } 
     433      try { 
    259434        String channelLightSourceSettingsIDValue = src.getChannelLightSourceSettingsID(imageIndex, channelIndex); 
    260435        if (channelLightSourceSettingsIDValue != null) dest.setChannelLightSourceSettingsID(channelLightSourceSettingsIDValue, imageIndex, channelIndex); 
     436      } catch (NullPointerException e) { } 
     437      try { 
    261438        PositiveInteger channelLightSourceSettingsWavelengthValue = src.getChannelLightSourceSettingsWavelength(imageIndex, channelIndex); 
    262439        if (channelLightSourceSettingsWavelengthValue != null) dest.setChannelLightSourceSettingsWavelength(channelLightSourceSettingsWavelengthValue, imageIndex, channelIndex); 
     440      } catch (NullPointerException e) { } 
     441      try { 
    263442        Double channelNDFilterValue = src.getChannelNDFilter(imageIndex, channelIndex); 
    264443        if (channelNDFilterValue != null) dest.setChannelNDFilter(channelNDFilterValue, imageIndex, channelIndex); 
     444      } catch (NullPointerException e) { } 
     445      try { 
    265446        String channelNameValue = src.getChannelName(imageIndex, channelIndex); 
    266447        if (channelNameValue != null) dest.setChannelName(channelNameValue, imageIndex, channelIndex); 
     448      } catch (NullPointerException e) { } 
     449      try { 
    267450        String channelOTFRefValue = src.getChannelOTFRef(imageIndex, channelIndex); 
    268451        if (channelOTFRefValue != null) dest.setChannelOTFRef(channelOTFRefValue, imageIndex, channelIndex); 
     452      } catch (NullPointerException e) { } 
     453      try { 
    269454        Double channelPinholeSizeValue = src.getChannelPinholeSize(imageIndex, channelIndex); 
    270455        if (channelPinholeSizeValue != null) dest.setChannelPinholeSize(channelPinholeSizeValue, imageIndex, channelIndex); 
     456      } catch (NullPointerException e) { } 
     457      try { 
    271458        Integer channelPockelCellSettingValue = src.getChannelPockelCellSetting(imageIndex, channelIndex); 
    272459        if (channelPockelCellSettingValue != null) dest.setChannelPockelCellSetting(channelPockelCellSettingValue, imageIndex, channelIndex); 
     460      } catch (NullPointerException e) { } 
     461      try { 
    273462        Integer channelSamplesPerPixelValue = src.getChannelSamplesPerPixel(imageIndex, channelIndex); 
    274463        if (channelSamplesPerPixelValue != null) dest.setChannelSamplesPerPixel(channelSamplesPerPixelValue, imageIndex, channelIndex); 
     464      } catch (NullPointerException e) { } 
     465        try { 
    275466        //int annotationRefCount = src.getAnnotationRefCount(imageIndex, channelIndex); 
    276467        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    277468        //} 
     469        } catch (NullPointerException e) { } 
     470        try { 
    278471          Binning detectorSettingsBinningValue = src.getDetectorSettingsBinning(imageIndex, channelIndex); 
    279472          if (detectorSettingsBinningValue != null) dest.setDetectorSettingsBinning(detectorSettingsBinningValue, imageIndex, channelIndex); 
     473        } catch (NullPointerException e) { } 
     474        try { 
    280475          Double detectorSettingsGainValue = src.getDetectorSettingsGain(imageIndex, channelIndex); 
    281476          if (detectorSettingsGainValue != null) dest.setDetectorSettingsGain(detectorSettingsGainValue, imageIndex, channelIndex); 
     477        } catch (NullPointerException e) { } 
     478        try { 
    282479          String detectorSettingsIDValue = src.getDetectorSettingsID(imageIndex, channelIndex); 
    283480          if (detectorSettingsIDValue != null) dest.setDetectorSettingsID(detectorSettingsIDValue, imageIndex, channelIndex); 
     481        } catch (NullPointerException e) { } 
     482        try { 
    284483          Double detectorSettingsOffsetValue = src.getDetectorSettingsOffset(imageIndex, channelIndex); 
    285484          if (detectorSettingsOffsetValue != null) dest.setDetectorSettingsOffset(detectorSettingsOffsetValue, imageIndex, channelIndex); 
     485        } catch (NullPointerException e) { } 
     486        try { 
    286487          Double detectorSettingsReadOutRateValue = src.getDetectorSettingsReadOutRate(imageIndex, channelIndex); 
    287488          if (detectorSettingsReadOutRateValue != null) dest.setDetectorSettingsReadOutRate(detectorSettingsReadOutRateValue, imageIndex, channelIndex); 
     489        } catch (NullPointerException e) { } 
     490        try { 
    288491          Double detectorSettingsVoltageValue = src.getDetectorSettingsVoltage(imageIndex, channelIndex); 
    289492          if (detectorSettingsVoltageValue != null) dest.setDetectorSettingsVoltage(detectorSettingsVoltageValue, imageIndex, channelIndex); 
     493        } catch (NullPointerException e) { } 
     494        try { 
    290495          String lightPathDichroicRefValue = src.getLightPathDichroicRef(imageIndex, channelIndex); 
    291496          if (lightPathDichroicRefValue != null) dest.setLightPathDichroicRef(lightPathDichroicRefValue, imageIndex, channelIndex); 
    292           for (int emissionFilterRefIndex=0; emissionFilterRefIndex<src.getLightPathEmissionFilterRefCount(imageIndex, channelIndex); emissionFilterRefIndex++) {  
    293             String lightPathEmissionFilterRefValue = src.getLightPathEmissionFilterRef(imageIndex, channelIndex, emissionFilterRefIndex); 
    294             if (lightPathEmissionFilterRefValue != null) dest.setLightPathEmissionFilterRef(lightPathEmissionFilterRefValue, imageIndex, channelIndex, emissionFilterRefIndex); 
    295           } 
    296           for (int excitationFilterRefIndex=0; excitationFilterRefIndex<src.getLightPathExcitationFilterRefCount(imageIndex, channelIndex); excitationFilterRefIndex++) { 
    297             String lightPathExcitationFilterRefValue = src.getLightPathExcitationFilterRef(imageIndex, channelIndex, excitationFilterRefIndex); 
    298             if (lightPathExcitationFilterRefValue != null) dest.setLightPathExcitationFilterRef(lightPathExcitationFilterRefValue, imageIndex, channelIndex, excitationFilterRefIndex); 
    299           } 
    300           /* 
    301         int emissionFilterRefCount = src.getEmissionFilterRefCount(imageIndex, channelIndex); 
    302         for (int emissionFilterRefIndex=0; emissionFilterRefIndex<emissionFilterRefCount; emissionFilterRefIndex++) { 
    303         } 
    304         int excitationFilterRefCount = src.getExcitationFilterRefCount(imageIndex, channelIndex); 
    305         for (int excitationFilterRefIndex=0; excitationFilterRefIndex<excitationFilterRefCount; excitationFilterRefIndex++) { 
    306         } 
    307         */ 
    308       } 
     497        } catch (NullPointerException e) { } 
     498        try { 
     499          //String lightPathEmissionFilterRefValue = src.getLightPathEmissionFilterRef(imageIndex, channelIndex, emissionFilterRefIndex); 
     500          //if (lightPathEmissionFilterRefValue != null) dest.setLightPathEmissionFilterRef(lightPathEmissionFilterRefValue, imageIndex, channelIndex, emissionFilterRefIndex); 
     501        } catch (NullPointerException e) { } 
     502        try { 
     503          //String lightPathExcitationFilterRefValue = src.getLightPathExcitationFilterRef(imageIndex, channelIndex, excitationFilterRefIndex); 
     504          //if (lightPathExcitationFilterRefValue != null) dest.setLightPathExcitationFilterRef(lightPathExcitationFilterRefValue, imageIndex, channelIndex, excitationFilterRefIndex); 
     505        } catch (NullPointerException e) { } 
     506        try { 
     507        //int emissionFilterRefCount = src.getEmissionFilterRefCount(imageIndex, channelIndex); 
     508        //for (int emissionFilterRefIndex=0; emissionFilterRefIndex<emissionFilterRefCount; emissionFilterRefIndex++) { 
     509        //} 
     510        } catch (NullPointerException e) { } 
     511        try { 
     512        //int excitationFilterRefCount = src.getExcitationFilterRefCount(imageIndex, channelIndex); 
     513        //for (int excitationFilterRefIndex=0; excitationFilterRefIndex<excitationFilterRefCount; excitationFilterRefIndex++) { 
     514        //} 
     515        } catch (NullPointerException e) { } 
     516      } 
     517      } catch (NullPointerException e) { } 
     518      try { 
    309519      int datasetRefCount = src.getDatasetRefCount(imageIndex); 
    310520      for (int datasetRefIndex=0; datasetRefIndex<datasetRefCount; datasetRefIndex++) { 
    311521      } 
     522      } catch (NullPointerException e) { } 
     523      try { 
    312524        Double imagingEnvironmentAirPressureValue = src.getImagingEnvironmentAirPressure(imageIndex); 
    313525        if (imagingEnvironmentAirPressureValue != null) dest.setImagingEnvironmentAirPressure(imagingEnvironmentAirPressureValue, imageIndex); 
     526      } catch (NullPointerException e) { } 
     527      try { 
    314528        PercentFraction imagingEnvironmentCO2PercentValue = src.getImagingEnvironmentCO2Percent(imageIndex); 
    315529        if (imagingEnvironmentCO2PercentValue != null) dest.setImagingEnvironmentCO2Percent(imagingEnvironmentCO2PercentValue, imageIndex); 
     530      } catch (NullPointerException e) { } 
     531      try { 
    316532        PercentFraction imagingEnvironmentHumidityValue = src.getImagingEnvironmentHumidity(imageIndex); 
    317533        if (imagingEnvironmentHumidityValue != null) dest.setImagingEnvironmentHumidity(imagingEnvironmentHumidityValue, imageIndex); 
     534      } catch (NullPointerException e) { } 
     535      try { 
    318536        Double imagingEnvironmentTemperatureValue = src.getImagingEnvironmentTemperature(imageIndex); 
    319537        if (imagingEnvironmentTemperatureValue != null) dest.setImagingEnvironmentTemperature(imagingEnvironmentTemperatureValue, imageIndex); 
     538      } catch (NullPointerException e) { } 
     539      try { 
    320540      int microbeamManipulationRefCount = src.getMicrobeamManipulationRefCount(imageIndex); 
    321541      for (int microbeamManipulationRefIndex=0; microbeamManipulationRefIndex<microbeamManipulationRefCount; microbeamManipulationRefIndex++) { 
    322542      } 
     543      } catch (NullPointerException e) { } 
     544      try { 
    323545        //String pixelsAnnotationRefValue = src.getPixelsAnnotationRef(imageIndex, annotationRefIndex); 
    324546        //if (pixelsAnnotationRefValue != null) dest.setPixelsAnnotationRef(pixelsAnnotationRefValue, imageIndex, annotationRefIndex); 
     547      } catch (NullPointerException e) { } 
     548      try { 
    325549        DimensionOrder pixelsDimensionOrderValue = src.getPixelsDimensionOrder(imageIndex); 
    326550        if (pixelsDimensionOrderValue != null) dest.setPixelsDimensionOrder(pixelsDimensionOrderValue, imageIndex); 
     551      } catch (NullPointerException e) { } 
     552      try { 
    327553        String pixelsIDValue = src.getPixelsID(imageIndex); 
    328554        if (pixelsIDValue != null) dest.setPixelsID(pixelsIDValue, imageIndex); 
     555      } catch (NullPointerException e) { } 
     556      try { 
    329557        Double pixelsPhysicalSizeXValue = src.getPixelsPhysicalSizeX(imageIndex); 
    330558        if (pixelsPhysicalSizeXValue != null) dest.setPixelsPhysicalSizeX(pixelsPhysicalSizeXValue, imageIndex); 
     559      } catch (NullPointerException e) { } 
     560      try { 
    331561        Double pixelsPhysicalSizeYValue = src.getPixelsPhysicalSizeY(imageIndex); 
    332562        if (pixelsPhysicalSizeYValue != null) dest.setPixelsPhysicalSizeY(pixelsPhysicalSizeYValue, imageIndex); 
     563      } catch (NullPointerException e) { } 
     564      try { 
    333565        Double pixelsPhysicalSizeZValue = src.getPixelsPhysicalSizeZ(imageIndex); 
    334566        if (pixelsPhysicalSizeZValue != null) dest.setPixelsPhysicalSizeZ(pixelsPhysicalSizeZValue, imageIndex); 
     567      } catch (NullPointerException e) { } 
     568      try { 
    335569        PositiveInteger pixelsSizeCValue = src.getPixelsSizeC(imageIndex); 
    336570        if (pixelsSizeCValue != null) dest.setPixelsSizeC(pixelsSizeCValue, imageIndex); 
     571      } catch (NullPointerException e) { } 
     572      try { 
    337573        PositiveInteger pixelsSizeTValue = src.getPixelsSizeT(imageIndex); 
    338574        if (pixelsSizeTValue != null) dest.setPixelsSizeT(pixelsSizeTValue, imageIndex); 
     575      } catch (NullPointerException e) { } 
     576      try { 
    339577        PositiveInteger pixelsSizeXValue = src.getPixelsSizeX(imageIndex); 
    340578        if (pixelsSizeXValue != null) dest.setPixelsSizeX(pixelsSizeXValue, imageIndex); 
     579      } catch (NullPointerException e) { } 
     580      try { 
    341581        PositiveInteger pixelsSizeYValue = src.getPixelsSizeY(imageIndex); 
    342582        if (pixelsSizeYValue != null) dest.setPixelsSizeY(pixelsSizeYValue, imageIndex); 
     583      } catch (NullPointerException e) { } 
     584      try { 
    343585        PositiveInteger pixelsSizeZValue = src.getPixelsSizeZ(imageIndex); 
    344586        if (pixelsSizeZValue != null) dest.setPixelsSizeZ(pixelsSizeZValue, imageIndex); 
     587      } catch (NullPointerException e) { } 
     588      try { 
    345589        Double pixelsTimeIncrementValue = src.getPixelsTimeIncrement(imageIndex); 
    346590        if (pixelsTimeIncrementValue != null) dest.setPixelsTimeIncrement(pixelsTimeIncrementValue, imageIndex); 
     591      } catch (NullPointerException e) { } 
     592      try { 
    347593        PixelType pixelsTypeValue = src.getPixelsType(imageIndex); 
    348594        if (pixelsTypeValue != null) dest.setPixelsType(pixelsTypeValue, imageIndex); 
     595      } catch (NullPointerException e) { } 
     596      try { 
    349597      //int annotationRefCount = src.getAnnotationRefCount(imageIndex); 
    350598      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    351599      //} 
     600      } catch (NullPointerException e) { } 
     601      try { 
    352602      int binDataCount = src.getPixelsBinDataCount(imageIndex); 
    353603      for (int binDataIndex=0; binDataIndex<binDataCount; binDataIndex++) { 
     604      try { 
    354605        Boolean pixelsBinDataBigEndianValue = src.getPixelsBinDataBigEndian(imageIndex, binDataIndex); 
    355606        if (pixelsBinDataBigEndianValue != null) dest.setPixelsBinDataBigEndian(pixelsBinDataBigEndianValue, imageIndex, binDataIndex); 
    356       } 
     607      } catch (NullPointerException e) { } 
     608      } 
     609      } catch (NullPointerException e) { } 
     610      try { 
    357611      int planeCount = src.getPlaneCount(imageIndex); 
    358612      for (int planeIndex=0; planeIndex<planeCount; planeIndex++) { 
     613      try { 
    359614        //String planeAnnotationRefValue = src.getPlaneAnnotationRef(imageIndex, planeIndex, annotationRefIndex); 
    360615        //if (planeAnnotationRefValue != null) dest.setPlaneAnnotationRef(planeAnnotationRefValue, imageIndex, planeIndex, annotationRefIndex); 
     616      } catch (NullPointerException e) { } 
     617      try { 
    361618        Double planeDeltaTValue = src.getPlaneDeltaT(imageIndex, planeIndex); 
    362619        if (planeDeltaTValue != null) dest.setPlaneDeltaT(planeDeltaTValue, imageIndex, planeIndex); 
     620      } catch (NullPointerException e) { } 
     621      try { 
    363622        Double planeExposureTimeValue = src.getPlaneExposureTime(imageIndex, planeIndex); 
    364623        if (planeExposureTimeValue != null) dest.setPlaneExposureTime(planeExposureTimeValue, imageIndex, planeIndex); 
     624      } catch (NullPointerException e) { } 
     625      try { 
    365626        String planeHashSHA1Value = src.getPlaneHashSHA1(imageIndex, planeIndex); 
    366627        if (planeHashSHA1Value != null) dest.setPlaneHashSHA1(planeHashSHA1Value, imageIndex, planeIndex); 
     628      } catch (NullPointerException e) { } 
     629      try { 
    367630        Double planePositionXValue = src.getPlanePositionX(imageIndex, planeIndex); 
    368631        if (planePositionXValue != null) dest.setPlanePositionX(planePositionXValue, imageIndex, planeIndex); 
     632      } catch (NullPointerException e) { } 
     633      try { 
    369634        Double planePositionYValue = src.getPlanePositionY(imageIndex, planeIndex); 
    370635        if (planePositionYValue != null) dest.setPlanePositionY(planePositionYValue, imageIndex, planeIndex); 
     636      } catch (NullPointerException e) { } 
     637      try { 
    371638        Double planePositionZValue = src.getPlanePositionZ(imageIndex, planeIndex); 
    372639        if (planePositionZValue != null) dest.setPlanePositionZ(planePositionZValue, imageIndex, planeIndex); 
     640      } catch (NullPointerException e) { } 
     641      try { 
    373642        Integer planeTheCValue = src.getPlaneTheC(imageIndex, planeIndex); 
    374643        if (planeTheCValue != null) dest.setPlaneTheC(planeTheCValue, imageIndex, planeIndex); 
     644      } catch (NullPointerException e) { } 
     645      try { 
    375646        Integer planeTheTValue = src.getPlaneTheT(imageIndex, planeIndex); 
    376647        if (planeTheTValue != null) dest.setPlaneTheT(planeTheTValue, imageIndex, planeIndex); 
     648      } catch (NullPointerException e) { } 
     649      try { 
    377650        Integer planeTheZValue = src.getPlaneTheZ(imageIndex, planeIndex); 
    378651        if (planeTheZValue != null) dest.setPlaneTheZ(planeTheZValue, imageIndex, planeIndex); 
     652      } catch (NullPointerException e) { } 
     653        try { 
    379654        //int annotationRefCount = src.getAnnotationRefCount(imageIndex, planeIndex); 
    380655        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    381656        //} 
    382       } 
    383       int roiRefCount = src.getImageROIRefCount(imageIndex); 
    384       for (int roiRefIndex=0; roiRefIndex<roiRefCount; roiRefIndex++) { 
    385       } 
     657        } catch (NullPointerException e) { } 
     658      } 
     659      } catch (NullPointerException e) { } 
     660      try { 
     661      //int roiRefCount = src.getROIRefCount(imageIndex); 
     662      //for (int roiRefIndex=0; roiRefIndex<roiRefCount; roiRefIndex++) { 
     663      //} 
     664      } catch (NullPointerException e) { } 
     665      try { 
    386666        String stageLabelNameValue = src.getStageLabelName(imageIndex); 
    387667        if (stageLabelNameValue != null) dest.setStageLabelName(stageLabelNameValue, imageIndex); 
     668      } catch (NullPointerException e) { } 
     669      try { 
    388670        Double stageLabelXValue = src.getStageLabelX(imageIndex); 
    389671        if (stageLabelXValue != null) dest.setStageLabelX(stageLabelXValue, imageIndex); 
     672      } catch (NullPointerException e) { } 
     673      try { 
    390674        Double stageLabelYValue = src.getStageLabelY(imageIndex); 
    391675        if (stageLabelYValue != null) dest.setStageLabelY(stageLabelYValue, imageIndex); 
     676      } catch (NullPointerException e) { } 
     677      try { 
    392678        Double stageLabelZValue = src.getStageLabelZ(imageIndex); 
    393679        if (stageLabelZValue != null) dest.setStageLabelZ(stageLabelZValue, imageIndex); 
     680      } catch (NullPointerException e) { } 
     681      try { 
    394682      int tiffDataCount = src.getTiffDataCount(imageIndex); 
    395683      for (int tiffDataIndex=0; tiffDataIndex<tiffDataCount; tiffDataIndex++) { 
     684      try { 
    396685        Integer tiffDataFirstCValue = src.getTiffDataFirstC(imageIndex, tiffDataIndex); 
    397686        if (tiffDataFirstCValue != null) dest.setTiffDataFirstC(tiffDataFirstCValue, imageIndex, tiffDataIndex); 
     687      } catch (NullPointerException e) { } 
     688      try { 
    398689        Integer tiffDataFirstTValue = src.getTiffDataFirstT(imageIndex, tiffDataIndex); 
    399690        if (tiffDataFirstTValue != null) dest.setTiffDataFirstT(tiffDataFirstTValue, imageIndex, tiffDataIndex); 
     691      } catch (NullPointerException e) { } 
     692      try { 
    400693        Integer tiffDataFirstZValue = src.getTiffDataFirstZ(imageIndex, tiffDataIndex); 
    401694        if (tiffDataFirstZValue != null) dest.setTiffDataFirstZ(tiffDataFirstZValue, imageIndex, tiffDataIndex); 
     695      } catch (NullPointerException e) { } 
     696      try { 
    402697        Integer tiffDataIFDValue = src.getTiffDataIFD(imageIndex, tiffDataIndex); 
    403698        if (tiffDataIFDValue != null) dest.setTiffDataIFD(tiffDataIFDValue, imageIndex, tiffDataIndex); 
     699      } catch (NullPointerException e) { } 
     700      try { 
    404701        Integer tiffDataPlaneCountValue = src.getTiffDataPlaneCount(imageIndex, tiffDataIndex); 
    405702        if (tiffDataPlaneCountValue != null) dest.setTiffDataPlaneCount(tiffDataPlaneCountValue, imageIndex, tiffDataIndex); 
     703      } catch (NullPointerException e) { } 
     704      try { 
    406705        String uuidFileNameValue = src.getUUIDFileName(imageIndex, tiffDataIndex); 
    407706        if (uuidFileNameValue != null) dest.setUUIDFileName(uuidFileNameValue, imageIndex, tiffDataIndex); 
    408       } 
     707      } catch (NullPointerException e) { } 
     708      try { 
     709        String uuidValueValue = src.getUUIDValue(imageIndex, tiffDataIndex); 
     710        if (uuidValueValue != null) dest.setUUIDValue(uuidValueValue, imageIndex, tiffDataIndex); 
     711      } catch (NullPointerException e) { } 
     712      } 
     713      } catch (NullPointerException e) { } 
    409714    } 
     715    } catch (NullPointerException e) { } 
     716    try { 
    410717    int instrumentCount = src.getInstrumentCount(); 
    411718    for (int instrumentIndex=0; instrumentIndex<instrumentCount; instrumentIndex++) { 
     719    try { 
    412720      String instrumentIDValue = src.getInstrumentID(instrumentIndex); 
    413721      if (instrumentIDValue != null) dest.setInstrumentID(instrumentIDValue, instrumentIndex); 
     722    } catch (NullPointerException e) { } 
     723      try { 
    414724      /* 
    415725      int arcCount = src.getArcCount(instrumentIndex); 
    416726      for (int arcIndex=0; arcIndex<arcCount; arcIndex++) { 
     727      try { 
    417728        String arcIDValue = src.getArcID(instrumentIndex, arcIndex); 
    418729        if (arcIDValue != null) dest.setArcID(arcIDValue, instrumentIndex, arcIndex); 
     730      } catch (NullPointerException e) { } 
     731      try { 
    419732        String arcLotNumberValue = src.getArcLotNumber(instrumentIndex, arcIndex); 
    420733        if (arcLotNumberValue != null) dest.setArcLotNumber(arcLotNumberValue, instrumentIndex, arcIndex); 
     734      } catch (NullPointerException e) { } 
     735      try { 
    421736        String arcManufacturerValue = src.getArcManufacturer(instrumentIndex, arcIndex); 
    422737        if (arcManufacturerValue != null) dest.setArcManufacturer(arcManufacturerValue, instrumentIndex, arcIndex); 
     738      } catch (NullPointerException e) { } 
     739      try { 
    423740        String arcModelValue = src.getArcModel(instrumentIndex, arcIndex); 
    424741        if (arcModelValue != null) dest.setArcModel(arcModelValue, instrumentIndex, arcIndex); 
     742      } catch (NullPointerException e) { } 
     743      try { 
    425744        Double arcPowerValue = src.getArcPower(instrumentIndex, arcIndex); 
    426745        if (arcPowerValue != null) dest.setArcPower(arcPowerValue, instrumentIndex, arcIndex); 
     746      } catch (NullPointerException e) { } 
     747      try { 
    427748        String arcSerialNumberValue = src.getArcSerialNumber(instrumentIndex, arcIndex); 
    428749        if (arcSerialNumberValue != null) dest.setArcSerialNumber(arcSerialNumberValue, instrumentIndex, arcIndex); 
     750      } catch (NullPointerException e) { } 
     751      try { 
    429752        ArcType arcTypeValue = src.getArcType(instrumentIndex, arcIndex); 
    430753        if (arcTypeValue != null) dest.setArcType(arcTypeValue, instrumentIndex, arcIndex); 
     754      } catch (NullPointerException e) { } 
    431755      } 
    432756      */ 
     757      } catch (NullPointerException e) { } 
     758      try { 
    433759      int detectorCount = src.getDetectorCount(instrumentIndex); 
    434760      for (int detectorIndex=0; detectorIndex<detectorCount; detectorIndex++) { 
     761      try { 
    435762        Double detectorAmplificationGainValue = src.getDetectorAmplificationGain(instrumentIndex, detectorIndex); 
    436763        if (detectorAmplificationGainValue != null) dest.setDetectorAmplificationGain(detectorAmplificationGainValue, instrumentIndex, detectorIndex); 
     764      } catch (NullPointerException e) { } 
     765      try { 
    437766        Double detectorGainValue = src.getDetectorGain(instrumentIndex, detectorIndex); 
    438767        if (detectorGainValue != null) dest.setDetectorGain(detectorGainValue, instrumentIndex, detectorIndex); 
     768      } catch (NullPointerException e) { } 
     769      try { 
    439770        String detectorIDValue = src.getDetectorID(instrumentIndex, detectorIndex); 
    440771        if (detectorIDValue != null) dest.setDetectorID(detectorIDValue, instrumentIndex, detectorIndex); 
     772      } catch (NullPointerException e) { } 
     773      try { 
    441774        String detectorLotNumberValue = src.getDetectorLotNumber(instrumentIndex, detectorIndex); 
    442775        if (detectorLotNumberValue != null) dest.setDetectorLotNumber(detectorLotNumberValue, instrumentIndex, detectorIndex); 
     776      } catch (NullPointerException e) { } 
     777      try { 
    443778        String detectorManufacturerValue = src.getDetectorManufacturer(instrumentIndex, detectorIndex); 
    444779        if (detectorManufacturerValue != null) dest.setDetectorManufacturer(detectorManufacturerValue, instrumentIndex, detectorIndex); 
     780      } catch (NullPointerException e) { } 
     781      try { 
    445782        String detectorModelValue = src.getDetectorModel(instrumentIndex, detectorIndex); 
    446783        if (detectorModelValue != null) dest.setDetectorModel(detectorModelValue, instrumentIndex, detectorIndex); 
     784      } catch (NullPointerException e) { } 
     785      try { 
    447786        Double detectorOffsetValue = src.getDetectorOffset(instrumentIndex, detectorIndex); 
    448787        if (detectorOffsetValue != null) dest.setDetectorOffset(detectorOffsetValue, instrumentIndex, detectorIndex); 
     788      } catch (NullPointerException e) { } 
     789      try { 
    449790        String detectorSerialNumberValue = src.getDetectorSerialNumber(instrumentIndex, detectorIndex); 
    450791        if (detectorSerialNumberValue != null) dest.setDetectorSerialNumber(detectorSerialNumberValue, instrumentIndex, detectorIndex); 
     792      } catch (NullPointerException e) { } 
     793      try { 
    451794        DetectorType detectorTypeValue = src.getDetectorType(instrumentIndex, detectorIndex); 
    452795        if (detectorTypeValue != null) dest.setDetectorType(detectorTypeValue, instrumentIndex, detectorIndex); 
     796      } catch (NullPointerException e) { } 
     797      try { 
    453798        Double detectorVoltageValue = src.getDetectorVoltage(instrumentIndex, detectorIndex); 
    454799        if (detectorVoltageValue != null) dest.setDetectorVoltage(detectorVoltageValue, instrumentIndex, detectorIndex); 
     800      } catch (NullPointerException e) { } 
     801      try { 
    455802        Double detectorZoomValue = src.getDetectorZoom(instrumentIndex, detectorIndex); 
    456803        if (detectorZoomValue != null) dest.setDetectorZoom(detectorZoomValue, instrumentIndex, detectorIndex); 
    457       } 
     804      } catch (NullPointerException e) { } 
     805      } 
     806      } catch (NullPointerException e) { } 
     807      try { 
    458808      int dichroicCount = src.getDichroicCount(instrumentIndex); 
    459809      for (int dichroicIndex=0; dichroicIndex<dichroicCount; dichroicIndex++) { 
     810      try { 
    460811        String dichroicIDValue = src.getDichroicID(instrumentIndex, dichroicIndex); 
    461812        if (dichroicIDValue != null) dest.setDichroicID(dichroicIDValue, instrumentIndex, dichroicIndex); 
     813      } catch (NullPointerException e) { } 
     814      try { 
    462815        String dichroicLotNumberValue = src.getDichroicLotNumber(instrumentIndex, dichroicIndex); 
    463816        if (dichroicLotNumberValue != null) dest.setDichroicLotNumber(dichroicLotNumberValue, instrumentIndex, dichroicIndex); 
     817      } catch (NullPointerException e) { } 
     818      try { 
    464819        String dichroicManufacturerValue = src.getDichroicManufacturer(instrumentIndex, dichroicIndex); 
    465820        if (dichroicManufacturerValue != null) dest.setDichroicManufacturer(dichroicManufacturerValue, instrumentIndex, dichroicIndex); 
     821      } catch (NullPointerException e) { } 
     822      try { 
    466823        String dichroicModelValue = src.getDichroicModel(instrumentIndex, dichroicIndex); 
    467824        if (dichroicModelValue != null) dest.setDichroicModel(dichroicModelValue, instrumentIndex, dichroicIndex); 
     825      } catch (NullPointerException e) { } 
     826      try { 
    468827        String dichroicSerialNumberValue = src.getDichroicSerialNumber(instrumentIndex, dichroicIndex); 
    469828        if (dichroicSerialNumberValue != null) dest.setDichroicSerialNumber(dichroicSerialNumberValue, instrumentIndex, dichroicIndex); 
    470       } 
     829      } catch (NullPointerException e) { } 
     830      } 
     831      } catch (NullPointerException e) { } 
     832      try { 
    471833      /* 
    472834      int filamentCount = src.getFilamentCount(instrumentIndex); 
    473835      for (int filamentIndex=0; filamentIndex<filamentCount; filamentIndex++) { 
     836      try { 
    474837        String filamentIDValue = src.getFilamentID(instrumentIndex, filamentIndex); 
    475838        if (filamentIDValue != null) dest.setFilamentID(filamentIDValue, instrumentIndex, filamentIndex); 
     839      } catch (NullPointerException e) { } 
     840      try { 
    476841        String filamentLotNumberValue = src.getFilamentLotNumber(instrumentIndex, filamentIndex); 
    477842        if (filamentLotNumberValue != null) dest.setFilamentLotNumber(filamentLotNumberValue, instrumentIndex, filamentIndex); 
     843      } catch (NullPointerException e) { } 
     844      try { 
    478845        String filamentManufacturerValue = src.getFilamentManufacturer(instrumentIndex, filamentIndex); 
    479846        if (filamentManufacturerValue != null) dest.setFilamentManufacturer(filamentManufacturerValue, instrumentIndex, filamentIndex); 
     847      } catch (NullPointerException e) { } 
     848      try { 
    480849        String filamentModelValue = src.getFilamentModel(instrumentIndex, filamentIndex); 
    481850        if (filamentModelValue != null) dest.setFilamentModel(filamentModelValue, instrumentIndex, filamentIndex); 
     851      } catch (NullPointerException e) { } 
     852      try { 
    482853        Double filamentPowerValue = src.getFilamentPower(instrumentIndex, filamentIndex); 
    483854        if (filamentPowerValue != null) dest.setFilamentPower(filamentPowerValue, instrumentIndex, filamentIndex); 
     855      } catch (NullPointerException e) { } 
     856      try { 
    484857        String filamentSerialNumberValue = src.getFilamentSerialNumber(instrumentIndex, filamentIndex); 
    485858        if (filamentSerialNumberValue != null) dest.setFilamentSerialNumber(filamentSerialNumberValue, instrumentIndex, filamentIndex); 
     859      } catch (NullPointerException e) { } 
     860      try { 
    486861        FilamentType filamentTypeValue = src.getFilamentType(instrumentIndex, filamentIndex); 
    487862        if (filamentTypeValue != null) dest.setFilamentType(filamentTypeValue, instrumentIndex, filamentIndex); 
     863      } catch (NullPointerException e) { } 
    488864      } 
    489865      */ 
     866      } catch (NullPointerException e) { } 
     867      try { 
    490868      int filterCount = src.getFilterCount(instrumentIndex); 
    491869      for (int filterIndex=0; filterIndex<filterCount; filterIndex++) { 
     870      try { 
    492871        String filterFilterWheelValue = src.getFilterFilterWheel(instrumentIndex, filterIndex); 
    493872        if (filterFilterWheelValue != null) dest.setFilterFilterWheel(filterFilterWheelValue, instrumentIndex, filterIndex); 
     873      } catch (NullPointerException e) { } 
     874      try { 
    494875        String filterIDValue = src.getFilterID(instrumentIndex, filterIndex); 
    495876        if (filterIDValue != null) dest.setFilterID(filterIDValue, instrumentIndex, filterIndex); 
     877      } catch (NullPointerException e) { } 
     878      try { 
    496879        String filterLotNumberValue = src.getFilterLotNumber(instrumentIndex, filterIndex); 
    497880        if (filterLotNumberValue != null) dest.setFilterLotNumber(filterLotNumberValue, instrumentIndex, filterIndex); 
     881      } catch (NullPointerException e) { } 
     882      try { 
    498883        String filterManufacturerValue = src.getFilterManufacturer(instrumentIndex, filterIndex); 
    499884        if (filterManufacturerValue != null) dest.setFilterManufacturer(filterManufacturerValue, instrumentIndex, filterIndex); 
     885      } catch (NullPointerException e) { } 
     886      try { 
    500887        String filterModelValue = src.getFilterModel(instrumentIndex, filterIndex); 
    501888        if (filterModelValue != null) dest.setFilterModel(filterModelValue, instrumentIndex, filterIndex); 
     889      } catch (NullPointerException e) { } 
     890      try { 
    502891        String filterSerialNumberValue = src.getFilterSerialNumber(instrumentIndex, filterIndex); 
    503892        if (filterSerialNumberValue != null) dest.setFilterSerialNumber(filterSerialNumberValue, instrumentIndex, filterIndex); 
     893      } catch (NullPointerException e) { } 
     894      try { 
    504895        FilterType filterTypeValue = src.getFilterType(instrumentIndex, filterIndex); 
    505896        if (filterTypeValue != null) dest.setFilterType(filterTypeValue, instrumentIndex, filterIndex); 
     897      } catch (NullPointerException e) { } 
     898      try { 
    506899        Integer transmittanceRangeCutInValue = src.getTransmittanceRangeCutIn(instrumentIndex, filterIndex); 
    507900        if (transmittanceRangeCutInValue != null) dest.setTransmittanceRangeCutIn(transmittanceRangeCutInValue, instrumentIndex, filterIndex); 
     901      } catch (NullPointerException e) { } 
     902      try { 
    508903        Integer transmittanceRangeCutInToleranceValue = src.getTransmittanceRangeCutInTolerance(instrumentIndex, filterIndex); 
    509904        if (transmittanceRangeCutInToleranceValue != null) dest.setTransmittanceRangeCutInTolerance(transmittanceRangeCutInToleranceValue, instrumentIndex, filterIndex); 
     905      } catch (NullPointerException e) { } 
     906      try { 
    510907        Integer transmittanceRangeCutOutValue = src.getTransmittanceRangeCutOut(instrumentIndex, filterIndex); 
    511908        if (transmittanceRangeCutOutValue != null) dest.setTransmittanceRangeCutOut(transmittanceRangeCutOutValue, instrumentIndex, filterIndex); 
     909      } catch (NullPointerException e) { } 
     910      try { 
    512911        Integer transmittanceRangeCutOutToleranceValue = src.getTransmittanceRangeCutOutTolerance(instrumentIndex, filterIndex); 
    513912        if (transmittanceRangeCutOutToleranceValue != null) dest.setTransmittanceRangeCutOutTolerance(transmittanceRangeCutOutToleranceValue, instrumentIndex, filterIndex); 
     913      } catch (NullPointerException e) { } 
     914      try { 
    514915        PercentFraction transmittanceRangeTransmittanceValue = src.getTransmittanceRangeTransmittance(instrumentIndex, filterIndex); 
    515916        if (transmittanceRangeTransmittanceValue != null) dest.setTransmittanceRangeTransmittance(transmittanceRangeTransmittanceValue, instrumentIndex, filterIndex); 
    516       } 
     917      } catch (NullPointerException e) { } 
     918      } 
     919      } catch (NullPointerException e) { } 
     920      try { 
    517921      int filterSetCount = src.getFilterSetCount(instrumentIndex); 
    518922      for (int filterSetIndex=0; filterSetIndex<filterSetCount; filterSetIndex++) { 
     923      try { 
    519924        String filterSetDichroicRefValue = src.getFilterSetDichroicRef(instrumentIndex, filterSetIndex); 
    520925        if (filterSetDichroicRefValue != null) dest.setFilterSetDichroicRef(filterSetDichroicRefValue, instrumentIndex, filterSetIndex); 
     926      } catch (NullPointerException e) { } 
     927      try { 
    521928        //String filterSetEmissionFilterRefValue = src.getFilterSetEmissionFilterRef(instrumentIndex, filterSetIndex, emissionFilterRefIndex); 
    522929        //if (filterSetEmissionFilterRefValue != null) dest.setFilterSetEmissionFilterRef(filterSetEmissionFilterRefValue, instrumentIndex, filterSetIndex, emissionFilterRefIndex); 
     930      } catch (NullPointerException e) { } 
     931      try { 
    523932        //String filterSetExcitationFilterRefValue = src.getFilterSetExcitationFilterRef(instrumentIndex, filterSetIndex, excitationFilterRefIndex); 
    524933        //if (filterSetExcitationFilterRefValue != null) dest.setFilterSetExcitationFilterRef(filterSetExcitationFilterRefValue, instrumentIndex, filterSetIndex, excitationFilterRefIndex); 
     934      } catch (NullPointerException e) { } 
     935      try { 
    525936        String filterSetIDValue = src.getFilterSetID(instrumentIndex, filterSetIndex); 
    526937        if (filterSetIDValue != null) dest.setFilterSetID(filterSetIDValue, instrumentIndex, filterSetIndex); 
     938      } catch (NullPointerException e) { } 
     939      try { 
    527940        String filterSetLotNumberValue = src.getFilterSetLotNumber(instrumentIndex, filterSetIndex); 
    528941        if (filterSetLotNumberValue != null) dest.setFilterSetLotNumber(filterSetLotNumberValue, instrumentIndex, filterSetIndex); 
     942      } catch (NullPointerException e) { } 
     943      try { 
    529944        String filterSetManufacturerValue = src.getFilterSetManufacturer(instrumentIndex, filterSetIndex); 
    530945        if (filterSetManufacturerValue != null) dest.setFilterSetManufacturer(filterSetManufacturerValue, instrumentIndex, filterSetIndex); 
     946      } catch (NullPointerException e) { } 
     947      try { 
    531948        String filterSetModelValue = src.getFilterSetModel(instrumentIndex, filterSetIndex); 
    532949        if (filterSetModelValue != null) dest.setFilterSetModel(filterSetModelValue, instrumentIndex, filterSetIndex); 
     950      } catch (NullPointerException e) { } 
     951      try { 
    533952        String filterSetSerialNumberValue = src.getFilterSetSerialNumber(instrumentIndex, filterSetIndex); 
    534953        if (filterSetSerialNumberValue != null) dest.setFilterSetSerialNumber(filterSetSerialNumberValue, instrumentIndex, filterSetIndex); 
    535         /* 
    536         int emissionFilterRefCount = src.getEmissionFilterRefCount(instrumentIndex, filterSetIndex); 
    537         for (int emissionFilterRefIndex=0; emissionFilterRefIndex<emissionFilterRefCount; emissionFilterRefIndex++) { 
    538         } 
    539         int excitationFilterRefCount = src.getExcitationFilterRefCount(instrumentIndex, filterSetIndex); 
    540         for (int excitationFilterRefIndex=0; excitationFilterRefIndex<excitationFilterRefCount; excitationFilterRefIndex++) { 
    541         } 
    542         */ 
    543       } 
     954      } catch (NullPointerException e) { } 
     955        try { 
     956        //int emissionFilterRefCount = src.getEmissionFilterRefCount(instrumentIndex, filterSetIndex); 
     957        //for (int emissionFilterRefIndex=0; emissionFilterRefIndex<emissionFilterRefCount; emissionFilterRefIndex++) { 
     958        //} 
     959        } catch (NullPointerException e) { } 
     960        try { 
     961        //int excitationFilterRefCount = src.getExcitationFilterRefCount(instrumentIndex, filterSetIndex); 
     962        //for (int excitationFilterRefIndex=0; excitationFilterRefIndex<excitationFilterRefCount; excitationFilterRefIndex++) { 
     963        //} 
     964        } catch (NullPointerException e) { } 
     965      } 
     966      } catch (NullPointerException e) { } 
     967      try { 
    544968      /* 
    545969      int laserCount = src.getLaserCount(instrumentIndex); 
    546970      for (int laserIndex=0; laserIndex<laserCount; laserIndex++) { 
     971      try { 
    547972        PositiveInteger laserFrequencyMultiplicationValue = src.getLaserFrequencyMultiplication(instrumentIndex, laserIndex); 
    548973        if (laserFrequencyMultiplicationValue != null) dest.setLaserFrequencyMultiplication(laserFrequencyMultiplicationValue, instrumentIndex, laserIndex); 
     974      } catch (NullPointerException e) { } 
     975      try { 
    549976        String laserIDValue = src.getLaserID(instrumentIndex, laserIndex); 
    550977        if (laserIDValue != null) dest.setLaserID(laserIDValue, instrumentIndex, laserIndex); 
     978      } catch (NullPointerException e) { } 
     979      try { 
    551980        LaserMedium laserLaserMediumValue = src.getLaserLaserMedium(instrumentIndex, laserIndex); 
    552981        if (laserLaserMediumValue != null) dest.setLaserLaserMedium(laserLaserMediumValue, instrumentIndex, laserIndex); 
     982      } catch (NullPointerException e) { } 
     983      try { 
    553984        String laserLotNumberValue = src.getLaserLotNumber(instrumentIndex, laserIndex); 
    554985        if (laserLotNumberValue != null) dest.setLaserLotNumber(laserLotNumberValue, instrumentIndex, laserIndex); 
     986      } catch (NullPointerException e) { } 
     987      try { 
    555988        String laserManufacturerValue = src.getLaserManufacturer(instrumentIndex, laserIndex); 
    556989        if (laserManufacturerValue != null) dest.setLaserManufacturer(laserManufacturerValue, instrumentIndex, laserIndex); 
     990      } catch (NullPointerException e) { } 
     991      try { 
    557992        String laserModelValue = src.getLaserModel(instrumentIndex, laserIndex); 
    558993        if (laserModelValue != null) dest.setLaserModel(laserModelValue, instrumentIndex, laserIndex); 
     994      } catch (NullPointerException e) { } 
     995      try { 
    559996        Boolean laserPockelCellValue = src.getLaserPockelCell(instrumentIndex, laserIndex); 
    560997        if (laserPockelCellValue != null) dest.setLaserPockelCell(laserPockelCellValue, instrumentIndex, laserIndex); 
     998      } catch (NullPointerException e) { } 
     999      try { 
    5611000        Double laserPowerValue = src.getLaserPower(instrumentIndex, laserIndex); 
    5621001        if (laserPowerValue != null) dest.setLaserPower(laserPowerValue, instrumentIndex, laserIndex); 
     1002      } catch (NullPointerException e) { } 
     1003      try { 
    5631004        Pulse laserPulseValue = src.getLaserPulse(instrumentIndex, laserIndex); 
    5641005        if (laserPulseValue != null) dest.setLaserPulse(laserPulseValue, instrumentIndex, laserIndex); 
     1006      } catch (NullPointerException e) { } 
     1007      try { 
    5651008        String laserPumpValue = src.getLaserPump(instrumentIndex, laserIndex); 
    5661009        if (laserPumpValue != null) dest.setLaserPump(laserPumpValue, instrumentIndex, laserIndex); 
     1010      } catch (NullPointerException e) { } 
     1011      try { 
    5671012        Double laserRepetitionRateValue = src.getLaserRepetitionRate(instrumentIndex, laserIndex); 
    5681013        if (laserRepetitionRateValue != null) dest.setLaserRepetitionRate(laserRepetitionRateValue, instrumentIndex, laserIndex); 
     1014      } catch (NullPointerException e) { } 
     1015      try { 
    5691016        String laserSerialNumberValue = src.getLaserSerialNumber(instrumentIndex, laserIndex); 
    5701017        if (laserSerialNumberValue != null) dest.setLaserSerialNumber(laserSerialNumberValue, instrumentIndex, laserIndex); 
     1018      } catch (NullPointerException e) { } 
     1019      try { 
    5711020        Boolean laserTuneableValue = src.getLaserTuneable(instrumentIndex, laserIndex); 
    5721021        if (laserTuneableValue != null) dest.setLaserTuneable(laserTuneableValue, instrumentIndex, laserIndex); 
     1022      } catch (NullPointerException e) { } 
     1023      try { 
    5731024        LaserType laserTypeValue = src.getLaserType(instrumentIndex, laserIndex); 
    5741025        if (laserTypeValue != null) dest.setLaserType(laserTypeValue, instrumentIndex, laserIndex); 
     1026      } catch (NullPointerException e) { } 
     1027      try { 
    5751028        PositiveInteger laserWavelengthValue = src.getLaserWavelength(instrumentIndex, laserIndex); 
    5761029        if (laserWavelengthValue != null) dest.setLaserWavelength(laserWavelengthValue, instrumentIndex, laserIndex); 
     1030      } catch (NullPointerException e) { } 
    5771031      } 
    5781032      */ 
     1033      } catch (NullPointerException e) { } 
     1034      try { 
    5791035      /* 
    5801036      int lightEmittingDiodeCount = src.getLightEmittingDiodeCount(instrumentIndex); 
    5811037      for (int lightEmittingDiodeIndex=0; lightEmittingDiodeIndex<lightEmittingDiodeCount; lightEmittingDiodeIndex++) { 
     1038      try { 
    5821039        String lightEmittingDiodeIDValue = src.getLightEmittingDiodeID(instrumentIndex, lightEmittingDiodeIndex); 
    5831040        if (lightEmittingDiodeIDValue != null) dest.setLightEmittingDiodeID(lightEmittingDiodeIDValue, instrumentIndex, lightEmittingDiodeIndex); 
     1041      } catch (NullPointerException e) { } 
     1042      try { 
    5841043        String lightEmittingDiodeLotNumberValue = src.getLightEmittingDiodeLotNumber(instrumentIndex, lightEmittingDiodeIndex); 
    5851044        if (lightEmittingDiodeLotNumberValue != null) dest.setLightEmittingDiodeLotNumber(lightEmittingDiodeLotNumberValue, instrumentIndex, lightEmittingDiodeIndex); 
     1045      } catch (NullPointerException e) { } 
     1046      try { 
    5861047        String lightEmittingDiodeManufacturerValue = src.getLightEmittingDiodeManufacturer(instrumentIndex, lightEmittingDiodeIndex); 
    5871048        if (lightEmittingDiodeManufacturerValue != null) dest.setLightEmittingDiodeManufacturer(lightEmittingDiodeManufacturerValue, instrumentIndex, lightEmittingDiodeIndex); 
     1049      } catch (NullPointerException e) { } 
     1050      try { 
    5881051        String lightEmittingDiodeModelValue = src.getLightEmittingDiodeModel(instrumentIndex, lightEmittingDiodeIndex); 
    5891052        if (lightEmittingDiodeModelValue != null) dest.setLightEmittingDiodeModel(lightEmittingDiodeModelValue, instrumentIndex, lightEmittingDiodeIndex); 
     1053      } catch (NullPointerException e) { } 
     1054      try { 
    5901055        Double lightEmittingDiodePowerValue = src.getLightEmittingDiodePower(instrumentIndex, lightEmittingDiodeIndex); 
    5911056        if (lightEmittingDiodePowerValue != null) dest.setLightEmittingDiodePower(lightEmittingDiodePowerValue, instrumentIndex, lightEmittingDiodeIndex); 
     1057      } catch (NullPointerException e) { } 
     1058      try { 
    5921059        String lightEmittingDiodeSerialNumberValue = src.getLightEmittingDiodeSerialNumber(instrumentIndex, lightEmittingDiodeIndex); 
    5931060        if (lightEmittingDiodeSerialNumberValue != null) dest.setLightEmittingDiodeSerialNumber(lightEmittingDiodeSerialNumberValue, instrumentIndex, lightEmittingDiodeIndex); 
     1061      } catch (NullPointerException e) { } 
    5941062      } 
    5951063      */ 
     1064      } catch (NullPointerException e) { } 
     1065      try { 
    5961066        String microscopeLotNumberValue = src.getMicroscopeLotNumber(instrumentIndex); 
    5971067        if (microscopeLotNumberValue != null) dest.setMicroscopeLotNumber(microscopeLotNumberValue, instrumentIndex); 
     1068      } catch (NullPointerException e) { } 
     1069      try { 
    5981070        String microscopeManufacturerValue = src.getMicroscopeManufacturer(instrumentIndex); 
    5991071        if (microscopeManufacturerValue != null) dest.setMicroscopeManufacturer(microscopeManufacturerValue, instrumentIndex); 
     1072      } catch (NullPointerException e) { } 
     1073      try { 
    6001074        String microscopeModelValue = src.getMicroscopeModel(instrumentIndex); 
    6011075        if (microscopeModelValue != null) dest.setMicroscopeModel(microscopeModelValue, instrumentIndex); 
     1076      } catch (NullPointerException e) { } 
     1077      try { 
    6021078        String microscopeSerialNumberValue = src.getMicroscopeSerialNumber(instrumentIndex); 
    6031079        if (microscopeSerialNumberValue != null) dest.setMicroscopeSerialNumber(microscopeSerialNumberValue, instrumentIndex); 
     1080      } catch (NullPointerException e) { } 
     1081      try { 
    6041082        MicroscopeType microscopeTypeValue = src.getMicroscopeType(instrumentIndex); 
    6051083        if (microscopeTypeValue != null) dest.setMicroscopeType(microscopeTypeValue, instrumentIndex); 
     1084      } catch (NullPointerException e) { } 
     1085      try { 
    6061086      int otfCount = src.getOTFCount(instrumentIndex); 
    6071087      for (int otfIndex=0; otfIndex<otfCount; otfIndex++) { 
     1088      try { 
    6081089        String otfBinaryFileFileNameValue = src.getOTFBinaryFileFileName(instrumentIndex, otfIndex); 
    6091090        if (otfBinaryFileFileNameValue != null) dest.setOTFBinaryFileFileName(otfBinaryFileFileNameValue, instrumentIndex, otfIndex); 
     1091      } catch (NullPointerException e) { } 
     1092      try { 
    6101093        String otfBinaryFileMIMETypeValue = src.getOTFBinaryFileMIMEType(instrumentIndex, otfIndex); 
    6111094        if (otfBinaryFileMIMETypeValue != null) dest.setOTFBinaryFileMIMEType(otfBinaryFileMIMETypeValue, instrumentIndex, otfIndex); 
     1095      } catch (NullPointerException e) { } 
     1096      try { 
    6121097        Integer otfBinaryFileSizeValue = src.getOTFBinaryFileSize(instrumentIndex, otfIndex); 
    6131098        if (otfBinaryFileSizeValue != null) dest.setOTFBinaryFileSize(otfBinaryFileSizeValue, instrumentIndex, otfIndex); 
     1099      } catch (NullPointerException e) { } 
     1100      try { 
    6141101        String otfFilterSetRefValue = src.getOTFFilterSetRef(instrumentIndex, otfIndex); 
    6151102        if (otfFilterSetRefValue != null) dest.setOTFFilterSetRef(otfFilterSetRefValue, instrumentIndex, otfIndex); 
     1103      } catch (NullPointerException e) { } 
     1104      try { 
    6161105        String otfidValue = src.getOTFID(instrumentIndex, otfIndex); 
    6171106        if (otfidValue != null) dest.setOTFID(otfidValue, instrumentIndex, otfIndex); 
     1107      } catch (NullPointerException e) { } 
     1108      try { 
    6181109        Double otfObjectiveSettingsCorrectionCollarValue = src.getOTFObjectiveSettingsCorrectionCollar(instrumentIndex, otfIndex); 
    6191110        if (otfObjectiveSettingsCorrectionCollarValue != null) dest.setOTFObjectiveSettingsCorrectionCollar(otfObjectiveSettingsCorrectionCollarValue, instrumentIndex, otfIndex); 
     1111      } catch (NullPointerException e) { } 
     1112      try { 
    6201113        String otfObjectiveSettingsIDValue = src.getOTFObjectiveSettingsID(instrumentIndex, otfIndex); 
    6211114        if (otfObjectiveSettingsIDValue != null) dest.setOTFObjectiveSettingsID(otfObjectiveSettingsIDValue, instrumentIndex, otfIndex); 
     1115      } catch (NullPointerException e) { } 
     1116      try { 
    6221117        Medium otfObjectiveSettingsMediumValue = src.getOTFObjectiveSettingsMedium(instrumentIndex, otfIndex); 
    6231118        if (otfObjectiveSettingsMediumValue != null) dest.setOTFObjectiveSettingsMedium(otfObjectiveSettingsMediumValue, instrumentIndex, otfIndex); 
     1119      } catch (NullPointerException e) { } 
     1120      try { 
    6241121        Double otfObjectiveSettingsRefractiveIndexValue = src.getOTFObjectiveSettingsRefractiveIndex(instrumentIndex, otfIndex); 
    6251122        if (otfObjectiveSettingsRefractiveIndexValue != null) dest.setOTFObjectiveSettingsRefractiveIndex(otfObjectiveSettingsRefractiveIndexValue, instrumentIndex, otfIndex); 
     1123      } catch (NullPointerException e) { } 
     1124      try { 
    6261125        Boolean otfOpticalAxisAveragedValue = src.getOTFOpticalAxisAveraged(instrumentIndex, otfIndex); 
    6271126        if (otfOpticalAxisAveragedValue != null) dest.setOTFOpticalAxisAveraged(otfOpticalAxisAveragedValue, instrumentIndex, otfIndex); 
     1127      } catch (NullPointerException e) { } 
     1128      try { 
    6281129        PositiveInteger otfSizeXValue = src.getOTFSizeX(instrumentIndex, otfIndex); 
    6291130        if (otfSizeXValue != null) dest.setOTFSizeX(otfSizeXValue, instrumentIndex, otfIndex); 
     1131      } catch (NullPointerException e) { } 
     1132      try { 
    6301133        PositiveInteger otfSizeYValue = src.getOTFSizeY(instrumentIndex, otfIndex); 
    6311134        if (otfSizeYValue != null) dest.setOTFSizeY(otfSizeYValue, instrumentIndex, otfIndex); 
     1135      } catch (NullPointerException e) { } 
     1136      try { 
    6321137        PixelType otfTypeValue = src.getOTFType(instrumentIndex, otfIndex); 
    6331138        if (otfTypeValue != null) dest.setOTFType(otfTypeValue, instrumentIndex, otfIndex); 
    634       } 
     1139      } catch (NullPointerException e) { } 
     1140      } 
     1141      } catch (NullPointerException e) { } 
     1142      try { 
    6351143      int objectiveCount = src.getObjectiveCount(instrumentIndex); 
    6361144      for (int objectiveIndex=0; objectiveIndex<objectiveCount; objectiveIndex++) { 
     1145      try { 
    6371146        Double objectiveCalibratedMagnificationValue = src.getObjectiveCalibratedMagnification(instrumentIndex, objectiveIndex); 
    6381147        if (objectiveCalibratedMagnificationValue != null) dest.setObjectiveCalibratedMagnification(objectiveCalibratedMagnificationValue, instrumentIndex, objectiveIndex); 
     1148      } catch (NullPointerException e) { } 
     1149      try { 
    6391150        Correction objectiveCorrectionValue = src.getObjectiveCorrection(instrumentIndex, objectiveIndex); 
    6401151        if (objectiveCorrectionValue != null) dest.setObjectiveCorrection(objectiveCorrectionValue, instrumentIndex, objectiveIndex); 
     1152      } catch (NullPointerException e) { } 
     1153      try { 
    6411154        String objectiveIDValue = src.getObjectiveID(instrumentIndex, objectiveIndex); 
    6421155        if (objectiveIDValue != null) dest.setObjectiveID(objectiveIDValue, instrumentIndex, objectiveIndex); 
     1156      } catch (NullPointerException e) { } 
     1157      try { 
    6431158        Immersion objectiveImmersionValue = src.getObjectiveImmersion(instrumentIndex, objectiveIndex); 
    6441159        if (objectiveImmersionValue != null) dest.setObjectiveImmersion(objectiveImmersionValue, instrumentIndex, objectiveIndex); 
     1160      } catch (NullPointerException e) { } 
     1161      try { 
    6451162        Boolean objectiveIrisValue = src.getObjectiveIris(instrumentIndex, objectiveIndex); 
    6461163        if (objectiveIrisValue != null) dest.setObjectiveIris(objectiveIrisValue, instrumentIndex, objectiveIndex); 
     1164      } catch (NullPointerException e) { } 
     1165      try { 
    6471166        Double objectiveLensNAValue = src.getObjectiveLensNA(instrumentIndex, objectiveIndex); 
    6481167        if (objectiveLensNAValue != null) dest.setObjectiveLensNA(objectiveLensNAValue, instrumentIndex, objectiveIndex); 
     1168      } catch (NullPointerException e) { } 
     1169      try { 
    6491170        String objectiveLotNumberValue = src.getObjectiveLotNumber(instrumentIndex, objectiveIndex); 
    6501171        if (objectiveLotNumberValue != null) dest.setObjectiveLotNumber(objectiveLotNumberValue, instrumentIndex, objectiveIndex); 
     1172      } catch (NullPointerException e) { } 
     1173      try { 
    6511174        String objectiveManufacturerValue = src.getObjectiveManufacturer(instrumentIndex, objectiveIndex); 
    6521175        if (objectiveManufacturerValue != null) dest.setObjectiveManufacturer(objectiveManufacturerValue, instrumentIndex, objectiveIndex); 
     1176      } catch (NullPointerException e) { } 
     1177      try { 
    6531178        String objectiveModelValue = src.getObjectiveModel(instrumentIndex, objectiveIndex); 
    6541179        if (objectiveModelValue != null) dest.setObjectiveModel(objectiveModelValue, instrumentIndex, objectiveIndex); 
     1180      } catch (NullPointerException e) { } 
     1181      try { 
    6551182        Integer objectiveNominalMagnificationValue = src.getObjectiveNominalMagnification(instrumentIndex, objectiveIndex); 
    6561183        if (objectiveNominalMagnificationValue != null) dest.setObjectiveNominalMagnification(objectiveNominalMagnificationValue, instrumentIndex, objectiveIndex); 
     1184      } catch (NullPointerException e) { } 
     1185      try { 
    6571186        String objectiveSerialNumberValue = src.getObjectiveSerialNumber(instrumentIndex, objectiveIndex); 
    6581187        if (objectiveSerialNumberValue != null) dest.setObjectiveSerialNumber(objectiveSerialNumberValue, instrumentIndex, objectiveIndex); 
     1188      } catch (NullPointerException e) { } 
     1189      try { 
    6591190        Double objectiveWorkingDistanceValue = src.getObjectiveWorkingDistance(instrumentIndex, objectiveIndex); 
    6601191        if (objectiveWorkingDistanceValue != null) dest.setObjectiveWorkingDistance(objectiveWorkingDistanceValue, instrumentIndex, objectiveIndex); 
    661       } 
     1192      } catch (NullPointerException e) { } 
     1193      } 
     1194      } catch (NullPointerException e) { } 
    6621195    } 
     1196    } catch (NullPointerException e) { } 
     1197    try { 
    6631198    int listAnnotationCount = src.getListAnnotationCount(); 
    6641199    for (int listAnnotationIndex=0; listAnnotationIndex<listAnnotationCount; listAnnotationIndex++) { 
     1200    try { 
    6651201      //String listAnnotationAnnotationRefValue = src.getListAnnotationAnnotationRef(listAnnotationIndex, annotationRefIndex); 
    6661202      //if (listAnnotationAnnotationRefValue != null) dest.setListAnnotationAnnotationRef(listAnnotationAnnotationRefValue, listAnnotationIndex, annotationRefIndex); 
     1203    } catch (NullPointerException e) { } 
     1204    try { 
    6671205      String listAnnotationIDValue = src.getListAnnotationID(listAnnotationIndex); 
    6681206      if (listAnnotationIDValue != null) dest.setListAnnotationID(listAnnotationIDValue, listAnnotationIndex); 
     1207    } catch (NullPointerException e) { } 
     1208    try { 
    6691209      String listAnnotationNamespaceValue = src.getListAnnotationNamespace(listAnnotationIndex); 
    6701210      if (listAnnotationNamespaceValue != null) dest.setListAnnotationNamespace(listAnnotationNamespaceValue, listAnnotationIndex); 
     1211    } catch (NullPointerException e) { } 
     1212      try { 
    6711213      //int annotationRefCount = src.getAnnotationRefCount(listAnnotationIndex); 
    6721214      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    6731215      //} 
     1216      } catch (NullPointerException e) { } 
    6741217    } 
     1218    } catch (NullPointerException e) { } 
     1219    try { 
    6751220    int longAnnotationCount = src.getLongAnnotationCount(); 
    6761221    for (int longAnnotationIndex=0; longAnnotationIndex<longAnnotationCount; longAnnotationIndex++) { 
     1222    try { 
    6771223      String longAnnotationIDValue = src.getLongAnnotationID(longAnnotationIndex); 
    6781224      if (longAnnotationIDValue != null) dest.setLongAnnotationID(longAnnotationIDValue, longAnnotationIndex); 
     1225    } catch (NullPointerException e) { } 
     1226    try { 
    6791227      String longAnnotationNamespaceValue = src.getLongAnnotationNamespace(longAnnotationIndex); 
    6801228      if (longAnnotationNamespaceValue != null) dest.setLongAnnotationNamespace(longAnnotationNamespaceValue, longAnnotationIndex); 
     1229    } catch (NullPointerException e) { } 
     1230    try { 
    6811231      Long longAnnotationValueValue = src.getLongAnnotationValue(longAnnotationIndex); 
    6821232      if (longAnnotationValueValue != null) dest.setLongAnnotationValue(longAnnotationValueValue, longAnnotationIndex); 
     1233    } catch (NullPointerException e) { } 
    6831234    } 
     1235    } catch (NullPointerException e) { } 
     1236    try { 
    6841237    int plateCount = src.getPlateCount(); 
    6851238    for (int plateIndex=0; plateIndex<plateCount; plateIndex++) { 
     1239    try { 
    6861240      //String plateAnnotationRefValue = src.getPlateAnnotationRef(plateIndex, annotationRefIndex); 
    6871241      //if (plateAnnotationRefValue != null) dest.setPlateAnnotationRef(plateAnnotationRefValue, plateIndex, annotationRefIndex); 
     1242    } catch (NullPointerException e) { } 
     1243    try { 
    6881244      NamingConvention plateColumnNamingConventionValue = src.getPlateColumnNamingConvention(plateIndex); 
    6891245      if (plateColumnNamingConventionValue != null) dest.setPlateColumnNamingConvention(plateColumnNamingConventionValue, plateIndex); 
     1246    } catch (NullPointerException e) { } 
     1247    try { 
    6901248      Integer plateColumnsValue = src.getPlateColumns(plateIndex); 
    6911249      if (plateColumnsValue != null) dest.setPlateColumns(plateColumnsValue, plateIndex); 
     1250    } catch (NullPointerException e) { } 
     1251    try { 
    6921252      String plateDescriptionValue = src.getPlateDescription(plateIndex); 
    6931253      if (plateDescriptionValue != null) dest.setPlateDescription(plateDescriptionValue, plateIndex); 
     1254    } catch (NullPointerException e) { } 
     1255    try { 
    6941256      String plateExternalIdentifierValue = src.getPlateExternalIdentifier(plateIndex); 
    6951257      if (plateExternalIdentifierValue != null) dest.setPlateExternalIdentifier(plateExternalIdentifierValue, plateIndex); 
     1258    } catch (NullPointerException e) { } 
     1259    try { 
    6961260      String plateIDValue = src.getPlateID(plateIndex); 
    6971261      if (plateIDValue != null) dest.setPlateID(plateIDValue, plateIndex); 
     1262    } catch (NullPointerException e) { } 
     1263    try { 
    6981264      String plateNameValue = src.getPlateName(plateIndex); 
    6991265      if (plateNameValue != null) dest.setPlateName(plateNameValue, plateIndex); 
     1266    } catch (NullPointerException e) { } 
     1267    try { 
    7001268      NamingConvention plateRowNamingConventionValue = src.getPlateRowNamingConvention(plateIndex); 
    7011269      if (plateRowNamingConventionValue != null) dest.setPlateRowNamingConvention(plateRowNamingConventionValue, plateIndex); 
     1270    } catch (NullPointerException e) { } 
     1271    try { 
    7021272      Integer plateRowsValue = src.getPlateRows(plateIndex); 
    7031273      if (plateRowsValue != null) dest.setPlateRows(plateRowsValue, plateIndex); 
     1274    } catch (NullPointerException e) { } 
     1275    try { 
    7041276      //String plateScreenRefValue = src.getPlateScreenRef(plateIndex, screenRefIndex); 
    7051277      //if (plateScreenRefValue != null) dest.setPlateScreenRef(plateScreenRefValue, plateIndex, screenRefIndex); 
     1278    } catch (NullPointerException e) { } 
     1279    try { 
    7061280      String plateStatusValue = src.getPlateStatus(plateIndex); 
    7071281      if (plateStatusValue != null) dest.setPlateStatus(plateStatusValue, plateIndex); 
     1282    } catch (NullPointerException e) { } 
     1283    try { 
    7081284      Double plateWellOriginXValue = src.getPlateWellOriginX(plateIndex); 
    7091285      if (plateWellOriginXValue != null) dest.setPlateWellOriginX(plateWellOriginXValue, plateIndex); 
     1286    } catch (NullPointerException e) { } 
     1287    try { 
    7101288      Double plateWellOriginYValue = src.getPlateWellOriginY(plateIndex); 
    7111289      if (plateWellOriginYValue != null) dest.setPlateWellOriginY(plateWellOriginYValue, plateIndex); 
     1290    } catch (NullPointerException e) { } 
     1291      try { 
    7121292      //int annotationRefCount = src.getAnnotationRefCount(plateIndex); 
    7131293      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    7141294      //} 
     1295      } catch (NullPointerException e) { } 
     1296      try { 
    7151297      int plateAcquisitionCount = src.getPlateAcquisitionCount(plateIndex); 
    7161298      for (int plateAcquisitionIndex=0; plateAcquisitionIndex<plateAcquisitionCount; plateAcquisitionIndex++) { 
     1299      try { 
    7171300        //String plateAcquisitionAnnotationRefValue = src.getPlateAcquisitionAnnotationRef(plateIndex, plateAcquisitionIndex, annotationRefIndex); 
    7181301        //if (plateAcquisitionAnnotationRefValue != null) dest.setPlateAcquisitionAnnotationRef(plateAcquisitionAnnotationRefValue, plateIndex, plateAcquisitionIndex, annotationRefIndex); 
     1302      } catch (NullPointerException e) { } 
     1303      try { 
    7191304        String plateAcquisitionDescriptionValue = src.getPlateAcquisitionDescription(plateIndex, plateAcquisitionIndex); 
    7201305        if (plateAcquisitionDescriptionValue != null) dest.setPlateAcquisitionDescription(plateAcquisitionDescriptionValue, plateIndex, plateAcquisitionIndex); 
     1306      } catch (NullPointerException e) { } 
     1307      try { 
    7211308        String plateAcquisitionEndTimeValue = src.getPlateAcquisitionEndTime(plateIndex, plateAcquisitionIndex); 
    7221309        if (plateAcquisitionEndTimeValue != null) dest.setPlateAcquisitionEndTime(plateAcquisitionEndTimeValue, plateIndex, plateAcquisitionIndex); 
     1310      } catch (NullPointerException e) { } 
     1311      try { 
    7231312        String plateAcquisitionIDValue = src.getPlateAcquisitionID(plateIndex, plateAcquisitionIndex); 
    7241313        if (plateAcquisitionIDValue != null) dest.setPlateAcquisitionID(plateAcquisitionIDValue, plateIndex, plateAcquisitionIndex); 
     1314      } catch (NullPointerException e) { } 
     1315      try { 
    7251316        Integer plateAcquisitionMaximumFieldCountValue = src.getPlateAcquisitionMaximumFieldCount(plateIndex, plateAcquisitionIndex); 
    7261317        if (plateAcquisitionMaximumFieldCountValue != null) dest.setPlateAcquisitionMaximumFieldCount(plateAcquisitionMaximumFieldCountValue, plateIndex, plateAcquisitionIndex); 
     1318      } catch (NullPointerException e) { } 
     1319      try { 
    7271320        String plateAcquisitionNameValue = src.getPlateAcquisitionName(plateIndex, plateAcquisitionIndex); 
    7281321        if (plateAcquisitionNameValue != null) dest.setPlateAcquisitionName(plateAcquisitionNameValue, plateIndex, plateAcquisitionIndex); 
     1322      } catch (NullPointerException e) { } 
     1323      try { 
    7291324        String plateAcquisitionStartTimeValue = src.getPlateAcquisitionStartTime(plateIndex, plateAcquisitionIndex); 
    7301325        if (plateAcquisitionStartTimeValue != null) dest.setPlateAcquisitionStartTime(plateAcquisitionStartTimeValue, plateIndex, plateAcquisitionIndex); 
     1326      } catch (NullPointerException e) { } 
     1327      try { 
    7311328        //String plateAcquisitionWellSampleRefValue = src.getPlateAcquisitionWellSampleRef(plateIndex, plateAcquisitionIndex, wellSampleRefIndex); 
    7321329        //if (plateAcquisitionWellSampleRefValue != null) dest.setPlateAcquisitionWellSampleRef(plateAcquisitionWellSampleRefValue, plateIndex, plateAcquisitionIndex, wellSampleRefIndex); 
     1330      } catch (NullPointerException e) { } 
     1331        try { 
    7331332        //int annotationRefCount = src.getAnnotationRefCount(plateIndex, plateAcquisitionIndex); 
    7341333        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    7351334        //} 
     1335        } catch (NullPointerException e) { } 
     1336        try { 
    7361337        int wellSampleRefCount = src.getWellSampleRefCount(plateIndex, plateAcquisitionIndex); 
    7371338        for (int wellSampleRefIndex=0; wellSampleRefIndex<wellSampleRefCount; wellSampleRefIndex++) { 
    7381339        } 
    739       } 
     1340        } catch (NullPointerException e) { } 
     1341      } 
     1342      } catch (NullPointerException e) { } 
     1343      try { 
    7401344      int screenRefCount = src.getScreenRefCount(plateIndex); 
    7411345      for (int screenRefIndex=0; screenRefIndex<screenRefCount; screenRefIndex++) { 
    7421346      } 
     1347      } catch (NullPointerException e) { } 
     1348      try { 
    7431349      int wellCount = src.getWellCount(plateIndex); 
    7441350      for (int wellIndex=0; wellIndex<wellCount; wellIndex++) { 
     1351      try { 
    7451352        //String wellAnnotationRefValue = src.getWellAnnotationRef(plateIndex, wellIndex, annotationRefIndex); 
    7461353        //if (wellAnnotationRefValue != null) dest.setWellAnnotationRef(wellAnnotationRefValue, plateIndex, wellIndex, annotationRefIndex); 
     1354      } catch (NullPointerException e) { } 
     1355      try { 
    7471356        Integer wellColorValue = src.getWellColor(plateIndex, wellIndex); 
    7481357        if (wellColorValue != null) dest.setWellColor(wellColorValue, plateIndex, wellIndex); 
     1358      } catch (NullPointerException e) { } 
     1359      try { 
    7491360        NonNegativeInteger wellColumnValue = src.getWellColumn(plateIndex, wellIndex); 
    7501361        if (wellColumnValue != null) dest.setWellColumn(wellColumnValue, plateIndex, wellIndex); 
     1362      } catch (NullPointerException e) { } 
     1363      try { 
    7511364        String wellExternalDescriptionValue = src.getWellExternalDescription(plateIndex, wellIndex); 
    7521365        if (wellExternalDescriptionValue != null) dest.setWellExternalDescription(wellExternalDescriptionValue, plateIndex, wellIndex); 
     1366      } catch (NullPointerException e) { } 
     1367      try { 
    7531368        String wellExternalIdentifierValue = src.getWellExternalIdentifier(plateIndex, wellIndex); 
    7541369        if (wellExternalIdentifierValue != null) dest.setWellExternalIdentifier(wellExternalIdentifierValue, plateIndex, wellIndex); 
     1370      } catch (NullPointerException e) { } 
     1371      try { 
    7551372        String wellIDValue = src.getWellID(plateIndex, wellIndex); 
    7561373        if (wellIDValue != null) dest.setWellID(wellIDValue, plateIndex, wellIndex); 
     1374      } catch (NullPointerException e) { } 
     1375      try { 
    7571376        String wellReagentRefValue = src.getWellReagentRef(plateIndex, wellIndex); 
    7581377        if (wellReagentRefValue != null) dest.setWellReagentRef(wellReagentRefValue, plateIndex, wellIndex); 
     1378      } catch (NullPointerException e) { } 
     1379      try { 
    7591380        NonNegativeInteger wellRowValue = src.getWellRow(plateIndex, wellIndex); 
    7601381        if (wellRowValue != null) dest.setWellRow(wellRowValue, plateIndex, wellIndex); 
     1382      } catch (NullPointerException e) { } 
     1383      try { 
    7611384        String wellStatusValue = src.getWellStatus(plateIndex, wellIndex); 
    7621385        if (wellStatusValue != null) dest.setWellStatus(wellStatusValue, plateIndex, wellIndex); 
     1386      } catch (NullPointerException e) { } 
     1387        try { 
    7631388        //int annotationRefCount = src.getAnnotationRefCount(plateIndex, wellIndex); 
    7641389        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    7651390        //} 
     1391        } catch (NullPointerException e) { } 
     1392        try { 
    7661393        int wellSampleCount = src.getWellSampleCount(plateIndex, wellIndex); 
    7671394        for (int wellSampleIndex=0; wellSampleIndex<wellSampleCount; wellSampleIndex++) { 
     1395        try { 
    7681396          //String wellSampleAnnotationRefValue = src.getWellSampleAnnotationRef(plateIndex, wellIndex, wellSampleIndex, annotationRefIndex); 
    7691397          //if (wellSampleAnnotationRefValue != null) dest.setWellSampleAnnotationRef(wellSampleAnnotationRefValue, plateIndex, wellIndex, wellSampleIndex, annotationRefIndex); 
     1398        } catch (NullPointerException e) { } 
     1399        try { 
    7701400          String wellSampleIDValue = src.getWellSampleID(plateIndex, wellIndex, wellSampleIndex); 
    7711401          if (wellSampleIDValue != null) dest.setWellSampleID(wellSampleIDValue, plateIndex, wellIndex, wellSampleIndex); 
     1402        } catch (NullPointerException e) { } 
     1403        try { 
    7721404          String wellSampleImageRefValue = src.getWellSampleImageRef(plateIndex, wellIndex, wellSampleIndex); 
    7731405          if (wellSampleImageRefValue != null) dest.setWellSampleImageRef(wellSampleImageRefValue, plateIndex, wellIndex, wellSampleIndex); 
     1406        } catch (NullPointerException e) { } 
     1407        try { 
    7741408          NonNegativeInteger wellSampleIndexValue = src.getWellSampleIndex(plateIndex, wellIndex, wellSampleIndex); 
    7751409          if (wellSampleIndexValue != null) dest.setWellSampleIndex(wellSampleIndexValue, plateIndex, wellIndex, wellSampleIndex); 
     1410        } catch (NullPointerException e) { } 
     1411        try { 
    7761412          Double wellSamplePositionXValue = src.getWellSamplePositionX(plateIndex, wellIndex, wellSampleIndex); 
    7771413          if (wellSamplePositionXValue != null) dest.setWellSamplePositionX(wellSamplePositionXValue, plateIndex, wellIndex, wellSampleIndex); 
     1414        } catch (NullPointerException e) { } 
     1415        try { 
    7781416          Double wellSamplePositionYValue = src.getWellSamplePositionY(plateIndex, wellIndex, wellSampleIndex); 
    7791417          if (wellSamplePositionYValue != null) dest.setWellSamplePositionY(wellSamplePositionYValue, plateIndex, wellIndex, wellSampleIndex); 
     1418        } catch (NullPointerException e) { } 
     1419        try { 
    7801420          Integer wellSampleTimepointValue = src.getWellSampleTimepoint(plateIndex, wellIndex, wellSampleIndex); 
    7811421          if (wellSampleTimepointValue != null) dest.setWellSampleTimepoint(wellSampleTimepointValue, plateIndex, wellIndex, wellSampleIndex); 
     1422        } catch (NullPointerException e) { } 
     1423          try { 
    7821424          //int annotationRefCount = src.getAnnotationRefCount(plateIndex, wellIndex, wellSampleIndex); 
    7831425          //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    7841426          //} 
     1427          } catch (NullPointerException e) { } 
    7851428        } 
    786       } 
     1429        } catch (NullPointerException e) { } 
     1430      } 
     1431      } catch (NullPointerException e) { } 
    7871432    } 
     1433    } catch (NullPointerException e) { } 
     1434    try { 
    7881435    int projectCount = src.getProjectCount(); 
    7891436    for (int projectIndex=0; projectIndex<projectCount; projectIndex++) { 
     1437    try { 
    7901438      //String projectAnnotationRefValue = src.getProjectAnnotationRef(projectIndex, annotationRefIndex); 
    7911439      //if (projectAnnotationRefValue != null) dest.setProjectAnnotationRef(projectAnnotationRefValue, projectIndex, annotationRefIndex); 
     1440    } catch (NullPointerException e) { } 
     1441    try { 
    7921442      String projectDescriptionValue = src.getProjectDescription(projectIndex); 
    7931443      if (projectDescriptionValue != null) dest.setProjectDescription(projectDescriptionValue, projectIndex); 
     1444    } catch (NullPointerException e) { } 
     1445    try { 
    7941446      String projectExperimenterRefValue = src.getProjectExperimenterRef(projectIndex); 
    7951447      if (projectExperimenterRefValue != null) dest.setProjectExperimenterRef(projectExperimenterRefValue, projectIndex); 
     1448    } catch (NullPointerException e) { } 
     1449    try { 
    7961450      String projectGroupRefValue = src.getProjectGroupRef(projectIndex); 
    7971451      if (projectGroupRefValue != null) dest.setProjectGroupRef(projectGroupRefValue, projectIndex); 
     1452    } catch (NullPointerException e) { } 
     1453    try { 
    7981454      String projectIDValue = src.getProjectID(projectIndex); 
    7991455      if (projectIDValue != null) dest.setProjectID(projectIDValue, projectIndex); 
     1456    } catch (NullPointerException e) { } 
     1457    try { 
    8001458      String projectNameValue = src.getProjectName(projectIndex); 
    8011459      if (projectNameValue != null) dest.setProjectName(projectNameValue, projectIndex); 
     1460    } catch (NullPointerException e) { } 
     1461      try { 
    8021462      //int annotationRefCount = src.getAnnotationRefCount(projectIndex); 
    8031463      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    8041464      //} 
     1465      } catch (NullPointerException e) { } 
    8051466    } 
     1467    } catch (NullPointerException e) { } 
     1468    try { 
    8061469    int roiCount = src.getROICount(); 
    8071470    for (int roiIndex=0; roiIndex<roiCount; roiIndex++) { 
     1471    try { 
    8081472      //String roiAnnotationRefValue = src.getROIAnnotationRef(roiIndex, annotationRefIndex); 
    8091473      //if (roiAnnotationRefValue != null) dest.setROIAnnotationRef(roiAnnotationRefValue, roiIndex, annotationRefIndex); 
     1474    } catch (NullPointerException e) { } 
     1475    try { 
    8101476      String roiDescriptionValue = src.getROIDescription(roiIndex); 
    8111477      if (roiDescriptionValue != null) dest.setROIDescription(roiDescriptionValue, roiIndex); 
     1478    } catch (NullPointerException e) { } 
     1479    try { 
    8121480      String roiidValue = src.getROIID(roiIndex); 
    8131481      if (roiidValue != null) dest.setROIID(roiidValue, roiIndex); 
     1482    } catch (NullPointerException e) { } 
     1483    try { 
    8141484      String roiNameValue = src.getROIName(roiIndex); 
    8151485      if (roiNameValue != null) dest.setROIName(roiNameValue, roiIndex); 
     1486    } catch (NullPointerException e) { } 
     1487    try { 
    8161488      String roiNamespaceValue = src.getROINamespace(roiIndex); 
    8171489      if (roiNamespaceValue != null) dest.setROINamespace(roiNamespaceValue, roiIndex); 
     1490    } catch (NullPointerException e) { } 
     1491      try { 
    8181492      //int annotationRefCount = src.getAnnotationRefCount(roiIndex); 
    8191493      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    8201494      //} 
    821       //int shapeCount = src.getShapeCount(roiIndex, shapeIndex); 
     1495      } catch (NullPointerException e) { } 
     1496      try { 
    8221497      /* 
     1498      int shapeCount = src.getShapeCount(roiIndex, shapeIndex); 
    8231499      for (int shapeIndex=0; shapeIndex<shapeCount; shapeIndex++) { 
    824         //int annotationRefCount = src.getAnnotationRefCount(roiIndex, shapeIndex); 
    825         //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    826         //} 
     1500        try { 
     1501        int annotationRefCount = src.getAnnotationRefCount(roiIndex, shapeIndex); 
     1502        for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
     1503        } 
     1504        } catch (NullPointerException e) { } 
     1505        try { 
    8271506          String ellipseDescriptionValue = src.getEllipseDescription(roiIndex, shapeIndex); 
    8281507          if (ellipseDescriptionValue != null) dest.setEllipseDescription(ellipseDescriptionValue, roiIndex, shapeIndex); 
     1508        } catch (NullPointerException e) { } 
     1509        try { 
    8291510          Integer ellipseFillValue = src.getEllipseFill(roiIndex, shapeIndex); 
    8301511          if (ellipseFillValue != null) dest.setEllipseFill(ellipseFillValue, roiIndex, shapeIndex); 
     1512        } catch (NullPointerException e) { } 
     1513        try { 
    8311514          Integer ellipseFontSizeValue = src.getEllipseFontSize(roiIndex, shapeIndex); 
    8321515          if (ellipseFontSizeValue != null) dest.setEllipseFontSize(ellipseFontSizeValue, roiIndex, shapeIndex); 
     1516        } catch (NullPointerException e) { } 
     1517        try { 
    8331518          String ellipseIDValue = src.getEllipseID(roiIndex, shapeIndex); 
    8341519          if (ellipseIDValue != null) dest.setEllipseID(ellipseIDValue, roiIndex, shapeIndex); 
     1520        } catch (NullPointerException e) { } 
     1521        try { 
    8351522          String ellipseLabelValue = src.getEllipseLabel(roiIndex, shapeIndex); 
    8361523          if (ellipseLabelValue != null) dest.setEllipseLabel(ellipseLabelValue, roiIndex, shapeIndex); 
     1524        } catch (NullPointerException e) { } 
     1525        try { 
    8371526          String ellipseNameValue = src.getEllipseName(roiIndex, shapeIndex); 
    8381527          if (ellipseNameValue != null) dest.setEllipseName(ellipseNameValue, roiIndex, shapeIndex); 
     1528        } catch (NullPointerException e) { } 
     1529        try { 
    8391530          Double ellipseRadiusXValue = src.getEllipseRadiusX(roiIndex, shapeIndex); 
    8401531          if (ellipseRadiusXValue != null) dest.setEllipseRadiusX(ellipseRadiusXValue, roiIndex, shapeIndex); 
     1532        } catch (NullPointerException e) { } 
     1533        try { 
    8411534          Double ellipseRadiusYValue = src.getEllipseRadiusY(roiIndex, shapeIndex); 
    8421535          if (ellipseRadiusYValue != null) dest.setEllipseRadiusY(ellipseRadiusYValue, roiIndex, shapeIndex); 
     1536        } catch (NullPointerException e) { } 
     1537        try { 
    8431538          Integer ellipseStrokeValue = src.getEllipseStroke(roiIndex, shapeIndex); 
    8441539          if (ellipseStrokeValue != null) dest.setEllipseStroke(ellipseStrokeValue, roiIndex, shapeIndex); 
     1540        } catch (NullPointerException e) { } 
     1541        try { 
    8451542          String ellipseStrokeDashArrayValue = src.getEllipseStrokeDashArray(roiIndex, shapeIndex); 
    8461543          if (ellipseStrokeDashArrayValue != null) dest.setEllipseStrokeDashArray(ellipseStrokeDashArrayValue, roiIndex, shapeIndex); 
     1544        } catch (NullPointerException e) { } 
     1545        try { 
    8471546          Double ellipseStrokeWidthValue = src.getEllipseStrokeWidth(roiIndex, shapeIndex); 
    8481547          if (ellipseStrokeWidthValue != null) dest.setEllipseStrokeWidth(ellipseStrokeWidthValue, roiIndex, shapeIndex); 
     1548        } catch (NullPointerException e) { } 
     1549        try { 
    8491550          Integer ellipseTheCValue = src.getEllipseTheC(roiIndex, shapeIndex); 
    8501551          if (ellipseTheCValue != null) dest.setEllipseTheC(ellipseTheCValue, roiIndex, shapeIndex); 
     1552        } catch (NullPointerException e) { } 
     1553        try { 
    8511554          Integer ellipseTheTValue = src.getEllipseTheT(roiIndex, shapeIndex); 
    8521555          if (ellipseTheTValue != null) dest.setEllipseTheT(ellipseTheTValue, roiIndex, shapeIndex); 
     1556        } catch (NullPointerException e) { } 
     1557        try { 
    8531558          Integer ellipseTheZValue = src.getEllipseTheZ(roiIndex, shapeIndex); 
    8541559          if (ellipseTheZValue != null) dest.setEllipseTheZ(ellipseTheZValue, roiIndex, shapeIndex); 
     1560        } catch (NullPointerException e) { } 
     1561        try { 
    8551562          String ellipseTransformValue = src.getEllipseTransform(roiIndex, shapeIndex); 
    8561563          if (ellipseTransformValue != null) dest.setEllipseTransform(ellipseTransformValue, roiIndex, shapeIndex); 
     1564        } catch (NullPointerException e) { } 
     1565        try { 
    8571566          Double ellipseXValue = src.getEllipseX(roiIndex, shapeIndex); 
    8581567          if (ellipseXValue != null) dest.setEllipseX(ellipseXValue, roiIndex, shapeIndex); 
     1568        } catch (NullPointerException e) { } 
     1569        try { 
    8591570          Double ellipseYValue = src.getEllipseY(roiIndex, shapeIndex); 
    8601571          if (ellipseYValue != null) dest.setEllipseY(ellipseYValue, roiIndex, shapeIndex); 
     1572        } catch (NullPointerException e) { } 
     1573        try { 
    8611574          String lineDescriptionValue = src.getLineDescription(roiIndex, shapeIndex); 
    8621575          if (lineDescriptionValue != null) dest.setLineDescription(lineDescriptionValue, roiIndex, shapeIndex); 
     1576        } catch (NullPointerException e) { } 
     1577        try { 
    8631578          Integer lineFillValue = src.getLineFill(roiIndex, shapeIndex); 
    8641579          if (lineFillValue != null) dest.setLineFill(lineFillValue, roiIndex, shapeIndex); 
     1580        } catch (NullPointerException e) { } 
     1581        try { 
    8651582          Integer lineFontSizeValue = src.getLineFontSize(roiIndex, shapeIndex); 
    8661583          if (lineFontSizeValue != null) dest.setLineFontSize(lineFontSizeValue, roiIndex, shapeIndex); 
     1584        } catch (NullPointerException e) { } 
     1585        try { 
    8671586          String lineIDValue = src.getLineID(roiIndex, shapeIndex); 
    8681587          if (lineIDValue != null) dest.setLineID(lineIDValue, roiIndex, shapeIndex); 
     1588        } catch (NullPointerException e) { } 
     1589        try { 
    8691590          String lineLabelValue = src.getLineLabel(roiIndex, shapeIndex); 
    8701591          if (lineLabelValue != null) dest.setLineLabel(lineLabelValue, roiIndex, shapeIndex); 
     1592        } catch (NullPointerException e) { } 
     1593        try { 
    8711594          String lineNameValue = src.getLineName(roiIndex, shapeIndex); 
    8721595          if (lineNameValue != null) dest.setLineName(lineNameValue, roiIndex, shapeIndex); 
     1596        } catch (NullPointerException e) { } 
     1597        try { 
    8731598          Integer lineStrokeValue = src.getLineStroke(roiIndex, shapeIndex); 
    8741599          if (lineStrokeValue != null) dest.setLineStroke(lineStrokeValue, roiIndex, shapeIndex); 
     1600        } catch (NullPointerException e) { } 
     1601        try { 
    8751602          String lineStrokeDashArrayValue = src.getLineStrokeDashArray(roiIndex, shapeIndex); 
    8761603          if (lineStrokeDashArrayValue != null) dest.setLineStrokeDashArray(lineStrokeDashArrayValue, roiIndex, shapeIndex); 
     1604        } catch (NullPointerException e) { } 
     1605        try { 
    8771606          Double lineStrokeWidthValue = src.getLineStrokeWidth(roiIndex, shapeIndex); 
    8781607          if (lineStrokeWidthValue != null) dest.setLineStrokeWidth(lineStrokeWidthValue, roiIndex, shapeIndex); 
     1608        } catch (NullPointerException e) { } 
     1609        try { 
    8791610          Integer lineTheCValue = src.getLineTheC(roiIndex, shapeIndex); 
    8801611          if (lineTheCValue != null) dest.setLineTheC(lineTheCValue, roiIndex, shapeIndex); 
     1612        } catch (NullPointerException e) { } 
     1613        try { 
    8811614          Integer lineTheTValue = src.getLineTheT(roiIndex, shapeIndex); 
    8821615          if (lineTheTValue != null) dest.setLineTheT(lineTheTValue, roiIndex, shapeIndex); 
     1616        } catch (NullPointerException e) { } 
     1617        try { 
    8831618          Integer lineTheZValue = src.getLineTheZ(roiIndex, shapeIndex); 
    8841619          if (lineTheZValue != null) dest.setLineTheZ(lineTheZValue, roiIndex, shapeIndex); 
     1620        } catch (NullPointerException e) { } 
     1621        try { 
    8851622          String lineTransformValue = src.getLineTransform(roiIndex, shapeIndex); 
    8861623          if (lineTransformValue != null) dest.setLineTransform(lineTransformValue, roiIndex, shapeIndex); 
     1624        } catch (NullPointerException e) { } 
     1625        try { 
    8871626          Double lineX1Value = src.getLineX1(roiIndex, shapeIndex); 
    8881627          if (lineX1Value != null) dest.setLineX1(lineX1Value, roiIndex, shapeIndex); 
     1628        } catch (NullPointerException e) { } 
     1629        try { 
    8891630          Double lineX2Value = src.getLineX2(roiIndex, shapeIndex); 
    8901631          if (lineX2Value != null) dest.setLineX2(lineX2Value, roiIndex, shapeIndex); 
     1632        } catch (NullPointerException e) { } 
     1633        try { 
    8911634          Double lineY1Value = src.getLineY1(roiIndex, shapeIndex); 
    8921635          if (lineY1Value != null) dest.setLineY1(lineY1Value, roiIndex, shapeIndex); 
     1636        } catch (NullPointerException e) { } 
     1637        try { 
    8931638          Double lineY2Value = src.getLineY2(roiIndex, shapeIndex); 
    8941639          if (lineY2Value != null) dest.setLineY2(lineY2Value, roiIndex, shapeIndex); 
     1640        } catch (NullPointerException e) { } 
     1641        try { 
    8951642          String maskDescriptionValue = src.getMaskDescription(roiIndex, shapeIndex); 
    8961643          if (maskDescriptionValue != null) dest.setMaskDescription(maskDescriptionValue, roiIndex, shapeIndex); 
     1644        } catch (NullPointerException e) { } 
     1645        try { 
    8971646          Integer maskFillValue = src.getMaskFill(roiIndex, shapeIndex); 
    8981647          if (maskFillValue != null) dest.setMaskFill(maskFillValue, roiIndex, shapeIndex); 
     1648        } catch (NullPointerException e) { } 
     1649        try { 
    8991650          Integer maskFontSizeValue = src.getMaskFontSize(roiIndex, shapeIndex); 
    9001651          if (maskFontSizeValue != null) dest.setMaskFontSize(maskFontSizeValue, roiIndex, shapeIndex); 
     1652        } catch (NullPointerException e) { } 
     1653        try { 
    9011654          String maskIDValue = src.getMaskID(roiIndex, shapeIndex); 
    9021655          if (maskIDValue != null) dest.setMaskID(maskIDValue, roiIndex, shapeIndex); 
     1656        } catch (NullPointerException e) { } 
     1657        try { 
    9031658          String maskLabelValue = src.getMaskLabel(roiIndex, shapeIndex); 
    9041659          if (maskLabelValue != null) dest.setMaskLabel(maskLabelValue, roiIndex, shapeIndex); 
     1660        } catch (NullPointerException e) { } 
     1661        try { 
    9051662          String maskNameValue = src.getMaskName(roiIndex, shapeIndex); 
    9061663          if (maskNameValue != null) dest.setMaskName(maskNameValue, roiIndex, shapeIndex); 
     1664        } catch (NullPointerException e) { } 
     1665        try { 
    9071666          Integer maskStrokeValue = src.getMaskStroke(roiIndex, shapeIndex); 
    9081667          if (maskStrokeValue != null) dest.setMaskStroke(maskStrokeValue, roiIndex, shapeIndex); 
     1668        } catch (NullPointerException e) { } 
     1669        try { 
    9091670          String maskStrokeDashArrayValue = src.getMaskStrokeDashArray(roiIndex, shapeIndex); 
    9101671          if (maskStrokeDashArrayValue != null) dest.setMaskStrokeDashArray(maskStrokeDashArrayValue, roiIndex, shapeIndex); 
     1672        } catch (NullPointerException e) { } 
     1673        try { 
    9111674          Double maskStrokeWidthValue = src.getMaskStrokeWidth(roiIndex, shapeIndex); 
    9121675          if (maskStrokeWidthValue != null) dest.setMaskStrokeWidth(maskStrokeWidthValue, roiIndex, shapeIndex); 
     1676        } catch (NullPointerException e) { } 
     1677        try { 
    9131678          Integer maskTheCValue = src.getMaskTheC(roiIndex, shapeIndex); 
    9141679          if (maskTheCValue != null) dest.setMaskTheC(maskTheCValue, roiIndex, shapeIndex); 
     1680        } catch (NullPointerException e) { } 
     1681        try { 
    9151682          Integer maskTheTValue = src.getMaskTheT(roiIndex, shapeIndex); 
    9161683          if (maskTheTValue != null) dest.setMaskTheT(maskTheTValue, roiIndex, shapeIndex); 
     1684        } catch (NullPointerException e) { } 
     1685        try { 
    9171686          Integer maskTheZValue = src.getMaskTheZ(roiIndex, shapeIndex); 
    9181687          if (maskTheZValue != null) dest.setMaskTheZ(maskTheZValue, roiIndex, shapeIndex); 
     1688        } catch (NullPointerException e) { } 
     1689        try { 
    9191690          String maskTransformValue = src.getMaskTransform(roiIndex, shapeIndex); 
    9201691          if (maskTransformValue != null) dest.setMaskTransform(maskTransformValue, roiIndex, shapeIndex); 
     1692        } catch (NullPointerException e) { } 
     1693        try { 
    9211694          Double maskXValue = src.getMaskX(roiIndex, shapeIndex); 
    9221695          if (maskXValue != null) dest.setMaskX(maskXValue, roiIndex, shapeIndex); 
     1696        } catch (NullPointerException e) { } 
     1697        try { 
    9231698          Double maskYValue = src.getMaskY(roiIndex, shapeIndex); 
    9241699          if (maskYValue != null) dest.setMaskY(maskYValue, roiIndex, shapeIndex); 
     1700        } catch (NullPointerException e) { } 
     1701        try { 
    9251702          String pathDefinitionValue = src.getPathDefinition(roiIndex, shapeIndex); 
    9261703          if (pathDefinitionValue != null) dest.setPathDefinition(pathDefinitionValue, roiIndex, shapeIndex); 
     1704        } catch (NullPointerException e) { } 
     1705        try { 
    9271706          String pathDescriptionValue = src.getPathDescription(roiIndex, shapeIndex); 
    9281707          if (pathDescriptionValue != null) dest.setPathDescription(pathDescriptionValue, roiIndex, shapeIndex); 
     1708        } catch (NullPointerException e) { } 
     1709        try { 
    9291710          Integer pathFillValue = src.getPathFill(roiIndex, shapeIndex); 
    9301711          if (pathFillValue != null) dest.setPathFill(pathFillValue, roiIndex, shapeIndex); 
     1712        } catch (NullPointerException e) { } 
     1713        try { 
    9311714          Integer pathFontSizeValue = src.getPathFontSize(roiIndex, shapeIndex); 
    9321715          if (pathFontSizeValue != null) dest.setPathFontSize(pathFontSizeValue, roiIndex, shapeIndex); 
     1716        } catch (NullPointerException e) { } 
     1717        try { 
    9331718          String pathIDValue = src.getPathID(roiIndex, shapeIndex); 
    9341719          if (pathIDValue != null) dest.setPathID(pathIDValue, roiIndex, shapeIndex); 
     1720        } catch (NullPointerException e) { } 
     1721        try { 
    9351722          String pathLabelValue = src.getPathLabel(roiIndex, shapeIndex); 
    9361723          if (pathLabelValue != null) dest.setPathLabel(pathLabelValue, roiIndex, shapeIndex); 
     1724        } catch (NullPointerException e) { } 
     1725        try { 
    9371726          String pathNameValue = src.getPathName(roiIndex, shapeIndex); 
    9381727          if (pathNameValue != null) dest.setPathName(pathNameValue, roiIndex, shapeIndex); 
     1728        } catch (NullPointerException e) { } 
     1729        try { 
    9391730          Integer pathStrokeValue = src.getPathStroke(roiIndex, shapeIndex); 
    9401731          if (pathStrokeValue != null) dest.setPathStroke(pathStrokeValue, roiIndex, shapeIndex); 
     1732        } catch (NullPointerException e) { } 
     1733        try { 
    9411734          String pathStrokeDashArrayValue = src.getPathStrokeDashArray(roiIndex, shapeIndex); 
    9421735          if (pathStrokeDashArrayValue != null) dest.setPathStrokeDashArray(pathStrokeDashArrayValue, roiIndex, shapeIndex); 
     1736        } catch (NullPointerException e) { } 
     1737        try { 
    9431738          Double pathStrokeWidthValue = src.getPathStrokeWidth(roiIndex, shapeIndex); 
    9441739          if (pathStrokeWidthValue != null) dest.setPathStrokeWidth(pathStrokeWidthValue, roiIndex, shapeIndex); 
     1740        } catch (NullPointerException e) { } 
     1741        try { 
    9451742          Integer pathTheCValue = src.getPathTheC(roiIndex, shapeIndex); 
    9461743          if (pathTheCValue != null) dest.setPathTheC(pathTheCValue, roiIndex, shapeIndex); 
     1744        } catch (NullPointerException e) { } 
     1745        try { 
    9471746          Integer pathTheTValue = src.getPathTheT(roiIndex, shapeIndex); 
    9481747          if (pathTheTValue != null) dest.setPathTheT(pathTheTValue, roiIndex, shapeIndex); 
     1748        } catch (NullPointerException e) { } 
     1749        try { 
    9491750          Integer pathTheZValue = src.getPathTheZ(roiIndex, shapeIndex); 
    9501751          if (pathTheZValue != null) dest.setPathTheZ(pathTheZValue, roiIndex, shapeIndex); 
     1752        } catch (NullPointerException e) { } 
     1753        try { 
    9511754          String pathTransformValue = src.getPathTransform(roiIndex, shapeIndex); 
    9521755          if (pathTransformValue != null) dest.setPathTransform(pathTransformValue, roiIndex, shapeIndex); 
     1756        } catch (NullPointerException e) { } 
     1757        try { 
    9531758          String pointDescriptionValue = src.getPointDescription(roiIndex, shapeIndex); 
    9541759          if (pointDescriptionValue != null) dest.setPointDescription(pointDescriptionValue, roiIndex, shapeIndex); 
     1760        } catch (NullPointerException e) { } 
     1761        try { 
    9551762          Integer pointFillValue = src.getPointFill(roiIndex, shapeIndex); 
    9561763          if (pointFillValue != null) dest.setPointFill(pointFillValue, roiIndex, shapeIndex); 
     1764        } catch (NullPointerException e) { } 
     1765        try { 
    9571766          Integer pointFontSizeValue = src.getPointFontSize(roiIndex, shapeIndex); 
    9581767          if (pointFontSizeValue != null) dest.setPointFontSize(pointFontSizeValue, roiIndex, shapeIndex); 
     1768        } catch (NullPointerException e) { } 
     1769        try { 
    9591770          String pointIDValue = src.getPointID(roiIndex, shapeIndex); 
    9601771          if (pointIDValue != null) dest.setPointID(pointIDValue, roiIndex, shapeIndex); 
     1772        } catch (NullPointerException e) { } 
     1773        try { 
    9611774          String pointLabelValue = src.getPointLabel(roiIndex, shapeIndex); 
    9621775          if (pointLabelValue != null) dest.setPointLabel(pointLabelValue, roiIndex, shapeIndex); 
     1776        } catch (NullPointerException e) { } 
     1777        try { 
    9631778          String pointNameValue = src.getPointName(roiIndex, shapeIndex); 
    9641779          if (pointNameValue != null) dest.setPointName(pointNameValue, roiIndex, shapeIndex); 
     1780        } catch (NullPointerException e) { } 
     1781        try { 
    9651782          Integer pointStrokeValue = src.getPointStroke(roiIndex, shapeIndex); 
    9661783          if (pointStrokeValue != null) dest.setPointStroke(pointStrokeValue, roiIndex, shapeIndex); 
     1784        } catch (NullPointerException e) { } 
     1785        try { 
    9671786          String pointStrokeDashArrayValue = src.getPointStrokeDashArray(roiIndex, shapeIndex); 
    9681787          if (pointStrokeDashArrayValue != null) dest.setPointStrokeDashArray(pointStrokeDashArrayValue, roiIndex, shapeIndex); 
     1788        } catch (NullPointerException e) { } 
     1789        try { 
    9691790          Double pointStrokeWidthValue = src.getPointStrokeWidth(roiIndex, shapeIndex); 
    9701791          if (pointStrokeWidthValue != null) dest.setPointStrokeWidth(pointStrokeWidthValue, roiIndex, shapeIndex); 
     1792        } catch (NullPointerException e) { } 
     1793        try { 
    9711794          Integer pointTheCValue = src.getPointTheC(roiIndex, shapeIndex); 
    9721795          if (pointTheCValue != null) dest.setPointTheC(pointTheCValue, roiIndex, shapeIndex); 
     1796        } catch (NullPointerException e) { } 
     1797        try { 
    9731798          Integer pointTheTValue = src.getPointTheT(roiIndex, shapeIndex); 
    9741799          if (pointTheTValue != null) dest.setPointTheT(pointTheTValue, roiIndex, shapeIndex); 
     1800        } catch (NullPointerException e) { } 
     1801        try { 
    9751802          Integer pointTheZValue = src.getPointTheZ(roiIndex, shapeIndex); 
    9761803          if (pointTheZValue != null) dest.setPointTheZ(pointTheZValue, roiIndex, shapeIndex); 
     1804        } catch (NullPointerException e) { } 
     1805        try { 
    9771806          String pointTransformValue = src.getPointTransform(roiIndex, shapeIndex); 
    9781807          if (pointTransformValue != null) dest.setPointTransform(pointTransformValue, roiIndex, shapeIndex); 
     1808        } catch (NullPointerException e) { } 
     1809        try { 
    9791810          Double pointXValue = src.getPointX(roiIndex, shapeIndex); 
    9801811          if (pointXValue != null) dest.setPointX(pointXValue, roiIndex, shapeIndex); 
     1812        } catch (NullPointerException e) { } 
     1813        try { 
    9811814          Double pointYValue = src.getPointY(roiIndex, shapeIndex); 
    9821815          if (pointYValue != null) dest.setPointY(pointYValue, roiIndex, shapeIndex); 
     1816        } catch (NullPointerException e) { } 
     1817        try { 
    9831818          Boolean polylineClosedValue = src.getPolylineClosed(roiIndex, shapeIndex); 
    9841819          if (polylineClosedValue != null) dest.setPolylineClosed(polylineClosedValue, roiIndex, shapeIndex); 
     1820        } catch (NullPointerException e) { } 
     1821        try { 
    9851822          String polylineDescriptionValue = src.getPolylineDescription(roiIndex, shapeIndex); 
    9861823          if (polylineDescriptionValue != null) dest.setPolylineDescription(polylineDescriptionValue, roiIndex, shapeIndex); 
     1824        } catch (NullPointerException e) { } 
     1825        try { 
    9871826          Integer polylineFillValue = src.getPolylineFill(roiIndex, shapeIndex); 
    9881827          if (polylineFillValue != null) dest.setPolylineFill(polylineFillValue, roiIndex, shapeIndex); 
     1828        } catch (NullPointerException e) { } 
     1829        try { 
    9891830          Integer polylineFontSizeValue = src.getPolylineFontSize(roiIndex, shapeIndex); 
    9901831          if (polylineFontSizeValue != null) dest.setPolylineFontSize(polylineFontSizeValue, roiIndex, shapeIndex); 
     1832        } catch (NullPointerException e) { } 
     1833        try { 
    9911834          String polylineIDValue = src.getPolylineID(roiIndex, shapeIndex); 
    9921835          if (polylineIDValue != null) dest.setPolylineID(polylineIDValue, roiIndex, shapeIndex); 
     1836        } catch (NullPointerException e) { } 
     1837        try { 
    9931838          String polylineLabelValue = src.getPolylineLabel(roiIndex, shapeIndex); 
    9941839          if (polylineLabelValue != null) dest.setPolylineLabel(polylineLabelValue, roiIndex, shapeIndex); 
     1840        } catch (NullPointerException e) { } 
     1841        try { 
    9951842          String polylineNameValue = src.getPolylineName(roiIndex, shapeIndex); 
    9961843          if (polylineNameValue != null) dest.setPolylineName(polylineNameValue, roiIndex, shapeIndex); 
     1844        } catch (NullPointerException e) { } 
     1845        try { 
    9971846          String polylinePointsValue = src.getPolylinePoints(roiIndex, shapeIndex); 
    9981847          if (polylinePointsValue != null) dest.setPolylinePoints(polylinePointsValue, roiIndex, shapeIndex); 
     1848        } catch (NullPointerException e) { } 
     1849        try { 
    9991850          Integer polylineStrokeValue = src.getPolylineStroke(roiIndex, shapeIndex); 
    10001851          if (polylineStrokeValue != null) dest.setPolylineStroke(polylineStrokeValue, roiIndex, shapeIndex); 
     1852        } catch (NullPointerException e) { } 
     1853        try { 
    10011854          String polylineStrokeDashArrayValue = src.getPolylineStrokeDashArray(roiIndex, shapeIndex); 
    10021855          if (polylineStrokeDashArrayValue != null) dest.setPolylineStrokeDashArray(polylineStrokeDashArrayValue, roiIndex, shapeIndex); 
     1856        } catch (NullPointerException e) { } 
     1857        try { 
    10031858          Double polylineStrokeWidthValue = src.getPolylineStrokeWidth(roiIndex, shapeIndex); 
    10041859          if (polylineStrokeWidthValue != null) dest.setPolylineStrokeWidth(polylineStrokeWidthValue, roiIndex, shapeIndex); 
     1860        } catch (NullPointerException e) { } 
     1861        try { 
    10051862          Integer polylineTheCValue = src.getPolylineTheC(roiIndex, shapeIndex); 
    10061863          if (polylineTheCValue != null) dest.setPolylineTheC(polylineTheCValue, roiIndex, shapeIndex); 
     1864        } catch (NullPointerException e) { } 
     1865        try { 
    10071866          Integer polylineTheTValue = src.getPolylineTheT(roiIndex, shapeIndex); 
    10081867          if (polylineTheTValue != null) dest.setPolylineTheT(polylineTheTValue, roiIndex, shapeIndex); 
     1868        } catch (NullPointerException e) { } 
     1869        try { 
    10091870          Integer polylineTheZValue = src.getPolylineTheZ(roiIndex, shapeIndex); 
    10101871          if (polylineTheZValue != null) dest.setPolylineTheZ(polylineTheZValue, roiIndex, shapeIndex); 
     1872        } catch (NullPointerException e) { } 
     1873        try { 
    10111874          String polylineTransformValue = src.getPolylineTransform(roiIndex, shapeIndex); 
    10121875          if (polylineTransformValue != null) dest.setPolylineTransform(polylineTransformValue, roiIndex, shapeIndex); 
     1876        } catch (NullPointerException e) { } 
     1877        try { 
    10131878          String rectangleDescriptionValue = src.getRectangleDescription(roiIndex, shapeIndex); 
    10141879          if (rectangleDescriptionValue != null) dest.setRectangleDescription(rectangleDescriptionValue, roiIndex, shapeIndex); 
     1880        } catch (NullPointerException e) { } 
     1881        try { 
    10151882          Integer rectangleFillValue = src.getRectangleFill(roiIndex, shapeIndex); 
    10161883          if (rectangleFillValue != null) dest.setRectangleFill(rectangleFillValue, roiIndex, shapeIndex); 
     1884        } catch (NullPointerException e) { } 
     1885        try { 
    10171886          Integer rectangleFontSizeValue = src.getRectangleFontSize(roiIndex, shapeIndex); 
    10181887          if (rectangleFontSizeValue != null) dest.setRectangleFontSize(rectangleFontSizeValue, roiIndex, shapeIndex); 
     1888        } catch (NullPointerException e) { } 
     1889        try { 
    10191890          Double rectangleHeightValue = src.getRectangleHeight(roiIndex, shapeIndex); 
    10201891          if (rectangleHeightValue != null) dest.setRectangleHeight(rectangleHeightValue, roiIndex, shapeIndex); 
     1892        } catch (NullPointerException e) { } 
     1893        try { 
    10211894          String rectangleIDValue = src.getRectangleID(roiIndex, shapeIndex); 
    10221895          if (rectangleIDValue != null) dest.setRectangleID(rectangleIDValue, roiIndex, shapeIndex); 
     1896        } catch (NullPointerException e) { } 
     1897        try { 
    10231898          String rectangleLabelValue = src.getRectangleLabel(roiIndex, shapeIndex); 
    10241899          if (rectangleLabelValue != null) dest.setRectangleLabel(rectangleLabelValue, roiIndex, shapeIndex); 
     1900        } catch (NullPointerException e) { } 
     1901        try { 
    10251902          String rectangleNameValue = src.getRectangleName(roiIndex, shapeIndex); 
    10261903          if (rectangleNameValue != null) dest.setRectangleName(rectangleNameValue, roiIndex, shapeIndex); 
     1904        } catch (NullPointerException e) { } 
     1905        try { 
    10271906          Integer rectangleStrokeValue = src.getRectangleStroke(roiIndex, shapeIndex); 
    10281907          if (rectangleStrokeValue != null) dest.setRectangleStroke(rectangleStrokeValue, roiIndex, shapeIndex); 
     1908        } catch (NullPointerException e) { } 
     1909        try { 
    10291910          String rectangleStrokeDashArrayValue = src.getRectangleStrokeDashArray(roiIndex, shapeIndex); 
    10301911          if (rectangleStrokeDashArrayValue != null) dest.setRectangleStrokeDashArray(rectangleStrokeDashArrayValue, roiIndex, shapeIndex); 
     1912        } catch (NullPointerException e) { } 
     1913        try { 
    10311914          Double rectangleStrokeWidthValue = src.getRectangleStrokeWidth(roiIndex, shapeIndex); 
    10321915          if (rectangleStrokeWidthValue != null) dest.setRectangleStrokeWidth(rectangleStrokeWidthValue, roiIndex, shapeIndex); 
     1916        } catch (NullPointerException e) { } 
     1917        try { 
    10331918          Integer rectangleTheCValue = src.getRectangleTheC(roiIndex, shapeIndex); 
    10341919          if (rectangleTheCValue != null) dest.setRectangleTheC(rectangleTheCValue, roiIndex, shapeIndex); 
     1920        } catch (NullPointerException e) { } 
     1921        try { 
    10351922          Integer rectangleTheTValue = src.getRectangleTheT(roiIndex, shapeIndex); 
    10361923          if (rectangleTheTValue != null) dest.setRectangleTheT(rectangleTheTValue, roiIndex, shapeIndex); 
     1924        } catch (NullPointerException e) { } 
     1925        try { 
    10371926          Integer rectangleTheZValue = src.getRectangleTheZ(roiIndex, shapeIndex); 
    10381927          if (rectangleTheZValue != null) dest.setRectangleTheZ(rectangleTheZValue, roiIndex, shapeIndex); 
     1928        } catch (NullPointerException e) { } 
     1929        try { 
    10391930          String rectangleTransformValue = src.getRectangleTransform(roiIndex, shapeIndex); 
    10401931          if (rectangleTransformValue != null) dest.setRectangleTransform(rectangleTransformValue, roiIndex, shapeIndex); 
     1932        } catch (NullPointerException e) { } 
     1933        try { 
    10411934          Double rectangleWidthValue = src.getRectangleWidth(roiIndex, shapeIndex); 
    10421935          if (rectangleWidthValue != null) dest.setRectangleWidth(rectangleWidthValue, roiIndex, shapeIndex); 
     1936        } catch (NullPointerException e) { } 
     1937        try { 
    10431938          Double rectangleXValue = src.getRectangleX(roiIndex, shapeIndex); 
    10441939          if (rectangleXValue != null) dest.setRectangleX(rectangleXValue, roiIndex, shapeIndex); 
     1940        } catch (NullPointerException e) { } 
     1941        try { 
    10451942          Double rectangleYValue = src.getRectangleY(roiIndex, shapeIndex); 
    10461943          if (rectangleYValue != null) dest.setRectangleY(rectangleYValue, roiIndex, shapeIndex); 
     1944        } catch (NullPointerException e) { } 
     1945        try { 
    10471946          String textDescriptionValue = src.getTextDescription(roiIndex, shapeIndex); 
    10481947          if (textDescriptionValue != null) dest.setTextDescription(textDescriptionValue, roiIndex, shapeIndex); 
     1948        } catch (NullPointerException e) { } 
     1949        try { 
    10491950          Integer textFillValue = src.getTextFill(roiIndex, shapeIndex); 
    10501951          if (textFillValue != null) dest.setTextFill(textFillValue, roiIndex, shapeIndex); 
     1952        } catch (NullPointerException e) { } 
     1953        try { 
    10511954          Integer textFontSizeValue = src.getTextFontSize(roiIndex, shapeIndex); 
    10521955          if (textFontSizeValue != null) dest.setTextFontSize(textFontSizeValue, roiIndex, shapeIndex); 
     1956        } catch (NullPointerException e) { } 
     1957        try { 
    10531958          String textIDValue = src.getTextID(roiIndex, shapeIndex); 
    10541959          if (textIDValue != null) dest.setTextID(textIDValue, roiIndex, shapeIndex); 
     1960        } catch (NullPointerException e) { } 
     1961        try { 
    10551962          String textLabelValue = src.getTextLabel(roiIndex, shapeIndex); 
    10561963          if (textLabelValue != null) dest.setTextLabel(textLabelValue, roiIndex, shapeIndex); 
     1964        } catch (NullPointerException e) { } 
     1965        try { 
    10571966          String textNameValue = src.getTextName(roiIndex, shapeIndex); 
    10581967          if (textNameValue != null) dest.setTextName(textNameValue, roiIndex, shapeIndex); 
     1968        } catch (NullPointerException e) { } 
     1969        try { 
    10591970          Integer textStrokeValue = src.getTextStroke(roiIndex, shapeIndex); 
    10601971          if (textStrokeValue != null) dest.setTextStroke(textStrokeValue, roiIndex, shapeIndex); 
     1972        } catch (NullPointerException e) { } 
     1973        try { 
    10611974          String textStrokeDashArrayValue = src.getTextStrokeDashArray(roiIndex, shapeIndex); 
    10621975          if (textStrokeDashArrayValue != null) dest.setTextStrokeDashArray(textStrokeDashArrayValue, roiIndex, shapeIndex); 
     1976        } catch (NullPointerException e) { } 
     1977        try { 
    10631978          Double textStrokeWidthValue = src.getTextStrokeWidth(roiIndex, shapeIndex); 
    10641979          if (textStrokeWidthValue != null) dest.setTextStrokeWidth(textStrokeWidthValue, roiIndex, shapeIndex); 
     1980        } catch (NullPointerException e) { } 
     1981        try { 
    10651982          Integer textTheCValue = src.getTextTheC(roiIndex, shapeIndex); 
    10661983          if (textTheCValue != null) dest.setTextTheC(textTheCValue, roiIndex, shapeIndex); 
     1984        } catch (NullPointerException e) { } 
     1985        try { 
    10671986          Integer textTheTValue = src.getTextTheT(roiIndex, shapeIndex); 
    10681987          if (textTheTValue != null) dest.setTextTheT(textTheTValue, roiIndex, shapeIndex); 
     1988        } catch (NullPointerException e) { } 
     1989        try { 
    10691990          Integer textTheZValue = src.getTextTheZ(roiIndex, shapeIndex); 
    10701991          if (textTheZValue != null) dest.setTextTheZ(textTheZValue, roiIndex, shapeIndex); 
     1992        } catch (NullPointerException e) { } 
     1993        try { 
    10711994          String textTransformValue = src.getTextTransform(roiIndex, shapeIndex); 
    10721995          if (textTransformValue != null) dest.setTextTransform(textTransformValue, roiIndex, shapeIndex); 
     1996        } catch (NullPointerException e) { } 
     1997        try { 
    10731998          String textValueValue = src.getTextValue(roiIndex, shapeIndex); 
    10741999          if (textValueValue != null) dest.setTextValue(textValueValue, roiIndex, shapeIndex); 
     2000        } catch (NullPointerException e) { } 
     2001        try { 
    10752002          Double textXValue = src.getTextX(roiIndex, shapeIndex); 
    10762003          if (textXValue != null) dest.setTextX(textXValue, roiIndex, shapeIndex); 
     2004        } catch (NullPointerException e) { } 
     2005        try { 
    10772006          Double textYValue = src.getTextY(roiIndex, shapeIndex); 
    10782007          if (textYValue != null) dest.setTextY(textYValue, roiIndex, shapeIndex); 
     2008        } catch (NullPointerException e) { } 
    10792009      } 
    10802010      */ 
     2011      } catch (NullPointerException e) { } 
    10812012    } 
     2013    } catch (NullPointerException e) { } 
     2014    try { 
    10822015    int screenCount = src.getScreenCount(); 
    10832016    for (int screenIndex=0; screenIndex<screenCount; screenIndex++) { 
     2017    try { 
    10842018      //String screenAnnotationRefValue = src.getScreenAnnotationRef(screenIndex, annotationRefIndex); 
    10852019      //if (screenAnnotationRefValue != null) dest.setScreenAnnotationRef(screenAnnotationRefValue, screenIndex, annotationRefIndex); 
     2020    } catch (NullPointerException e) { } 
     2021    try { 
    10862022      String screenDescriptionValue = src.getScreenDescription(screenIndex); 
    10872023      if (screenDescriptionValue != null) dest.setScreenDescription(screenDescriptionValue, screenIndex); 
     2024    } catch (NullPointerException e) { } 
     2025    try { 
    10882026      String screenIDValue = src.getScreenID(screenIndex); 
    10892027      if (screenIDValue != null) dest.setScreenID(screenIDValue, screenIndex); 
     2028    } catch (NullPointerException e) { } 
     2029    try { 
    10902030      String screenNameValue = src.getScreenName(screenIndex); 
    10912031      if (screenNameValue != null) dest.setScreenName(screenNameValue, screenIndex); 
     2032    } catch (NullPointerException e) { } 
     2033    try { 
    10922034      //String screenPlateRefValue = src.getScreenPlateRef(screenIndex, plateRefIndex); 
    10932035      //if (screenPlateRefValue != null) dest.setScreenPlateRef(screenPlateRefValue, screenIndex, plateRefIndex); 
     2036    } catch (NullPointerException e) { } 
     2037    try { 
    10942038      String screenProtocolDescriptionValue = src.getScreenProtocolDescription(screenIndex); 
    10952039      if (screenProtocolDescriptionValue != null) dest.setScreenProtocolDescription(screenProtocolDescriptionValue, screenIndex); 
     2040    } catch (NullPointerException e) { } 
     2041    try { 
    10962042      String screenProtocolIdentifierValue = src.getScreenProtocolIdentifier(screenIndex); 
    10972043      if (screenProtocolIdentifierValue != null) dest.setScreenProtocolIdentifier(screenProtocolIdentifierValue, screenIndex); 
     2044    } catch (NullPointerException e) { } 
     2045    try { 
    10982046      String screenReagentSetDescriptionValue = src.getScreenReagentSetDescription(screenIndex); 
    10992047      if (screenReagentSetDescriptionValue != null) dest.setScreenReagentSetDescription(screenReagentSetDescriptionValue, screenIndex); 
     2048    } catch (NullPointerException e) { } 
     2049    try { 
    11002050      String screenReagentSetIdentifierValue = src.getScreenReagentSetIdentifier(screenIndex); 
    11012051      if (screenReagentSetIdentifierValue != null) dest.setScreenReagentSetIdentifier(screenReagentSetIdentifierValue, screenIndex); 
     2052    } catch (NullPointerException e) { } 
     2053    try { 
    11022054      String screenTypeValue = src.getScreenType(screenIndex); 
    11032055      if (screenTypeValue != null) dest.setScreenType(screenTypeValue, screenIndex); 
     2056    } catch (NullPointerException e) { } 
     2057      try { 
    11042058      //int annotationRefCount = src.getAnnotationRefCount(screenIndex); 
    11052059      //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    11062060      //} 
     2061      } catch (NullPointerException e) { } 
     2062      try { 
    11072063      int plateRefCount = src.getPlateRefCount(screenIndex); 
    11082064      for (int plateRefIndex=0; plateRefIndex<plateRefCount; plateRefIndex++) { 
    11092065      } 
     2066      } catch (NullPointerException e) { } 
     2067      try { 
    11102068      int reagentCount = src.getReagentCount(screenIndex); 
    11112069      for (int reagentIndex=0; reagentIndex<reagentCount; reagentIndex++) { 
     2070      try { 
    11122071        //String reagentAnnotationRefValue = src.getReagentAnnotationRef(screenIndex, reagentIndex, annotationRefIndex); 
    11132072        //if (reagentAnnotationRefValue != null) dest.setReagentAnnotationRef(reagentAnnotationRefValue, screenIndex, reagentIndex, annotationRefIndex); 
     2073      } catch (NullPointerException e) { } 
     2074      try { 
    11142075        String reagentDescriptionValue = src.getReagentDescription(screenIndex, reagentIndex); 
    11152076        if (reagentDescriptionValue != null) dest.setReagentDescription(reagentDescriptionValue, screenIndex, reagentIndex); 
     2077      } catch (NullPointerException e) { } 
     2078      try { 
    11162079        String reagentIDValue = src.getReagentID(screenIndex, reagentIndex); 
    11172080        if (reagentIDValue != null) dest.setReagentID(reagentIDValue, screenIndex, reagentIndex); 
     2081      } catch (NullPointerException e) { } 
     2082      try { 
    11182083        String reagentNameValue = src.getReagentName(screenIndex, reagentIndex); 
    11192084        if (reagentNameValue != null) dest.setReagentName(reagentNameValue, screenIndex, reagentIndex); 
     2085      } catch (NullPointerException e) { } 
     2086      try { 
    11202087        String reagentReagentIdentifierValue = src.getReagentReagentIdentifier(screenIndex, reagentIndex); 
    11212088        if (reagentReagentIdentifierValue != null) dest.setReagentReagentIdentifier(reagentReagentIdentifierValue, screenIndex, reagentIndex); 
     2089      } catch (NullPointerException e) { } 
     2090        try { 
    11222091        //int annotationRefCount = src.getAnnotationRefCount(screenIndex, reagentIndex); 
    11232092        //for (int annotationRefIndex=0; annotationRefIndex<annotationRefCount; annotationRefIndex++) { 
    11242093        //} 
    1125       } 
     2094        } catch (NullPointerException e) { } 
     2095      } 
     2096      } catch (NullPointerException e) { } 
    11262097    } 
     2098    } catch (NullPointerException e) { } 
     2099    try { 
    11272100    int stringAnnotationCount = src.getStringAnnotationCount(); 
    11282101    for (int stringAnnotationIndex=0; stringAnnotationIndex<stringAnnotationCount; stringAnnotationIndex++) { 
     2102    try { 
    11292103      String stringAnnotationIDValue = src.getStringAnnotationID(stringAnnotationIndex); 
    11302104      if (stringAnnotationIDValue != null) dest.setStringAnnotationID(stringAnnotationIDValue, stringAnnotationIndex); 
     2105    } catch (NullPointerException e) { } 
     2106    try { 
    11312107      String stringAnnotationNamespaceValue = src.getStringAnnotationNamespace(stringAnnotationIndex); 
    11322108      if (stringAnnotationNamespaceValue != null) dest.setStringAnnotationNamespace(stringAnnotationNamespaceValue, stringAnnotationIndex); 
     2109    } catch (NullPointerException e) { } 
     2110    try { 
    11332111      String stringAnnotationValueValue = src.getStringAnnotationValue(stringAnnotationIndex); 
    11342112      if (stringAnnotationValueValue != null) dest.setStringAnnotationValue(stringAnnotationValueValue, stringAnnotationIndex); 
     2113    } catch (NullPointerException e) { } 
    11352114    } 
     2115    } catch (NullPointerException e) { } 
     2116    try { 
    11362117    int timestampAnnotationCount = src.getTimestampAnnotationCount(); 
    11372118    for (int timestampAnnotationIndex=0; timestampAnnotationIndex<timestampAnnotationCount; timestampAnnotationIndex++) { 
     2119    try { 
    11382120      String timestampAnnotationIDValue = src.getTimestampAnnotationID(timestampAnnotationIndex); 
    11392121      if (timestampAnnotationIDValue != null) dest.setTimestampAnnotationID(timestampAnnotationIDValue, timestampAnnotationIndex); 
     2122    } catch (NullPointerException e) { } 
     2123    try { 
    11402124      String timestampAnnotationNamespaceValue = src.getTimestampAnnotationNamespace(timestampAnnotationIndex); 
    11412125      if (timestampAnnotationNamespaceValue != null) dest.setTimestampAnnotationNamespace(timestampAnnotationNamespaceValue, timestampAnnotationIndex); 
     2126    } catch (NullPointerException e) { } 
     2127    try { 
    11422128      String timestampAnnotationValueValue = src.getTimestampAnnotationValue(timestampAnnotationIndex); 
    11432129      if (timestampAnnotationValueValue != null) dest.setTimestampAnnotationValue(timestampAnnotationValueValue, timestampAnnotationIndex); 
     2130    } catch (NullPointerException e) { } 
    11442131    } 
     2132    } catch (NullPointerException e) { } 
     2133    try { 
    11452134    int xmlAnnotationCount = src.getXMLAnnotationCount(); 
    11462135    for (int xmlAnnotationIndex=0; xmlAnnotationIndex<xmlAnnotationCount; xmlAnnotationIndex++) { 
     2136    try { 
    11472137      String xmlAnnotationIDValue = src.getXMLAnnotationID(xmlAnnotationIndex); 
    11482138      if (xmlAnnotationIDValue != null) dest.setXMLAnnotationID(xmlAnnotationIDValue, xmlAnnotationIndex); 
     2139    } catch (NullPointerException e) { } 
     2140    try { 
    11492141      String xmlAnnotationNamespaceValue = src.getXMLAnnotationNamespace(xmlAnnotationIndex); 
    11502142      if (xmlAnnotationNamespaceValue != null) dest.setXMLAnnotationNamespace(xmlAnnotationNamespaceValue, xmlAnnotationIndex); 
     2143    } catch (NullPointerException e) { } 
     2144    try { 
    11512145      String xmlAnnotationValueValue = src.getXMLAnnotationValue(xmlAnnotationIndex); 
    11522146      if (xmlAnnotationValueValue != null) dest.setXMLAnnotationValue(xmlAnnotationValueValue, xmlAnnotationIndex); 
     2147    } catch (NullPointerException e) { } 
    11532148    } 
     2149    } catch (NullPointerException e) { } 
    11542150  } 
    11552151 
Note: See TracChangeset for help on using the changeset viewer.