Changeset 3840


Ignore:
Timestamp:
03/20/08 17:00:58 (12 years ago)
Author:
curtis
Message:

Fix some problems with OME-XML metadata store logic.

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/auto/MetadataAutogenEntities.txt

    r3616 r3840  
    4646- 
    4747Default: Image+ 
     48String NodeID        TODO 
    4849String Name          the full name of the image 
    4950String CreationDate  the creation date of the image 
     
    5657Default: Image+/Pixels+ 
    57582003FC: Image+/CA/Pixels+ 
     59String NodeID          TODO 
    5860Integer SizeX          size of an individual plane or section's X axis (width) 
    5961Integer SizeY          size of an individual plane of section's Y axis (height) 
     
    128130Default: Image+/LogicalChannel+ 
    1291312003FC: Image+/CA/LogicalChannel+ 
     132String NodeID                          TODO 
    130133String Name                            the logical channel's name 
    131134Integer SamplesPerPixel                TODO 
     
    160163Default: Image+/DisplayOptions 
    1611642003FC: Image+/CA/DisplayOptions 
     165String NodeID      TODO 
    162166# FIXME xsd-fu needs to include get/setPixels methods in DisplayOptionsNode 
    163167#PixelsNode Pixels  the pixels to which these display options correspond 
     
    273277Default: Image+/DisplayOptions/ROI+ 
    2742782003FC: Image+/CA/DisplayOptions/@DisplayROI+ 
    275 Integer X0  the starting X coordinate 
    276 Integer Y0  the starting Y coordinate 
    277 Integer X1  the ending X coordinate 
    278 Integer Y1  the ending Y coordinate 
    279 Integer Z0  the starting Z coordinate 
    280 Integer Z1  the ending Z coordinate 
    281 Integer T0  the starting timepoint 
    282 Integer T1  the ending timepoint 
     279String NodeID  TODO 
     280Integer X0     the starting X coordinate 
     281Integer Y0     the starting Y coordinate 
     282Integer X1     the ending X coordinate 
     283Integer Y1     the ending Y coordinate 
     284Integer Z0     the starting Z coordinate 
     285Integer Z1     the ending Z coordinate 
     286Integer T0     the starting timepoint 
     287Integer T1     the ending timepoint 
    283288 
    284289 
     
    328333Default: Instrument+ 
    3293342003FC: CA/Instrument+ 
     335String NodeID  TODO 
    330336 
    331337[LightSource+] 
     
    334340Default: Instrument+/LightSource+ 
    3353412003FC: CA/Instrument+/@LightSource+ 
     342String NodeID        TODO 
    336343String Manufacturer  TODO 
    337344String Model         TODO 
     
    352359*2003FC: isTunable 
    353360String Pulse                     TODO 
    354 Float Power                      TODO 
    355 *200706: - 
     361#Float Power                      TODO 
     362#*200706: - 
    356363 
    357364[Filament] 
     
    376383Default: Instrument+/Detector+ 
    3773842003FC: CA/Instrument+/@Detector+ 
     385String NodeID        TODO 
    378386String Manufacturer  TODO 
    379387String Model         TODO 
     
    389397Default: Instrument+/Objective+ 
    3903982003FC: CA/Instrument+/@Objective+ 
     399String NodeID                  TODO 
    391400String Manufacturer            TODO 
    392401String Model                   TODO 
     
    455464Default: Instrument+/OTF+ 
    4564652003FC: CA/Instrument+/@OTF+ 
     466String NodeID                TODO 
    457467Integer SizeX                TODO 
    458468Integer SizeY                TODO 
    459469String PixelType             TODO 
    460 String Path                  TODO 
    461 *200706: - 
     470#String Path                  TODO 
     471#*200706: - 
    462472Boolean OpticalAxisAveraged  TODO 
    463473*2003FC: isOpticalAxisAverage 
     
    471481Default: Experimenter+ 
    4724822003FC: CA/Experimenter+ 
     483String NodeID         TODO 
    473484String FirstName      the first name of the experimenter 
    474485String LastName       the last name of the experimenter 
    475486String Email          the e-mail address of the experimenter 
    476487String Institution    the institution to which the experimenter belongs 
    477 String DataDirectory  the fully qualified path to the experimenter's data 
    478 *200706: - 
     488#String DataDirectory  the fully qualified path to the experimenter's data 
     489#*200706: - 
    479490 
    480491[-] 
  • trunk/loci/formats/auto/MetadataAutogenVersions.txt

    r3567 r3840  
    2323# Add new OME-XML schema version definitions to this file. 
    2424 
     25#[200802] 
     26#class = OMEXML200802Metadata 
     27#id = OMEXML200802Metadata.java 
     28#basePackage = ome.xml.r200802 
     29#subPackage = ome 
     30#version = 2008-02 
     31#legacy = false 
     32 
    2533[200706] 
    2634class = OMEXML200706Metadata 
  • trunk/loci/formats/meta/AggregateMetadata.java

    r3605 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by curtis via MetadataAutogen on Feb 4, 2008 10:43:20 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    147147  } 
    148148 
     149  /* @see MetadataRetrieve#getChannelComponentCount(int, int) */ 
     150  public int getChannelComponentCount(int imageIndex, int logicalChannelIndex) { 
     151    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     152      Object o = iter.next(); 
     153      if (o instanceof MetadataRetrieve) { 
     154        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     155        int result = retrieve.getChannelComponentCount(imageIndex, logicalChannelIndex); 
     156        if (result >= 0) return result; 
     157      } 
     158    } 
     159    return -1; 
     160  } 
     161 
    149162  /* @see MetadataRetrieve#getROICount(int) */ 
    150163  public int getROICount(int imageIndex) { 
     
    344357  } 
    345358 
     359  /* @see MetadataRetrieve#getChannelComponent(int, int, int) */ 
     360  public Object getChannelComponent(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     361    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     362      Object o = iter.next(); 
     363      if (o instanceof MetadataRetrieve) { 
     364        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     365        Object result = retrieve.getChannelComponent(imageIndex, logicalChannelIndex, channelComponentIndex); 
     366        if (result != null) return result; 
     367      } 
     368    } 
     369    return null; 
     370  } 
     371 
     372  /* @see MetadataRetrieve#getDisplayOptions(int) */ 
     373  public Object getDisplayOptions(int imageIndex) { 
     374    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     375      Object o = iter.next(); 
     376      if (o instanceof MetadataRetrieve) { 
     377        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     378        Object result = retrieve.getDisplayOptions(imageIndex); 
     379        if (result != null) return result; 
     380      } 
     381    } 
     382    return null; 
     383  } 
     384 
     385  /* @see MetadataRetrieve#getDisplayOptionsProjection(int) */ 
     386  public Object getDisplayOptionsProjection(int imageIndex) { 
     387    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     388      Object o = iter.next(); 
     389      if (o instanceof MetadataRetrieve) { 
     390        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     391        Object result = retrieve.getDisplayOptionsProjection(imageIndex); 
     392        if (result != null) return result; 
     393      } 
     394    } 
     395    return null; 
     396  } 
     397 
     398  /* @see MetadataRetrieve#getDisplayOptionsTime(int) */ 
     399  public Object getDisplayOptionsTime(int imageIndex) { 
     400    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     401      Object o = iter.next(); 
     402      if (o instanceof MetadataRetrieve) { 
     403        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     404        Object result = retrieve.getDisplayOptionsTime(imageIndex); 
     405        if (result != null) return result; 
     406      } 
     407    } 
     408    return null; 
     409  } 
     410 
     411  /* @see MetadataRetrieve#getROI(int, int) */ 
     412  public Object getROI(int imageIndex, int roiIndex) { 
     413    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     414      Object o = iter.next(); 
     415      if (o instanceof MetadataRetrieve) { 
     416        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     417        Object result = retrieve.getROI(imageIndex, roiIndex); 
     418        if (result != null) return result; 
     419      } 
     420    } 
     421    return null; 
     422  } 
     423 
    346424  /* @see MetadataRetrieve#getDetectorSettings(int, int) */ 
    347425  public Object getDetectorSettings(int imageIndex, int logicalChannelIndex) { 
     
    370448  } 
    371449 
    372   /* @see MetadataRetrieve#getROI(int, int) */ 
    373   public Object getROI(int imageIndex, int roiIndex) { 
    374     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    375       Object o = iter.next(); 
    376       if (o instanceof MetadataRetrieve) { 
    377         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    378         Object result = retrieve.getROI(imageIndex, roiIndex); 
    379         if (result != null) return result; 
    380       } 
    381     } 
    382     return null; 
    383   } 
    384  
    385450  /* @see MetadataRetrieve#getStageLabel(int) */ 
    386451  public Object getStageLabel(int imageIndex) { 
     
    515580  // - Image property retrieval - 
    516581 
     582  /* @see MetadataRetrieve#getImageNodeID(int) */ 
     583  public String getImageNodeID(int imageIndex) { 
     584    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     585      Object o = iter.next(); 
     586      if (o instanceof MetadataRetrieve) { 
     587        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     588        String result = retrieve.getImageNodeID(imageIndex); 
     589        if (result != null) return result; 
     590      } 
     591    } 
     592    return null; 
     593  } 
     594 
    517595  /* @see MetadataRetrieve#getImageName(int) */ 
    518596  public String getImageName(int imageIndex) { 
     
    556634  // - Pixels property retrieval - 
    557635 
     636  /* @see MetadataRetrieve#getPixelsNodeID(int, int) */ 
     637  public String getPixelsNodeID(int imageIndex, int pixelsIndex) { 
     638    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     639      Object o = iter.next(); 
     640      if (o instanceof MetadataRetrieve) { 
     641        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     642        String result = retrieve.getPixelsNodeID(imageIndex, pixelsIndex); 
     643        if (result != null) return result; 
     644      } 
     645    } 
     646    return null; 
     647  } 
     648 
    558649  /* @see MetadataRetrieve#getPixelsSizeX(int, int) */ 
    559650  public Integer getPixelsSizeX(int imageIndex, int pixelsIndex) { 
     
    906997  // - LogicalChannel property retrieval - 
    907998 
     999  /* @see MetadataRetrieve#getLogicalChannelNodeID(int, int) */ 
     1000  public String getLogicalChannelNodeID(int imageIndex, int logicalChannelIndex) { 
     1001    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1002      Object o = iter.next(); 
     1003      if (o instanceof MetadataRetrieve) { 
     1004        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1005        String result = retrieve.getLogicalChannelNodeID(imageIndex, logicalChannelIndex); 
     1006        if (result != null) return result; 
     1007      } 
     1008    } 
     1009    return null; 
     1010  } 
     1011 
    9081012  /* @see MetadataRetrieve#getLogicalChannelName(int, int) */ 
    9091013  public String getLogicalChannelName(int imageIndex, int logicalChannelIndex) { 
     
    10621166  } 
    10631167 
     1168  // - ChannelComponent property retrieval - 
     1169 
     1170  /* @see MetadataRetrieve#getChannelComponentIndex(int, int, int) */ 
     1171  public Integer getChannelComponentIndex(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     1172    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1173      Object o = iter.next(); 
     1174      if (o instanceof MetadataRetrieve) { 
     1175        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1176        Integer result = retrieve.getChannelComponentIndex(imageIndex, logicalChannelIndex, channelComponentIndex); 
     1177        if (result != null) return result; 
     1178      } 
     1179    } 
     1180    return null; 
     1181  } 
     1182 
     1183  /* @see MetadataRetrieve#getChannelComponentColorDomain(int, int, int) */ 
     1184  public String getChannelComponentColorDomain(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     1185    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1186      Object o = iter.next(); 
     1187      if (o instanceof MetadataRetrieve) { 
     1188        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1189        String result = retrieve.getChannelComponentColorDomain(imageIndex, logicalChannelIndex, channelComponentIndex); 
     1190        if (result != null) return result; 
     1191      } 
     1192    } 
     1193    return null; 
     1194  } 
     1195 
     1196  // - DisplayOptions property retrieval - 
     1197 
     1198  /* @see MetadataRetrieve#getDisplayOptionsNodeID(int) */ 
     1199  public String getDisplayOptionsNodeID(int imageIndex) { 
     1200    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1201      Object o = iter.next(); 
     1202      if (o instanceof MetadataRetrieve) { 
     1203        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1204        String result = retrieve.getDisplayOptionsNodeID(imageIndex); 
     1205        if (result != null) return result; 
     1206      } 
     1207    } 
     1208    return null; 
     1209  } 
     1210 
     1211  /* @see MetadataRetrieve#getDisplayOptionsZoom(int) */ 
     1212  public Float getDisplayOptionsZoom(int imageIndex) { 
     1213    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1214      Object o = iter.next(); 
     1215      if (o instanceof MetadataRetrieve) { 
     1216        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1217        Float result = retrieve.getDisplayOptionsZoom(imageIndex); 
     1218        if (result != null) return result; 
     1219      } 
     1220    } 
     1221    return null; 
     1222  } 
     1223 
     1224  // - DisplayOptionsProjection property retrieval - 
     1225 
     1226  /* @see MetadataRetrieve#getDisplayOptionsProjectionZStart(int) */ 
     1227  public Integer getDisplayOptionsProjectionZStart(int imageIndex) { 
     1228    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1229      Object o = iter.next(); 
     1230      if (o instanceof MetadataRetrieve) { 
     1231        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1232        Integer result = retrieve.getDisplayOptionsProjectionZStart(imageIndex); 
     1233        if (result != null) return result; 
     1234      } 
     1235    } 
     1236    return null; 
     1237  } 
     1238 
     1239  /* @see MetadataRetrieve#getDisplayOptionsProjectionZStop(int) */ 
     1240  public Integer getDisplayOptionsProjectionZStop(int imageIndex) { 
     1241    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1242      Object o = iter.next(); 
     1243      if (o instanceof MetadataRetrieve) { 
     1244        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1245        Integer result = retrieve.getDisplayOptionsProjectionZStop(imageIndex); 
     1246        if (result != null) return result; 
     1247      } 
     1248    } 
     1249    return null; 
     1250  } 
     1251 
     1252  // - DisplayOptionsTime property retrieval - 
     1253 
     1254  /* @see MetadataRetrieve#getDisplayOptionsTimeTStart(int) */ 
     1255  public Integer getDisplayOptionsTimeTStart(int imageIndex) { 
     1256    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1257      Object o = iter.next(); 
     1258      if (o instanceof MetadataRetrieve) { 
     1259        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1260        Integer result = retrieve.getDisplayOptionsTimeTStart(imageIndex); 
     1261        if (result != null) return result; 
     1262      } 
     1263    } 
     1264    return null; 
     1265  } 
     1266 
     1267  /* @see MetadataRetrieve#getDisplayOptionsTimeTStop(int) */ 
     1268  public Integer getDisplayOptionsTimeTStop(int imageIndex) { 
     1269    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1270      Object o = iter.next(); 
     1271      if (o instanceof MetadataRetrieve) { 
     1272        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1273        Integer result = retrieve.getDisplayOptionsTimeTStop(imageIndex); 
     1274        if (result != null) return result; 
     1275      } 
     1276    } 
     1277    return null; 
     1278  } 
     1279 
     1280  // - ROI property retrieval - 
     1281 
     1282  /* @see MetadataRetrieve#getROINodeID(int, int) */ 
     1283  public String getROINodeID(int imageIndex, int roiIndex) { 
     1284    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1285      Object o = iter.next(); 
     1286      if (o instanceof MetadataRetrieve) { 
     1287        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1288        String result = retrieve.getROINodeID(imageIndex, roiIndex); 
     1289        if (result != null) return result; 
     1290      } 
     1291    } 
     1292    return null; 
     1293  } 
     1294 
     1295  /* @see MetadataRetrieve#getROIX0(int, int) */ 
     1296  public Integer getROIX0(int imageIndex, int roiIndex) { 
     1297    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1298      Object o = iter.next(); 
     1299      if (o instanceof MetadataRetrieve) { 
     1300        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1301        Integer result = retrieve.getROIX0(imageIndex, roiIndex); 
     1302        if (result != null) return result; 
     1303      } 
     1304    } 
     1305    return null; 
     1306  } 
     1307 
     1308  /* @see MetadataRetrieve#getROIY0(int, int) */ 
     1309  public Integer getROIY0(int imageIndex, int roiIndex) { 
     1310    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1311      Object o = iter.next(); 
     1312      if (o instanceof MetadataRetrieve) { 
     1313        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1314        Integer result = retrieve.getROIY0(imageIndex, roiIndex); 
     1315        if (result != null) return result; 
     1316      } 
     1317    } 
     1318    return null; 
     1319  } 
     1320 
     1321  /* @see MetadataRetrieve#getROIX1(int, int) */ 
     1322  public Integer getROIX1(int imageIndex, int roiIndex) { 
     1323    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1324      Object o = iter.next(); 
     1325      if (o instanceof MetadataRetrieve) { 
     1326        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1327        Integer result = retrieve.getROIX1(imageIndex, roiIndex); 
     1328        if (result != null) return result; 
     1329      } 
     1330    } 
     1331    return null; 
     1332  } 
     1333 
     1334  /* @see MetadataRetrieve#getROIY1(int, int) */ 
     1335  public Integer getROIY1(int imageIndex, int roiIndex) { 
     1336    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1337      Object o = iter.next(); 
     1338      if (o instanceof MetadataRetrieve) { 
     1339        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1340        Integer result = retrieve.getROIY1(imageIndex, roiIndex); 
     1341        if (result != null) return result; 
     1342      } 
     1343    } 
     1344    return null; 
     1345  } 
     1346 
     1347  /* @see MetadataRetrieve#getROIZ0(int, int) */ 
     1348  public Integer getROIZ0(int imageIndex, int roiIndex) { 
     1349    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1350      Object o = iter.next(); 
     1351      if (o instanceof MetadataRetrieve) { 
     1352        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1353        Integer result = retrieve.getROIZ0(imageIndex, roiIndex); 
     1354        if (result != null) return result; 
     1355      } 
     1356    } 
     1357    return null; 
     1358  } 
     1359 
     1360  /* @see MetadataRetrieve#getROIZ1(int, int) */ 
     1361  public Integer getROIZ1(int imageIndex, int roiIndex) { 
     1362    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1363      Object o = iter.next(); 
     1364      if (o instanceof MetadataRetrieve) { 
     1365        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1366        Integer result = retrieve.getROIZ1(imageIndex, roiIndex); 
     1367        if (result != null) return result; 
     1368      } 
     1369    } 
     1370    return null; 
     1371  } 
     1372 
     1373  /* @see MetadataRetrieve#getROIT0(int, int) */ 
     1374  public Integer getROIT0(int imageIndex, int roiIndex) { 
     1375    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1376      Object o = iter.next(); 
     1377      if (o instanceof MetadataRetrieve) { 
     1378        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1379        Integer result = retrieve.getROIT0(imageIndex, roiIndex); 
     1380        if (result != null) return result; 
     1381      } 
     1382    } 
     1383    return null; 
     1384  } 
     1385 
     1386  /* @see MetadataRetrieve#getROIT1(int, int) */ 
     1387  public Integer getROIT1(int imageIndex, int roiIndex) { 
     1388    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1389      Object o = iter.next(); 
     1390      if (o instanceof MetadataRetrieve) { 
     1391        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1392        Integer result = retrieve.getROIT1(imageIndex, roiIndex); 
     1393        if (result != null) return result; 
     1394      } 
     1395    } 
     1396    return null; 
     1397  } 
     1398 
    10641399  // - DetectorSettings property retrieval - 
    10651400 
     
    11441479  } 
    11451480 
    1146   // - ROI property retrieval - 
    1147  
    1148   /* @see MetadataRetrieve#getROIX0(int, int) */ 
    1149   public Integer getROIX0(int imageIndex, int roiIndex) { 
    1150     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1151       Object o = iter.next(); 
    1152       if (o instanceof MetadataRetrieve) { 
    1153         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1154         Integer result = retrieve.getROIX0(imageIndex, roiIndex); 
    1155         if (result != null) return result; 
    1156       } 
    1157     } 
    1158     return null; 
    1159   } 
    1160  
    1161   /* @see MetadataRetrieve#getROIY0(int, int) */ 
    1162   public Integer getROIY0(int imageIndex, int roiIndex) { 
    1163     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1164       Object o = iter.next(); 
    1165       if (o instanceof MetadataRetrieve) { 
    1166         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1167         Integer result = retrieve.getROIY0(imageIndex, roiIndex); 
    1168         if (result != null) return result; 
    1169       } 
    1170     } 
    1171     return null; 
    1172   } 
    1173  
    1174   /* @see MetadataRetrieve#getROIZ0(int, int) */ 
    1175   public Integer getROIZ0(int imageIndex, int roiIndex) { 
    1176     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1177       Object o = iter.next(); 
    1178       if (o instanceof MetadataRetrieve) { 
    1179         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1180         Integer result = retrieve.getROIZ0(imageIndex, roiIndex); 
    1181         if (result != null) return result; 
    1182       } 
    1183     } 
    1184     return null; 
    1185   } 
    1186  
    1187   /* @see MetadataRetrieve#getROIT0(int, int) */ 
    1188   public Integer getROIT0(int imageIndex, int roiIndex) { 
    1189     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1190       Object o = iter.next(); 
    1191       if (o instanceof MetadataRetrieve) { 
    1192         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1193         Integer result = retrieve.getROIT0(imageIndex, roiIndex); 
    1194         if (result != null) return result; 
    1195       } 
    1196     } 
    1197     return null; 
    1198   } 
    1199  
    1200   /* @see MetadataRetrieve#getROIX1(int, int) */ 
    1201   public Integer getROIX1(int imageIndex, int roiIndex) { 
    1202     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1203       Object o = iter.next(); 
    1204       if (o instanceof MetadataRetrieve) { 
    1205         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1206         Integer result = retrieve.getROIX1(imageIndex, roiIndex); 
    1207         if (result != null) return result; 
    1208       } 
    1209     } 
    1210     return null; 
    1211   } 
    1212  
    1213   /* @see MetadataRetrieve#getROIY1(int, int) */ 
    1214   public Integer getROIY1(int imageIndex, int roiIndex) { 
    1215     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1216       Object o = iter.next(); 
    1217       if (o instanceof MetadataRetrieve) { 
    1218         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1219         Integer result = retrieve.getROIY1(imageIndex, roiIndex); 
    1220         if (result != null) return result; 
    1221       } 
    1222     } 
    1223     return null; 
    1224   } 
    1225  
    1226   /* @see MetadataRetrieve#getROIZ1(int, int) */ 
    1227   public Integer getROIZ1(int imageIndex, int roiIndex) { 
    1228     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1229       Object o = iter.next(); 
    1230       if (o instanceof MetadataRetrieve) { 
    1231         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1232         Integer result = retrieve.getROIZ1(imageIndex, roiIndex); 
    1233         if (result != null) return result; 
    1234       } 
    1235     } 
    1236     return null; 
    1237   } 
    1238  
    1239   /* @see MetadataRetrieve#getROIT1(int, int) */ 
    1240   public Integer getROIT1(int imageIndex, int roiIndex) { 
    1241     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    1242       Object o = iter.next(); 
    1243       if (o instanceof MetadataRetrieve) { 
    1244         MetadataRetrieve retrieve = (MetadataRetrieve) o; 
    1245         Integer result = retrieve.getROIT1(imageIndex, roiIndex); 
    1246         if (result != null) return result; 
    1247       } 
    1248     } 
    1249     return null; 
    1250   } 
    1251  
    12521481  // - StageLabel property retrieval - 
    12531482 
     
    13061535  // - Instrument property retrieval - 
    13071536 
     1537  /* @see MetadataRetrieve#getInstrumentNodeID(int) */ 
     1538  public String getInstrumentNodeID(int instrumentIndex) { 
     1539    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1540      Object o = iter.next(); 
     1541      if (o instanceof MetadataRetrieve) { 
     1542        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1543        String result = retrieve.getInstrumentNodeID(instrumentIndex); 
     1544        if (result != null) return result; 
     1545      } 
     1546    } 
     1547    return null; 
     1548  } 
     1549 
    13081550  // - LightSource property retrieval - 
     1551 
     1552  /* @see MetadataRetrieve#getLightSourceNodeID(int, int) */ 
     1553  public String getLightSourceNodeID(int instrumentIndex, int lightSourceIndex) { 
     1554    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1555      Object o = iter.next(); 
     1556      if (o instanceof MetadataRetrieve) { 
     1557        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1558        String result = retrieve.getLightSourceNodeID(instrumentIndex, lightSourceIndex); 
     1559        if (result != null) return result; 
     1560      } 
     1561    } 
     1562    return null; 
     1563  } 
    13091564 
    13101565  /* @see MetadataRetrieve#getLightSourceManufacturer(int, int) */ 
     
    14981753  // - Detector property retrieval - 
    14991754 
     1755  /* @see MetadataRetrieve#getDetectorNodeID(int, int) */ 
     1756  public String getDetectorNodeID(int instrumentIndex, int detectorIndex) { 
     1757    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1758      Object o = iter.next(); 
     1759      if (o instanceof MetadataRetrieve) { 
     1760        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1761        String result = retrieve.getDetectorNodeID(instrumentIndex, detectorIndex); 
     1762        if (result != null) return result; 
     1763      } 
     1764    } 
     1765    return null; 
     1766  } 
     1767 
    15001768  /* @see MetadataRetrieve#getDetectorManufacturer(int, int) */ 
    15011769  public String getDetectorManufacturer(int instrumentIndex, int detectorIndex) { 
     
    15911859  // - Objective property retrieval - 
    15921860 
     1861  /* @see MetadataRetrieve#getObjectiveNodeID(int, int) */ 
     1862  public String getObjectiveNodeID(int instrumentIndex, int objectiveIndex) { 
     1863    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1864      Object o = iter.next(); 
     1865      if (o instanceof MetadataRetrieve) { 
     1866        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1867        String result = retrieve.getObjectiveNodeID(instrumentIndex, objectiveIndex); 
     1868        if (result != null) return result; 
     1869      } 
     1870    } 
     1871    return null; 
     1872  } 
     1873 
    15931874  /* @see MetadataRetrieve#getObjectiveManufacturer(int, int) */ 
    15941875  public String getObjectiveManufacturer(int instrumentIndex, int objectiveIndex) { 
     
    17101991  // - OTF property retrieval - 
    17111992 
     1993  /* @see MetadataRetrieve#getOTFNodeID(int, int) */ 
     1994  public String getOTFNodeID(int instrumentIndex, int otfIndex) { 
     1995    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     1996      Object o = iter.next(); 
     1997      if (o instanceof MetadataRetrieve) { 
     1998        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     1999        String result = retrieve.getOTFNodeID(instrumentIndex, otfIndex); 
     2000        if (result != null) return result; 
     2001      } 
     2002    } 
     2003    return null; 
     2004  } 
     2005 
    17122006  /* @see MetadataRetrieve#getOTFSizeX(int, int) */ 
    17132007  public Integer getOTFSizeX(int instrumentIndex, int otfIndex) { 
     
    17762070 
    17772071  // - Experimenter property retrieval - 
     2072 
     2073  /* @see MetadataRetrieve#getExperimenterNodeID(int) */ 
     2074  public String getExperimenterNodeID(int experimenterIndex) { 
     2075    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2076      Object o = iter.next(); 
     2077      if (o instanceof MetadataRetrieve) { 
     2078        MetadataRetrieve retrieve = (MetadataRetrieve) o; 
     2079        String result = retrieve.getExperimenterNodeID(experimenterIndex); 
     2080        if (result != null) return result; 
     2081      } 
     2082    } 
     2083    return null; 
     2084  } 
    17782085 
    17792086  /* @see MetadataRetrieve#getExperimenterFirstName(int) */ 
     
    18742181  // - Image property storage - 
    18752182 
     2183  /* @see MetadataStore#setImageNodeID(String, int) */ 
     2184  public void setImageNodeID(String nodeID, int imageIndex) { 
     2185    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2186      Object o = iter.next(); 
     2187      if (o instanceof MetadataStore) { 
     2188        MetadataStore store = (MetadataStore) o; 
     2189        store.setImageNodeID(nodeID, imageIndex); 
     2190      } 
     2191    } 
     2192  } 
     2193 
    18762194  /* @see MetadataStore#setImageName(String, int) */ 
    18772195  public void setImageName(String name, int imageIndex) { 
     
    19092227  // - Pixels property storage - 
    19102228 
     2229  /* @see MetadataStore#setPixelsNodeID(String, int, int) */ 
     2230  public void setPixelsNodeID(String nodeID, int imageIndex, int pixelsIndex) { 
     2231    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2232      Object o = iter.next(); 
     2233      if (o instanceof MetadataStore) { 
     2234        MetadataStore store = (MetadataStore) o; 
     2235        store.setPixelsNodeID(nodeID, imageIndex, pixelsIndex); 
     2236      } 
     2237    } 
     2238  } 
     2239 
    19112240  /* @see MetadataStore#setPixelsSizeX(Integer, int, int) */ 
    19122241  public void setPixelsSizeX(Integer sizeX, int imageIndex, int pixelsIndex) { 
     
    22072536  // - LogicalChannel property storage - 
    22082537 
     2538  /* @see MetadataStore#setLogicalChannelNodeID(String, int, int) */ 
     2539  public void setLogicalChannelNodeID(String nodeID, int imageIndex, int logicalChannelIndex) { 
     2540    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2541      Object o = iter.next(); 
     2542      if (o instanceof MetadataStore) { 
     2543        MetadataStore store = (MetadataStore) o; 
     2544        store.setLogicalChannelNodeID(nodeID, imageIndex, logicalChannelIndex); 
     2545      } 
     2546    } 
     2547  } 
     2548 
    22092549  /* @see MetadataStore#setLogicalChannelName(String, int, int) */ 
    22102550  public void setLogicalChannelName(String name, int imageIndex, int logicalChannelIndex) { 
     
    23392679  } 
    23402680 
     2681  // - ChannelComponent property storage - 
     2682 
     2683  /* @see MetadataStore#setChannelComponentIndex(Integer, int, int, int) */ 
     2684  public void setChannelComponentIndex(Integer index, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     2685    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2686      Object o = iter.next(); 
     2687      if (o instanceof MetadataStore) { 
     2688        MetadataStore store = (MetadataStore) o; 
     2689        store.setChannelComponentIndex(index, imageIndex, logicalChannelIndex, channelComponentIndex); 
     2690      } 
     2691    } 
     2692  } 
     2693 
     2694  /* @see MetadataStore#setChannelComponentColorDomain(String, int, int, int) */ 
     2695  public void setChannelComponentColorDomain(String colorDomain, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     2696    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2697      Object o = iter.next(); 
     2698      if (o instanceof MetadataStore) { 
     2699        MetadataStore store = (MetadataStore) o; 
     2700        store.setChannelComponentColorDomain(colorDomain, imageIndex, logicalChannelIndex, channelComponentIndex); 
     2701      } 
     2702    } 
     2703  } 
     2704 
     2705  // - DisplayOptions property storage - 
     2706 
     2707  /* @see MetadataStore#setDisplayOptionsNodeID(String, int) */ 
     2708  public void setDisplayOptionsNodeID(String nodeID, int imageIndex) { 
     2709    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2710      Object o = iter.next(); 
     2711      if (o instanceof MetadataStore) { 
     2712        MetadataStore store = (MetadataStore) o; 
     2713        store.setDisplayOptionsNodeID(nodeID, imageIndex); 
     2714      } 
     2715    } 
     2716  } 
     2717 
     2718  /* @see MetadataStore#setDisplayOptionsZoom(Float, int) */ 
     2719  public void setDisplayOptionsZoom(Float zoom, int imageIndex) { 
     2720    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2721      Object o = iter.next(); 
     2722      if (o instanceof MetadataStore) { 
     2723        MetadataStore store = (MetadataStore) o; 
     2724        store.setDisplayOptionsZoom(zoom, imageIndex); 
     2725      } 
     2726    } 
     2727  } 
     2728 
     2729  // - DisplayOptionsProjection property storage - 
     2730 
     2731  /* @see MetadataStore#setDisplayOptionsProjectionZStart(Integer, int) */ 
     2732  public void setDisplayOptionsProjectionZStart(Integer zStart, int imageIndex) { 
     2733    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2734      Object o = iter.next(); 
     2735      if (o instanceof MetadataStore) { 
     2736        MetadataStore store = (MetadataStore) o; 
     2737        store.setDisplayOptionsProjectionZStart(zStart, imageIndex); 
     2738      } 
     2739    } 
     2740  } 
     2741 
     2742  /* @see MetadataStore#setDisplayOptionsProjectionZStop(Integer, int) */ 
     2743  public void setDisplayOptionsProjectionZStop(Integer zStop, int imageIndex) { 
     2744    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2745      Object o = iter.next(); 
     2746      if (o instanceof MetadataStore) { 
     2747        MetadataStore store = (MetadataStore) o; 
     2748        store.setDisplayOptionsProjectionZStop(zStop, imageIndex); 
     2749      } 
     2750    } 
     2751  } 
     2752 
     2753  // - DisplayOptionsTime property storage - 
     2754 
     2755  /* @see MetadataStore#setDisplayOptionsTimeTStart(Integer, int) */ 
     2756  public void setDisplayOptionsTimeTStart(Integer tStart, int imageIndex) { 
     2757    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2758      Object o = iter.next(); 
     2759      if (o instanceof MetadataStore) { 
     2760        MetadataStore store = (MetadataStore) o; 
     2761        store.setDisplayOptionsTimeTStart(tStart, imageIndex); 
     2762      } 
     2763    } 
     2764  } 
     2765 
     2766  /* @see MetadataStore#setDisplayOptionsTimeTStop(Integer, int) */ 
     2767  public void setDisplayOptionsTimeTStop(Integer tStop, int imageIndex) { 
     2768    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2769      Object o = iter.next(); 
     2770      if (o instanceof MetadataStore) { 
     2771        MetadataStore store = (MetadataStore) o; 
     2772        store.setDisplayOptionsTimeTStop(tStop, imageIndex); 
     2773      } 
     2774    } 
     2775  } 
     2776 
     2777  // - ROI property storage - 
     2778 
     2779  /* @see MetadataStore#setROINodeID(String, int, int) */ 
     2780  public void setROINodeID(String nodeID, int imageIndex, int roiIndex) { 
     2781    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2782      Object o = iter.next(); 
     2783      if (o instanceof MetadataStore) { 
     2784        MetadataStore store = (MetadataStore) o; 
     2785        store.setROINodeID(nodeID, imageIndex, roiIndex); 
     2786      } 
     2787    } 
     2788  } 
     2789 
     2790  /* @see MetadataStore#setROIX0(Integer, int, int) */ 
     2791  public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
     2792    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2793      Object o = iter.next(); 
     2794      if (o instanceof MetadataStore) { 
     2795        MetadataStore store = (MetadataStore) o; 
     2796        store.setROIX0(x0, imageIndex, roiIndex); 
     2797      } 
     2798    } 
     2799  } 
     2800 
     2801  /* @see MetadataStore#setROIY0(Integer, int, int) */ 
     2802  public void setROIY0(Integer y0, int imageIndex, int roiIndex) { 
     2803    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2804      Object o = iter.next(); 
     2805      if (o instanceof MetadataStore) { 
     2806        MetadataStore store = (MetadataStore) o; 
     2807        store.setROIY0(y0, imageIndex, roiIndex); 
     2808      } 
     2809    } 
     2810  } 
     2811 
     2812  /* @see MetadataStore#setROIX1(Integer, int, int) */ 
     2813  public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
     2814    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2815      Object o = iter.next(); 
     2816      if (o instanceof MetadataStore) { 
     2817        MetadataStore store = (MetadataStore) o; 
     2818        store.setROIX1(x1, imageIndex, roiIndex); 
     2819      } 
     2820    } 
     2821  } 
     2822 
     2823  /* @see MetadataStore#setROIY1(Integer, int, int) */ 
     2824  public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
     2825    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2826      Object o = iter.next(); 
     2827      if (o instanceof MetadataStore) { 
     2828        MetadataStore store = (MetadataStore) o; 
     2829        store.setROIY1(y1, imageIndex, roiIndex); 
     2830      } 
     2831    } 
     2832  } 
     2833 
     2834  /* @see MetadataStore#setROIZ0(Integer, int, int) */ 
     2835  public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
     2836    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2837      Object o = iter.next(); 
     2838      if (o instanceof MetadataStore) { 
     2839        MetadataStore store = (MetadataStore) o; 
     2840        store.setROIZ0(z0, imageIndex, roiIndex); 
     2841      } 
     2842    } 
     2843  } 
     2844 
     2845  /* @see MetadataStore#setROIZ1(Integer, int, int) */ 
     2846  public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
     2847    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2848      Object o = iter.next(); 
     2849      if (o instanceof MetadataStore) { 
     2850        MetadataStore store = (MetadataStore) o; 
     2851        store.setROIZ1(z1, imageIndex, roiIndex); 
     2852      } 
     2853    } 
     2854  } 
     2855 
     2856  /* @see MetadataStore#setROIT0(Integer, int, int) */ 
     2857  public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
     2858    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2859      Object o = iter.next(); 
     2860      if (o instanceof MetadataStore) { 
     2861        MetadataStore store = (MetadataStore) o; 
     2862        store.setROIT0(t0, imageIndex, roiIndex); 
     2863      } 
     2864    } 
     2865  } 
     2866 
     2867  /* @see MetadataStore#setROIT1(Integer, int, int) */ 
     2868  public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
     2869    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2870      Object o = iter.next(); 
     2871      if (o instanceof MetadataStore) { 
     2872        MetadataStore store = (MetadataStore) o; 
     2873        store.setROIT1(t1, imageIndex, roiIndex); 
     2874      } 
     2875    } 
     2876  } 
     2877 
    23412878  // - DetectorSettings property storage - 
    23422879 
     
    24092946  } 
    24102947 
    2411   // - ROI property storage - 
    2412  
    2413   /* @see MetadataStore#setROIX0(Integer, int, int) */ 
    2414   public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
    2415     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2416       Object o = iter.next(); 
    2417       if (o instanceof MetadataStore) { 
    2418         MetadataStore store = (MetadataStore) o; 
    2419         store.setROIX0(x0, imageIndex, roiIndex); 
    2420       } 
    2421     } 
    2422   } 
    2423  
    2424   /* @see MetadataStore#setROIY0(Integer, int, int) */ 
    2425   public void setROIY0(Integer y0, int imageIndex, int roiIndex) { 
    2426     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2427       Object o = iter.next(); 
    2428       if (o instanceof MetadataStore) { 
    2429         MetadataStore store = (MetadataStore) o; 
    2430         store.setROIY0(y0, imageIndex, roiIndex); 
    2431       } 
    2432     } 
    2433   } 
    2434  
    2435   /* @see MetadataStore#setROIZ0(Integer, int, int) */ 
    2436   public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
    2437     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2438       Object o = iter.next(); 
    2439       if (o instanceof MetadataStore) { 
    2440         MetadataStore store = (MetadataStore) o; 
    2441         store.setROIZ0(z0, imageIndex, roiIndex); 
    2442       } 
    2443     } 
    2444   } 
    2445  
    2446   /* @see MetadataStore#setROIT0(Integer, int, int) */ 
    2447   public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
    2448     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2449       Object o = iter.next(); 
    2450       if (o instanceof MetadataStore) { 
    2451         MetadataStore store = (MetadataStore) o; 
    2452         store.setROIT0(t0, imageIndex, roiIndex); 
    2453       } 
    2454     } 
    2455   } 
    2456  
    2457   /* @see MetadataStore#setROIX1(Integer, int, int) */ 
    2458   public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
    2459     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2460       Object o = iter.next(); 
    2461       if (o instanceof MetadataStore) { 
    2462         MetadataStore store = (MetadataStore) o; 
    2463         store.setROIX1(x1, imageIndex, roiIndex); 
    2464       } 
    2465     } 
    2466   } 
    2467  
    2468   /* @see MetadataStore#setROIY1(Integer, int, int) */ 
    2469   public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
    2470     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2471       Object o = iter.next(); 
    2472       if (o instanceof MetadataStore) { 
    2473         MetadataStore store = (MetadataStore) o; 
    2474         store.setROIY1(y1, imageIndex, roiIndex); 
    2475       } 
    2476     } 
    2477   } 
    2478  
    2479   /* @see MetadataStore#setROIZ1(Integer, int, int) */ 
    2480   public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
    2481     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2482       Object o = iter.next(); 
    2483       if (o instanceof MetadataStore) { 
    2484         MetadataStore store = (MetadataStore) o; 
    2485         store.setROIZ1(z1, imageIndex, roiIndex); 
    2486       } 
    2487     } 
    2488   } 
    2489  
    2490   /* @see MetadataStore#setROIT1(Integer, int, int) */ 
    2491   public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
    2492     for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
    2493       Object o = iter.next(); 
    2494       if (o instanceof MetadataStore) { 
    2495         MetadataStore store = (MetadataStore) o; 
    2496         store.setROIT1(t1, imageIndex, roiIndex); 
    2497       } 
    2498     } 
    2499   } 
    2500  
    25012948  // - StageLabel property storage - 
    25022949 
     
    25472994  // - Instrument property storage - 
    25482995 
     2996  /* @see MetadataStore#setInstrumentNodeID(String, int) */ 
     2997  public void setInstrumentNodeID(String nodeID, int instrumentIndex) { 
     2998    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     2999      Object o = iter.next(); 
     3000      if (o instanceof MetadataStore) { 
     3001        MetadataStore store = (MetadataStore) o; 
     3002        store.setInstrumentNodeID(nodeID, instrumentIndex); 
     3003      } 
     3004    } 
     3005  } 
     3006 
    25493007  // - LightSource property storage - 
     3008 
     3009  /* @see MetadataStore#setLightSourceNodeID(String, int, int) */ 
     3010  public void setLightSourceNodeID(String nodeID, int instrumentIndex, int lightSourceIndex) { 
     3011    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     3012      Object o = iter.next(); 
     3013      if (o instanceof MetadataStore) { 
     3014        MetadataStore store = (MetadataStore) o; 
     3015        store.setLightSourceNodeID(nodeID, instrumentIndex, lightSourceIndex); 
     3016      } 
     3017    } 
     3018  } 
    25503019 
    25513020  /* @see MetadataStore#setLightSourceManufacturer(String, int, int) */ 
     
    27113180  // - Detector property storage - 
    27123181 
     3182  /* @see MetadataStore#setDetectorNodeID(String, int, int) */ 
     3183  public void setDetectorNodeID(String nodeID, int instrumentIndex, int detectorIndex) { 
     3184    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     3185      Object o = iter.next(); 
     3186      if (o instanceof MetadataStore) { 
     3187        MetadataStore store = (MetadataStore) o; 
     3188        store.setDetectorNodeID(nodeID, instrumentIndex, detectorIndex); 
     3189      } 
     3190    } 
     3191  } 
     3192 
    27133193  /* @see MetadataStore#setDetectorManufacturer(String, int, int) */ 
    27143194  public void setDetectorManufacturer(String manufacturer, int instrumentIndex, int detectorIndex) { 
     
    27903270  // - Objective property storage - 
    27913271 
     3272  /* @see MetadataStore#setObjectiveNodeID(String, int, int) */ 
     3273  public void setObjectiveNodeID(String nodeID, int instrumentIndex, int objectiveIndex) { 
     3274    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     3275      Object o = iter.next(); 
     3276      if (o instanceof MetadataStore) { 
     3277        MetadataStore store = (MetadataStore) o; 
     3278        store.setObjectiveNodeID(nodeID, instrumentIndex, objectiveIndex); 
     3279      } 
     3280    } 
     3281  } 
     3282 
    27923283  /* @see MetadataStore#setObjectiveManufacturer(String, int, int) */ 
    27933284  public void setObjectiveManufacturer(String manufacturer, int instrumentIndex, int objectiveIndex) { 
     
    28913382  // - OTF property storage - 
    28923383 
     3384  /* @see MetadataStore#setOTFNodeID(String, int, int) */ 
     3385  public void setOTFNodeID(String nodeID, int instrumentIndex, int otfIndex) { 
     3386    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     3387      Object o = iter.next(); 
     3388      if (o instanceof MetadataStore) { 
     3389        MetadataStore store = (MetadataStore) o; 
     3390        store.setOTFNodeID(nodeID, instrumentIndex, otfIndex); 
     3391      } 
     3392    } 
     3393  } 
     3394 
    28933395  /* @see MetadataStore#setOTFSizeX(Integer, int, int) */ 
    28943396  public void setOTFSizeX(Integer sizeX, int instrumentIndex, int otfIndex) { 
     
    29483450  // - Experimenter property storage - 
    29493451 
     3452  /* @see MetadataStore#setExperimenterNodeID(String, int) */ 
     3453  public void setExperimenterNodeID(String nodeID, int experimenterIndex) { 
     3454    for (Iterator iter = delegates.iterator(); iter.hasNext();) { 
     3455      Object o = iter.next(); 
     3456      if (o instanceof MetadataStore) { 
     3457        MetadataStore store = (MetadataStore) o; 
     3458        store.setExperimenterNodeID(nodeID, experimenterIndex); 
     3459      } 
     3460    } 
     3461  } 
     3462 
    29503463  /* @see MetadataStore#setExperimenterFirstName(String, int) */ 
    29513464  public void setExperimenterFirstName(String firstName, int experimenterIndex) { 
  • trunk/loci/formats/meta/DummyMetadata.java

    r3737 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by curtis via MetadataAutogen on Feb 4, 2008 10:43:20 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    7171  } 
    7272 
     73  /* @see MetadataRetrieve#getChannelComponentCount(int, int) */ 
     74  public int getChannelComponentCount(int imageIndex, int logicalChannelIndex) { 
     75    return -1; 
     76  } 
     77 
    7378  /* @see MetadataRetrieve#getROICount(int) */ 
    7479  public int getROICount(int imageIndex) { 
     
    148153  } 
    149154 
     155  /* @see MetadataRetrieve#getChannelComponent(int, int, int) */ 
     156  public Object getChannelComponent(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     157    return null; 
     158  } 
     159 
     160  /* @see MetadataRetrieve#getDisplayOptions(int) */ 
     161  public Object getDisplayOptions(int imageIndex) { 
     162    return null; 
     163  } 
     164 
     165  /* @see MetadataRetrieve#getDisplayOptionsProjection(int) */ 
     166  public Object getDisplayOptionsProjection(int imageIndex) { 
     167    return null; 
     168  } 
     169 
     170  /* @see MetadataRetrieve#getDisplayOptionsTime(int) */ 
     171  public Object getDisplayOptionsTime(int imageIndex) { 
     172    return null; 
     173  } 
     174 
     175  /* @see MetadataRetrieve#getROI(int, int) */ 
     176  public Object getROI(int imageIndex, int roiIndex) { 
     177    return null; 
     178  } 
     179 
    150180  /* @see MetadataRetrieve#getDetectorSettings(int, int) */ 
    151181  public Object getDetectorSettings(int imageIndex, int logicalChannelIndex) { 
     
    158188  } 
    159189 
    160   /* @see MetadataRetrieve#getROI(int, int) */ 
    161   public Object getROI(int imageIndex, int roiIndex) { 
    162     return null; 
    163   } 
    164  
    165190  /* @see MetadataRetrieve#getStageLabel(int) */ 
    166191  public Object getStageLabel(int imageIndex) { 
     
    215240  // - Image property retrieval - 
    216241 
     242  /* @see MetadataRetrieve#getImageNodeID(int) */ 
     243  public String getImageNodeID(int imageIndex) { 
     244    return null; 
     245  } 
    217246  /* @see MetadataRetrieve#getImageName(int) */ 
    218247  public String getImageName(int imageIndex) { 
     
    230259  // - Pixels property retrieval - 
    231260 
     261  /* @see MetadataRetrieve#getPixelsNodeID(int, int) */ 
     262  public String getPixelsNodeID(int imageIndex, int pixelsIndex) { 
     263    return null; 
     264  } 
    232265  /* @see MetadataRetrieve#getPixelsSizeX(int, int) */ 
    233266  public Integer getPixelsSizeX(int imageIndex, int pixelsIndex) { 
     
    352385  // - LogicalChannel property retrieval - 
    353386 
     387  /* @see MetadataRetrieve#getLogicalChannelNodeID(int, int) */ 
     388  public String getLogicalChannelNodeID(int imageIndex, int logicalChannelIndex) { 
     389    return null; 
     390  } 
    354391  /* @see MetadataRetrieve#getLogicalChannelName(int, int) */ 
    355392  public String getLogicalChannelName(int imageIndex, int logicalChannelIndex) { 
     
    401438  } 
    402439 
     440  // - ChannelComponent property retrieval - 
     441 
     442  /* @see MetadataRetrieve#getChannelComponentIndex(int, int, int) */ 
     443  public Integer getChannelComponentIndex(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     444    return null; 
     445  } 
     446  /* @see MetadataRetrieve#getChannelComponentColorDomain(int, int, int) */ 
     447  public String getChannelComponentColorDomain(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     448    return null; 
     449  } 
     450 
     451  // - DisplayOptions property retrieval - 
     452 
     453  /* @see MetadataRetrieve#getDisplayOptionsNodeID(int) */ 
     454  public String getDisplayOptionsNodeID(int imageIndex) { 
     455    return null; 
     456  } 
     457  /* @see MetadataRetrieve#getDisplayOptionsZoom(int) */ 
     458  public Float getDisplayOptionsZoom(int imageIndex) { 
     459    return null; 
     460  } 
     461 
     462  // - DisplayOptionsProjection property retrieval - 
     463 
     464  /* @see MetadataRetrieve#getDisplayOptionsProjectionZStart(int) */ 
     465  public Integer getDisplayOptionsProjectionZStart(int imageIndex) { 
     466    return null; 
     467  } 
     468  /* @see MetadataRetrieve#getDisplayOptionsProjectionZStop(int) */ 
     469  public Integer getDisplayOptionsProjectionZStop(int imageIndex) { 
     470    return null; 
     471  } 
     472 
     473  // - DisplayOptionsTime property retrieval - 
     474 
     475  /* @see MetadataRetrieve#getDisplayOptionsTimeTStart(int) */ 
     476  public Integer getDisplayOptionsTimeTStart(int imageIndex) { 
     477    return null; 
     478  } 
     479  /* @see MetadataRetrieve#getDisplayOptionsTimeTStop(int) */ 
     480  public Integer getDisplayOptionsTimeTStop(int imageIndex) { 
     481    return null; 
     482  } 
     483 
     484  // - ROI property retrieval - 
     485 
     486  /* @see MetadataRetrieve#getROINodeID(int, int) */ 
     487  public String getROINodeID(int imageIndex, int roiIndex) { 
     488    return null; 
     489  } 
     490  /* @see MetadataRetrieve#getROIX0(int, int) */ 
     491  public Integer getROIX0(int imageIndex, int roiIndex) { 
     492    return null; 
     493  } 
     494  /* @see MetadataRetrieve#getROIY0(int, int) */ 
     495  public Integer getROIY0(int imageIndex, int roiIndex) { 
     496    return null; 
     497  } 
     498  /* @see MetadataRetrieve#getROIX1(int, int) */ 
     499  public Integer getROIX1(int imageIndex, int roiIndex) { 
     500    return null; 
     501  } 
     502  /* @see MetadataRetrieve#getROIY1(int, int) */ 
     503  public Integer getROIY1(int imageIndex, int roiIndex) { 
     504    return null; 
     505  } 
     506  /* @see MetadataRetrieve#getROIZ0(int, int) */ 
     507  public Integer getROIZ0(int imageIndex, int roiIndex) { 
     508    return null; 
     509  } 
     510  /* @see MetadataRetrieve#getROIZ1(int, int) */ 
     511  public Integer getROIZ1(int imageIndex, int roiIndex) { 
     512    return null; 
     513  } 
     514  /* @see MetadataRetrieve#getROIT0(int, int) */ 
     515  public Integer getROIT0(int imageIndex, int roiIndex) { 
     516    return null; 
     517  } 
     518  /* @see MetadataRetrieve#getROIT1(int, int) */ 
     519  public Integer getROIT1(int imageIndex, int roiIndex) { 
     520    return null; 
     521  } 
     522 
    403523  // - DetectorSettings property retrieval - 
    404524 
     
    431551  } 
    432552 
    433   // - ROI property retrieval - 
    434  
    435   /* @see MetadataRetrieve#getROIX0(int, int) */ 
    436   public Integer getROIX0(int imageIndex, int roiIndex) { 
    437     return null; 
    438   } 
    439   /* @see MetadataRetrieve#getROIY0(int, int) */ 
    440   public Integer getROIY0(int imageIndex, int roiIndex) { 
    441     return null; 
    442   } 
    443   /* @see MetadataRetrieve#getROIZ0(int, int) */ 
    444   public Integer getROIZ0(int imageIndex, int roiIndex) { 
    445     return null; 
    446   } 
    447   /* @see MetadataRetrieve#getROIT0(int, int) */ 
    448   public Integer getROIT0(int imageIndex, int roiIndex) { 
    449     return null; 
    450   } 
    451   /* @see MetadataRetrieve#getROIX1(int, int) */ 
    452   public Integer getROIX1(int imageIndex, int roiIndex) { 
    453     return null; 
    454   } 
    455   /* @see MetadataRetrieve#getROIY1(int, int) */ 
    456   public Integer getROIY1(int imageIndex, int roiIndex) { 
    457     return null; 
    458   } 
    459   /* @see MetadataRetrieve#getROIZ1(int, int) */ 
    460   public Integer getROIZ1(int imageIndex, int roiIndex) { 
    461     return null; 
    462   } 
    463   /* @see MetadataRetrieve#getROIT1(int, int) */ 
    464   public Integer getROIT1(int imageIndex, int roiIndex) { 
    465     return null; 
    466   } 
    467  
    468553  // - StageLabel property retrieval - 
    469554 
     
    487572  // - Instrument property retrieval - 
    488573 
     574  /* @see MetadataRetrieve#getInstrumentNodeID(int) */ 
     575  public String getInstrumentNodeID(int instrumentIndex) { 
     576    return null; 
     577  } 
     578 
    489579  // - LightSource property retrieval - 
    490580 
     581  /* @see MetadataRetrieve#getLightSourceNodeID(int, int) */ 
     582  public String getLightSourceNodeID(int instrumentIndex, int lightSourceIndex) { 
     583    return null; 
     584  } 
    491585  /* @see MetadataRetrieve#getLightSourceManufacturer(int, int) */ 
    492586  public String getLightSourceManufacturer(int instrumentIndex, int lightSourceIndex) { 
     
    557651  // - Detector property retrieval - 
    558652 
     653  /* @see MetadataRetrieve#getDetectorNodeID(int, int) */ 
     654  public String getDetectorNodeID(int instrumentIndex, int detectorIndex) { 
     655    return null; 
     656  } 
    559657  /* @see MetadataRetrieve#getDetectorManufacturer(int, int) */ 
    560658  public String getDetectorManufacturer(int instrumentIndex, int detectorIndex) { 
     
    588686  // - Objective property retrieval - 
    589687 
     688  /* @see MetadataRetrieve#getObjectiveNodeID(int, int) */ 
     689  public String getObjectiveNodeID(int instrumentIndex, int objectiveIndex) { 
     690    return null; 
     691  } 
    590692  /* @see MetadataRetrieve#getObjectiveManufacturer(int, int) */ 
    591693  public String getObjectiveManufacturer(int instrumentIndex, int objectiveIndex) { 
     
    627729  // - OTF property retrieval - 
    628730 
     731  /* @see MetadataRetrieve#getOTFNodeID(int, int) */ 
     732  public String getOTFNodeID(int instrumentIndex, int otfIndex) { 
     733    return null; 
     734  } 
    629735  /* @see MetadataRetrieve#getOTFSizeX(int, int) */ 
    630736  public Integer getOTFSizeX(int instrumentIndex, int otfIndex) { 
     
    650756  // - Experimenter property retrieval - 
    651757 
     758  /* @see MetadataRetrieve#getExperimenterNodeID(int) */ 
     759  public String getExperimenterNodeID(int experimenterIndex) { 
     760    return null; 
     761  } 
    652762  /* @see MetadataRetrieve#getExperimenterFirstName(int) */ 
    653763  public String getExperimenterFirstName(int experimenterIndex) { 
     
    683793  } 
    684794 
     795 
    685796  // - Image property storage - 
     797 
     798  /* @see MetadataStore#setImageNodeID(String, int) */ 
     799  public void setImageNodeID(String nodeID, int imageIndex) { 
     800  } 
    686801 
    687802  /* @see MetadataStore#setImageName(String, int) */ 
     
    699814  // - Pixels property storage - 
    700815 
     816  /* @see MetadataStore#setPixelsNodeID(String, int, int) */ 
     817  public void setPixelsNodeID(String nodeID, int imageIndex, int pixelsIndex) { 
     818  } 
     819 
    701820  /* @see MetadataStore#setPixelsSizeX(Integer, int, int) */ 
    702821  public void setPixelsSizeX(Integer sizeX, int imageIndex, int pixelsIndex) { 
     
    815934  // - LogicalChannel property storage - 
    816935 
     936  /* @see MetadataStore#setLogicalChannelNodeID(String, int, int) */ 
     937  public void setLogicalChannelNodeID(String nodeID, int imageIndex, int logicalChannelIndex) { 
     938  } 
     939 
    817940  /* @see MetadataStore#setLogicalChannelName(String, int, int) */ 
    818941  public void setLogicalChannelName(String name, int imageIndex, int logicalChannelIndex) { 
     
    863986  } 
    864987 
     988  // - ChannelComponent property storage - 
     989 
     990  /* @see MetadataStore#setChannelComponentIndex(Integer, int, int, int) */ 
     991  public void setChannelComponentIndex(Integer index, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     992  } 
     993 
     994  /* @see MetadataStore#setChannelComponentColorDomain(String, int, int, int) */ 
     995  public void setChannelComponentColorDomain(String colorDomain, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     996  } 
     997 
     998  // - DisplayOptions property storage - 
     999 
     1000  /* @see MetadataStore#setDisplayOptionsNodeID(String, int) */ 
     1001  public void setDisplayOptionsNodeID(String nodeID, int imageIndex) { 
     1002  } 
     1003 
     1004  /* @see MetadataStore#setDisplayOptionsZoom(Float, int) */ 
     1005  public void setDisplayOptionsZoom(Float zoom, int imageIndex) { 
     1006  } 
     1007 
     1008  // - DisplayOptionsProjection property storage - 
     1009 
     1010  /* @see MetadataStore#setDisplayOptionsProjectionZStart(Integer, int) */ 
     1011  public void setDisplayOptionsProjectionZStart(Integer zStart, int imageIndex) { 
     1012  } 
     1013 
     1014  /* @see MetadataStore#setDisplayOptionsProjectionZStop(Integer, int) */ 
     1015  public void setDisplayOptionsProjectionZStop(Integer zStop, int imageIndex) { 
     1016  } 
     1017 
     1018  // - DisplayOptionsTime property storage - 
     1019 
     1020  /* @see MetadataStore#setDisplayOptionsTimeTStart(Integer, int) */ 
     1021  public void setDisplayOptionsTimeTStart(Integer tStart, int imageIndex) { 
     1022  } 
     1023 
     1024  /* @see MetadataStore#setDisplayOptionsTimeTStop(Integer, int) */ 
     1025  public void setDisplayOptionsTimeTStop(Integer tStop, int imageIndex) { 
     1026  } 
     1027 
     1028  // - ROI property storage - 
     1029 
     1030  /* @see MetadataStore#setROINodeID(String, int, int) */ 
     1031  public void setROINodeID(String nodeID, int imageIndex, int roiIndex) { 
     1032  } 
     1033 
     1034  /* @see MetadataStore#setROIX0(Integer, int, int) */ 
     1035  public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
     1036  } 
     1037 
     1038  /* @see MetadataStore#setROIY0(Integer, int, int) */ 
     1039  public void setROIY0(Integer y0, int imageIndex, int roiIndex) { 
     1040  } 
     1041 
     1042  /* @see MetadataStore#setROIX1(Integer, int, int) */ 
     1043  public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
     1044  } 
     1045 
     1046  /* @see MetadataStore#setROIY1(Integer, int, int) */ 
     1047  public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
     1048  } 
     1049 
     1050  /* @see MetadataStore#setROIZ0(Integer, int, int) */ 
     1051  public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
     1052  } 
     1053 
     1054  /* @see MetadataStore#setROIZ1(Integer, int, int) */ 
     1055  public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
     1056  } 
     1057 
     1058  /* @see MetadataStore#setROIT0(Integer, int, int) */ 
     1059  public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
     1060  } 
     1061 
     1062  /* @see MetadataStore#setROIT1(Integer, int, int) */ 
     1063  public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
     1064  } 
     1065 
    8651066  // - DetectorSettings property storage - 
    8661067 
     
    8911092  } 
    8921093 
    893   // - ROI property storage - 
    894  
    895   /* @see MetadataStore#setROIX0(Integer, int, int) */ 
    896   public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
    897   } 
    898  
    899   /* @see MetadataStore#setROIY0(Integer, int, int) */ 
    900   public void setROIY0(Integer y0, int imageIndex, int roiIndex) { 
    901   } 
    902  
    903   /* @see MetadataStore#setROIZ0(Integer, int, int) */ 
    904   public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
    905   } 
    906  
    907   /* @see MetadataStore#setROIT0(Integer, int, int) */ 
    908   public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
    909   } 
    910  
    911   /* @see MetadataStore#setROIX1(Integer, int, int) */ 
    912   public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
    913   } 
    914  
    915   /* @see MetadataStore#setROIY1(Integer, int, int) */ 
    916   public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
    917   } 
    918  
    919   /* @see MetadataStore#setROIZ1(Integer, int, int) */ 
    920   public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
    921   } 
    922  
    923   /* @see MetadataStore#setROIT1(Integer, int, int) */ 
    924   public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
    925   } 
    926  
    9271094  // - StageLabel property storage - 
    9281095 
     
    9451112  // - Instrument property storage - 
    9461113 
     1114  /* @see MetadataStore#setInstrumentNodeID(String, int) */ 
     1115  public void setInstrumentNodeID(String nodeID, int instrumentIndex) { 
     1116  } 
     1117 
    9471118  // - LightSource property storage - 
     1119 
     1120  /* @see MetadataStore#setLightSourceNodeID(String, int, int) */ 
     1121  public void setLightSourceNodeID(String nodeID, int instrumentIndex, int lightSourceIndex) { 
     1122  } 
    9481123 
    9491124  /* @see MetadataStore#setLightSourceManufacturer(String, int, int) */ 
     
    10111186  // - Detector property storage - 
    10121187 
     1188  /* @see MetadataStore#setDetectorNodeID(String, int, int) */ 
     1189  public void setDetectorNodeID(String nodeID, int instrumentIndex, int detectorIndex) { 
     1190  } 
     1191 
    10131192  /* @see MetadataStore#setDetectorManufacturer(String, int, int) */ 
    10141193  public void setDetectorManufacturer(String manufacturer, int instrumentIndex, int detectorIndex) { 
     
    10411220  // - Objective property storage - 
    10421221 
     1222  /* @see MetadataStore#setObjectiveNodeID(String, int, int) */ 
     1223  public void setObjectiveNodeID(String nodeID, int instrumentIndex, int objectiveIndex) { 
     1224  } 
     1225 
    10431226  /* @see MetadataStore#setObjectiveManufacturer(String, int, int) */ 
    10441227  public void setObjectiveManufacturer(String manufacturer, int instrumentIndex, int objectiveIndex) { 
     
    10791262  // - OTF property storage - 
    10801263 
     1264  /* @see MetadataStore#setOTFNodeID(String, int, int) */ 
     1265  public void setOTFNodeID(String nodeID, int instrumentIndex, int otfIndex) { 
     1266  } 
     1267 
    10811268  /* @see MetadataStore#setOTFSizeX(Integer, int, int) */ 
    10821269  public void setOTFSizeX(Integer sizeX, int instrumentIndex, int otfIndex) { 
     
    11011288  // - Experimenter property storage - 
    11021289 
     1290  /* @see MetadataStore#setExperimenterNodeID(String, int) */ 
     1291  public void setExperimenterNodeID(String nodeID, int experimenterIndex) { 
     1292  } 
     1293 
    11031294  /* @see MetadataStore#setExperimenterFirstName(String, int) */ 
    11041295  public void setExperimenterFirstName(String firstName, int experimenterIndex) { 
  • trunk/loci/formats/meta/FilterMetadata.java

    r3737 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by melissa via MetadataAutogen on Feb 7, 2008 9:37:02 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    7373  } 
    7474 
     75 
    7576  // -- Image property storage - 
     77 
     78  /* @see MetadataStore#setImageNodeID(String, int) */ 
     79  public void setImageNodeID(String nodeID, int imageIndex) { 
     80    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     81    delegate.setImageNodeID(temp, imageIndex); 
     82  } 
    7683 
    7784  /* @see MetadataStore#setImageName(String, int) */ 
     
    95102  // -- Pixels property storage - 
    96103 
     104  /* @see MetadataStore#setPixelsNodeID(String, int, int) */ 
     105  public void setPixelsNodeID(String nodeID, int imageIndex, int pixelsIndex) { 
     106    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     107    delegate.setPixelsNodeID(temp, imageIndex, pixelsIndex); 
     108  } 
     109 
    97110  /* @see MetadataStore#setPixelsSizeX(Integer, int, int) */ 
    98111  public void setPixelsSizeX(Integer sizeX, int imageIndex, int pixelsIndex) { 
     
    239252  // -- LogicalChannel property storage - 
    240253 
     254  /* @see MetadataStore#setLogicalChannelNodeID(String, int, int) */ 
     255  public void setLogicalChannelNodeID(String nodeID, int imageIndex, int logicalChannelIndex) { 
     256    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     257    delegate.setLogicalChannelNodeID(temp, imageIndex, logicalChannelIndex); 
     258  } 
     259 
    241260  /* @see MetadataStore#setLogicalChannelName(String, int, int) */ 
    242261  public void setLogicalChannelName(String name, int imageIndex, int logicalChannelIndex) { 
     
    305324  } 
    306325 
     326  // -- ChannelComponent property storage - 
     327 
     328  /* @see MetadataStore#setChannelComponentIndex(Integer, int, int, int) */ 
     329  public void setChannelComponentIndex(Integer index, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     330    delegate.setChannelComponentIndex(index, imageIndex, logicalChannelIndex, channelComponentIndex); 
     331  } 
     332 
     333  /* @see MetadataStore#setChannelComponentColorDomain(String, int, int, int) */ 
     334  public void setChannelComponentColorDomain(String colorDomain, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     335    String temp = filter ? DataTools.sanitize(colorDomain) : colorDomain; 
     336    delegate.setChannelComponentColorDomain(temp, imageIndex, logicalChannelIndex, channelComponentIndex); 
     337  } 
     338 
     339  // -- DisplayOptions property storage - 
     340 
     341  /* @see MetadataStore#setDisplayOptionsNodeID(String, int) */ 
     342  public void setDisplayOptionsNodeID(String nodeID, int imageIndex) { 
     343    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     344    delegate.setDisplayOptionsNodeID(temp, imageIndex); 
     345  } 
     346 
     347  /* @see MetadataStore#setDisplayOptionsZoom(Float, int) */ 
     348  public void setDisplayOptionsZoom(Float zoom, int imageIndex) { 
     349    delegate.setDisplayOptionsZoom(zoom, imageIndex); 
     350  } 
     351 
     352  // -- DisplayOptionsProjection property storage - 
     353 
     354  /* @see MetadataStore#setDisplayOptionsProjectionZStart(Integer, int) */ 
     355  public void setDisplayOptionsProjectionZStart(Integer zStart, int imageIndex) { 
     356    delegate.setDisplayOptionsProjectionZStart(zStart, imageIndex); 
     357  } 
     358 
     359  /* @see MetadataStore#setDisplayOptionsProjectionZStop(Integer, int) */ 
     360  public void setDisplayOptionsProjectionZStop(Integer zStop, int imageIndex) { 
     361    delegate.setDisplayOptionsProjectionZStop(zStop, imageIndex); 
     362  } 
     363 
     364  // -- DisplayOptionsTime property storage - 
     365 
     366  /* @see MetadataStore#setDisplayOptionsTimeTStart(Integer, int) */ 
     367  public void setDisplayOptionsTimeTStart(Integer tStart, int imageIndex) { 
     368    delegate.setDisplayOptionsTimeTStart(tStart, imageIndex); 
     369  } 
     370 
     371  /* @see MetadataStore#setDisplayOptionsTimeTStop(Integer, int) */ 
     372  public void setDisplayOptionsTimeTStop(Integer tStop, int imageIndex) { 
     373    delegate.setDisplayOptionsTimeTStop(tStop, imageIndex); 
     374  } 
     375 
     376  // -- ROI property storage - 
     377 
     378  /* @see MetadataStore#setROINodeID(String, int, int) */ 
     379  public void setROINodeID(String nodeID, int imageIndex, int roiIndex) { 
     380    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     381    delegate.setROINodeID(temp, imageIndex, roiIndex); 
     382  } 
     383 
     384  /* @see MetadataStore#setROIX0(Integer, int, int) */ 
     385  public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
     386    delegate.setROIX0(x0, imageIndex, roiIndex); 
     387  } 
     388 
     389  /* @see MetadataStore#setROIY0(Integer, int, int) */ 
     390  public void setROIY0(Integer y0, int imageIndex, int roiIndex) { 
     391    delegate.setROIY0(y0, imageIndex, roiIndex); 
     392  } 
     393 
     394  /* @see MetadataStore#setROIX1(Integer, int, int) */ 
     395  public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
     396    delegate.setROIX1(x1, imageIndex, roiIndex); 
     397  } 
     398 
     399  /* @see MetadataStore#setROIY1(Integer, int, int) */ 
     400  public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
     401    delegate.setROIY1(y1, imageIndex, roiIndex); 
     402  } 
     403 
     404  /* @see MetadataStore#setROIZ0(Integer, int, int) */ 
     405  public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
     406    delegate.setROIZ0(z0, imageIndex, roiIndex); 
     407  } 
     408 
     409  /* @see MetadataStore#setROIZ1(Integer, int, int) */ 
     410  public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
     411    delegate.setROIZ1(z1, imageIndex, roiIndex); 
     412  } 
     413 
     414  /* @see MetadataStore#setROIT0(Integer, int, int) */ 
     415  public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
     416    delegate.setROIT0(t0, imageIndex, roiIndex); 
     417  } 
     418 
     419  /* @see MetadataStore#setROIT1(Integer, int, int) */ 
     420  public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
     421    delegate.setROIT1(t1, imageIndex, roiIndex); 
     422  } 
     423 
    307424  // -- DetectorSettings property storage - 
    308425 
     
    337454  public void setLightSourceSettingsWavelength(Integer wavelength, int imageIndex, int logicalChannelIndex) { 
    338455    delegate.setLightSourceSettingsWavelength(wavelength, imageIndex, logicalChannelIndex); 
    339   } 
    340  
    341   // -- ROI property storage - 
    342  
    343   /* @see MetadataStore#setROIX0(Integer, int, int) */ 
    344   public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
    345     delegate.setROIX0(x0, imageIndex, roiIndex); 
    346   } 
    347  
    348   /* @see MetadataStore#setROIY0(Integer, int, int) */ 
    349   public void setROIY0(Integer y0, int imageIndex, int roiIndex) { 
    350     delegate.setROIY0(y0, imageIndex, roiIndex); 
    351   } 
    352  
    353   /* @see MetadataStore#setROIZ0(Integer, int, int) */ 
    354   public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
    355     delegate.setROIZ0(z0, imageIndex, roiIndex); 
    356   } 
    357  
    358   /* @see MetadataStore#setROIT0(Integer, int, int) */ 
    359   public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
    360     delegate.setROIT0(t0, imageIndex, roiIndex); 
    361   } 
    362  
    363   /* @see MetadataStore#setROIX1(Integer, int, int) */ 
    364   public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
    365     delegate.setROIX1(x1, imageIndex, roiIndex); 
    366   } 
    367  
    368   /* @see MetadataStore#setROIY1(Integer, int, int) */ 
    369   public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
    370     delegate.setROIY1(y1, imageIndex, roiIndex); 
    371   } 
    372  
    373   /* @see MetadataStore#setROIZ1(Integer, int, int) */ 
    374   public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
    375     delegate.setROIZ1(z1, imageIndex, roiIndex); 
    376   } 
    377  
    378   /* @see MetadataStore#setROIT1(Integer, int, int) */ 
    379   public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
    380     delegate.setROIT1(t1, imageIndex, roiIndex); 
    381456  } 
    382457 
     
    406481  // -- Instrument property storage - 
    407482 
     483  /* @see MetadataStore#setInstrumentNodeID(String, int) */ 
     484  public void setInstrumentNodeID(String nodeID, int instrumentIndex) { 
     485    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     486    delegate.setInstrumentNodeID(temp, instrumentIndex); 
     487  } 
     488 
    408489  // -- LightSource property storage - 
     490 
     491  /* @see MetadataStore#setLightSourceNodeID(String, int, int) */ 
     492  public void setLightSourceNodeID(String nodeID, int instrumentIndex, int lightSourceIndex) { 
     493    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     494    delegate.setLightSourceNodeID(temp, instrumentIndex, lightSourceIndex); 
     495  } 
    409496 
    410497  /* @see MetadataStore#setLightSourceManufacturer(String, int, int) */ 
     
    494581  // -- Detector property storage - 
    495582 
     583  /* @see MetadataStore#setDetectorNodeID(String, int, int) */ 
     584  public void setDetectorNodeID(String nodeID, int instrumentIndex, int detectorIndex) { 
     585    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     586    delegate.setDetectorNodeID(temp, instrumentIndex, detectorIndex); 
     587  } 
     588 
    496589  /* @see MetadataStore#setDetectorManufacturer(String, int, int) */ 
    497590  public void setDetectorManufacturer(String manufacturer, int instrumentIndex, int detectorIndex) { 
     
    535628  // -- Objective property storage - 
    536629 
     630  /* @see MetadataStore#setObjectiveNodeID(String, int, int) */ 
     631  public void setObjectiveNodeID(String nodeID, int instrumentIndex, int objectiveIndex) { 
     632    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     633    delegate.setObjectiveNodeID(temp, instrumentIndex, objectiveIndex); 
     634  } 
     635 
    537636  /* @see MetadataStore#setObjectiveManufacturer(String, int, int) */ 
    538637  public void setObjectiveManufacturer(String manufacturer, int instrumentIndex, int objectiveIndex) { 
     
    587686  // -- OTF property storage - 
    588687 
     688  /* @see MetadataStore#setOTFNodeID(String, int, int) */ 
     689  public void setOTFNodeID(String nodeID, int instrumentIndex, int otfIndex) { 
     690    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     691    delegate.setOTFNodeID(temp, instrumentIndex, otfIndex); 
     692  } 
     693 
    589694  /* @see MetadataStore#setOTFSizeX(Integer, int, int) */ 
    590695  public void setOTFSizeX(Integer sizeX, int instrumentIndex, int otfIndex) { 
     
    616721  // -- Experimenter property storage - 
    617722 
     723  /* @see MetadataStore#setExperimenterNodeID(String, int) */ 
     724  public void setExperimenterNodeID(String nodeID, int experimenterIndex) { 
     725    String temp = filter ? DataTools.sanitize(nodeID) : nodeID; 
     726    delegate.setExperimenterNodeID(temp, experimenterIndex); 
     727  } 
     728 
    618729  /* @see MetadataStore#setExperimenterFirstName(String, int) */ 
    619730  public void setExperimenterFirstName(String firstName, int experimenterIndex) { 
  • trunk/loci/formats/meta/MetadataConverter.java

    r3737 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by curtis via MetadataAutogen on Feb 4, 2008 10:43:20 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    5454 
    5555  // -- MetadataConverter API methods -- 
    56  
     56  
    5757  /** 
    5858   * Copies information from a metadata retrieval object 
     
    6262    int experimenterCount = src.getExperimenterCount(); 
    6363    for (int experimenterIndex=0; experimenterIndex<experimenterCount; experimenterIndex++) { 
     64      dest.setExperimenterNodeID(src.getExperimenterNodeID(experimenterIndex), experimenterIndex); 
    6465      dest.setExperimenterFirstName(src.getExperimenterFirstName(experimenterIndex), experimenterIndex); 
    6566      dest.setExperimenterLastName(src.getExperimenterLastName(experimenterIndex), experimenterIndex); 
     
    7071    int imageCount = src.getImageCount(); 
    7172    for (int imageIndex=0; imageIndex<imageCount; imageIndex++) { 
     73      dest.setImageNodeID(src.getImageNodeID(imageIndex), imageIndex); 
    7274      dest.setImageName(src.getImageName(imageIndex), imageIndex); 
    7375      dest.setImageCreationDate(src.getImageCreationDate(imageIndex), imageIndex); 
     
    7779      dest.setImagingEnvironmentHumidity(src.getImagingEnvironmentHumidity(imageIndex), imageIndex); 
    7880      dest.setImagingEnvironmentCO2Percent(src.getImagingEnvironmentCO2Percent(imageIndex), imageIndex); 
     81      dest.setDisplayOptionsNodeID(src.getDisplayOptionsNodeID(imageIndex), imageIndex); 
     82      dest.setDisplayOptionsZoom(src.getDisplayOptionsZoom(imageIndex), imageIndex); 
     83      dest.setDisplayOptionsProjectionZStart(src.getDisplayOptionsProjectionZStart(imageIndex), imageIndex); 
     84      dest.setDisplayOptionsProjectionZStop(src.getDisplayOptionsProjectionZStop(imageIndex), imageIndex); 
     85      dest.setDisplayOptionsTimeTStart(src.getDisplayOptionsTimeTStart(imageIndex), imageIndex); 
     86      dest.setDisplayOptionsTimeTStop(src.getDisplayOptionsTimeTStop(imageIndex), imageIndex); 
    7987      dest.setStageLabelName(src.getStageLabelName(imageIndex), imageIndex); 
    8088      dest.setStageLabelX(src.getStageLabelX(imageIndex), imageIndex); 
     
    8391      int logicalChannelCount = src.getLogicalChannelCount(imageIndex); 
    8492      for (int logicalChannelIndex=0; logicalChannelIndex<logicalChannelCount; logicalChannelIndex++) { 
     93        dest.setLogicalChannelNodeID(src.getLogicalChannelNodeID(imageIndex, logicalChannelIndex), imageIndex, logicalChannelIndex); 
    8594        dest.setLogicalChannelName(src.getLogicalChannelName(imageIndex, logicalChannelIndex), imageIndex, logicalChannelIndex); 
    8695        dest.setLogicalChannelSamplesPerPixel(src.getLogicalChannelSamplesPerPixel(imageIndex, logicalChannelIndex), imageIndex, logicalChannelIndex); 
     
    101110        dest.setLightSourceSettingsAttenuation(src.getLightSourceSettingsAttenuation(imageIndex, logicalChannelIndex), imageIndex, logicalChannelIndex); 
    102111        dest.setLightSourceSettingsWavelength(src.getLightSourceSettingsWavelength(imageIndex, logicalChannelIndex), imageIndex, logicalChannelIndex); 
     112        int channelComponentCount = src.getChannelComponentCount(imageIndex, logicalChannelIndex); 
     113        for (int channelComponentIndex=0; channelComponentIndex<channelComponentCount; channelComponentIndex++) { 
     114          dest.setChannelComponentIndex(src.getChannelComponentIndex(imageIndex, logicalChannelIndex, channelComponentIndex), imageIndex, logicalChannelIndex, channelComponentIndex); 
     115          dest.setChannelComponentColorDomain(src.getChannelComponentColorDomain(imageIndex, logicalChannelIndex, channelComponentIndex), imageIndex, logicalChannelIndex, channelComponentIndex); 
     116        } 
    103117      } 
    104118      int pixelsCount = src.getPixelsCount(imageIndex); 
    105119      for (int pixelsIndex=0; pixelsIndex<pixelsCount; pixelsIndex++) { 
     120        dest.setPixelsNodeID(src.getPixelsNodeID(imageIndex, pixelsIndex), imageIndex, pixelsIndex); 
    106121        dest.setPixelsSizeX(src.getPixelsSizeX(imageIndex, pixelsIndex), imageIndex, pixelsIndex); 
    107122        dest.setPixelsSizeY(src.getPixelsSizeY(imageIndex, pixelsIndex), imageIndex, pixelsIndex); 
     
    132147      int roiCount = src.getROICount(imageIndex); 
    133148      for (int roiIndex=0; roiIndex<roiCount; roiIndex++) { 
     149        dest.setROINodeID(src.getROINodeID(imageIndex, roiIndex), imageIndex, roiIndex); 
    134150        dest.setROIX0(src.getROIX0(imageIndex, roiIndex), imageIndex, roiIndex); 
    135151        dest.setROIY0(src.getROIY0(imageIndex, roiIndex), imageIndex, roiIndex); 
    136         dest.setROIZ0(src.getROIZ0(imageIndex, roiIndex), imageIndex, roiIndex); 
    137         dest.setROIT0(src.getROIT0(imageIndex, roiIndex), imageIndex, roiIndex); 
    138152        dest.setROIX1(src.getROIX1(imageIndex, roiIndex), imageIndex, roiIndex); 
    139153        dest.setROIY1(src.getROIY1(imageIndex, roiIndex), imageIndex, roiIndex); 
     154        dest.setROIZ0(src.getROIZ0(imageIndex, roiIndex), imageIndex, roiIndex); 
    140155        dest.setROIZ1(src.getROIZ1(imageIndex, roiIndex), imageIndex, roiIndex); 
     156        dest.setROIT0(src.getROIT0(imageIndex, roiIndex), imageIndex, roiIndex); 
    141157        dest.setROIT1(src.getROIT1(imageIndex, roiIndex), imageIndex, roiIndex); 
    142158      } 
     
    144160    int instrumentCount = src.getInstrumentCount(); 
    145161    for (int instrumentIndex=0; instrumentIndex<instrumentCount; instrumentIndex++) { 
     162      dest.setInstrumentNodeID(src.getInstrumentNodeID(instrumentIndex), instrumentIndex); 
    146163      int detectorCount = src.getDetectorCount(instrumentIndex); 
    147164      for (int detectorIndex=0; detectorIndex<detectorCount; detectorIndex++) { 
     165        dest.setDetectorNodeID(src.getDetectorNodeID(instrumentIndex, detectorIndex), instrumentIndex, detectorIndex); 
    148166        dest.setDetectorManufacturer(src.getDetectorManufacturer(instrumentIndex, detectorIndex), instrumentIndex, detectorIndex); 
    149167        dest.setDetectorModel(src.getDetectorModel(instrumentIndex, detectorIndex), instrumentIndex, detectorIndex); 
     
    156174      int lightSourceCount = src.getLightSourceCount(instrumentIndex); 
    157175      for (int lightSourceIndex=0; lightSourceIndex<lightSourceCount; lightSourceIndex++) { 
     176        dest.setLightSourceNodeID(src.getLightSourceNodeID(instrumentIndex, lightSourceIndex), instrumentIndex, lightSourceIndex); 
    158177        dest.setLightSourceManufacturer(src.getLightSourceManufacturer(instrumentIndex, lightSourceIndex), instrumentIndex, lightSourceIndex); 
    159178        dest.setLightSourceModel(src.getLightSourceModel(instrumentIndex, lightSourceIndex), instrumentIndex, lightSourceIndex); 
     
    173192      int otfCount = src.getOTFCount(instrumentIndex); 
    174193      for (int otfIndex=0; otfIndex<otfCount; otfIndex++) { 
     194        dest.setOTFNodeID(src.getOTFNodeID(instrumentIndex, otfIndex), instrumentIndex, otfIndex); 
    175195        dest.setOTFSizeX(src.getOTFSizeX(instrumentIndex, otfIndex), instrumentIndex, otfIndex); 
    176196        dest.setOTFSizeY(src.getOTFSizeY(instrumentIndex, otfIndex), instrumentIndex, otfIndex); 
     
    181201      int objectiveCount = src.getObjectiveCount(instrumentIndex); 
    182202      for (int objectiveIndex=0; objectiveIndex<objectiveCount; objectiveIndex++) { 
     203        dest.setObjectiveNodeID(src.getObjectiveNodeID(instrumentIndex, objectiveIndex), instrumentIndex, objectiveIndex); 
    183204        dest.setObjectiveManufacturer(src.getObjectiveManufacturer(instrumentIndex, objectiveIndex), instrumentIndex, objectiveIndex); 
    184205        dest.setObjectiveModel(src.getObjectiveModel(instrumentIndex, objectiveIndex), instrumentIndex, objectiveIndex); 
  • trunk/loci/formats/meta/MetadataRetrieve.java

    r3605 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by curtis via MetadataAutogen on Feb 4, 2008 10:43:20 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    5555  int getLogicalChannelCount(int imageIndex); 
    5656 
     57  int getChannelComponentCount(int imageIndex, int logicalChannelIndex); 
     58 
    5759  int getROICount(int imageIndex); 
    5860 
     
    112114 
    113115  /** 
     116   * Gets an object representing a particular ChannelComponent, for use with certain methods of {@link MetadataStore}. 
     117   */ 
     118  Object getChannelComponent(int imageIndex, int logicalChannelIndex, int channelComponentIndex); 
     119 
     120  /** 
     121   * Gets an object representing a particular DisplayOptions, for use with certain methods of {@link MetadataStore}. 
     122   */ 
     123  Object getDisplayOptions(int imageIndex); 
     124 
     125  /** 
     126   * Gets an object representing a particular DisplayOptionsProjection, for use with certain methods of {@link MetadataStore}. 
     127   */ 
     128  Object getDisplayOptionsProjection(int imageIndex); 
     129 
     130  /** 
     131   * Gets an object representing a particular DisplayOptionsTime, for use with certain methods of {@link MetadataStore}. 
     132   */ 
     133  Object getDisplayOptionsTime(int imageIndex); 
     134 
     135  /** 
     136   * Gets an object representing a particular ROI, for use with certain methods of {@link MetadataStore}. 
     137   */ 
     138  Object getROI(int imageIndex, int roiIndex); 
     139 
     140  /** 
    114141   * Gets an object representing a particular DetectorSettings, for use with certain methods of {@link MetadataStore}. 
    115142   */ 
     
    122149 
    123150  /** 
    124    * Gets an object representing a particular ROI, for use with certain methods of {@link MetadataStore}. 
    125    */ 
    126   Object getROI(int imageIndex, int roiIndex); 
    127  
    128   /** 
    129151   * Gets an object representing a particular StageLabel, for use with certain methods of {@link MetadataStore}. 
    130152   */ 
     
    179201 
    180202  /** 
     203   * Gets TODO for a particular Image object. 
     204   * @param imageIndex index of the Image 
     205   */ 
     206  String getImageNodeID(int imageIndex); 
     207 
     208  /** 
    181209   * Gets the full name of the image for a particular Image object. 
    182210   * @param imageIndex index of the Image 
     
    199227 
    200228  /** 
     229   * Gets TODO for a particular Pixels object. 
     230   * @param imageIndex index of the Image 
     231   * @param pixelsIndex index of the Pixels 
     232   */ 
     233  String getPixelsNodeID(int imageIndex, int pixelsIndex); 
     234 
     235  /** 
    201236   * Gets size of an individual plane or section's X axis (width) for a particular Pixels object. 
    202237   * @param imageIndex index of the Image 
     
    301336 
    302337  /** 
    303    * Gets CTR TODO for a particular ImagingEnvironment object. 
     338   * Gets TODO for a particular ImagingEnvironment object. 
    304339   * @param imageIndex index of the Image 
    305340   */ 
     
    307342 
    308343  /** 
    309    * Gets CTR TODO for a particular ImagingEnvironment object. 
     344   * Gets TODO for a particular ImagingEnvironment object. 
    310345   * @param imageIndex index of the Image 
    311346   */ 
     
    313348 
    314349  /** 
    315    * Gets CTR TODO for a particular ImagingEnvironment object. 
     350   * Gets TODO for a particular ImagingEnvironment object. 
    316351   * @param imageIndex index of the Image 
    317352   */ 
     
    319354 
    320355  /** 
    321    * Gets CTR TODO for a particular ImagingEnvironment object. 
     356   * Gets TODO for a particular ImagingEnvironment object. 
    322357   * @param imageIndex index of the Image 
    323358   */ 
     
    397432 
    398433  /** 
     434   * Gets TODO for a particular LogicalChannel object. 
     435   * @param imageIndex index of the Image 
     436   * @param logicalChannelIndex index of the LogicalChannel 
     437   */ 
     438  String getLogicalChannelNodeID(int imageIndex, int logicalChannelIndex); 
     439 
     440  /** 
    399441   * Gets the logical channel's name for a particular LogicalChannel object. 
    400442   * @param imageIndex index of the Image 
     
    404446 
    405447  /** 
    406    * Gets CTR TODO for a particular LogicalChannel object. 
     448   * Gets TODO for a particular LogicalChannel object. 
    407449   * @param imageIndex index of the Image 
    408450   * @param logicalChannelIndex index of the LogicalChannel 
     
    474516 
    475517  /** 
    476    * Gets CTR TODO for a particular LogicalChannel object. 
     518   * Gets TODO for a particular LogicalChannel object. 
    477519   * @param imageIndex index of the Image 
    478520   * @param logicalChannelIndex index of the LogicalChannel 
     
    480522  Integer getLogicalChannelPockelCellSetting(int imageIndex, int logicalChannelIndex); 
    481523 
     524  // - ChannelComponent property retrieval - 
     525 
     526  /** 
     527   * Gets the index into the channel dimension of the 5-D pixel array for a particular ChannelComponent object. 
     528   * @param imageIndex index of the Image 
     529   * @param logicalChannelIndex index of the LogicalChannel 
     530   * @param channelComponentIndex index of the ChannelComponent 
     531   */ 
     532  Integer getChannelComponentIndex(int imageIndex, int logicalChannelIndex, int channelComponentIndex); 
     533 
     534  /** 
     535   * Gets which color channel this ChannelComponent belongs to (for example, 'R' for an 'RGB' PhotometricInterpretation) for a particular ChannelComponent object. 
     536   * @param imageIndex index of the Image 
     537   * @param logicalChannelIndex index of the LogicalChannel 
     538   * @param channelComponentIndex index of the ChannelComponent 
     539   */ 
     540  String getChannelComponentColorDomain(int imageIndex, int logicalChannelIndex, int channelComponentIndex); 
     541 
     542  // - DisplayOptions property retrieval - 
     543 
     544  /** 
     545   * Gets TODO for a particular DisplayOptions object. 
     546   * @param imageIndex index of the Image 
     547   */ 
     548  String getDisplayOptionsNodeID(int imageIndex); 
     549 
     550  /** 
     551   * Gets zoom factor for use in the display (NOT THE LENS ZOOM) for a particular DisplayOptions object. 
     552   * @param imageIndex index of the Image 
     553   */ 
     554  Float getDisplayOptionsZoom(int imageIndex); 
     555 
     556  // - DisplayOptionsProjection property retrieval - 
     557 
     558  /** 
     559   * Gets the first focal plane to include in the maximum intensity projection for a particular DisplayOptionsProjection object. 
     560   * @param imageIndex index of the Image 
     561   */ 
     562  Integer getDisplayOptionsProjectionZStart(int imageIndex); 
     563 
     564  /** 
     565   * Gets the last focal plane to include in the maximum intensity projection for a particular DisplayOptionsProjection object. 
     566   * @param imageIndex index of the Image 
     567   */ 
     568  Integer getDisplayOptionsProjectionZStop(int imageIndex); 
     569 
     570  // - DisplayOptionsTime property retrieval - 
     571 
     572  /** 
     573   * Gets the first time point to include in the animation for a particular DisplayOptionsTime object. 
     574   * @param imageIndex index of the Image 
     575   */ 
     576  Integer getDisplayOptionsTimeTStart(int imageIndex); 
     577 
     578  /** 
     579   * Gets the last time point to include in the animation for a particular DisplayOptionsTime object. 
     580   * @param imageIndex index of the Image 
     581   */ 
     582  Integer getDisplayOptionsTimeTStop(int imageIndex); 
     583 
     584  // - ROI property retrieval - 
     585 
     586  /** 
     587   * Gets TODO for a particular ROI object. 
     588   * @param imageIndex index of the Image 
     589   * @param roiIndex index of the ROI 
     590   */ 
     591  String getROINodeID(int imageIndex, int roiIndex); 
     592 
     593  /** 
     594   * Gets the starting X coordinate for a particular ROI object. 
     595   * @param imageIndex index of the Image 
     596   * @param roiIndex index of the ROI 
     597   */ 
     598  Integer getROIX0(int imageIndex, int roiIndex); 
     599 
     600  /** 
     601   * Gets the starting Y coordinate for a particular ROI object. 
     602   * @param imageIndex index of the Image 
     603   * @param roiIndex index of the ROI 
     604   */ 
     605  Integer getROIY0(int imageIndex, int roiIndex); 
     606 
     607  /** 
     608   * Gets the ending X coordinate for a particular ROI object. 
     609   * @param imageIndex index of the Image 
     610   * @param roiIndex index of the ROI 
     611   */ 
     612  Integer getROIX1(int imageIndex, int roiIndex); 
     613 
     614  /** 
     615   * Gets the ending Y coordinate for a particular ROI object. 
     616   * @param imageIndex index of the Image 
     617   * @param roiIndex index of the ROI 
     618   */ 
     619  Integer getROIY1(int imageIndex, int roiIndex); 
     620 
     621  /** 
     622   * Gets the starting Z coordinate for a particular ROI object. 
     623   * @param imageIndex index of the Image 
     624   * @param roiIndex index of the ROI 
     625   */ 
     626  Integer getROIZ0(int imageIndex, int roiIndex); 
     627 
     628  /** 
     629   * Gets the ending Z coordinate for a particular ROI object. 
     630   * @param imageIndex index of the Image 
     631   * @param roiIndex index of the ROI 
     632   */ 
     633  Integer getROIZ1(int imageIndex, int roiIndex); 
     634 
     635  /** 
     636   * Gets the starting timepoint for a particular ROI object. 
     637   * @param imageIndex index of the Image 
     638   * @param roiIndex index of the ROI 
     639   */ 
     640  Integer getROIT0(int imageIndex, int roiIndex); 
     641 
     642  /** 
     643   * Gets the ending timepoint for a particular ROI object. 
     644   * @param imageIndex index of the Image 
     645   * @param roiIndex index of the ROI 
     646   */ 
     647  Integer getROIT1(int imageIndex, int roiIndex); 
     648 
    482649  // - DetectorSettings property retrieval - 
    483650 
     
    526693  Integer getLightSourceSettingsWavelength(int imageIndex, int logicalChannelIndex); 
    527694 
    528   // - ROI property retrieval - 
    529  
    530   /** 
    531    * Gets the starting X coordinate for a particular ROI object. 
    532    * @param imageIndex index of the Image 
    533    * @param roiIndex index of the ROI 
    534    */ 
    535   Integer getROIX0(int imageIndex, int roiIndex); 
    536  
    537   /** 
    538    * Gets the starting Y coordinate for a particular ROI object. 
    539    * @param imageIndex index of the Image 
    540    * @param roiIndex index of the ROI 
    541    */ 
    542   Integer getROIY0(int imageIndex, int roiIndex); 
    543  
    544   /** 
    545    * Gets the starting Z coordinate for a particular ROI object. 
    546    * @param imageIndex index of the Image 
    547    * @param roiIndex index of the ROI 
    548    */ 
    549   Integer getROIZ0(int imageIndex, int roiIndex); 
    550  
    551   /** 
    552    * Gets the starting timepoint for a particular ROI object. 
    553    * @param imageIndex index of the Image 
    554    * @param roiIndex index of the ROI 
    555    */ 
    556   Integer getROIT0(int imageIndex, int roiIndex); 
    557  
    558   /** 
    559    * Gets the ending X coordinate for a particular ROI object. 
    560    * @param imageIndex index of the Image 
    561    * @param roiIndex index of the ROI 
    562    */ 
    563   Integer getROIX1(int imageIndex, int roiIndex); 
    564  
    565   /** 
    566    * Gets the ending Y coordinate for a particular ROI object. 
    567    * @param imageIndex index of the Image 
    568    * @param roiIndex index of the ROI 
    569    */ 
    570   Integer getROIY1(int imageIndex, int roiIndex); 
    571  
    572   /** 
    573    * Gets the ending Z coordinate for a particular ROI object. 
    574    * @param imageIndex index of the Image 
    575    * @param roiIndex index of the ROI 
    576    */ 
    577   Integer getROIZ1(int imageIndex, int roiIndex); 
    578  
    579   /** 
    580    * Gets the ending timepoint for a particular ROI object. 
    581    * @param imageIndex index of the Image 
    582    * @param roiIndex index of the ROI 
    583    */ 
    584   Integer getROIT1(int imageIndex, int roiIndex); 
    585  
    586695  // - StageLabel property retrieval - 
    587696 
     
    612721  // - Instrument property retrieval - 
    613722 
     723  /** 
     724   * Gets TODO for a particular Instrument object. 
     725   * @param instrumentIndex index of the Instrument 
     726   */ 
     727  String getInstrumentNodeID(int instrumentIndex); 
     728 
    614729  // - LightSource property retrieval - 
    615730 
    616731  /** 
    617    * Gets CTR TODO for a particular LightSource object. 
     732   * Gets TODO for a particular LightSource object. 
     733   * @param instrumentIndex index of the Instrument 
     734   * @param lightSourceIndex index of the LightSource 
     735   */ 
     736  String getLightSourceNodeID(int instrumentIndex, int lightSourceIndex); 
     737 
     738  /** 
     739   * Gets TODO for a particular LightSource object. 
    618740   * @param instrumentIndex index of the Instrument 
    619741   * @param lightSourceIndex index of the LightSource 
     
    622744 
    623745  /** 
    624    * Gets CTR TODO for a particular LightSource object. 
     746   * Gets TODO for a particular LightSource object. 
    625747   * @param instrumentIndex index of the Instrument 
    626748   * @param lightSourceIndex index of the LightSource 
     
    629751 
    630752  /** 
    631    * Gets CTR TODO for a particular LightSource object. 
     753   * Gets TODO for a particular LightSource object. 
    632754   * @param instrumentIndex index of the Instrument 
    633755   * @param lightSourceIndex index of the LightSource 
     
    638760 
    639761  /** 
    640    * Gets CTR TODO for a particular Laser object. 
     762   * Gets TODO for a particular Laser object. 
    641763   * @param instrumentIndex index of the Instrument 
    642764   * @param lightSourceIndex index of the LightSource 
     
    645767 
    646768  /** 
    647    * Gets CTR TODO for a particular Laser object. 
     769   * Gets TODO for a particular Laser object. 
    648770   * @param instrumentIndex index of the Instrument 
    649771   * @param lightSourceIndex index of the LightSource 
     
    652774 
    653775  /** 
    654    * Gets CTR TODO for a particular Laser object. 
     776   * Gets TODO for a particular Laser object. 
    655777   * @param instrumentIndex index of the Instrument 
    656778   * @param lightSourceIndex index of the LightSource 
     
    659781 
    660782  /** 
    661    * Gets CTR TODO for a particular Laser object. 
     783   * Gets TODO for a particular Laser object. 
    662784   * @param instrumentIndex index of the Instrument 
    663785   * @param lightSourceIndex index of the LightSource 
     
    666788 
    667789  /** 
    668    * Gets CTR TODO for a particular Laser object. 
     790   * Gets TODO for a particular Laser object. 
    669791   * @param instrumentIndex index of the Instrument 
    670792   * @param lightSourceIndex index of the LightSource 
     
    673795 
    674796  /** 
    675    * Gets CTR TODO for a particular Laser object. 
     797   * Gets TODO for a particular Laser object. 
    676798   * @param instrumentIndex index of the Instrument 
    677799   * @param lightSourceIndex index of the LightSource 
     
    680802 
    681803  /** 
    682    * Gets CTR TODO for a particular Laser object. 
     804   * Gets TODO for a particular Laser object. 
    683805   * @param instrumentIndex index of the Instrument 
    684806   * @param lightSourceIndex index of the LightSource 
     
    689811 
    690812  /** 
    691    * Gets CTR TODO for a particular Filament object. 
     813   * Gets TODO for a particular Filament object. 
    692814   * @param instrumentIndex index of the Instrument 
    693815   * @param lightSourceIndex index of the LightSource 
     
    696818 
    697819  /** 
    698    * Gets CTR TODO for a particular Filament object. 
     820   * Gets TODO for a particular Filament object. 
    699821   * @param instrumentIndex index of the Instrument 
    700822   * @param lightSourceIndex index of the LightSource 
     
    705827 
    706828  /** 
    707    * Gets CTR TODO for a particular Arc object. 
     829   * Gets TODO for a particular Arc object. 
    708830   * @param instrumentIndex index of the Instrument 
    709831   * @param lightSourceIndex index of the LightSource 
     
    712834 
    713835  /** 
    714    * Gets CTR TODO for a particular Arc object. 
     836   * Gets TODO for a particular Arc object. 
    715837   * @param instrumentIndex index of the Instrument 
    716838   * @param lightSourceIndex index of the LightSource 
     
    721843 
    722844  /** 
    723    * Gets CTR TODO for a particular Detector object. 
     845   * Gets TODO for a particular Detector object. 
    724846   * @param instrumentIndex index of the Instrument 
    725847   * @param detectorIndex index of the Detector 
    726848   */ 
     849  String getDetectorNodeID(int instrumentIndex, int detectorIndex); 
     850 
     851  /** 
     852   * Gets TODO for a particular Detector object. 
     853   * @param instrumentIndex index of the Instrument 
     854   * @param detectorIndex index of the Detector 
     855   */ 
    727856  String getDetectorManufacturer(int instrumentIndex, int detectorIndex); 
    728857 
    729858  /** 
    730    * Gets CTR TODO for a particular Detector object. 
     859   * Gets TODO for a particular Detector object. 
    731860   * @param instrumentIndex index of the Instrument 
    732861   * @param detectorIndex index of the Detector 
     
    735864 
    736865  /** 
    737    * Gets CTR TODO for a particular Detector object. 
     866   * Gets TODO for a particular Detector object. 
    738867   * @param instrumentIndex index of the Instrument 
    739868   * @param detectorIndex index of the Detector 
     
    742871 
    743872  /** 
    744    * Gets CTR TODO for a particular Detector object. 
     873   * Gets TODO for a particular Detector object. 
    745874   * @param instrumentIndex index of the Instrument 
    746875   * @param detectorIndex index of the Detector 
     
    749878 
    750879  /** 
    751    * Gets CTR TODO for a particular Detector object. 
     880   * Gets TODO for a particular Detector object. 
    752881   * @param instrumentIndex index of the Instrument 
    753882   * @param detectorIndex index of the Detector 
     
    756885 
    757886  /** 
    758    * Gets CTR TODO for a particular Detector object. 
     887   * Gets TODO for a particular Detector object. 
    759888   * @param instrumentIndex index of the Instrument 
    760889   * @param detectorIndex index of the Detector 
     
    763892 
    764893  /** 
    765    * Gets CTR TODO for a particular Detector object. 
     894   * Gets TODO for a particular Detector object. 
    766895   * @param instrumentIndex index of the Instrument 
    767896   * @param detectorIndex index of the Detector 
     
    772901 
    773902  /** 
    774    * Gets CTR TODO for a particular Objective object. 
     903   * Gets TODO for a particular Objective object. 
    775904   * @param instrumentIndex index of the Instrument 
    776905   * @param objectiveIndex index of the Objective 
    777906   */ 
     907  String getObjectiveNodeID(int instrumentIndex, int objectiveIndex); 
     908 
     909  /** 
     910   * Gets TODO for a particular Objective object. 
     911   * @param instrumentIndex index of the Instrument 
     912   * @param objectiveIndex index of the Objective 
     913   */ 
    778914  String getObjectiveManufacturer(int instrumentIndex, int objectiveIndex); 
    779915 
    780916  /** 
    781    * Gets CTR TODO for a particular Objective object. 
     917   * Gets TODO for a particular Objective object. 
    782918   * @param instrumentIndex index of the Instrument 
    783919   * @param objectiveIndex index of the Objective 
     
    786922 
    787923  /** 
    788    * Gets CTR TODO for a particular Objective object. 
     924   * Gets TODO for a particular Objective object. 
    789925   * @param instrumentIndex index of the Instrument 
    790926   * @param objectiveIndex index of the Objective 
     
    793929 
    794930  /** 
    795    * Gets CTR TODO for a particular Objective object. 
     931   * Gets TODO for a particular Objective object. 
    796932   * @param instrumentIndex index of the Instrument 
    797933   * @param objectiveIndex index of the Objective 
     
    800936 
    801937  /** 
    802    * Gets CTR TODO for a particular Objective object. 
     938   * Gets TODO for a particular Objective object. 
    803939   * @param instrumentIndex index of the Instrument 
    804940   * @param objectiveIndex index of the Objective 
     
    807943 
    808944  /** 
    809    * Gets CTR TODO for a particular Objective object. 
     945   * Gets TODO for a particular Objective object. 
    810946   * @param instrumentIndex index of the Instrument 
    811947   * @param objectiveIndex index of the Objective 
     
    814950 
    815951  /** 
    816    * Gets CTR TODO for a particular Objective object. 
     952   * Gets TODO for a particular Objective object. 
    817953   * @param instrumentIndex index of the Instrument 
    818954   * @param objectiveIndex index of the Objective 
     
    821957 
    822958  /** 
    823    * Gets CTR TODO for a particular Objective object. 
     959   * Gets TODO for a particular Objective object. 
    824960   * @param instrumentIndex index of the Instrument 
    825961   * @param objectiveIndex index of the Objective 
     
    828964 
    829965  /** 
    830    * Gets CTR TODO for a particular Objective object. 
     966   * Gets TODO for a particular Objective object. 
    831967   * @param instrumentIndex index of the Instrument 
    832968   * @param objectiveIndex index of the Objective 
     
    837973 
    838974  /** 
    839    * Gets CTR TODO for a particular OTF object. 
     975   * Gets TODO for a particular OTF object. 
    840976   * @param instrumentIndex index of the Instrument 
    841977   * @param otfIndex index of the OTF 
    842978   */ 
     979  String getOTFNodeID(int instrumentIndex, int otfIndex); 
     980 
     981  /** 
     982   * Gets TODO for a particular OTF object. 
     983   * @param instrumentIndex index of the Instrument 
     984   * @param otfIndex index of the OTF 
     985   */ 
    843986  Integer getOTFSizeX(int instrumentIndex, int otfIndex); 
    844987 
    845988  /** 
    846    * Gets CTR TODO for a particular OTF object. 
     989   * Gets TODO for a particular OTF object. 
    847990   * @param instrumentIndex index of the Instrument 
    848991   * @param otfIndex index of the OTF 
     
    851994 
    852995  /** 
    853    * Gets CTR TODO for a particular OTF object. 
     996   * Gets TODO for a particular OTF object. 
    854997   * @param instrumentIndex index of the Instrument 
    855998   * @param otfIndex index of the OTF 
     
    8581001 
    8591002  /** 
    860    * Gets CTR TODO for a particular OTF object. 
     1003   * Gets TODO for a particular OTF object. 
    8611004   * @param instrumentIndex index of the Instrument 
    8621005   * @param otfIndex index of the OTF 
     
    8651008 
    8661009  /** 
    867    * Gets CTR TODO for a particular OTF object. 
     1010   * Gets TODO for a particular OTF object. 
    8681011   * @param instrumentIndex index of the Instrument 
    8691012   * @param otfIndex index of the OTF 
     
    8721015 
    8731016  // - Experimenter property retrieval - 
     1017 
     1018  /** 
     1019   * Gets TODO for a particular Experimenter object. 
     1020   * @param experimenterIndex index of the Experimenter 
     1021   */ 
     1022  String getExperimenterNodeID(int experimenterIndex); 
    8741023 
    8751024  /** 
  • trunk/loci/formats/meta/MetadataStore.java

    r3605 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by curtis via MetadataAutogen on Feb 4, 2008 10:43:20 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    5959 
    6060  /** 
     61   * Sets the NodeID property for an image in the metadata store with a particular index. 
     62   * @param nodeID TODO 
     63   * @param imageIndex index of the Image 
     64   */ 
     65  void setImageNodeID(String nodeID, int imageIndex); 
     66 
     67  /** 
    6168   * Sets the Name property for an image in the metadata store with a particular index. 
    6269   * @param name the full name of the image 
     
    8289 
    8390  /** 
     91   * Sets the NodeID property for a pixels set in the metadata store with a particular image and pixels index. 
     92   * @param nodeID TODO 
     93   * @param imageIndex index of the Image 
     94   * @param pixelsIndex index of the Pixels 
     95   */ 
     96  void setPixelsNodeID(String nodeID, int imageIndex, int pixelsIndex); 
     97 
     98  /** 
    8499   * Sets the SizeX property for a pixels set in the metadata store with a particular image and pixels index. 
    85100   * @param sizeX size of an individual plane or section's X axis (width) 
     
    148163 
    149164  /** 
    150    * Sets the PhysicalSizeX property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume pixelSizeX equals pixelSizeY (i.e., should populate the null field with the other field's value). 
     165   * Sets the PhysicalSizeX property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume physicalSizeX equals physicalSizeY (i.e., should populate the null field with the other field's value). # TODO Does Bio-Formats still rely on this requirement? 
    151166   * @param physicalSizeX size of an individual pixel's X axis in microns 
    152167   * @param imageIndex index of the Image 
     
    156171 
    157172  /** 
    158    * Sets the PhysicalSizeY property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume pixelSizeX equals pixelSizeY (i.e., should populate the null field with the other field's value). 
     173   * Sets the PhysicalSizeY property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume physicalSizeX equals physicalSizeY (i.e., should populate the null field with the other field's value). # TODO Does Bio-Formats still rely on this requirement? 
    159174   * @param physicalSizeY size of an individual pixel's Y axis in microns 
    160175   * @param imageIndex index of the Image 
     
    164179 
    165180  /** 
    166    * Sets the PhysicalSizeZ property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume pixelSizeX equals pixelSizeY (i.e., should populate the null field with the other field's value). 
     181   * Sets the PhysicalSizeZ property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume physicalSizeX equals physicalSizeY (i.e., should populate the null field with the other field's value). # TODO Does Bio-Formats still rely on this requirement? 
    167182   * @param physicalSizeZ size of an individual pixel's Z axis in microns 
    168183   * @param imageIndex index of the Image 
     
    172187 
    173188  /** 
    174    * Sets the TimeIncrement property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume pixelSizeX equals pixelSizeY (i.e., should populate the null field with the other field's value). 
     189   * Sets the TimeIncrement property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume physicalSizeX equals physicalSizeY (i.e., should populate the null field with the other field's value). # TODO Does Bio-Formats still rely on this requirement? 
    175190   * @param timeIncrement distance between adjacent time points in seconds 
    176191   * @param imageIndex index of the Image 
     
    180195 
    181196  /** 
    182    * Sets the WaveStart property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume pixelSizeX equals pixelSizeY (i.e., should populate the null field with the other field's value). 
     197   * Sets the WaveStart property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume physicalSizeX equals physicalSizeY (i.e., should populate the null field with the other field's value). # TODO Does Bio-Formats still rely on this requirement? 
    183198   * @param waveStart starting wavelength in nanometers 
    184199   * @param imageIndex index of the Image 
     
    188203 
    189204  /** 
    190    * Sets the WaveIncrement property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume pixelSizeX equals pixelSizeY (i.e., should populate the null field with the other field's value). 
     205   * Sets the WaveIncrement property for a set of pixel dimensions in the metadata store with a particular index. Unless both values are non-null, the MetadataStore should assume physicalSizeX equals physicalSizeY (i.e., should populate the null field with the other field's value). # TODO Does Bio-Formats still rely on this requirement? 
    191206   * @param waveIncrement distance between adjacent wavelengths in nanometers 
    192207   * @param imageIndex index of the Image 
     
    199214  /** 
    200215   * Sets the Temperature property for the imaging environment for a particular image. 
    201    * @param temperature CTR TODO 
     216   * @param temperature TODO 
    202217   * @param imageIndex index of the Image 
    203218   */ 
     
    206221  /** 
    207222   * Sets the AirPressure property for the imaging environment for a particular image. 
    208    * @param airPressure CTR TODO 
     223   * @param airPressure TODO 
    209224   * @param imageIndex index of the Image 
    210225   */ 
     
    213228  /** 
    214229   * Sets the Humidity property for the imaging environment for a particular image. 
    215    * @param humidity CTR TODO 
     230   * @param humidity TODO 
    216231   * @param imageIndex index of the Image 
    217232   */ 
     
    220235  /** 
    221236   * Sets the CO2Percent property for the imaging environment for a particular image. 
    222    * @param cO2Percent CTR TODO 
     237   * @param cO2Percent TODO 
    223238   * @param imageIndex index of the Image 
    224239   */ 
     
    306321 
    307322  /** 
     323   * Sets the NodeID property for a logical channel and physical channel in the metadata store for a particular pixels. 
     324   * @param nodeID TODO 
     325   * @param imageIndex index of the Image 
     326   * @param logicalChannelIndex index of the LogicalChannel 
     327   */ 
     328  void setLogicalChannelNodeID(String nodeID, int imageIndex, int logicalChannelIndex); 
     329 
     330  /** 
    308331   * Sets the Name property for a logical channel and physical channel in the metadata store for a particular pixels. 
    309332   * @param name the logical channel's name 
     
    315338  /** 
    316339   * Sets the SamplesPerPixel property for a logical channel and physical channel in the metadata store for a particular pixels. 
    317    * @param samplesPerPixel CTR TODO 
     340   * @param samplesPerPixel TODO 
    318341   * @param imageIndex index of the Image 
    319342   * @param logicalChannelIndex index of the LogicalChannel 
     
    395418  /** 
    396419   * Sets the PockelCellSetting property for a logical channel and physical channel in the metadata store for a particular pixels. 
    397    * @param pockelCellSetting CTR TODO 
     420   * @param pockelCellSetting TODO 
    398421   * @param imageIndex index of the Image 
    399422   * @param logicalChannelIndex index of the LogicalChannel 
    400423   */ 
    401424  void setLogicalChannelPockelCellSetting(Integer pockelCellSetting, int imageIndex, int logicalChannelIndex); 
     425 
     426  // - ChannelComponent property storage - 
     427 
     428  /** 
     429   * Sets the Index property for a channel component describes how each channel in the pixel array relates to the logical channels. 
     430   * @param index the index into the channel dimension of the 5-D pixel array 
     431   * @param imageIndex index of the Image 
     432   * @param logicalChannelIndex index of the LogicalChannel 
     433   * @param channelComponentIndex index of the ChannelComponent 
     434   */ 
     435  void setChannelComponentIndex(Integer index, int imageIndex, int logicalChannelIndex, int channelComponentIndex); 
     436 
     437  /** 
     438   * Sets the ColorDomain property for a channel component describes how each channel in the pixel array relates to the logical channels. 
     439   * @param colorDomain which color channel this ChannelComponent belongs to (for example, 'R' for an 'RGB' PhotometricInterpretation) 
     440   * @param imageIndex index of the Image 
     441   * @param logicalChannelIndex index of the LogicalChannel 
     442   * @param channelComponentIndex index of the ChannelComponent 
     443   */ 
     444  void setChannelComponentColorDomain(String colorDomain, int imageIndex, int logicalChannelIndex, int channelComponentIndex); 
     445 
     446  // - DisplayOptions property storage - 
     447 
     448  /** 
     449   * Sets the NodeID property for various display options for a particular pixels set. 
     450   * @param nodeID TODO 
     451   * @param imageIndex index of the Image 
     452   */ 
     453  void setDisplayOptionsNodeID(String nodeID, int imageIndex); 
     454 
     455  /** 
     456   * Sets the Zoom property for various display options for a particular pixels set. 
     457   * @param zoom zoom factor for use in the display (NOT THE LENS ZOOM) 
     458   * @param imageIndex index of the Image 
     459   */ 
     460  void setDisplayOptionsZoom(Float zoom, int imageIndex); 
     461 
     462  // - DisplayOptionsProjection property storage - 
     463 
     464  /** 
     465   * Sets the ZStart property for maximum intensity projection-related display options for a particular pixels set. 
     466   * @param zStart the first focal plane to include in the maximum intensity projection 
     467   * @param imageIndex index of the Image 
     468   */ 
     469  void setDisplayOptionsProjectionZStart(Integer zStart, int imageIndex); 
     470 
     471  /** 
     472   * Sets the ZStop property for maximum intensity projection-related display options for a particular pixels set. 
     473   * @param zStop the last focal plane to include in the maximum intensity projection 
     474   * @param imageIndex index of the Image 
     475   */ 
     476  void setDisplayOptionsProjectionZStop(Integer zStop, int imageIndex); 
     477 
     478  // - DisplayOptionsTime property storage - 
     479 
     480  /** 
     481   * Sets the TStart property for time range-related display options for a particular pixels set. 
     482   * @param tStart the first time point to include in the animation 
     483   * @param imageIndex index of the Image 
     484   */ 
     485  void setDisplayOptionsTimeTStart(Integer tStart, int imageIndex); 
     486 
     487  /** 
     488   * Sets the TStop property for time range-related display options for a particular pixels set. 
     489   * @param tStop the last time point to include in the animation 
     490   * @param imageIndex index of the Image 
     491   */ 
     492  void setDisplayOptionsTimeTStop(Integer tStop, int imageIndex); 
     493 
     494  // - ROI property storage - 
     495 
     496  /** 
     497   * Sets the NodeID property for a 5D bounding box region of interest in the metadata store with a particular index. 
     498   * @param nodeID TODO 
     499   * @param imageIndex index of the Image 
     500   * @param roiIndex index of the ROI 
     501   */ 
     502  void setROINodeID(String nodeID, int imageIndex, int roiIndex); 
     503 
     504  /** 
     505   * Sets the X0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     506   * @param x0 the starting X coordinate 
     507   * @param imageIndex index of the Image 
     508   * @param roiIndex index of the ROI 
     509   */ 
     510  void setROIX0(Integer x0, int imageIndex, int roiIndex); 
     511 
     512  /** 
     513   * Sets the Y0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     514   * @param y0 the starting Y coordinate 
     515   * @param imageIndex index of the Image 
     516   * @param roiIndex index of the ROI 
     517   */ 
     518  void setROIY0(Integer y0, int imageIndex, int roiIndex); 
     519 
     520  /** 
     521   * Sets the X1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     522   * @param x1 the ending X coordinate 
     523   * @param imageIndex index of the Image 
     524   * @param roiIndex index of the ROI 
     525   */ 
     526  void setROIX1(Integer x1, int imageIndex, int roiIndex); 
     527 
     528  /** 
     529   * Sets the Y1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     530   * @param y1 the ending Y coordinate 
     531   * @param imageIndex index of the Image 
     532   * @param roiIndex index of the ROI 
     533   */ 
     534  void setROIY1(Integer y1, int imageIndex, int roiIndex); 
     535 
     536  /** 
     537   * Sets the Z0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     538   * @param z0 the starting Z coordinate 
     539   * @param imageIndex index of the Image 
     540   * @param roiIndex index of the ROI 
     541   */ 
     542  void setROIZ0(Integer z0, int imageIndex, int roiIndex); 
     543 
     544  /** 
     545   * Sets the Z1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     546   * @param z1 the ending Z coordinate 
     547   * @param imageIndex index of the Image 
     548   * @param roiIndex index of the ROI 
     549   */ 
     550  void setROIZ1(Integer z1, int imageIndex, int roiIndex); 
     551 
     552  /** 
     553   * Sets the T0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     554   * @param t0 the starting timepoint 
     555   * @param imageIndex index of the Image 
     556   * @param roiIndex index of the ROI 
     557   */ 
     558  void setROIT0(Integer t0, int imageIndex, int roiIndex); 
     559 
     560  /** 
     561   * Sets the T1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
     562   * @param t1 the ending timepoint 
     563   * @param imageIndex index of the Image 
     564   * @param roiIndex index of the ROI 
     565   */ 
     566  void setROIT1(Integer t1, int imageIndex, int roiIndex); 
    402567 
    403568  // - DetectorSettings property storage - 
     
    453618  void setLightSourceSettingsWavelength(Integer wavelength, int imageIndex, int logicalChannelIndex); 
    454619 
    455   // - ROI property storage - 
    456  
    457   /** 
    458    * Sets the X0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    459    * @param x0 the starting X coordinate 
    460    * @param imageIndex index of the Image 
    461    * @param roiIndex index of the ROI 
    462    */ 
    463   void setROIX0(Integer x0, int imageIndex, int roiIndex); 
    464  
    465   /** 
    466    * Sets the Y0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    467    * @param y0 the starting Y coordinate 
    468    * @param imageIndex index of the Image 
    469    * @param roiIndex index of the ROI 
    470    */ 
    471   void setROIY0(Integer y0, int imageIndex, int roiIndex); 
    472  
    473   /** 
    474    * Sets the Z0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    475    * @param z0 the starting Z coordinate 
    476    * @param imageIndex index of the Image 
    477    * @param roiIndex index of the ROI 
    478    */ 
    479   void setROIZ0(Integer z0, int imageIndex, int roiIndex); 
    480  
    481   /** 
    482    * Sets the T0 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    483    * @param t0 the starting timepoint 
    484    * @param imageIndex index of the Image 
    485    * @param roiIndex index of the ROI 
    486    */ 
    487   void setROIT0(Integer t0, int imageIndex, int roiIndex); 
    488  
    489   /** 
    490    * Sets the X1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    491    * @param x1 the ending X coordinate 
    492    * @param imageIndex index of the Image 
    493    * @param roiIndex index of the ROI 
    494    */ 
    495   void setROIX1(Integer x1, int imageIndex, int roiIndex); 
    496  
    497   /** 
    498    * Sets the Y1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    499    * @param y1 the ending Y coordinate 
    500    * @param imageIndex index of the Image 
    501    * @param roiIndex index of the ROI 
    502    */ 
    503   void setROIY1(Integer y1, int imageIndex, int roiIndex); 
    504  
    505   /** 
    506    * Sets the Z1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    507    * @param z1 the ending Z coordinate 
    508    * @param imageIndex index of the Image 
    509    * @param roiIndex index of the ROI 
    510    */ 
    511   void setROIZ1(Integer z1, int imageIndex, int roiIndex); 
    512  
    513   /** 
    514    * Sets the T1 property for a 5D bounding box region of interest in the metadata store with a particular index. 
    515    * @param t1 the ending timepoint 
    516    * @param imageIndex index of the Image 
    517    * @param roiIndex index of the ROI 
    518    */ 
    519   void setROIT1(Integer t1, int imageIndex, int roiIndex); 
    520  
    521620  // - StageLabel property storage - 
    522621 
     
    551650  // - Instrument property storage - 
    552651 
     652  /** 
     653   * Sets the NodeID property for an instrument in the metadata store with a particular index. 
     654   * @param nodeID TODO 
     655   * @param instrumentIndex index of the Instrument 
     656   */ 
     657  void setInstrumentNodeID(String nodeID, int instrumentIndex); 
     658 
    553659  // - LightSource property storage - 
    554660 
    555661  /** 
     662   * Sets the NodeID property for a light source for a particular instrument. 
     663   * @param nodeID TODO 
     664   * @param instrumentIndex index of the Instrument 
     665   * @param lightSourceIndex index of the LightSource 
     666   */ 
     667  void setLightSourceNodeID(String nodeID, int instrumentIndex, int lightSourceIndex); 
     668 
     669  /** 
    556670   * Sets the Manufacturer property for a light source for a particular instrument. 
    557    * @param manufacturer CTR TODO 
     671   * @param manufacturer TODO 
    558672   * @param instrumentIndex index of the Instrument 
    559673   * @param lightSourceIndex index of the LightSource 
     
    563677  /** 
    564678   * Sets the Model property for a light source for a particular instrument. 
    565    * @param model CTR TODO 
     679   * @param model TODO 
    566680   * @param instrumentIndex index of the Instrument 
    567681   * @param lightSourceIndex index of the LightSource 
     
    571685  /** 
    572686   * Sets the SerialNumber property for a light source for a particular instrument. 
    573    * @param serialNumber CTR TODO 
     687   * @param serialNumber TODO 
    574688   * @param instrumentIndex index of the Instrument 
    575689   * @param lightSourceIndex index of the LightSource 
     
    581695  /** 
    582696   * Sets the Type property for a laser for a particular instrument. 
    583    * @param type CTR TODO 
     697   * @param type TODO 
    584698   * @param instrumentIndex index of the Instrument 
    585699   * @param lightSourceIndex index of the LightSource 
     
    589703  /** 
    590704   * Sets the LaserMedium property for a laser for a particular instrument. 
    591    * @param laserMedium CTR TODO 
     705   * @param laserMedium TODO 
    592706   * @param instrumentIndex index of the Instrument 
    593707   * @param lightSourceIndex index of the LightSource 
     
    597711  /** 
    598712   * Sets the Wavelength property for a laser for a particular instrument. 
    599    * @param wavelength CTR TODO 
     713   * @param wavelength TODO 
    600714   * @param instrumentIndex index of the Instrument 
    601715   * @param lightSourceIndex index of the LightSource 
     
    605719  /** 
    606720   * Sets the FrequencyMultiplication property for a laser for a particular instrument. 
    607    * @param frequencyMultiplication CTR TODO 
     721   * @param frequencyMultiplication TODO 
    608722   * @param instrumentIndex index of the Instrument 
    609723   * @param lightSourceIndex index of the LightSource 
     
    613727  /** 
    614728   * Sets the Tuneable property for a laser for a particular instrument. 
    615    * @param tuneable CTR TODO 
     729   * @param tuneable TODO 
    616730   * @param instrumentIndex index of the Instrument 
    617731   * @param lightSourceIndex index of the LightSource 
     
    621735  /** 
    622736   * Sets the Pulse property for a laser for a particular instrument. 
    623    * @param pulse CTR TODO 
     737   * @param pulse TODO 
    624738   * @param instrumentIndex index of the Instrument 
    625739   * @param lightSourceIndex index of the LightSource 
     
    629743  /** 
    630744   * Sets the Power property for a laser for a particular instrument. 
    631    * @param power CTR TODO 
     745   * @param power TODO 
    632746   * @param instrumentIndex index of the Instrument 
    633747   * @param lightSourceIndex index of the LightSource 
     
    639753  /** 
    640754   * Sets the Type property for a filament for a particular instrument. 
    641    * @param type CTR TODO 
     755   * @param type TODO 
    642756   * @param instrumentIndex index of the Instrument 
    643757   * @param lightSourceIndex index of the LightSource 
     
    647761  /** 
    648762   * Sets the Power property for a filament for a particular instrument. 
    649    * @param power CTR TODO 
     763   * @param power TODO 
    650764   * @param instrumentIndex index of the Instrument 
    651765   * @param lightSourceIndex index of the LightSource 
     
    657771  /** 
    658772   * Sets the Type property for an arc for a particular instrument. 
    659    * @param type CTR TODO 
     773   * @param type TODO 
    660774   * @param instrumentIndex index of the Instrument 
    661775   * @param lightSourceIndex index of the LightSource 
     
    665779  /** 
    666780   * Sets the Power property for an arc for a particular instrument. 
    667    * @param power CTR TODO 
     781   * @param power TODO 
    668782   * @param instrumentIndex index of the Instrument 
    669783   * @param lightSourceIndex index of the LightSource 
     
    674788 
    675789  /** 
     790   * Sets the NodeID property for a detector for a particular instrument. 
     791   * @param nodeID TODO 
     792   * @param instrumentIndex index of the Instrument 
     793   * @param detectorIndex index of the Detector 
     794   */ 
     795  void setDetectorNodeID(String nodeID, int instrumentIndex, int detectorIndex); 
     796 
     797  /** 
    676798   * Sets the Manufacturer property for a detector for a particular instrument. 
    677    * @param manufacturer CTR TODO 
     799   * @param manufacturer TODO 
    678800   * @param instrumentIndex index of the Instrument 
    679801   * @param detectorIndex index of the Detector 
     
    683805  /** 
    684806   * Sets the Model property for a detector for a particular instrument. 
    685    * @param model CTR TODO 
     807   * @param model TODO 
    686808   * @param instrumentIndex index of the Instrument 
    687809   * @param detectorIndex index of the Detector 
     
    691813  /** 
    692814   * Sets the SerialNumber property for a detector for a particular instrument. 
    693    * @param serialNumber CTR TODO 
     815   * @param serialNumber TODO 
    694816   * @param instrumentIndex index of the Instrument 
    695817   * @param detectorIndex index of the Detector 
     
    699821  /** 
    700822   * Sets the Type property for a detector for a particular instrument. 
    701    * @param type CTR TODO 
     823   * @param type TODO 
    702824   * @param instrumentIndex index of the Instrument 
    703825   * @param detectorIndex index of the Detector 
     
    707829  /** 
    708830   * Sets the Gain property for a detector for a particular instrument. 
    709    * @param gain CTR TODO 
     831   * @param gain TODO 
    710832   * @param instrumentIndex index of the Instrument 
    711833   * @param detectorIndex index of the Detector 
     
    715837  /** 
    716838   * Sets the Voltage property for a detector for a particular instrument. 
    717    * @param voltage CTR TODO 
     839   * @param voltage TODO 
    718840   * @param instrumentIndex index of the Instrument 
    719841   * @param detectorIndex index of the Detector 
     
    723845  /** 
    724846   * Sets the Offset property for a detector for a particular instrument. 
    725    * @param offset CTR TODO 
     847   * @param offset TODO 
    726848   * @param instrumentIndex index of the Instrument 
    727849   * @param detectorIndex index of the Detector 
     
    732854 
    733855  /** 
     856   * Sets the NodeID property for an objective for a particular instrument. 
     857   * @param nodeID TODO 
     858   * @param instrumentIndex index of the Instrument 
     859   * @param objectiveIndex index of the Objective 
     860   */ 
     861  void setObjectiveNodeID(String nodeID, int instrumentIndex, int objectiveIndex); 
     862 
     863  /** 
    734864   * Sets the Manufacturer property for an objective for a particular instrument. 
    735    * @param manufacturer CTR TODO 
     865   * @param manufacturer TODO 
    736866   * @param instrumentIndex index of the Instrument 
    737867   * @param objectiveIndex index of the Objective 
     
    741871  /** 
    742872   * Sets the Model property for an objective for a particular instrument. 
    743    * @param model CTR TODO 
     873   * @param model TODO 
    744874   * @param instrumentIndex index of the Instrument 
    745875   * @param objectiveIndex index of the Objective 
     
    749879  /** 
    750880   * Sets the SerialNumber property for an objective for a particular instrument. 
    751    * @param serialNumber CTR TODO 
     881   * @param serialNumber TODO 
    752882   * @param instrumentIndex index of the Instrument 
    753883   * @param objectiveIndex index of the Objective 
     
    757887  /** 
    758888   * Sets the Correction property for an objective for a particular instrument. 
    759    * @param correction CTR TODO 
     889   * @param correction TODO 
    760890   * @param instrumentIndex index of the Instrument 
    761891   * @param objectiveIndex index of the Objective 
     
    765895  /** 
    766896   * Sets the Immersion property for an objective for a particular instrument. 
    767    * @param immersion CTR TODO 
     897   * @param immersion TODO 
    768898   * @param instrumentIndex index of the Instrument 
    769899   * @param objectiveIndex index of the Objective 
     
    773903  /** 
    774904   * Sets the LensNA property for an objective for a particular instrument. 
    775    * @param lensNA CTR TODO 
     905   * @param lensNA TODO 
    776906   * @param instrumentIndex index of the Instrument 
    777907   * @param objectiveIndex index of the Objective 
     
    781911  /** 
    782912   * Sets the NominalMagnification property for an objective for a particular instrument. 
    783    * @param nominalMagnification CTR TODO 
     913   * @param nominalMagnification TODO 
    784914   * @param instrumentIndex index of the Instrument 
    785915   * @param objectiveIndex index of the Objective 
     
    789919  /** 
    790920   * Sets the CalibratedMagnification property for an objective for a particular instrument. 
    791    * @param calibratedMagnification CTR TODO 
     921   * @param calibratedMagnification TODO 
    792922   * @param instrumentIndex index of the Instrument 
    793923   * @param objectiveIndex index of the Objective 
     
    797927  /** 
    798928   * Sets the WorkingDistance property for an objective for a particular instrument. 
    799    * @param workingDistance CTR TODO 
     929   * @param workingDistance TODO 
    800930   * @param instrumentIndex index of the Instrument 
    801931   * @param objectiveIndex index of the Objective 
     
    806936 
    807937  /** 
     938   * Sets the NodeID property for an optical transfer function for a particular instrument. 
     939   * @param nodeID TODO 
     940   * @param instrumentIndex index of the Instrument 
     941   * @param otfIndex index of the OTF 
     942   */ 
     943  void setOTFNodeID(String nodeID, int instrumentIndex, int otfIndex); 
     944 
     945  /** 
    808946   * Sets the SizeX property for an optical transfer function for a particular instrument. 
    809    * @param sizeX CTR TODO 
     947   * @param sizeX TODO 
    810948   * @param instrumentIndex index of the Instrument 
    811949   * @param otfIndex index of the OTF 
     
    815953  /** 
    816954   * Sets the SizeY property for an optical transfer function for a particular instrument. 
    817    * @param sizeY CTR TODO 
     955   * @param sizeY TODO 
    818956   * @param instrumentIndex index of the Instrument 
    819957   * @param otfIndex index of the OTF 
     
    823961  /** 
    824962   * Sets the PixelType property for an optical transfer function for a particular instrument. 
    825    * @param pixelType CTR TODO 
     963   * @param pixelType TODO 
    826964   * @param instrumentIndex index of the Instrument 
    827965   * @param otfIndex index of the OTF 
     
    831969  /** 
    832970   * Sets the Path property for an optical transfer function for a particular instrument. 
    833    * @param path CTR TODO 
     971   * @param path TODO 
    834972   * @param instrumentIndex index of the Instrument 
    835973   * @param otfIndex index of the OTF 
     
    839977  /** 
    840978   * Sets the OpticalAxisAveraged property for an optical transfer function for a particular instrument. 
    841    * @param opticalAxisAveraged CTR TODO 
     979   * @param opticalAxisAveraged TODO 
    842980   * @param instrumentIndex index of the Instrument 
    843981   * @param otfIndex index of the OTF 
     
    846984 
    847985  // - Experimenter property storage - 
     986 
     987  /** 
     988   * Sets the NodeID property for an experimenter in the metadata store with a particular index. 
     989   * @param nodeID TODO 
     990   * @param experimenterIndex index of the Experimenter 
     991   */ 
     992  void setExperimenterNodeID(String nodeID, int experimenterIndex); 
    848993 
    849994  /** 
  • trunk/loci/formats/ome/OMEXML2003FCMetadata.java

    r3605 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by curtis via MetadataAutogen on Feb 4, 2008 10:43:20 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    9797  } 
    9898 
     99  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponentCount(int, int) */ 
     100  public int getChannelComponentCount(int imageIndex, int logicalChannelIndex) { 
     101    for (int i=0; i<Integer.MAX_VALUE; i++) { 
     102      if (getChannelComponent(imageIndex, logicalChannelIndex, i) == null) return i; 
     103    } 
     104    return -1; 
     105  } 
     106 
    99107  /* @see loci.formats.meta.MetadataRetrieve#getPixelsCount(int) */ 
    100108  public int getPixelsCount(int imageIndex) { 
     
    176184  } 
    177185 
     186  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptions(int) */ 
     187  public Object getDisplayOptions(int imageIndex) { 
     188    return getDisplayOptionsNode(imageIndex, false); 
     189  } 
     190 
     191  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsProjection(int) */ 
     192  public Object getDisplayOptionsProjection(int imageIndex) { 
     193    return getDisplayOptionsNode(imageIndex, false); 
     194  } 
     195 
     196  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsTime(int) */ 
     197  public Object getDisplayOptionsTime(int imageIndex) { 
     198    return getDisplayOptionsNode(imageIndex, false); 
     199  } 
     200 
    178201  /* @see loci.formats.meta.MetadataRetrieve#getStageLabel(int) */ 
    179202  public Object getStageLabel(int imageIndex) { 
     
    194217  public Object getLightSourceSettings(int imageIndex, int logicalChannelIndex) { 
    195218    return getLogicalChannelNode(imageIndex, logicalChannelIndex, false); 
     219  } 
     220 
     221  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponent(int, int, int) */ 
     222  public Object getChannelComponent(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     223    return getPixelChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, false); 
    196224  } 
    197225 
     
    271299  // - Experimenter property retrieval - 
    272300 
     301  /* @see loci.formats.meta.MetadataRetrieve#getExperimenterNodeID(int) */ 
     302  public String getExperimenterNodeID(int experimenterIndex) { 
     303    ExperimenterNode experimenter = getExperimenterNode(experimenterIndex, false); 
     304    return experimenter == null ? null : experimenter.getNodeID(); 
     305  } 
     306 
    273307  /* @see loci.formats.meta.MetadataRetrieve#getExperimenterFirstName(int) */ 
    274308  public String getExperimenterFirstName(int experimenterIndex) { 
     
    303337  // - Image property retrieval - 
    304338 
     339  /* @see loci.formats.meta.MetadataRetrieve#getImageNodeID(int) */ 
     340  public String getImageNodeID(int imageIndex) { 
     341    ImageNode image = getImageNode(imageIndex, false); 
     342    return image == null ? null : image.getNodeID(); 
     343  } 
     344 
    305345  /* @see loci.formats.meta.MetadataRetrieve#getImageName(int) */ 
    306346  public String getImageName(int imageIndex) { 
     
    347387  } 
    348388 
     389  // - DisplayOptions property retrieval - 
     390 
     391  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsNodeID(int) */ 
     392  public String getDisplayOptionsNodeID(int imageIndex) { 
     393    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     394    return displayOptions == null ? null : displayOptions.getNodeID(); 
     395  } 
     396 
     397  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsZoom(int) */ 
     398  public Float getDisplayOptionsZoom(int imageIndex) { 
     399    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     400    return displayOptions == null ? null : displayOptions.getZoom(); 
     401  } 
     402 
     403  // - DisplayOptionsProjection property retrieval - 
     404 
     405  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsProjectionZStart(int) */ 
     406  public Integer getDisplayOptionsProjectionZStart(int imageIndex) { 
     407    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     408    return displayOptions == null ? null : displayOptions.getZStart(); 
     409  } 
     410 
     411  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsProjectionZStop(int) */ 
     412  public Integer getDisplayOptionsProjectionZStop(int imageIndex) { 
     413    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     414    return displayOptions == null ? null : displayOptions.getZStop(); 
     415  } 
     416 
     417  // - DisplayOptionsTime property retrieval - 
     418 
     419  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsTimeTStart(int) */ 
     420  public Integer getDisplayOptionsTimeTStart(int imageIndex) { 
     421    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     422    return displayOptions == null ? null : displayOptions.getTStart(); 
     423  } 
     424 
     425  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsTimeTStop(int) */ 
     426  public Integer getDisplayOptionsTimeTStop(int imageIndex) { 
     427    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     428    return displayOptions == null ? null : displayOptions.getTStop(); 
     429  } 
     430 
    349431  // - StageLabel property retrieval - 
    350432 
     
    375457  // - LogicalChannel property retrieval - 
    376458 
     459  /* @see loci.formats.meta.MetadataRetrieve#getLogicalChannelNodeID(int, int) */ 
     460  public String getLogicalChannelNodeID(int imageIndex, int logicalChannelIndex) { 
     461    LogicalChannelNode logicalChannel = getLogicalChannelNode(imageIndex, logicalChannelIndex, false); 
     462    return logicalChannel == null ? null : logicalChannel.getNodeID(); 
     463  } 
     464 
    377465  /* @see loci.formats.meta.MetadataRetrieve#getLogicalChannelName(int, int) */ 
    378466  public String getLogicalChannelName(int imageIndex, int logicalChannelIndex) { 
     
    487575  } 
    488576 
     577  // - ChannelComponent property retrieval - 
     578 
     579  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponentIndex(int, int, int) */ 
     580  public Integer getChannelComponentIndex(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     581    PixelChannelComponentNode pixelChannelComponent = getPixelChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, false); 
     582    return pixelChannelComponent == null ? null : pixelChannelComponent.getIndex(); 
     583  } 
     584 
     585  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponentColorDomain(int, int, int) */ 
     586  public String getChannelComponentColorDomain(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     587    PixelChannelComponentNode pixelChannelComponent = getPixelChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, false); 
     588    return pixelChannelComponent == null ? null : pixelChannelComponent.getColorDomain(); 
     589  } 
     590 
    489591  // - Pixels property retrieval - 
     592 
     593  /* @see loci.formats.meta.MetadataRetrieve#getPixelsNodeID(int, int) */ 
     594  public String getPixelsNodeID(int imageIndex, int pixelsIndex) { 
     595    PixelsNode pixels = getPixelsNode(imageIndex, pixelsIndex, false); 
     596    return pixels == null ? null : pixels.getNodeID(); 
     597  } 
    490598 
    491599  /* @see loci.formats.meta.MetadataRetrieve#getPixelsSizeX(int, int) */ 
     
    631739  // - ROI property retrieval - 
    632740 
     741  /* @see loci.formats.meta.MetadataRetrieve#getROINodeID(int, int) */ 
     742  public String getROINodeID(int imageIndex, int roiIndex) { 
     743    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, false); 
     744    return displayROI == null ? null : displayROI.getNodeID(); 
     745  } 
     746 
    633747  /* @see loci.formats.meta.MetadataRetrieve#getROIX0(int, int) */ 
    634748  public Integer getROIX0(int imageIndex, int roiIndex) { 
     
    643757  } 
    644758 
     759  /* @see loci.formats.meta.MetadataRetrieve#getROIX1(int, int) */ 
     760  public Integer getROIX1(int imageIndex, int roiIndex) { 
     761    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, false); 
     762    return displayROI == null ? null : displayROI.getX1(); 
     763  } 
     764 
     765  /* @see loci.formats.meta.MetadataRetrieve#getROIY1(int, int) */ 
     766  public Integer getROIY1(int imageIndex, int roiIndex) { 
     767    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, false); 
     768    return displayROI == null ? null : displayROI.getY1(); 
     769  } 
     770 
    645771  /* @see loci.formats.meta.MetadataRetrieve#getROIZ0(int, int) */ 
    646772  public Integer getROIZ0(int imageIndex, int roiIndex) { 
     
    649775  } 
    650776 
     777  /* @see loci.formats.meta.MetadataRetrieve#getROIZ1(int, int) */ 
     778  public Integer getROIZ1(int imageIndex, int roiIndex) { 
     779    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, false); 
     780    return displayROI == null ? null : displayROI.getZ1(); 
     781  } 
     782 
    651783  /* @see loci.formats.meta.MetadataRetrieve#getROIT0(int, int) */ 
    652784  public Integer getROIT0(int imageIndex, int roiIndex) { 
     
    655787  } 
    656788 
    657   /* @see loci.formats.meta.MetadataRetrieve#getROIX1(int, int) */ 
    658   public Integer getROIX1(int imageIndex, int roiIndex) { 
    659     DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, false); 
    660     return displayROI == null ? null : displayROI.getX1(); 
    661   } 
    662  
    663   /* @see loci.formats.meta.MetadataRetrieve#getROIY1(int, int) */ 
    664   public Integer getROIY1(int imageIndex, int roiIndex) { 
    665     DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, false); 
    666     return displayROI == null ? null : displayROI.getY1(); 
    667   } 
    668  
    669   /* @see loci.formats.meta.MetadataRetrieve#getROIZ1(int, int) */ 
    670   public Integer getROIZ1(int imageIndex, int roiIndex) { 
    671     DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, false); 
    672     return displayROI == null ? null : displayROI.getZ1(); 
    673   } 
    674  
    675789  /* @see loci.formats.meta.MetadataRetrieve#getROIT1(int, int) */ 
    676790  public Integer getROIT1(int imageIndex, int roiIndex) { 
     
    681795  // - Instrument property retrieval - 
    682796 
     797  /* @see loci.formats.meta.MetadataRetrieve#getInstrumentNodeID(int) */ 
     798  public String getInstrumentNodeID(int instrumentIndex) { 
     799    InstrumentNode instrument = getInstrumentNode(instrumentIndex, false); 
     800    return instrument == null ? null : instrument.getNodeID(); 
     801  } 
     802 
    683803  // - Detector property retrieval - 
     804 
     805  /* @see loci.formats.meta.MetadataRetrieve#getDetectorNodeID(int, int) */ 
     806  public String getDetectorNodeID(int instrumentIndex, int detectorIndex) { 
     807    DetectorNode detector = getDetectorNode(instrumentIndex, detectorIndex, false); 
     808    return detector == null ? null : detector.getNodeID(); 
     809  } 
    684810 
    685811  /* @see loci.formats.meta.MetadataRetrieve#getDetectorManufacturer(int, int) */ 
     
    727853  // - LightSource property retrieval - 
    728854 
     855  /* @see loci.formats.meta.MetadataRetrieve#getLightSourceNodeID(int, int) */ 
     856  public String getLightSourceNodeID(int instrumentIndex, int lightSourceIndex) { 
     857    LightSourceNode lightSource = getLightSourceNode(instrumentIndex, lightSourceIndex, false); 
     858    return lightSource == null ? null : lightSource.getNodeID(); 
     859  } 
     860 
    729861  /* @see loci.formats.meta.MetadataRetrieve#getLightSourceManufacturer(int, int) */ 
    730862  public String getLightSourceManufacturer(int instrumentIndex, int lightSourceIndex) { 
     
    819951  // - OTF property retrieval - 
    820952 
     953  /* @see loci.formats.meta.MetadataRetrieve#getOTFNodeID(int, int) */ 
     954  public String getOTFNodeID(int instrumentIndex, int otfIndex) { 
     955    OTFNode otf = getOTFNode(instrumentIndex, otfIndex, false); 
     956    return otf == null ? null : otf.getNodeID(); 
     957  } 
     958 
    821959  /* @see loci.formats.meta.MetadataRetrieve#getOTFSizeX(int, int) */ 
    822960  public Integer getOTFSizeX(int instrumentIndex, int otfIndex) { 
     
    850988 
    851989  // - Objective property retrieval - 
     990 
     991  /* @see loci.formats.meta.MetadataRetrieve#getObjectiveNodeID(int, int) */ 
     992  public String getObjectiveNodeID(int instrumentIndex, int objectiveIndex) { 
     993    ObjectiveNode objective = getObjectiveNode(instrumentIndex, objectiveIndex, false); 
     994    return objective == null ? null : objective.getNodeID(); 
     995  } 
    852996 
    853997  /* @see loci.formats.meta.MetadataRetrieve#getObjectiveManufacturer(int, int) */ 
     
    9351079  // - Experimenter property storage - 
    9361080 
     1081  /* @see loci.formats.meta.MetadataStore#setExperimenterNodeID(String, int) */ 
     1082  public void setExperimenterNodeID(String nodeID, int experimenterIndex) { 
     1083    if (nodeID == null) return; 
     1084    ExperimenterNode experimenter = getExperimenterNode(experimenterIndex, true); 
     1085    experimenter.setNodeID(nodeID); 
     1086  } 
     1087 
    9371088  /* @see loci.formats.meta.MetadataStore#setExperimenterFirstName(String, int) */ 
    9381089  public void setExperimenterFirstName(String firstName, int experimenterIndex) { 
     
    9721123  // - Image property storage - 
    9731124 
     1125  /* @see loci.formats.meta.MetadataStore#setImageNodeID(String, int) */ 
     1126  public void setImageNodeID(String nodeID, int imageIndex) { 
     1127    if (nodeID == null) return; 
     1128    ImageNode image = getImageNode(imageIndex, true); 
     1129    image.setNodeID(nodeID); 
     1130  } 
     1131 
    9741132  /* @see loci.formats.meta.MetadataStore#setImageName(String, int) */ 
    9751133  public void setImageName(String name, int imageIndex) { 
     
    10231181  } 
    10241182 
     1183  // - DisplayOptions property storage - 
     1184 
     1185  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsNodeID(String, int) */ 
     1186  public void setDisplayOptionsNodeID(String nodeID, int imageIndex) { 
     1187    if (nodeID == null) return; 
     1188    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1189    displayOptions.setNodeID(nodeID); 
     1190  } 
     1191 
     1192  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsZoom(Float, int) */ 
     1193  public void setDisplayOptionsZoom(Float zoom, int imageIndex) { 
     1194    if (zoom == null) return; 
     1195    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1196    displayOptions.setZoom(zoom); 
     1197  } 
     1198 
     1199  // - DisplayOptionsProjection property storage - 
     1200 
     1201  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsProjectionZStart(Integer, int) */ 
     1202  public void setDisplayOptionsProjectionZStart(Integer zStart, int imageIndex) { 
     1203    if (zStart == null) return; 
     1204    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1205    displayOptions.setZStart(zStart); 
     1206  } 
     1207 
     1208  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsProjectionZStop(Integer, int) */ 
     1209  public void setDisplayOptionsProjectionZStop(Integer zStop, int imageIndex) { 
     1210    if (zStop == null) return; 
     1211    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1212    displayOptions.setZStop(zStop); 
     1213  } 
     1214 
     1215  // - DisplayOptionsTime property storage - 
     1216 
     1217  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsTimeTStart(Integer, int) */ 
     1218  public void setDisplayOptionsTimeTStart(Integer tStart, int imageIndex) { 
     1219    if (tStart == null) return; 
     1220    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1221    displayOptions.setTStart(tStart); 
     1222  } 
     1223 
     1224  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsTimeTStop(Integer, int) */ 
     1225  public void setDisplayOptionsTimeTStop(Integer tStop, int imageIndex) { 
     1226    if (tStop == null) return; 
     1227    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1228    displayOptions.setTStop(tStop); 
     1229  } 
     1230 
    10251231  // - StageLabel property storage - 
    10261232 
     
    10551261  // - LogicalChannel property storage - 
    10561262 
     1263  /* @see loci.formats.meta.MetadataStore#setLogicalChannelNodeID(String, int, int) */ 
     1264  public void setLogicalChannelNodeID(String nodeID, int imageIndex, int logicalChannelIndex) { 
     1265    if (nodeID == null) return; 
     1266    LogicalChannelNode logicalChannel = getLogicalChannelNode(imageIndex, logicalChannelIndex, true); 
     1267    logicalChannel.setNodeID(nodeID); 
     1268  } 
     1269 
    10571270  /* @see loci.formats.meta.MetadataStore#setLogicalChannelName(String, int, int) */ 
    10581271  public void setLogicalChannelName(String name, int imageIndex, int logicalChannelIndex) { 
     
    11831396  } 
    11841397 
     1398  // - ChannelComponent property storage - 
     1399 
     1400  /* @see loci.formats.meta.MetadataStore#setChannelComponentIndex(Integer, int, int, int) */ 
     1401  public void setChannelComponentIndex(Integer index, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     1402    if (index == null) return; 
     1403    PixelChannelComponentNode pixelChannelComponent = getPixelChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, true); 
     1404    pixelChannelComponent.setIndex(index); 
     1405  } 
     1406 
     1407  /* @see loci.formats.meta.MetadataStore#setChannelComponentColorDomain(String, int, int, int) */ 
     1408  public void setChannelComponentColorDomain(String colorDomain, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     1409    if (colorDomain == null) return; 
     1410    PixelChannelComponentNode pixelChannelComponent = getPixelChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, true); 
     1411    pixelChannelComponent.setColorDomain(colorDomain); 
     1412  } 
     1413 
    11851414  // - Pixels property storage - 
     1415 
     1416  /* @see loci.formats.meta.MetadataStore#setPixelsNodeID(String, int, int) */ 
     1417  public void setPixelsNodeID(String nodeID, int imageIndex, int pixelsIndex) { 
     1418    if (nodeID == null) return; 
     1419    PixelsNode pixels = getPixelsNode(imageIndex, pixelsIndex, true); 
     1420    pixels.setNodeID(nodeID); 
     1421  } 
    11861422 
    11871423  /* @see loci.formats.meta.MetadataStore#setPixelsSizeX(Integer, int, int) */ 
     
    13311567  // - ROI property storage - 
    13321568 
     1569  /* @see loci.formats.meta.MetadataStore#setROINodeID(String, int, int) */ 
     1570  public void setROINodeID(String nodeID, int imageIndex, int roiIndex) { 
     1571    if (nodeID == null) return; 
     1572    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, true); 
     1573    displayROI.setNodeID(nodeID); 
     1574  } 
     1575 
    13331576  /* @see loci.formats.meta.MetadataStore#setROIX0(Integer, int, int) */ 
    13341577  public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
     
    13451588  } 
    13461589 
     1590  /* @see loci.formats.meta.MetadataStore#setROIX1(Integer, int, int) */ 
     1591  public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
     1592    if (x1 == null) return; 
     1593    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, true); 
     1594    displayROI.setX1(x1); 
     1595  } 
     1596 
     1597  /* @see loci.formats.meta.MetadataStore#setROIY1(Integer, int, int) */ 
     1598  public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
     1599    if (y1 == null) return; 
     1600    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, true); 
     1601    displayROI.setY1(y1); 
     1602  } 
     1603 
    13471604  /* @see loci.formats.meta.MetadataStore#setROIZ0(Integer, int, int) */ 
    13481605  public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
     
    13521609  } 
    13531610 
     1611  /* @see loci.formats.meta.MetadataStore#setROIZ1(Integer, int, int) */ 
     1612  public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
     1613    if (z1 == null) return; 
     1614    DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, true); 
     1615    displayROI.setZ1(z1); 
     1616  } 
     1617 
    13541618  /* @see loci.formats.meta.MetadataStore#setROIT0(Integer, int, int) */ 
    13551619  public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
     
    13591623  } 
    13601624 
    1361   /* @see loci.formats.meta.MetadataStore#setROIX1(Integer, int, int) */ 
    1362   public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
    1363     if (x1 == null) return; 
    1364     DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, true); 
    1365     displayROI.setX1(x1); 
    1366   } 
    1367  
    1368   /* @see loci.formats.meta.MetadataStore#setROIY1(Integer, int, int) */ 
    1369   public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
    1370     if (y1 == null) return; 
    1371     DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, true); 
    1372     displayROI.setY1(y1); 
    1373   } 
    1374  
    1375   /* @see loci.formats.meta.MetadataStore#setROIZ1(Integer, int, int) */ 
    1376   public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
    1377     if (z1 == null) return; 
    1378     DisplayROINode displayROI = getDisplayROINode(imageIndex, roiIndex, true); 
    1379     displayROI.setZ1(z1); 
    1380   } 
    1381  
    13821625  /* @see loci.formats.meta.MetadataStore#setROIT1(Integer, int, int) */ 
    13831626  public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
     
    13891632  // - Instrument property storage - 
    13901633 
     1634  /* @see loci.formats.meta.MetadataStore#setInstrumentNodeID(String, int) */ 
     1635  public void setInstrumentNodeID(String nodeID, int instrumentIndex) { 
     1636    if (nodeID == null) return; 
     1637    InstrumentNode instrument = getInstrumentNode(instrumentIndex, true); 
     1638    instrument.setNodeID(nodeID); 
     1639  } 
     1640 
    13911641  // - Detector property storage - 
     1642 
     1643  /* @see loci.formats.meta.MetadataStore#setDetectorNodeID(String, int, int) */ 
     1644  public void setDetectorNodeID(String nodeID, int instrumentIndex, int detectorIndex) { 
     1645    if (nodeID == null) return; 
     1646    DetectorNode detector = getDetectorNode(instrumentIndex, detectorIndex, true); 
     1647    detector.setNodeID(nodeID); 
     1648  } 
    13921649 
    13931650  /* @see loci.formats.meta.MetadataStore#setDetectorManufacturer(String, int, int) */ 
     
    14421699  // - LightSource property storage - 
    14431700 
     1701  /* @see loci.formats.meta.MetadataStore#setLightSourceNodeID(String, int, int) */ 
     1702  public void setLightSourceNodeID(String nodeID, int instrumentIndex, int lightSourceIndex) { 
     1703    if (nodeID == null) return; 
     1704    LightSourceNode lightSource = getLightSourceNode(instrumentIndex, lightSourceIndex, true); 
     1705    lightSource.setNodeID(nodeID); 
     1706  } 
     1707 
    14441708  /* @see loci.formats.meta.MetadataStore#setLightSourceManufacturer(String, int, int) */ 
    14451709  public void setLightSourceManufacturer(String manufacturer, int instrumentIndex, int lightSourceIndex) { 
     
    15481812  // - OTF property storage - 
    15491813 
     1814  /* @see loci.formats.meta.MetadataStore#setOTFNodeID(String, int, int) */ 
     1815  public void setOTFNodeID(String nodeID, int instrumentIndex, int otfIndex) { 
     1816    if (nodeID == null) return; 
     1817    OTFNode otf = getOTFNode(instrumentIndex, otfIndex, true); 
     1818    otf.setNodeID(nodeID); 
     1819  } 
     1820 
    15501821  /* @see loci.formats.meta.MetadataStore#setOTFSizeX(Integer, int, int) */ 
    15511822  public void setOTFSizeX(Integer sizeX, int instrumentIndex, int otfIndex) { 
     
    15841855 
    15851856  // - Objective property storage - 
     1857 
     1858  /* @see loci.formats.meta.MetadataStore#setObjectiveNodeID(String, int, int) */ 
     1859  public void setObjectiveNodeID(String nodeID, int instrumentIndex, int objectiveIndex) { 
     1860    if (nodeID == null) return; 
     1861    ObjectiveNode objective = getObjectiveNode(instrumentIndex, objectiveIndex, true); 
     1862    objective.setNodeID(nodeID); 
     1863  } 
    15861864 
    15871865  /* @see loci.formats.meta.MetadataStore#setObjectiveManufacturer(String, int, int) */ 
     
    17121990  } 
    17131991 
     1992  // Image+/CA/DisplayOptions 
     1993  private DisplayOptionsNode getDisplayOptionsNode(int imageIndex, boolean create) { 
     1994    int ndx, count; 
     1995    List list; 
     1996    // get OME node 
     1997    OMENode ome = (OMENode) root; 
     1998    // get Image node 
     1999    ndx = imageIndex; 
     2000    count = ome.countImageList(); 
     2001    if (!create && ndx >= count) return null; 
     2002    for (int i=count; i<=ndx; i++) new ImageNode(ome); 
     2003    list = ome.getImageList(); 
     2004    ImageNode image = (ImageNode) list.get(ndx); 
     2005    // get CA node 
     2006    CustomAttributesNode ca = image.getCustomAttributes(); 
     2007    if (ca == null) { 
     2008      if (!create) return null; 
     2009      ca = new CustomAttributesNode(image); 
     2010    } 
     2011    // get DisplayOptions node 
     2012    DisplayOptionsNode displayOptions = null; 
     2013    count = ca.countCAList("DisplayOptions"); 
     2014    if (count >= 1) { 
     2015      displayOptions = (DisplayOptionsNode) ca.getCAList("DisplayOptions").get(0); 
     2016    } 
     2017    if (displayOptions == null) { 
     2018      if (!create) return null; 
     2019      displayOptions = new DisplayOptionsNode(ca); 
     2020    } 
     2021    return displayOptions; 
     2022  } 
     2023 
    17142024  // Image+/CA/StageLabel 
    17152025  private StageLabelNode getStageLabelNode(int imageIndex, boolean create) { 
     
    17732083  } 
    17742084 
     2085  // Image+/CA/LogicalChannel+/@PixelChannelComponent+ 
     2086  private PixelChannelComponentNode getPixelChannelComponentNode(int imageIndex, int logicalChannelIndex, int channelComponentIndex, boolean create) { 
     2087    int ndx, count; 
     2088    List list; 
     2089    // get OME node 
     2090    OMENode ome = (OMENode) root; 
     2091    // get Image node 
     2092    ndx = imageIndex; 
     2093    count = ome.countImageList(); 
     2094    if (!create && ndx >= count) return null; 
     2095    for (int i=count; i<=ndx; i++) new ImageNode(ome); 
     2096    list = ome.getImageList(); 
     2097    ImageNode image = (ImageNode) list.get(ndx); 
     2098    // get CA node 
     2099    CustomAttributesNode ca = image.getCustomAttributes(); 
     2100    if (ca == null) { 
     2101      if (!create) return null; 
     2102      ca = new CustomAttributesNode(image); 
     2103    } 
     2104    // get LogicalChannel node 
     2105    ndx = logicalChannelIndex; 
     2106    count = ca.countCAList("LogicalChannel"); 
     2107    if (!create && ndx >= count) return null; 
     2108    for (int i=count; i<=ndx; i++) new LogicalChannelNode(ca); 
     2109    list = ca.getCAList("LogicalChannel"); 
     2110    LogicalChannelNode logicalChannel = (LogicalChannelNode) list.get(ndx); 
     2111    // get PixelChannelComponent node 
     2112    ndx = channelComponentIndex; 
     2113    count = logicalChannel.countPixelChannelComponentList(); 
     2114    if (!create && ndx >= count) return null; 
     2115    for (int i=count; i<=ndx; i++) { 
     2116      new PixelChannelComponentNode(ca).setLogicalChannel(logicalChannel); 
     2117    } 
     2118    list = logicalChannel.getPixelChannelComponentList(); 
     2119    PixelChannelComponentNode pixelChannelComponent = (PixelChannelComponentNode) list.get(ndx); 
     2120    return pixelChannelComponent; 
     2121  } 
     2122 
    17752123  // Image+/CA/Pixels+ 
    17762124  private PixelsNode getPixelsNode(int imageIndex, int pixelsIndex, boolean create) { 
     
    18342182  } 
    18352183 
    1836   // Image+/CA/DisplayROI+ 
     2184  // Image+/CA/DisplayOptions/@DisplayROI+ 
    18372185  private DisplayROINode getDisplayROINode(int imageIndex, int roiIndex, boolean create) { 
    18382186    int ndx, count; 
     
    18532201      ca = new CustomAttributesNode(image); 
    18542202    } 
     2203    // get DisplayOptions node 
     2204    DisplayOptionsNode displayOptions = null; 
     2205    count = ca.countCAList("DisplayOptions"); 
     2206    if (count >= 1) { 
     2207      displayOptions = (DisplayOptionsNode) ca.getCAList("DisplayOptions").get(0); 
     2208    } 
     2209    if (displayOptions == null) { 
     2210      if (!create) return null; 
     2211      displayOptions = new DisplayOptionsNode(ca); 
     2212    } 
    18552213    // get DisplayROI node 
    18562214    ndx = roiIndex; 
    1857     count = ca.countCAList("DisplayROI"); 
    1858     if (!create && ndx >= count) return null; 
    1859     for (int i=count; i<=ndx; i++) new DisplayROINode(ca); 
    1860     list = ca.getCAList("DisplayROI"); 
     2215    count = displayOptions.countDisplayROIList(); 
     2216    if (!create && ndx >= count) return null; 
     2217    for (int i=count; i<=ndx; i++) { 
     2218      new DisplayROINode(ca).setDisplayOptions(displayOptions); 
     2219    } 
     2220    list = displayOptions.getDisplayROIList(); 
    18612221    DisplayROINode displayROI = (DisplayROINode) list.get(ndx); 
    18622222    return displayROI; 
  • trunk/loci/formats/ome/OMEXML200706Metadata.java

    r3605 r3840  
    2626 * 
    2727 * THIS IS AUTOMATICALLY GENERATED CODE.  DO NOT MODIFY. 
    28  * Created by curtis via MetadataAutogen on Feb 4, 2008 10:43:20 AM CST 
     28 * Created by curtis via MetadataAutogen on Mar 20, 2008 12:34:36 PM CDT 
    2929 * 
    3030 *----------------------------------------------------------------------------- 
     
    9595  } 
    9696 
     97  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponentCount(int, int) */ 
     98  public int getChannelComponentCount(int imageIndex, int logicalChannelIndex) { 
     99    for (int i=0; i<Integer.MAX_VALUE; i++) { 
     100      if (getChannelComponent(imageIndex, logicalChannelIndex, i) == null) return i; 
     101    } 
     102    return -1; 
     103  } 
     104 
    97105  /* @see loci.formats.meta.MetadataRetrieve#getPixelsCount(int) */ 
    98106  public int getPixelsCount(int imageIndex) { 
     
    176184  } 
    177185 
     186  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptions(int) */ 
     187  public Object getDisplayOptions(int imageIndex) { 
     188    return getDisplayOptionsNode(imageIndex, false); 
     189  } 
     190 
     191  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsProjection(int) */ 
     192  public Object getDisplayOptionsProjection(int imageIndex) { 
     193    return getProjectionNode(imageIndex, false); 
     194  } 
     195 
     196  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsTime(int) */ 
     197  public Object getDisplayOptionsTime(int imageIndex) { 
     198    return getTimeNode(imageIndex, false); 
     199  } 
     200 
    178201  /* @see loci.formats.meta.MetadataRetrieve#getStageLabel(int) */ 
    179202  public Object getStageLabel(int imageIndex) { 
     
    196219  } 
    197220 
     221  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponent(int, int, int) */ 
     222  public Object getChannelComponent(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     223    return getChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, false); 
     224  } 
     225 
    198226  /* @see loci.formats.meta.MetadataRetrieve#getPixels(int, int) */ 
    199227  public Object getPixels(int imageIndex, int pixelsIndex) { 
     
    267295 
    268296  // - Experimenter property retrieval - 
     297 
     298  /* @see loci.formats.meta.MetadataRetrieve#getExperimenterNodeID(int) */ 
     299  public String getExperimenterNodeID(int experimenterIndex) { 
     300    ExperimenterNode experimenter = getExperimenterNode(experimenterIndex, false); 
     301    return experimenter == null ? null : experimenter.getNodeID(); 
     302  } 
    269303 
    270304  /* @see loci.formats.meta.MetadataRetrieve#getExperimenterFirstName(int) */ 
     
    300334  // - Image property retrieval - 
    301335 
     336  /* @see loci.formats.meta.MetadataRetrieve#getImageNodeID(int) */ 
     337  public String getImageNodeID(int imageIndex) { 
     338    ImageNode image = getImageNode(imageIndex, false); 
     339    return image == null ? null : image.getNodeID(); 
     340  } 
     341 
    302342  /* @see loci.formats.meta.MetadataRetrieve#getImageName(int) */ 
    303343  public String getImageName(int imageIndex) { 
     
    344384  } 
    345385 
     386  // - DisplayOptions property retrieval - 
     387 
     388  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsNodeID(int) */ 
     389  public String getDisplayOptionsNodeID(int imageIndex) { 
     390    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     391    return displayOptions == null ? null : displayOptions.getNodeID(); 
     392  } 
     393 
     394  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsZoom(int) */ 
     395  public Float getDisplayOptionsZoom(int imageIndex) { 
     396    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, false); 
     397    return displayOptions == null ? null : displayOptions.getZoom(); 
     398  } 
     399 
     400  // - DisplayOptionsProjection property retrieval - 
     401 
     402  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsProjectionZStart(int) */ 
     403  public Integer getDisplayOptionsProjectionZStart(int imageIndex) { 
     404    ProjectionNode projection = getProjectionNode(imageIndex, false); 
     405    return projection == null ? null : projection.getZStart(); 
     406  } 
     407 
     408  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsProjectionZStop(int) */ 
     409  public Integer getDisplayOptionsProjectionZStop(int imageIndex) { 
     410    ProjectionNode projection = getProjectionNode(imageIndex, false); 
     411    return projection == null ? null : projection.getZStop(); 
     412  } 
     413 
     414  // - DisplayOptionsTime property retrieval - 
     415 
     416  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsTimeTStart(int) */ 
     417  public Integer getDisplayOptionsTimeTStart(int imageIndex) { 
     418    TimeNode time = getTimeNode(imageIndex, false); 
     419    return time == null ? null : time.getTStart(); 
     420  } 
     421 
     422  /* @see loci.formats.meta.MetadataRetrieve#getDisplayOptionsTimeTStop(int) */ 
     423  public Integer getDisplayOptionsTimeTStop(int imageIndex) { 
     424    TimeNode time = getTimeNode(imageIndex, false); 
     425    return time == null ? null : time.getTStop(); 
     426  } 
     427 
    346428  // - StageLabel property retrieval - 
    347429 
     
    372454  // - LogicalChannel property retrieval - 
    373455 
     456  /* @see loci.formats.meta.MetadataRetrieve#getLogicalChannelNodeID(int, int) */ 
     457  public String getLogicalChannelNodeID(int imageIndex, int logicalChannelIndex) { 
     458    LogicalChannelNode logicalChannel = getLogicalChannelNode(imageIndex, logicalChannelIndex, false); 
     459    return logicalChannel == null ? null : logicalChannel.getNodeID(); 
     460  } 
     461 
    374462  /* @see loci.formats.meta.MetadataRetrieve#getLogicalChannelName(int, int) */ 
    375463  public String getLogicalChannelName(int imageIndex, int logicalChannelIndex) { 
     
    484572  } 
    485573 
     574  // - ChannelComponent property retrieval - 
     575 
     576  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponentIndex(int, int, int) */ 
     577  public Integer getChannelComponentIndex(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     578    ChannelComponentNode channelComponent = getChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, false); 
     579    return channelComponent == null ? null : channelComponent.getIndex(); 
     580  } 
     581 
     582  /* @see loci.formats.meta.MetadataRetrieve#getChannelComponentColorDomain(int, int, int) */ 
     583  public String getChannelComponentColorDomain(int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     584    ChannelComponentNode channelComponent = getChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, false); 
     585    return channelComponent == null ? null : channelComponent.getColorDomain(); 
     586  } 
     587 
    486588  // - Pixels property retrieval - 
     589 
     590  /* @see loci.formats.meta.MetadataRetrieve#getPixelsNodeID(int, int) */ 
     591  public String getPixelsNodeID(int imageIndex, int pixelsIndex) { 
     592    PixelsNode pixels = getPixelsNode(imageIndex, pixelsIndex, false); 
     593    return pixels == null ? null : pixels.getNodeID(); 
     594  } 
    487595 
    488596  /* @see loci.formats.meta.MetadataRetrieve#getPixelsSizeX(int, int) */ 
     
    628736  // - ROI property retrieval - 
    629737 
     738  /* @see loci.formats.meta.MetadataRetrieve#getROINodeID(int, int) */ 
     739  public String getROINodeID(int imageIndex, int roiIndex) { 
     740    ROINode roi = getROINode(imageIndex, roiIndex, false); 
     741    return roi == null ? null : roi.getNodeID(); 
     742  } 
     743 
    630744  /* @see loci.formats.meta.MetadataRetrieve#getROIX0(int, int) */ 
    631745  public Integer getROIX0(int imageIndex, int roiIndex) { 
     
    640754  } 
    641755 
     756  /* @see loci.formats.meta.MetadataRetrieve#getROIX1(int, int) */ 
     757  public Integer getROIX1(int imageIndex, int roiIndex) { 
     758    ROINode roi = getROINode(imageIndex, roiIndex, false); 
     759    return roi == null ? null : roi.getX1(); 
     760  } 
     761 
     762  /* @see loci.formats.meta.MetadataRetrieve#getROIY1(int, int) */ 
     763  public Integer getROIY1(int imageIndex, int roiIndex) { 
     764    ROINode roi = getROINode(imageIndex, roiIndex, false); 
     765    return roi == null ? null : roi.getY1(); 
     766  } 
     767 
    642768  /* @see loci.formats.meta.MetadataRetrieve#getROIZ0(int, int) */ 
    643769  public Integer getROIZ0(int imageIndex, int roiIndex) { 
     
    646772  } 
    647773 
     774  /* @see loci.formats.meta.MetadataRetrieve#getROIZ1(int, int) */ 
     775  public Integer getROIZ1(int imageIndex, int roiIndex) { 
     776    ROINode roi = getROINode(imageIndex, roiIndex, false); 
     777    return roi == null ? null : roi.getZ1(); 
     778  } 
     779 
    648780  /* @see loci.formats.meta.MetadataRetrieve#getROIT0(int, int) */ 
    649781  public Integer getROIT0(int imageIndex, int roiIndex) { 
     
    652784  } 
    653785 
    654   /* @see loci.formats.meta.MetadataRetrieve#getROIX1(int, int) */ 
    655   public Integer getROIX1(int imageIndex, int roiIndex) { 
    656     ROINode roi = getROINode(imageIndex, roiIndex, false); 
    657     return roi == null ? null : roi.getX1(); 
    658   } 
    659  
    660   /* @see loci.formats.meta.MetadataRetrieve#getROIY1(int, int) */ 
    661   public Integer getROIY1(int imageIndex, int roiIndex) { 
    662     ROINode roi = getROINode(imageIndex, roiIndex, false); 
    663     return roi == null ? null : roi.getY1(); 
    664   } 
    665  
    666   /* @see loci.formats.meta.MetadataRetrieve#getROIZ1(int, int) */ 
    667   public Integer getROIZ1(int imageIndex, int roiIndex) { 
    668     ROINode roi = getROINode(imageIndex, roiIndex, false); 
    669     return roi == null ? null : roi.getZ1(); 
    670   } 
    671  
    672786  /* @see loci.formats.meta.MetadataRetrieve#getROIT1(int, int) */ 
    673787  public Integer getROIT1(int imageIndex, int roiIndex) { 
     
    678792  // - Instrument property retrieval - 
    679793 
     794  /* @see loci.formats.meta.MetadataRetrieve#getInstrumentNodeID(int) */ 
     795  public String getInstrumentNodeID(int instrumentIndex) { 
     796    InstrumentNode instrument = getInstrumentNode(instrumentIndex, false); 
     797    return instrument == null ? null : instrument.getNodeID(); 
     798  } 
     799 
    680800  // - Detector property retrieval - 
     801 
     802  /* @see loci.formats.meta.MetadataRetrieve#getDetectorNodeID(int, int) */ 
     803  public String getDetectorNodeID(int instrumentIndex, int detectorIndex) { 
     804    DetectorNode detector = getDetectorNode(instrumentIndex, detectorIndex, false); 
     805    return detector == null ? null : detector.getNodeID(); 
     806  } 
    681807 
    682808  /* @see loci.formats.meta.MetadataRetrieve#getDetectorManufacturer(int, int) */ 
     
    724850  // - LightSource property retrieval - 
    725851 
     852  /* @see loci.formats.meta.MetadataRetrieve#getLightSourceNodeID(int, int) */ 
     853  public String getLightSourceNodeID(int instrumentIndex, int lightSourceIndex) { 
     854    LightSourceNode lightSource = getLightSourceNode(instrumentIndex, lightSourceIndex, false); 
     855    return lightSource == null ? null : lightSource.getNodeID(); 
     856  } 
     857 
    726858  /* @see loci.formats.meta.MetadataRetrieve#getLightSourceManufacturer(int, int) */ 
    727859  public String getLightSourceManufacturer(int instrumentIndex, int lightSourceIndex) { 
     
    816948  // - OTF property retrieval - 
    817949 
     950  /* @see loci.formats.meta.MetadataRetrieve#getOTFNodeID(int, int) */ 
     951  public String getOTFNodeID(int instrumentIndex, int otfIndex) { 
     952    OTFNode otf = getOTFNode(instrumentIndex, otfIndex, false); 
     953    return otf == null ? null : otf.getNodeID(); 
     954  } 
     955 
    818956  /* @see loci.formats.meta.MetadataRetrieve#getOTFSizeX(int, int) */ 
    819957  public Integer getOTFSizeX(int instrumentIndex, int otfIndex) { 
     
    847985 
    848986  // - Objective property retrieval - 
     987 
     988  /* @see loci.formats.meta.MetadataRetrieve#getObjectiveNodeID(int, int) */ 
     989  public String getObjectiveNodeID(int instrumentIndex, int objectiveIndex) { 
     990    ObjectiveNode objective = getObjectiveNode(instrumentIndex, objectiveIndex, false); 
     991    return objective == null ? null : objective.getNodeID(); 
     992  } 
    849993 
    850994  /* @see loci.formats.meta.MetadataRetrieve#getObjectiveManufacturer(int, int) */ 
     
    9291073  // - Experimenter property storage - 
    9301074 
     1075  /* @see loci.formats.meta.MetadataStore#setExperimenterNodeID(String, int) */ 
     1076  public void setExperimenterNodeID(String nodeID, int experimenterIndex) { 
     1077    if (nodeID == null) return; 
     1078    ExperimenterNode experimenter = getExperimenterNode(experimenterIndex, true); 
     1079    experimenter.setNodeID(nodeID); 
     1080  } 
     1081 
    9311082  /* @see loci.formats.meta.MetadataStore#setExperimenterFirstName(String, int) */ 
    9321083  public void setExperimenterFirstName(String firstName, int experimenterIndex) { 
     
    9641115  // - Image property storage - 
    9651116 
     1117  /* @see loci.formats.meta.MetadataStore#setImageNodeID(String, int) */ 
     1118  public void setImageNodeID(String nodeID, int imageIndex) { 
     1119    if (nodeID == null) return; 
     1120    ImageNode image = getImageNode(imageIndex, true); 
     1121    image.setNodeID(nodeID); 
     1122  } 
     1123 
    9661124  /* @see loci.formats.meta.MetadataStore#setImageName(String, int) */ 
    9671125  public void setImageName(String name, int imageIndex) { 
     
    10151173  } 
    10161174 
     1175  // - DisplayOptions property storage - 
     1176 
     1177  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsNodeID(String, int) */ 
     1178  public void setDisplayOptionsNodeID(String nodeID, int imageIndex) { 
     1179    if (nodeID == null) return; 
     1180    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1181    displayOptions.setNodeID(nodeID); 
     1182  } 
     1183 
     1184  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsZoom(Float, int) */ 
     1185  public void setDisplayOptionsZoom(Float zoom, int imageIndex) { 
     1186    if (zoom == null) return; 
     1187    DisplayOptionsNode displayOptions = getDisplayOptionsNode(imageIndex, true); 
     1188    displayOptions.setZoom(zoom); 
     1189  } 
     1190 
     1191  // - DisplayOptionsProjection property storage - 
     1192 
     1193  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsProjectionZStart(Integer, int) */ 
     1194  public void setDisplayOptionsProjectionZStart(Integer zStart, int imageIndex) { 
     1195    if (zStart == null) return; 
     1196    ProjectionNode projection = getProjectionNode(imageIndex, true); 
     1197    projection.setZStart(zStart); 
     1198  } 
     1199 
     1200  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsProjectionZStop(Integer, int) */ 
     1201  public void setDisplayOptionsProjectionZStop(Integer zStop, int imageIndex) { 
     1202    if (zStop == null) return; 
     1203    ProjectionNode projection = getProjectionNode(imageIndex, true); 
     1204    projection.setZStop(zStop); 
     1205  } 
     1206 
     1207  // - DisplayOptionsTime property storage - 
     1208 
     1209  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsTimeTStart(Integer, int) */ 
     1210  public void setDisplayOptionsTimeTStart(Integer tStart, int imageIndex) { 
     1211    if (tStart == null) return; 
     1212    TimeNode time = getTimeNode(imageIndex, true); 
     1213    time.setTStart(tStart); 
     1214  } 
     1215 
     1216  /* @see loci.formats.meta.MetadataStore#setDisplayOptionsTimeTStop(Integer, int) */ 
     1217  public void setDisplayOptionsTimeTStop(Integer tStop, int imageIndex) { 
     1218    if (tStop == null) return; 
     1219    TimeNode time = getTimeNode(imageIndex, true); 
     1220    time.setTStop(tStop); 
     1221  } 
     1222 
    10171223  // - StageLabel property storage - 
    10181224 
     
    10471253  // - LogicalChannel property storage - 
    10481254 
     1255  /* @see loci.formats.meta.MetadataStore#setLogicalChannelNodeID(String, int, int) */ 
     1256  public void setLogicalChannelNodeID(String nodeID, int imageIndex, int logicalChannelIndex) { 
     1257    if (nodeID == null) return; 
     1258    LogicalChannelNode logicalChannel = getLogicalChannelNode(imageIndex, logicalChannelIndex, true); 
     1259    logicalChannel.setNodeID(nodeID); 
     1260  } 
     1261 
    10491262  /* @see loci.formats.meta.MetadataStore#setLogicalChannelName(String, int, int) */ 
    10501263  public void setLogicalChannelName(String name, int imageIndex, int logicalChannelIndex) { 
     
    11771390  } 
    11781391 
     1392  // - ChannelComponent property storage - 
     1393 
     1394  /* @see loci.formats.meta.MetadataStore#setChannelComponentIndex(Integer, int, int, int) */ 
     1395  public void setChannelComponentIndex(Integer index, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     1396    if (index == null) return; 
     1397    ChannelComponentNode channelComponent = getChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, true); 
     1398    channelComponent.setIndex(index); 
     1399  } 
     1400 
     1401  /* @see loci.formats.meta.MetadataStore#setChannelComponentColorDomain(String, int, int, int) */ 
     1402  public void setChannelComponentColorDomain(String colorDomain, int imageIndex, int logicalChannelIndex, int channelComponentIndex) { 
     1403    if (colorDomain == null) return; 
     1404    ChannelComponentNode channelComponent = getChannelComponentNode(imageIndex, logicalChannelIndex, channelComponentIndex, true); 
     1405    channelComponent.setColorDomain(colorDomain); 
     1406  } 
     1407 
    11791408  // - Pixels property storage - 
     1409 
     1410  /* @see loci.formats.meta.MetadataStore#setPixelsNodeID(String, int, int) */ 
     1411  public void setPixelsNodeID(String nodeID, int imageIndex, int pixelsIndex) { 
     1412    if (nodeID == null) return; 
     1413    PixelsNode pixels = getPixelsNode(imageIndex, pixelsIndex, true); 
     1414    pixels.setNodeID(nodeID); 
     1415  } 
    11801416 
    11811417  /* @see loci.formats.meta.MetadataStore#setPixelsSizeX(Integer, int, int) */ 
     
    13431579  // - ROI property storage - 
    13441580 
     1581  /* @see loci.formats.meta.MetadataStore#setROINodeID(String, int, int) */ 
     1582  public void setROINodeID(String nodeID, int imageIndex, int roiIndex) { 
     1583    if (nodeID == null) return; 
     1584    ROINode roi = getROINode(imageIndex, roiIndex, true); 
     1585    roi.setNodeID(nodeID); 
     1586  } 
     1587 
    13451588  /* @see loci.formats.meta.MetadataStore#setROIX0(Integer, int, int) */ 
    13461589  public void setROIX0(Integer x0, int imageIndex, int roiIndex) { 
     
    13571600  } 
    13581601 
     1602  /* @see loci.formats.meta.MetadataStore#setROIX1(Integer, int, int) */ 
     1603  public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
     1604    if (x1 == null) return; 
     1605    ROINode roi = getROINode(imageIndex, roiIndex, true); 
     1606    roi.setX1(x1); 
     1607  } 
     1608 
     1609  /* @see loci.formats.meta.MetadataStore#setROIY1(Integer, int, int) */ 
     1610  public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
     1611    if (y1 == null) return; 
     1612    ROINode roi = getROINode(imageIndex, roiIndex, true); 
     1613    roi.setY1(y1); 
     1614  } 
     1615 
    13591616  /* @see loci.formats.meta.MetadataStore#setROIZ0(Integer, int, int) */ 
    13601617  public void setROIZ0(Integer z0, int imageIndex, int roiIndex) { 
     
    13641621  } 
    13651622 
     1623  /* @see loci.formats.meta.MetadataStore#setROIZ1(Integer, int, int) */ 
     1624  public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
     1625    if (z1 == null) return; 
     1626    ROINode roi = getROINode(imageIndex, roiIndex, true); 
     1627    roi.setZ1(z1); 
     1628  } 
     1629 
    13661630  /* @see loci.formats.meta.MetadataStore#setROIT0(Integer, int, int) */ 
    13671631  public void setROIT0(Integer t0, int imageIndex, int roiIndex) { 
     
    13711635  } 
    13721636 
    1373   /* @see loci.formats.meta.MetadataStore#setROIX1(Integer, int, int) */ 
    1374   public void setROIX1(Integer x1, int imageIndex, int roiIndex) { 
    1375     if (x1 == null) return; 
    1376     ROINode roi = getROINode(imageIndex, roiIndex, true); 
    1377     roi.setX1(x1); 
    1378   } 
    1379  
    1380   /* @see loci.formats.meta.MetadataStore#setROIY1(Integer, int, int) */ 
    1381   public void setROIY1(Integer y1, int imageIndex, int roiIndex) { 
    1382     if (y1 == null) return; 
    1383     ROINode roi = getROINode(imageIndex, roiIndex, true); 
    1384     roi.setY1(y1); 
    1385   } 
    1386  
    1387   /* @see loci.formats.meta.MetadataStore#setROIZ1(Integer, int, int) */ 
    1388   public void setROIZ1(Integer z1, int imageIndex, int roiIndex) { 
    1389     if (z1 == null) return; 
    1390     ROINode roi = getROINode(imageIndex, roiIndex, true); 
    1391     roi.setZ1(z1); 
    1392   } 
    1393  
    13941637  /* @see loci.formats.meta.MetadataStore#setROIT1(Integer, int, int) */ 
    13951638  public void setROIT1(Integer t1, int imageIndex, int roiIndex) { 
     
    14011644  // - Instrument property storage - 
    14021645 
     1646  /* @see loci.formats.meta.MetadataStore#setInstrumentNodeID(String, int) */ 
     1647  public void setInstrumentNodeID(String nodeID, int instrumentIndex) { 
     1648    if (nodeID == null) return; 
     1649    InstrumentNode instrument = getInstrumentNode(instrumentIndex, true); 
     1650    instrument.setNodeID(nodeID); 
     1651  } 
     1652 
    14031653  // - Detector property storage - 
     1654 
     1655  /* @see loci.formats.meta.MetadataStore#setDetectorNodeID(String, int, int) */ 
     1656  public void setDetectorNodeID(String nodeID, int instrumentIndex, int detectorIndex) { 
     1657    if (nodeID == null) return; 
     1658    DetectorNode detector = getDetectorNode(instrumentIndex, detectorIndex, true); 
     1659    detector.setNodeID(nodeID); 
     1660  } 
    14041661 
    14051662  /* @see loci.formats.meta.MetadataStore#setDetectorManufacturer(String, int, int) */ 
     
    14541711  // - LightSource property storage - 
    14551712 
     1713  /* @see loci.formats.meta.MetadataStore#setLightSourceNodeID(String, int, int) */ 
     1714  public void setLightSourceNodeID(String nodeID, int instrumentIndex, int lightSourceIndex) { 
     1715    if (nodeID == null) return; 
     1716    LightSourceNode lightSource = getLightSourceNode(instrumentIndex, lightSourceIndex, true); 
     1717    lightSource.setNodeID(nodeID); 
     1718  } 
     1719 
    14561720  /* @see loci.formats.meta.MetadataStore#setLightSourceManufacturer(String, int, int) */ 
    14571721  public void setLightSourceManufacturer(String manufacturer, int instrumentIndex, int lightSourceIndex) { 
     
    15581822  // - OTF property storage - 
    15591823 
     1824  /* @see loci.formats.meta.MetadataStore#setOTFNodeID(String, int, int) */ 
     1825  public void setOTFNodeID(String nodeID, int instrumentIndex, int otfIndex) { 
     1826    if (nodeID == null) return; 
     1827    OTFNode otf = getOTFNode(instrumentIndex, otfIndex, true); 
     1828    otf.setNodeID(nodeID); 
     1829  } 
     1830 
    15601831  /* @see loci.formats.meta.MetadataStore#setOTFSizeX(Integer, int, int) */ 
    15611832  public void setOTFSizeX(Integer sizeX, int instrumentIndex, int otfIndex) { 
     
    15921863 
    15931864  // - Objective property storage - 
     1865 
     1866  /* @see loci.formats.meta.MetadataStore#setObjectiveNodeID(String, int, int) */ 
     1867  public void setObjectiveNodeID(String nodeID, int instrumentIndex, int objectiveIndex) { 
     1868    if (nodeID == null) return; 
     1869    ObjectiveNode objective = getObjectiveNode(instrumentIndex, objectiveIndex, true); 
     1870    objective.setNodeID(nodeID); 
     1871  } 
    15941872 
    15951873  /* @see loci.formats.meta.MetadataStore#setObjectiveManufacturer(String, int, int) */ 
     
    17121990  } 
    17131991 
     1992  // Image+/DisplayOptions 
     1993  private DisplayOptionsNode getDisplayOptionsNode(int imageIndex, boolean create) { 
     1994    int ndx, count; 
     1995    List list; 
     1996    // get OME node 
     1997    OMENode ome = (OMENode) root; 
     1998    // get Image node 
     1999    ndx = imageIndex; 
     2000    count = ome.getImageCount(); 
     2001    if (!create && ndx >= count) return null; 
     2002    for (int i=count; i<=ndx; i++) new ImageNode(ome); 
     2003    list = ome.getImageList(); 
     2004    ImageNode image = (ImageNode) list.get(ndx); 
     2005    // get DisplayOptions node 
     2006    DisplayOptionsNode displayOptions = image.getDisplayOptions(); 
     2007    if (displayOptions == null) { 
     2008      if (!create) return null; 
     2009      displayOptions = new DisplayOptionsNode(image); 
     2010    } 
     2011    return displayOptions; 
     2012  } 
     2013 
     2014  // Image+/DisplayOptions/Projection 
     2015  private ProjectionNode getProjectionNode(int imageIndex, boolean create) { 
     2016    int ndx, count; 
     2017    List list; 
     2018    // get OME node 
     2019    OMENode ome = (OMENode) root; 
     2020    // get Image node 
     2021    ndx = imageIndex; 
     2022    count = ome.getImageCount(); 
     2023    if (!create && ndx >= count) return null; 
     2024    for (int i=count; i<=ndx; i++) new ImageNode(ome); 
     2025    list = ome.getImageList(); 
     2026    ImageNode image = (ImageNode) list.get(ndx); 
     2027    // get DisplayOptions node 
     2028    DisplayOptionsNode displayOptions = image.getDisplayOptions(); 
     2029    if (displayOptions == null) { 
     2030      if (!create) return null; 
     2031      displayOptions = new DisplayOptionsNode(image); 
     2032    } 
     2033    // get Projection node 
     2034    ProjectionNode projection = displayOptions.getProjection(); 
     2035    if (projection == null) { 
     2036      if (!create) return null; 
     2037      projection = new ProjectionNode(displayOptions); 
     2038    } 
     2039    return projection; 
     2040  } 
     2041 
     2042  // Image+/DisplayOptions/Time 
     2043  private TimeNode getTimeNode(int imageIndex, boolean create) { 
     2044    int ndx, count; 
     2045    List list; 
     2046    // get OME node 
     2047    OMENode ome = (OMENode) root; 
     2048    // get Image node 
     2049    ndx = imageIndex; 
     2050    count = ome.getImageCount(); 
     2051    if (!create && ndx >= count) return null; 
     2052    for (int i=count; i<=ndx; i++) new ImageNode(ome); 
     2053    list = ome.getImageList(); 
     2054    ImageNode image = (ImageNode) list.get(ndx); 
     2055    // get DisplayOptions node 
     2056    DisplayOptionsNode displayOptions = image.getDisplayOptions(); 
     2057    if (displayOptions == null) { 
     2058      if (!create) return null; 
     2059      displayOptions = new DisplayOptionsNode(image); 
     2060    } 
     2061    // get Time node 
     2062    TimeNode time = displayOptions.getTime(); 
     2063    if (time == null) { 
     2064      if (!create) return null; 
     2065      time = new TimeNode(displayOptions); 
     2066    } 
     2067    return time; 
     2068  } 
     2069 
    17142070  // Image+/StageLabel 
    17152071  private StageLabelNode getStageLabelNode(int imageIndex, boolean create) { 
     
    18152171  } 
    18162172 
     2173  // Image+/LogicalChannel+/ChannelComponent+ 
     2174  private ChannelComponentNode getChannelComponentNode(int imageIndex, int logicalChannelIndex, int channelComponentIndex, boolean create) { 
     2175    int ndx, count; 
     2176    List list; 
     2177    // get OME node 
     2178    OMENode ome = (OMENode) root; 
     2179    // get Image node 
     2180    ndx = imageIndex; 
     2181    count = ome.getImageCount(); 
     2182    if (!create && ndx >= count) return null; 
     2183    for (int i=count; i<=ndx; i++) new ImageNode(ome); 
     2184    list = ome.getImageList(); 
     2185    ImageNode image = (ImageNode) list.get(ndx); 
     2186    // get LogicalChannel node 
     2187    ndx = logicalChannelIndex; 
     2188    count = image.getLogicalChannelCount(); 
     2189    if (!create && ndx >= count) return null; 
     2190    for (int i=count; i<=ndx; i++) new LogicalChannelNode(image); 
     2191    list = image.getLogicalChannelList(); 
     2192    LogicalChannelNode logicalChannel = (LogicalChannelNode) list.get(ndx); 
     2193    // get ChannelComponent node 
     2194    ndx = channelComponentIndex; 
     2195    count = logicalChannel.getChannelComponentCount(); 
     2196    if (!create && ndx >= count) return null; 
     2197    for (int i=count; i<=ndx; i++) new ChannelComponentNode(logicalChannel); 
     2198    list = logicalChannel.getChannelComponentList(); 
     2199    ChannelComponentNode channelComponent = (ChannelComponentNode) list.get(ndx); 
     2200    return channelComponent; 
     2201  } 
     2202 
    18172203  // Image+/Pixels+ 
    18182204  private PixelsNode getPixelsNode(int imageIndex, int pixelsIndex, boolean create) { 
  • trunk/loci/formats/ome/OMEXMLMetadata.java

    r3810 r3840  
    2525package loci.formats.ome; 
    2626 
    27 import java.util.Vector; 
    2827import loci.formats.*; 
    2928import loci.formats.meta.MetadataRetrieve; 
     
    5756  private Element imageCA; 
    5857 
     58  /** Whether OriginalMetadata semantic type definition has been created. */ 
     59  private boolean omCreated; 
     60 
    5961  // -- Constructors -- 
    6062 
     
    8587    } 
    8688    final String originalMetadata = "OriginalMetadata"; 
    87     Vector omList = DOMUtil.getChildElements(originalMetadata, imageCA); 
    88     if (omList.size() == 0) { 
     89    if (!omCreated) { 
    8990      Element std = DOMUtil.createChild(root.getDOMElement(), 
    9091        "SemanticTypeDefinitions"); 
     
    105106        "ORIGINAL_METADATA.VALUE", valueElement); 
    106107      DOMUtil.setAttribute("DataType", "string", valueElement); 
     108      omCreated = true; 
    107109    } 
    108110    Element om = DOMUtil.createChild(imageCA, originalMetadata); 
Note: See TracChangeset for help on using the changeset viewer.